arangojs 10.0.0-alpha.1 → 10.0.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (138) hide show
  1. package/CHANGELOG.md +169 -129
  2. package/README.md +3 -2
  3. package/administration.d.ts.map +1 -1
  4. package/analyzers.d.ts.map +1 -1
  5. package/cjs/administration.d.ts.map +1 -1
  6. package/cjs/administration.js +0 -1
  7. package/cjs/administration.js.map +1 -1
  8. package/cjs/analyzers.d.ts.map +1 -1
  9. package/cjs/analyzers.js.map +1 -1
  10. package/cjs/aql.js.map +1 -1
  11. package/cjs/collections.d.ts.map +1 -1
  12. package/cjs/collections.js.map +1 -1
  13. package/cjs/configuration.d.ts.map +1 -1
  14. package/cjs/configuration.js.map +1 -1
  15. package/cjs/connection.d.ts +5 -9
  16. package/cjs/connection.d.ts.map +1 -1
  17. package/cjs/connection.js +52 -27
  18. package/cjs/connection.js.map +1 -1
  19. package/cjs/cursors.d.ts.map +1 -1
  20. package/cjs/cursors.js.map +1 -1
  21. package/cjs/databases.d.ts +1 -1
  22. package/cjs/databases.d.ts.map +1 -1
  23. package/cjs/databases.js +21 -14
  24. package/cjs/databases.js.map +1 -1
  25. package/cjs/documents.d.ts.map +1 -1
  26. package/cjs/documents.js.map +1 -1
  27. package/cjs/errors.d.ts +2 -2
  28. package/cjs/errors.d.ts.map +1 -1
  29. package/cjs/errors.js +14 -12
  30. package/cjs/errors.js.map +1 -1
  31. package/cjs/foxx-manifest.d.ts.map +1 -1
  32. package/cjs/foxx-manifest.js.map +1 -1
  33. package/cjs/graphs.d.ts.map +1 -1
  34. package/cjs/graphs.js +16 -4
  35. package/cjs/graphs.js.map +1 -1
  36. package/cjs/index.d.ts.map +1 -1
  37. package/cjs/index.js.map +1 -1
  38. package/cjs/indexes.d.ts +17 -8
  39. package/cjs/indexes.d.ts.map +1 -1
  40. package/cjs/indexes.js.map +1 -1
  41. package/cjs/jobs.d.ts.map +1 -1
  42. package/cjs/jobs.js.map +1 -1
  43. package/cjs/lib/util.d.ts.map +1 -1
  44. package/cjs/lib/util.js +13 -7
  45. package/cjs/lib/util.js.map +1 -1
  46. package/cjs/lib/x3-linkedlist.js.map +1 -1
  47. package/cjs/logs.js.map +1 -1
  48. package/cjs/queries.js.map +1 -1
  49. package/cjs/routes.d.ts.map +1 -1
  50. package/cjs/routes.js.map +1 -1
  51. package/cjs/services.d.ts.map +1 -1
  52. package/cjs/services.js.map +1 -1
  53. package/cjs/transactions.d.ts +3 -3
  54. package/cjs/transactions.d.ts.map +1 -1
  55. package/cjs/transactions.js.map +1 -1
  56. package/cjs/users.js.map +1 -1
  57. package/cjs/views.d.ts +2 -2
  58. package/cjs/views.d.ts.map +1 -1
  59. package/cjs/views.js.map +1 -1
  60. package/collections.d.ts.map +1 -1
  61. package/configuration.d.ts.map +1 -1
  62. package/connection.d.ts +5 -9
  63. package/connection.d.ts.map +1 -1
  64. package/cursors.d.ts.map +1 -1
  65. package/databases.d.ts +1 -1
  66. package/databases.d.ts.map +1 -1
  67. package/documents.d.ts.map +1 -1
  68. package/errors.d.ts +2 -2
  69. package/errors.d.ts.map +1 -1
  70. package/esm/administration.d.ts.map +1 -1
  71. package/esm/administration.js +0 -1
  72. package/esm/administration.js.map +1 -1
  73. package/esm/analyzers.d.ts.map +1 -1
  74. package/esm/analyzers.js.map +1 -1
  75. package/esm/aql.js.map +1 -1
  76. package/esm/collections.d.ts.map +1 -1
  77. package/esm/collections.js.map +1 -1
  78. package/esm/configuration.d.ts.map +1 -1
  79. package/esm/configuration.js.map +1 -1
  80. package/esm/connection.d.ts +5 -9
  81. package/esm/connection.d.ts.map +1 -1
  82. package/esm/connection.js +52 -26
  83. package/esm/connection.js.map +1 -1
  84. package/esm/cursors.d.ts.map +1 -1
  85. package/esm/cursors.js.map +1 -1
  86. package/esm/databases.d.ts +1 -1
  87. package/esm/databases.d.ts.map +1 -1
  88. package/esm/databases.js +21 -14
  89. package/esm/databases.js.map +1 -1
  90. package/esm/documents.d.ts.map +1 -1
  91. package/esm/documents.js.map +1 -1
  92. package/esm/errors.d.ts +2 -2
  93. package/esm/errors.d.ts.map +1 -1
  94. package/esm/errors.js +14 -12
  95. package/esm/errors.js.map +1 -1
  96. package/esm/foxx-manifest.d.ts.map +1 -1
  97. package/esm/foxx-manifest.js.map +1 -1
  98. package/esm/graphs.d.ts.map +1 -1
  99. package/esm/graphs.js +16 -4
  100. package/esm/graphs.js.map +1 -1
  101. package/esm/index.d.ts.map +1 -1
  102. package/esm/index.js.map +1 -1
  103. package/esm/indexes.d.ts +17 -8
  104. package/esm/indexes.d.ts.map +1 -1
  105. package/esm/indexes.js.map +1 -1
  106. package/esm/jobs.d.ts.map +1 -1
  107. package/esm/jobs.js.map +1 -1
  108. package/esm/lib/util.d.ts.map +1 -1
  109. package/esm/lib/util.js +13 -7
  110. package/esm/lib/util.js.map +1 -1
  111. package/esm/lib/x3-linkedlist.js.map +1 -1
  112. package/esm/logs.js.map +1 -1
  113. package/esm/queries.js.map +1 -1
  114. package/esm/routes.d.ts.map +1 -1
  115. package/esm/routes.js.map +1 -1
  116. package/esm/services.d.ts.map +1 -1
  117. package/esm/services.js.map +1 -1
  118. package/esm/transactions.d.ts +3 -3
  119. package/esm/transactions.d.ts.map +1 -1
  120. package/esm/transactions.js.map +1 -1
  121. package/esm/users.js.map +1 -1
  122. package/esm/views.d.ts +2 -2
  123. package/esm/views.d.ts.map +1 -1
  124. package/esm/views.js.map +1 -1
  125. package/foxx-manifest.d.ts.map +1 -1
  126. package/graphs.d.ts.map +1 -1
  127. package/index.d.ts.map +1 -1
  128. package/indexes.d.ts +17 -8
  129. package/indexes.d.ts.map +1 -1
  130. package/jobs.d.ts.map +1 -1
  131. package/lib/util.d.ts.map +1 -1
  132. package/package.json +8 -3
  133. package/routes.d.ts.map +1 -1
  134. package/services.d.ts.map +1 -1
  135. package/transactions.d.ts +3 -3
  136. package/transactions.d.ts.map +1 -1
  137. package/views.d.ts +2 -2
  138. package/views.d.ts.map +1 -1
package/CHANGELOG.md CHANGED
@@ -14,114 +14,140 @@ This driver uses semantic versioning:
14
14
  - A change in the major version (e.g. 1.Y.Z -> 2.0.0) indicates _breaking_
15
15
  changes that require changes in your code to upgrade.
16
16
 
17
- ## [10.0.0-alpha.1] - 2024-12-09
17
+ ## [10.0.0-rc.0] - 2024-12-10
18
18
 
19
19
  This is a major release and breaks backwards compatibility.
20
20
 
21
21
  See [the migration guide](./MIGRATING.md#v9-to-v10) for detailed instructions
22
22
  for upgrading your code to arangojs v10.
23
23
 
24
+ ### Removed
25
+
26
+ - Removed unused `CreateUserOptions` type
27
+
28
+ The actual type used by the `db.createUser` method is still `UserOptions`.
29
+
30
+ - Removed unused `IndexDetails` type
31
+
32
+ This type was intended to be returned by `collection.indexes` when the
33
+ `withStats` option is set to `true` but the `figures` property is already
34
+ included in the current return type.
35
+
24
36
  ### Changed
25
37
 
26
- - Renamed `CollectionDropOptions` type to `DropCollectionOptions`
38
+ - Closing a connection now closes all open requests
27
39
 
28
- - Renamed `CollectionTruncateOptions` type to `TruncateCollectionOptions`
40
+ Previously in certain situations only the most recent request would be
41
+ closed per server. Note that this still merely aborts the requests but
42
+ does not guarantee the underlying connections are closed as these are
43
+ handled by Node.js or the browser natively. need to be installed
44
+ otherwise.
29
45
 
30
- - Renamed `Config` type to `ConfigOptions`
46
+ - Moved fetch-specific `config` options from into `config.fetchOptions`
31
47
 
32
- - Renamed `path` option to `pathname` in `RequestOptions` type
48
+ The following options were moved: `credentials`, `headers` and `keepalive`.
33
49
 
34
- This affects the `db.waitForPropagation` and `route.request` methods.
50
+ #### Error handling
35
51
 
36
- - Removed `basePath` option from `RequestOptions` type
52
+ - Errors encountered before a request completes are now wrapped in a
53
+ `NetworkError` or a subclass thereof
37
54
 
38
- This affects the `db.waitForPropagation` and `route.request` methods.
55
+ This should help making it easier to diagnose network issues and distinguish
56
+ the relevant error conditions.
39
57
 
40
- - Renamed `route.path` property to `route.pathname`
58
+ The originating error can still be accessed using the `cause` property of the
59
+ `NetworkError` error.
41
60
 
42
- - Changed error type constructor signatures
61
+ - `HttpError` now extends the `NetworkError` class
43
62
 
44
- The `request` property is now always positional and the `options` property
45
- is always optional.
63
+ This allows treating all non-`ArangoError` errors as one category of errors,
64
+ even when there is no server response available.
46
65
 
47
- - Moved configuration related types to new `config` module
66
+ - `db.waitForPropagation` now throws a `PropagationTimeoutError` error when
67
+ invoked with a `timeout` option and the timeout duration is exceeded
48
68
 
49
- The following types were moved: `Config`, `LoadBalancingStrategy`,
50
- `BasicAuthCredentials` and `BearerAuthCredentials`.
69
+ The method would previously throw the most recent error encountered while
70
+ waiting for replication. The originating error can still be accessed using
71
+ the `cause` property of the `PropagationTimeoutError` error.
51
72
 
52
- - Moved `ArangoErrorResponse` type to `connection` module
73
+ - `db.waitForPropagation` now respects the `timeout` option more strictly
53
74
 
54
- The type is now also no longer marked as internal.
75
+ Previously the method would only time out if the timeout duration was
76
+ exceeded after the most recent request failed. Now the timeout is
77
+ recalculated and passed on to each request, preventing it from exceeding
78
+ the specified duration.
55
79
 
56
- - Moved configuration related types to new `configuration` module
80
+ If the propagation timed out due to an underlying request exceeding the
81
+ timeout duration, the `cause` property of the `PropagationTimeoutError`
82
+ error will be a `ResponseTimeoutError` error.
57
83
 
58
- The following types were moved: `ConfigOptions`, `LoadBalancingStrategy`,
59
- `BasicAuthCredentials` and `BearerAuthCredentials`.
84
+ - `config.beforeRequest` and `config.afterResponse` callbacks can now return
85
+ promises
60
86
 
61
- - Moved internal utility functions to new `lib/util` module
87
+ If the callback returns a promise, it will be awaited before the request
88
+ and response cycle proceeds. If either callback throws an error or returns
89
+ a promise that is rejected, that error will be thrown instead.
62
90
 
63
- These methods are all still marked as internal and should not be used
64
- directly.
91
+ - `config.afterResponse` callback signature changed
65
92
 
66
- - Closing a connection now closes all open requests
93
+ The callback signature previously used the internal `ArangojsResponse` type.
94
+ The new signature uses the `Response` type of the Fetch API with an
95
+ additional `request` property to more accurately represent the actual value
96
+ it receives as the `parsedBody` property will never be present.
67
97
 
68
- Previously in certain situations only the most recent request would be
69
- closed per server. Note that this still merely aborts the requests but
70
- does not guarantee the underlying connections are closed as these are
71
- handled by Node.js or the browser natively.
98
+ - `response` property on `ArangoError` is now optional
72
99
 
73
- ### Added
100
+ This property should always be present but this allows using the error in
101
+ situations where a response might not be available.
74
102
 
75
- - Restored support for Unix domain sockets
103
+ #### General type changes
76
104
 
77
- Using Unix domain sockets requires the `undici` library to be installed.
105
+ - Changed `GraphVertexCollection` and `GraphEdgeCollection` generic types to
106
+ take separate `EntryResultType` and `EntryInputType` type parameters
78
107
 
79
- - Restored support for `config.agentOptions`
108
+ - Changed `db.collection`, `db.createCollection` and `db.createEdgeCollection`
109
+ methods to take separate `EntryResultType` and `EntryInputType` type
110
+ parameters
80
111
 
81
- The `config.agentOptions` option can now be used to create a custom `undici`
82
- agent if the `undici` library is installed.
112
+ These type parameters are used to narrow the the returned collection type.
83
113
 
84
- ## [10.0.0-alpha.0] - 2024-11-28
114
+ - Changed `db.removeUser` method return type to `Promise<void>`
85
115
 
86
- This is a major release and breaks backwards compatibility.
116
+ The previous return type served no purpose.
87
117
 
88
- See [the migration guide](./MIGRATING.md#v9-to-v10) for detailed instructions
89
- for upgrading your code to arangojs v10.
118
+ - Changed `QueueTimeMetrics` type to an interface
90
119
 
91
- ### Removed
120
+ - Changed `CursorExtras` and `CursorStats` interfaces to types
92
121
 
93
- - Removed unused `CreateUserOptions` type
122
+ #### Low-level request/route changes
94
123
 
95
- The actual type used by the `db.createUser` method is still `UserOptions`.
124
+ - Renamed `path` option to `pathname` in `RequestOptions` type
96
125
 
97
- - Removed unused `IndexDetails` type
126
+ This affects the `db.waitForPropagation` and `route.request` methods.
98
127
 
99
- This type was intended to be returned by `collection.indexes` when the
100
- `withStats` option is set to `true` but the `figures` property is already
101
- included in the current return type.
128
+ - Removed `basePath` option from `RequestOptions` type
102
129
 
103
- ### Changed
130
+ This affects the `db.waitForPropagation` and `route.request` methods.
104
131
 
105
- - Changed `QueueTimeMetrics` type to an interface
132
+ - Renamed `route.path` property to `route.pathname`
106
133
 
107
- - Changed `CursorExtras` and `CursorStats` interfaces to types
134
+ #### Renamed methods
108
135
 
109
- - Changed `GraphVertexCollection` and `GraphEdgeCollection` generic types to
110
- take separate `EntryResultType` and `EntryInputType` type parameters
136
+ - Renamed various methods for consistency:
111
137
 
112
- - Changed `db.collection`, `db.createCollection` and `db.createEdgeCollection`
113
- methods to take separate `EntryResultType` and `EntryInputType` type
114
- parameters
138
+ Methods that return an array now follow the `listNouns` pattern, methods that
139
+ return a "list of nouns" wrapped in an object have been renamed to follow the
140
+ `getNouns` pattern to avoid confusion:
115
141
 
116
- These type parameters are used to narrow the the returned collection type.
142
+ - `db.listServiceScripts` -> `db.getServiceScripts`
143
+ - `db.listHotBackups` -> `db.getHotBackups`
144
+ - `db.listFunctions` -> `db.listUserFunctions`
145
+ - `db.getLogMessages` -> `db.listLogMessages`
117
146
 
118
- - Renamed `db.listServiceScripts` method to `db.getServiceScripts`
119
- - Renamed `db.listHotBackups` method to `db.getHotBackups`
120
- - Renamed `db.getLogMessages` method to `db.listLogMessages`
121
- - Renamed `db.listFunctions` method to `db.listUserFunctions`
122
- - Renamed `db.createFunction` method to `db.createUserFunction`
123
- - Renamed `db.dropFunction` method to `db.dropUserFunction`
124
- - Changed `db.removeUser` method to return `void`
147
+ - Renamed AQL user function management methods:
148
+
149
+ - `db.createFunction` -> `db.createUserFunction`
150
+ - `db.dropFunction` -> `db.dropUserFunction`
125
151
 
126
152
  #### Module renaming
127
153
 
@@ -140,13 +166,18 @@ for upgrading your code to arangojs v10.
140
166
  - `arangojs/transaction` -> `arangojs/transactions`
141
167
  - `arangojs/view` -> `arangojs/views`
142
168
 
169
+ - Moved internal utility functions to new `arangojs/lib/util` module
170
+
171
+ These methods are all still marked as internal and should not be used
172
+ directly.
173
+
143
174
  #### Moved types
144
175
 
145
176
  - Moved document related types from `arangojs/collection` module to
146
177
  `arangojs/documents` module
147
178
 
148
179
  The following types were moved: `DocumentOperationFailure`,
149
- `DocumentOperationMetadata`, `DocumentExistsOptions`,
180
+ `DocumentOperationMetadata`, `DocumentExistsOptions`,
150
181
  `CollectionReadOptions`, `CollectionBatchReadOptions`,
151
182
  `CollectionInsertOptions`, `CollectionReplaceOptions`,
152
183
  `CollectionUpdateOptions`, `CollectionRemoveOptions`,
@@ -208,6 +239,20 @@ for upgrading your code to arangojs v10.
208
239
 
209
240
  The following types were moved: `QueueTimeMetrics` and `VersionInfo`.
210
241
 
242
+ - Moved configuration related types to new `arangojs/config` module
243
+
244
+ The following types were moved: `Config`, `LoadBalancingStrategy`,
245
+ `BasicAuthCredentials` and `BearerAuthCredentials`.
246
+
247
+ - Moved `ArangoErrorResponse` type to `arangojs/connection` module
248
+
249
+ The type is now also no longer marked as internal.
250
+
251
+ - Moved configuration related types to new `arangojs/configuration` module
252
+
253
+ The following types were moved: `ConfigOptions`, `LoadBalancingStrategy`,
254
+ `BasicAuthCredentials` and `BearerAuthCredentials`.
255
+
211
256
  #### Renamed types
212
257
 
213
258
  - Renamed `Index` types to `IndexDescription` for consistency
@@ -231,21 +276,42 @@ for upgrading your code to arangojs v10.
231
276
 
232
277
  - Renamed various types for consistency:
233
278
 
279
+ Types representing an instance of a specific entity type in ArangoDB like a
280
+ collection, graph or query now follow the `NounDescription` naming pattern:
281
+
234
282
  - `AqlUserFunction` -> `UserFunctionDescription`
235
283
  - `CollectionMetadata` -> `CollectionDescription`
236
284
  - `DatabaseInfo` -> `DatabaseDescription`
237
285
  - `GraphInfo` -> `GraphDescription`
238
286
  - `ServiceInfo` -> `ServiceDescription`
239
287
  - `QueryInfo` -> `QueryDescription`
288
+ - `TransactionDetails` -> `TransactionDescription`
289
+
290
+ Note that the `TransactionDescription` type used by `db.listTransactions`
291
+ is slightly different from the `TransactionInfo` type used by methods of
292
+ `Transaction` objects due to implementation details of ArangoDB.
293
+
294
+ Types representing general information rather than an instance of something
295
+ now generally follow the `NounInfo` naming pattern, whereas types
296
+ representing the result of an operation generally follow the `NounResult`
297
+ or `VerbNounResult` naming pattern:
298
+
240
299
  - `QueryTracking` -> `QueryTrackingInfo`
241
- - `TransactionDetails` -> `TransactionInfo`
300
+ - `CollectionImportResult` -> `ImportDocumentsResult`
301
+ - `CollectionEdgesResult` -> `DocumentEdgesResult`
302
+
303
+ Types for options passed to methods now generally follow the `NounOptions`,
304
+ `VerbNounOptions` or `VerbNounAttributeOptions` naming patterns:
305
+
306
+ - `Config` -> `ConfigOptions`
242
307
  - `TransactionCollections` -> `TransactionCollectionOptions`
243
308
  - `CreateDatabaseUser` -> `CreateDatabaseUserOptions`
244
-
245
- - Index operations:
246
- - `IndexListOptions` -> `ListIndexesOptions`
309
+ - `CollectionDropOptions` -> `DropCollectionOptions`
310
+ - `CollectionTruncateOptions` -> `TruncateCollectionOptions`
311
+ - `IndexListOptions` -> `ListIndexesOptions`
247
312
 
248
313
  - Collection document operations:
314
+
249
315
  - `DocumentExistsOptions` -> `DocumentExistsOptions`
250
316
  - `CollectionReadOptions` -> `ReadDocumentOptions`
251
317
  - `CollectionBatchReadOptions` -> `BulkReadDocumentsOptions`
@@ -255,10 +321,9 @@ for upgrading your code to arangojs v10.
255
321
  - `CollectionRemoveOptions` -> `RemoveDocumentOptions`
256
322
  - `CollectionImportOptions` -> `ImportDocumentsOptions`
257
323
  - `CollectionEdgesOptions` -> `DocumentEdgesOptions`
258
- - `CollectionImportResult` -> `ImportDocumentsResult`
259
- - `CollectionEdgesResult` -> `DocumentEdgesResult`
260
324
 
261
325
  - Graph collection document operation:
326
+
262
327
  - `GraphCollectionReadOptions` -> `ReadGraphDocumentOptions`
263
328
  - `GraphCollectionInsertOptions` -> `CreateGraphDocumentOptions`
264
329
  - `GraphCollectionReplaceOptions` -> `ReplaceGraphDocumentOptions`
@@ -266,6 +331,7 @@ for upgrading your code to arangojs v10.
266
331
  - `ViewPatchPropertiesOptions` -> `UpdateViewPropertiesOptions`
267
332
 
268
333
  - View operations:
334
+
269
335
  - `ArangoSearchViewPatchPropertiesOptions` -> `UpdateArangoSearchViewPropertiesOptions`
270
336
  - `SearchAliasViewPatchPropertiesOptions` -> `UpdateSearchAliasViewPropertiesOptions`
271
337
  - `SearchAliasViewPatchIndexOptions` -> `UpdateSearchAliasViewIndexOptions`
@@ -284,67 +350,36 @@ for upgrading your code to arangojs v10.
284
350
  - `ObjectWithId` (in `documents` module) -> `ObjectWithDocumentId`
285
351
  - `ObjectWithKey` (in `documents` module) -> `ObjectWithDocumentKey`
286
352
 
287
- #### Error handling
288
-
289
- - Errors encountered before a request completes are now wrapped in a
290
- `NetworkError` or a subclass thereof
291
-
292
- This should help making it easier to diagnose network issues and distinguish
293
- the relevant error conditions.
294
-
295
- The originating error can still be accessed using the `cause` property of the
296
- `NetworkError` error.
297
-
298
- - `HttpError` now extends the `NetworkError` class
299
-
300
- This allows treating all non-`ArangoError` errors as one category of errors,
301
- even when there is no server response available.
302
-
303
- - `db.waitForPropagation` now throws a `PropagationTimeoutError` error when
304
- invoked with a `timeout` option and the timeout duration is exceeded
305
-
306
- The method would previously throw the most recent error encountered while
307
- waiting for replication. The originating error can still be accessed using
308
- the `cause` property of the `PropagationTimeoutError` error.
309
-
310
- - `db.waitForPropagation` now respects the `timeout` option more strictly
311
-
312
- Previously the method would only time out if the timeout duration was
313
- exceeded after the most recent request failed. Now the timeout is
314
- recalculated and passed on to each request, preventing it from exceeding
315
- the specified duration.
316
-
317
- If the propagation timed out due to an underlying request exceeding the
318
- timeout duration, the `cause` property of the `PropagationTimeoutError`
319
- error will be a `ResponseTimeoutError` error.
320
-
321
- - `config.beforeRequest` and `config.afterResponse` callbacks can now return
322
- promises
353
+ ### Added
323
354
 
324
- If the callback returns a promise, it will be awaited before the request
325
- and response cycle proceeds. If either callback throws an error or returns
326
- a promise that is rejected, that error will be thrown instead.
355
+ - Restored support for Unix domain sockets
327
356
 
328
- - `config.afterResponse` callback signature changed
357
+ Using Unix domain sockets requires the `undici` library to be installed.
329
358
 
330
- The callback signature previously used the internal `ArangojsResponse` type.
331
- The new signature uses the `Response` type of the Fetch API with an
332
- additional `request` property to more accurately represent the actual value
333
- it receives as the `parsedBody` property will never be present.
359
+ - Restored support for `config.agentOptions`
334
360
 
335
- - `response` property on `ArangoError` is now optional
361
+ The `config.agentOptions` option can now be used to create a custom `undici`
362
+ agent if the `undici` library is installed.
336
363
 
337
- This property should always be present but this allows using the error in
338
- situations where a response might not be available.
364
+ - Added `config.fetchOptions` option
339
365
 
340
- ### Added
366
+ This option can now be used to specify default options for the `fetch`
367
+ function used by arangojs like `headers`, `credentials`, `keepalive` and
368
+ `redirect`.
341
369
 
342
370
  - Added `BatchCursor#itemsView` property and `BatchCursorItemsView` interface
343
371
 
344
372
  This property provides a low-level interface for consuming the items of the
345
373
  cursor and is used by the regular item-wise `Cursor` class internally.
346
374
 
347
- - Added `onError` option to `Config` (DE-955)
375
+ - Added `ProcessedResponse` type
376
+
377
+ This type replaces the previously internal `ArangojsResponse` type and
378
+ extends the native `Response` type with additional properties.
379
+
380
+ #### Error handling
381
+
382
+ - Added `config.onError` option (DE-955)
348
383
 
349
384
  This option can be used to specify a callback function that will be invoked
350
385
  whenever a request results in an error. Unlike `afterResponse`, this callback
@@ -355,6 +390,22 @@ for upgrading your code to arangojs v10.
355
390
  If the `onError` callback throws an error or returns a promise that is
356
391
  rejected, that error will be thrown instead.
357
392
 
393
+ - Added support for `config.fetchOptions.redirect` option ([#613](https://github.com/arangodb/arangojs/issues/613))
394
+
395
+ This option can now be used to specify the redirect mode for requests.
396
+
397
+ When set to `"manual"`, arangojs will throw an `HttpError` wrapping the
398
+ redirect response instead of automatically following redirects.
399
+
400
+ Note that when set to `"error"`, the native fetch API will throw a
401
+ non-specific error (usually a `TypeError`) that arangojs will wrap in a
402
+ `FetchFailedError` instead.
403
+
404
+ - Added optional `ArangoError#request` property
405
+
406
+ This property is always present if the error has a `response` property. In
407
+ normal use this should always be the case.
408
+
358
409
  - Added `NetworkError` class
359
410
 
360
411
  This is the common base class for all errors (including `HttpError`) that
@@ -395,16 +446,6 @@ for upgrading your code to arangojs v10.
395
446
  `cause` property. This error is only thrown when `db.waitForPropagation`
396
447
  is invoked with a `timeout` option and the timeout duration is exceeded.
397
448
 
398
- - Added `ProcessedResponse` type
399
-
400
- This type replaces the previously internal `ArangojsResponse` type and
401
- extends the native `Response` type with additional properties.
402
-
403
- - Added optional `ArangoError#request` property
404
-
405
- This property is always present if the error has a `response` property. In
406
- normal use this should always be the case.
407
-
408
449
  ## [9.2.0] - 2024-11-27
409
450
 
410
451
  ### Added
@@ -2355,8 +2396,7 @@ For a detailed list of changes between pre-release versions of v7 see the
2355
2396
 
2356
2397
  Graph methods now only return the relevant part of the response body.
2357
2398
 
2358
- [10.0.0-alpha.1]: https://github.com/arangodb/arangojs/compare/v10.0.0-alpha.0...v10.0.0-alpha.1
2359
- [10.0.0-alpha.0]: https://github.com/arangodb/arangojs/compare/v9.2.0...v10.0.0-alpha.0
2399
+ [10.0.0-rc.0]: https://github.com/arangodb/arangojs/compare/v9.2.0...v10.0.0-rc.0
2360
2400
  [9.2.0]: https://github.com/arangodb/arangojs/compare/v9.1.0...v9.2.0
2361
2401
  [9.1.0]: https://github.com/arangodb/arangojs/compare/v9.0.0...v9.1.0
2362
2402
  [9.0.0]: https://github.com/arangodb/arangojs/compare/v8.8.1...v9.0.0
package/README.md CHANGED
@@ -272,7 +272,7 @@ available.
272
272
  ### Unix domain sockets
273
273
 
274
274
  If you want to use Unix domain sockets, you need to install the `undici` module,
275
- which is an optional dependency of arangojs.
275
+ which is an optional peer dependency of arangojs.
276
276
 
277
277
  ```sh
278
278
  npm install --save undici
@@ -285,7 +285,8 @@ message indicating that the `undici` module is unavailable.
285
285
  ### Node.js with self-signed HTTPS certificates
286
286
 
287
287
  If you need to support self-signed HTTPS certificates in Node.js, you will need
288
- to install the `undici` module, which is an optional dependency of arangojs.
288
+ to install the `undici` module, which is an optional peer dependency of
289
+ arangojs.
289
290
 
290
291
  ```sh
291
292
  npm install --save undici
@@ -1 +1 @@
1
- {"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,YAAY,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE;YACR;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAClC,CAAA;KACF,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,UAAU,EAAE;YACV;;eAEG;YACH,SAAS,EAAE,MAAM,EAAE,CAAC;SACrB,CAAC;KACH,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QACX;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QACjB;;WAE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AAM,CAAC,EAAE,CAAC;IAChC;;;OAGG;IACH,MAAM,IAAI,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,YAAY,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE;YACR;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAClC,CAAC;KACH,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,UAAU,EAAE;YACV;;eAEG;YACH,SAAS,EAAE,MAAM,EAAE,CAAC;SACrB,CAAC;KACH,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,EAAE,EAAE,MAAM,CAAC;QACX;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAE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AK,GAAE,OAAe,GACrB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAO3D"}
@@ -1 +1 @@
1
- {"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,YAAY,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE;YACR;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAClC,CAAA;KACF,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,UAAU,EAAE;YACV;;eAEG;YACH,SAAS,EAAE,MAAM,EAAE,CAAC;SACrB,CAAC;KACH,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QACjB;;WAEG;QACH,EAAE,EAAE,MAAM,C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;OAEG;IACH,SAAS,IAAI,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,SAAS,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAChC;;;OAGG;IACH,MAAM,IAAI,MAAM,CAAC;CAClB"}
1
+ {"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,YAAY,CAAC;IACpC;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAA;KAAE,CAAC;CACrC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,UAAU,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,QAAQ,CAAC,EAAE;QACT;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;QACnB;;WAEG;QACH,OAAO,CAAC,EAAE;YACR;;eAEG;YACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;SAClC,CAAC;KACH,CAAC;CACH,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,MAAM,CAAC,EAAE;QACP;;WAEG;QACH,UAAU,EAAE;YACV;;eAEG;YACH,SAAS,EAAE,MAAM,EAAE,CAAC;SACrB,CAAC;KACH,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;WAEG;QACH,QAAQ,EAAE,MAAM,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F;;;GAGG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,SAAS,IAAI,MAAM,GAAG,SAAS,CAAC;IAChC;;;;OAIG;IACH,SAAS,IAAI,CAAC,MAAM,EAAE,MAAM,CAAC,EAAE,CAAC;IAChC;;;OAGG;IACH,MAAM,IAAI,MAAM,CAAC;CAClB"}
@@ -9,5 +9,4 @@
9
9
  * @packageDocumentation
10
10
  */
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- ;
13
12
  //# sourceMappingURL=administration.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"administration.js","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AAqVF,CAAC","sourcesContent":["/**\n * ```ts\n * import type { VersionInfo } from \"arangojs/administration\";\n * ```\n *\n * The \"administration\" module provides types for database administration.\n *\n * @packageDocumentation\n */\n\n/**\n * Result of retrieving database version information.\n */\nexport type VersionInfo = {\n /**\n * Value identifying the server type, i.e. `\"arango\"`.\n */\n server: string;\n /**\n * ArangoDB license type or \"edition\".\n */\n license: \"community\" | \"enterprise\";\n /**\n * ArangoDB server version.\n */\n version: string;\n /**\n * Additional information about the ArangoDB server.\n */\n details?: { [key: string]: string };\n};\n\n/**\n * Information about the storage engine.\n */\nexport type EngineInfo = {\n /**\n * Endianness of the storage engine.\n */\n endianness?: \"little\" | \"big\";\n /**\n * Name of the storage engine.\n */\n name: string;\n /**\n * Features supported by the storage engine.\n */\n supports?: {\n /**\n * Index types supported by the storage engine.\n */\n indexes?: string[];\n /**\n * Aliases supported by the storage engine.\n */\n aliases?: {\n /**\n * Index type aliases supported by the storage engine.\n */\n indexes?: Record<string, string>;\n }\n };\n};\n\n/**\n * Information about the server status.\n */\nexport type ServerStatusInformation = {\n /**\n * (Cluster Coordinators and DB-Servers only.) The address of the server.\n */\n address?: string;\n /**\n * (Cluster Coordinators and DB-Servers only.) Information about the Agency.\n */\n agency?: {\n /**\n * Information about the communication with the Agency.\n */\n agencyComm: {\n /**\n * A list of possible Agency endpoints.\n */\n endpoints: string[];\n };\n };\n /**\n * (Cluster Agents only.) Information about the Agents.\n */\n agent?: {\n /**\n * The endpoint of the queried Agent.\n */\n endpoint: string;\n /**\n * Server ID of the queried Agent.\n */\n id: string;\n /**\n * Server ID of the leading Agent.\n */\n leaderId: string;\n /**\n * Whether the queried Agent is the leader.\n */\n leading: boolean;\n /**\n * The current term number.\n */\n term: number;\n };\n /**\n * (Cluster Coordinators only.) Information about the Coordinators.\n */\n coordinator?: {\n /**\n * The server ID of the Coordinator that is the Foxx master.\n */\n foxxmaster: string[];\n /**\n * Whether the queried Coordinator is the Foxx master.\n */\n isFoxxmaster: boolean[];\n };\n /**\n * Whether the Foxx API is enabled.\n */\n foxxApi: boolean;\n /**\n * A host identifier defined by the HOST or NODE_NAME environment variable, \n * or a fallback value using a machine identifier or the cluster/Agency address.\n */\n host: string;\n /**\n * A hostname defined by the HOSTNAME environment variable.\n */\n hostname?: string;\n /**\n * ArangoDB Edition.\n */\n license: \"community\" | \"enterprise\";\n /**\n * Server operation mode.\n *\n * @deprecated use `operationMode` instead\n */\n mode: \"server\" | \"console\";\n /**\n * Server operation mode.\n */\n operationMode: \"server\" | \"console\";\n /**\n * The process ID of arangod.\n */\n pid: number;\n /**\n * Server type.\n */\n server: \"arango\";\n /**\n * Information about the server status.\n */\n serverInfo: {\n /**\n * Whether the maintenance mode is enabled.\n */\n maintenance: boolean;\n /**\n * (Cluster only.) The persisted ID.\n */\n persistedId?: string;\n /**\n * Startup and recovery information.\n */\n progress: {\n /**\n * Internal name of the feature that is currently being prepared, started, stopped or unprepared.\n */\n feature: string;\n /**\n * Name of the lifecycle phase the instance is currently in.\n */\n phase: string;\n /**\n * Current recovery sequence number value.\n */\n recoveryTick: number;\n };\n /**\n * Whether writes are disabled.\n */\n readOnly: boolean;\n /**\n * (Cluster only.) The reboot ID. Changes on every restart.\n */\n rebootId?: number;\n /**\n * Either \"SINGLE\", \"COORDINATOR\", \"PRIMARY\" (DB-Server), or \"AGENT\"\n */\n role: \"SINGLE\" | \"COORDINATOR\" | \"PRIMARY\" | \"AGENT\";\n /**\n * (Cluster Coordinators and DB-Servers only.) The server ID.\n */\n serverId?: string;\n /**\n * (Cluster Coordinators and DB-Servers only.) Either \"STARTUP\", \"SERVING\",\n * or \"SHUTDOWN\".\n */\n state?: \"STARTUP\" | \"SERVING\" | \"SHUTDOWN\";\n /**\n * The server version string.\n */\n version: string;\n /**\n * Whether writes are enabled.\n *\n * @deprecated Use `readOnly` instead.\n */\n writeOpsEnabled: boolean;\n };\n};\n\n/**\n * Server availability.\n *\n * - `\"default\"`: The server is operational.\n *\n * - `\"readonly\"`: The server is in read-only mode.\n *\n * - `false`: The server is not available.\n */\nexport type ServerAvailability = \"default\" | \"readonly\" | false;\n\n/**\n * Single server deployment information for support purposes.\n */\nexport type SingleServerSupportInfo = {\n /**\n * ISO 8601 datetime string of when the information was requested.\n */\n date: string;\n /**\n * Information about the deployment.\n */\n deployment: {\n /**\n * Deployment mode:\n *\n * - `\"single\"`: A single server deployment.\n *\n * - `\"cluster\"`: A cluster deployment.\n */\n type: \"single\";\n };\n};\n\n/**\n * Cluster deployment information for support purposes.\n */\nexport type ClusterSupportInfo = {\n /**\n * ISO 8601 datetime string of when the information was requested.\n */\n date: string;\n /**\n * Information about the deployment.\n */\n deployment: {\n /**\n * Deployment mode:\n *\n * - `\"single\"`: A single server deployment.\n *\n * - `\"cluster\"`: A cluster deployment.\n */\n type: \"cluster\";\n /**\n * Information about the servers in the cluster.\n */\n servers: Record<string, Record<string, any>>;\n /**\n * Number of agents in the cluster.\n */\n agents: number;\n /**\n * Number of coordinators in the cluster.\n */\n coordinators: number;\n /**\n * Number of DB-Servers in the cluster.\n */\n dbServers: number;\n /**\n * Information about the shards in the cluster.\n */\n shards: {\n /**\n * Number of collections in the cluster.\n */\n collections: number;\n /**\n * Number of shards in the cluster.\n */\n shards: number;\n /**\n * Number of leaders in the cluster.\n */\n leaders: number;\n /**\n * Number of real leaders in the cluster.\n */\n realLeaders: number;\n /**\n * Number of followers in the cluster.\n */\n followers: number;\n /**\n * Number of servers in the cluster.\n */\n servers: number;\n }\n };\n /**\n * (Cluster only.) Information about the ArangoDB instance as well as the\n * host machine.\n */\n host: Record<string, any>;\n};\n\n/**\n * An object providing methods for accessing queue time metrics of the most\n * recently received server responses if the server supports this feature.\n */\nexport interface QueueTimeMetrics {\n /**\n * Returns the queue time of the most recently received response in seconds.\n */\n getLatest(): number | undefined;\n /**\n * Returns a list of the most recently received queue time values as tuples\n * of the timestamp of the response being processed in milliseconds and the\n * queue time in seconds.\n */\n getValues(): [number, number][];\n /**\n * Returns the average queue time of the most recently received responses\n * in seconds.\n */\n getAvg(): number;\n};\n"]}
1
+ {"version":3,"file":"administration.js","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG","sourcesContent":["/**\n * ```ts\n * import type { VersionInfo } from \"arangojs/administration\";\n * ```\n *\n * The \"administration\" module provides types for database administration.\n *\n * @packageDocumentation\n */\n\n/**\n * Result of retrieving database version information.\n */\nexport type VersionInfo = {\n /**\n * Value identifying the server type, i.e. `\"arango\"`.\n */\n server: string;\n /**\n * ArangoDB license type or \"edition\".\n */\n license: \"community\" | \"enterprise\";\n /**\n * ArangoDB server version.\n */\n version: string;\n /**\n * Additional information about the ArangoDB server.\n */\n details?: { [key: string]: string };\n};\n\n/**\n * Information about the storage engine.\n */\nexport type EngineInfo = {\n /**\n * Endianness of the storage engine.\n */\n endianness?: \"little\" | \"big\";\n /**\n * Name of the storage engine.\n */\n name: string;\n /**\n * Features supported by the storage engine.\n */\n supports?: {\n /**\n * Index types supported by the storage engine.\n */\n indexes?: string[];\n /**\n * Aliases supported by the storage engine.\n */\n aliases?: {\n /**\n * Index type aliases supported by the storage engine.\n */\n indexes?: Record<string, string>;\n };\n };\n};\n\n/**\n * Information about the server status.\n */\nexport type ServerStatusInformation = {\n /**\n * (Cluster Coordinators and DB-Servers only.) The address of the server.\n */\n address?: string;\n /**\n * (Cluster Coordinators and DB-Servers only.) Information about the Agency.\n */\n agency?: {\n /**\n * Information about the communication with the Agency.\n */\n agencyComm: {\n /**\n * A list of possible Agency endpoints.\n */\n endpoints: string[];\n };\n };\n /**\n * (Cluster Agents only.) Information about the Agents.\n */\n agent?: {\n /**\n * The endpoint of the queried Agent.\n */\n endpoint: string;\n /**\n * Server ID of the queried Agent.\n */\n id: string;\n /**\n * Server ID of the leading Agent.\n */\n leaderId: string;\n /**\n * Whether the queried Agent is the leader.\n */\n leading: boolean;\n /**\n * The current term number.\n */\n term: number;\n };\n /**\n * (Cluster Coordinators only.) Information about the Coordinators.\n */\n coordinator?: {\n /**\n * The server ID of the Coordinator that is the Foxx master.\n */\n foxxmaster: string[];\n /**\n * Whether the queried Coordinator is the Foxx master.\n */\n isFoxxmaster: boolean[];\n };\n /**\n * Whether the Foxx API is enabled.\n */\n foxxApi: boolean;\n /**\n * A host identifier defined by the HOST or NODE_NAME environment variable,\n * or a fallback value using a machine identifier or the cluster/Agency address.\n */\n host: string;\n /**\n * A hostname defined by the HOSTNAME environment variable.\n */\n hostname?: string;\n /**\n * ArangoDB Edition.\n */\n license: \"community\" | \"enterprise\";\n /**\n * Server operation mode.\n *\n * @deprecated use `operationMode` instead\n */\n mode: \"server\" | \"console\";\n /**\n * Server operation mode.\n */\n operationMode: \"server\" | \"console\";\n /**\n * The process ID of arangod.\n */\n pid: number;\n /**\n * Server type.\n */\n server: \"arango\";\n /**\n * Information about the server status.\n */\n serverInfo: {\n /**\n * Whether the maintenance mode is enabled.\n */\n maintenance: boolean;\n /**\n * (Cluster only.) The persisted ID.\n */\n persistedId?: string;\n /**\n * Startup and recovery information.\n */\n progress: {\n /**\n * Internal name of the feature that is currently being prepared, started, stopped or unprepared.\n */\n feature: string;\n /**\n * Name of the lifecycle phase the instance is currently in.\n */\n phase: string;\n /**\n * Current recovery sequence number value.\n */\n recoveryTick: number;\n };\n /**\n * Whether writes are disabled.\n */\n readOnly: boolean;\n /**\n * (Cluster only.) The reboot ID. Changes on every restart.\n */\n rebootId?: number;\n /**\n * Either \"SINGLE\", \"COORDINATOR\", \"PRIMARY\" (DB-Server), or \"AGENT\"\n */\n role: \"SINGLE\" | \"COORDINATOR\" | \"PRIMARY\" | \"AGENT\";\n /**\n * (Cluster Coordinators and DB-Servers only.) The server ID.\n */\n serverId?: string;\n /**\n * (Cluster Coordinators and DB-Servers only.) Either \"STARTUP\", \"SERVING\",\n * or \"SHUTDOWN\".\n */\n state?: \"STARTUP\" | \"SERVING\" | \"SHUTDOWN\";\n /**\n * The server version string.\n */\n version: string;\n /**\n * Whether writes are enabled.\n *\n * @deprecated Use `readOnly` instead.\n */\n writeOpsEnabled: boolean;\n };\n};\n\n/**\n * Server availability.\n *\n * - `\"default\"`: The server is operational.\n *\n * - `\"readonly\"`: The server is in read-only mode.\n *\n * - `false`: The server is not available.\n */\nexport type ServerAvailability = \"default\" | \"readonly\" | false;\n\n/**\n * Single server deployment information for support purposes.\n */\nexport type SingleServerSupportInfo = {\n /**\n * ISO 8601 datetime string of when the information was requested.\n */\n date: string;\n /**\n * Information about the deployment.\n */\n deployment: {\n /**\n * Deployment mode:\n *\n * - `\"single\"`: A single server deployment.\n *\n * - `\"cluster\"`: A cluster deployment.\n */\n type: \"single\";\n };\n};\n\n/**\n * Cluster deployment information for support purposes.\n */\nexport type ClusterSupportInfo = {\n /**\n * ISO 8601 datetime string of when the information was requested.\n */\n date: string;\n /**\n * Information about the deployment.\n */\n deployment: {\n /**\n * Deployment mode:\n *\n * - `\"single\"`: A single server deployment.\n *\n * - `\"cluster\"`: A cluster deployment.\n */\n type: \"cluster\";\n /**\n * Information about the servers in the cluster.\n */\n servers: Record<string, Record<string, any>>;\n /**\n * Number of agents in the cluster.\n */\n agents: number;\n /**\n * Number of coordinators in the cluster.\n */\n coordinators: number;\n /**\n * Number of DB-Servers in the cluster.\n */\n dbServers: number;\n /**\n * Information about the shards in the cluster.\n */\n shards: {\n /**\n * Number of collections in the cluster.\n */\n collections: number;\n /**\n * Number of shards in the cluster.\n */\n shards: number;\n /**\n * Number of leaders in the cluster.\n */\n leaders: number;\n /**\n * Number of real leaders in the cluster.\n */\n realLeaders: number;\n /**\n * Number of followers in the cluster.\n */\n followers: number;\n /**\n * Number of servers in the cluster.\n */\n servers: number;\n };\n };\n /**\n * (Cluster only.) Information about the ArangoDB instance as well as the\n * host machine.\n */\n host: Record<string, any>;\n};\n\n/**\n * An object providing methods for accessing queue time metrics of the most\n * recently received server responses if the server supports this feature.\n */\nexport interface QueueTimeMetrics {\n /**\n * Returns the queue time of the most recently received response in seconds.\n */\n getLatest(): number | undefined;\n /**\n * Returns a list of the most recently received queue time values as tuples\n * of the timestamp of the response being processed in milliseconds and the\n * queue time in seconds.\n */\n getValues(): [number, number][];\n /**\n * Returns the average queue time of the most recently received responses\n * in seconds.\n */\n getAvg(): number;\n}\n"]}