arangojs 10.0.0-rc.0 → 10.1.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.
- package/CHANGELOG.md +81 -15
- package/README.md +5 -5
- package/administration.d.ts +67 -2
- package/administration.d.ts.map +1 -1
- package/analyzers.d.ts +6 -4
- package/analyzers.d.ts.map +1 -1
- package/aql.d.ts +0 -2
- package/aql.d.ts.map +1 -1
- package/cjs/administration.d.ts +67 -2
- package/cjs/administration.d.ts.map +1 -1
- package/cjs/administration.js +1 -0
- package/cjs/administration.js.map +1 -1
- package/cjs/analyzers.d.ts +6 -4
- package/cjs/analyzers.d.ts.map +1 -1
- package/cjs/analyzers.js.map +1 -1
- package/cjs/aql.d.ts +0 -2
- package/cjs/aql.d.ts.map +1 -1
- package/cjs/aql.js.map +1 -1
- package/cjs/collections.d.ts +86 -0
- package/cjs/collections.d.ts.map +1 -1
- package/cjs/collections.js +6 -0
- package/cjs/collections.js.map +1 -1
- package/cjs/connection.js +1 -1
- package/cjs/databases.d.ts +91 -18
- package/cjs/databases.d.ts.map +1 -1
- package/cjs/databases.js +132 -12
- package/cjs/databases.js.map +1 -1
- package/cjs/documents.d.ts +7 -0
- package/cjs/documents.d.ts.map +1 -1
- package/cjs/documents.js.map +1 -1
- package/cjs/graphs.d.ts +4 -4
- package/cjs/graphs.d.ts.map +1 -1
- package/cjs/graphs.js +8 -8
- package/cjs/graphs.js.map +1 -1
- package/cjs/indexes.d.ts +124 -6
- package/cjs/indexes.d.ts.map +1 -1
- package/cjs/indexes.js.map +1 -1
- package/cjs/queries.d.ts +104 -3
- package/cjs/queries.d.ts.map +1 -1
- package/cjs/queries.js +1 -0
- package/cjs/queries.js.map +1 -1
- package/cjs/services.d.ts +14 -13
- package/cjs/services.d.ts.map +1 -1
- package/cjs/services.js.map +1 -1
- package/cjs/views.d.ts +4 -2
- package/cjs/views.d.ts.map +1 -1
- package/cjs/views.js.map +1 -1
- package/collections.d.ts +86 -0
- package/collections.d.ts.map +1 -1
- package/databases.d.ts +91 -18
- package/databases.d.ts.map +1 -1
- package/documents.d.ts +7 -0
- package/documents.d.ts.map +1 -1
- package/esm/administration.d.ts +67 -2
- package/esm/administration.d.ts.map +1 -1
- package/esm/administration.js +1 -0
- package/esm/administration.js.map +1 -1
- package/esm/analyzers.d.ts +6 -4
- package/esm/analyzers.d.ts.map +1 -1
- package/esm/analyzers.js.map +1 -1
- package/esm/aql.d.ts +0 -2
- package/esm/aql.d.ts.map +1 -1
- package/esm/aql.js.map +1 -1
- package/esm/collections.d.ts +86 -0
- package/esm/collections.d.ts.map +1 -1
- package/esm/collections.js +6 -0
- package/esm/collections.js.map +1 -1
- package/esm/connection.js +1 -1
- package/esm/databases.d.ts +91 -18
- package/esm/databases.d.ts.map +1 -1
- package/esm/databases.js +132 -12
- package/esm/databases.js.map +1 -1
- package/esm/documents.d.ts +7 -0
- package/esm/documents.d.ts.map +1 -1
- package/esm/documents.js.map +1 -1
- package/esm/graphs.d.ts +4 -4
- package/esm/graphs.d.ts.map +1 -1
- package/esm/graphs.js +8 -8
- package/esm/graphs.js.map +1 -1
- package/esm/indexes.d.ts +124 -6
- package/esm/indexes.d.ts.map +1 -1
- package/esm/indexes.js.map +1 -1
- package/esm/queries.d.ts +104 -3
- package/esm/queries.d.ts.map +1 -1
- package/esm/queries.js +1 -0
- package/esm/queries.js.map +1 -1
- package/esm/services.d.ts +14 -13
- package/esm/services.d.ts.map +1 -1
- package/esm/services.js.map +1 -1
- package/esm/views.d.ts +4 -2
- package/esm/views.d.ts.map +1 -1
- package/esm/views.js.map +1 -1
- package/graphs.d.ts +4 -4
- package/graphs.d.ts.map +1 -1
- package/indexes.d.ts +124 -6
- package/indexes.d.ts.map +1 -1
- package/package.json +2 -2
- package/queries.d.ts +104 -3
- package/queries.d.ts.map +1 -1
- package/services.d.ts +14 -13
- package/services.d.ts.map +1 -1
- package/views.d.ts +4 -2
- package/views.d.ts.map +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -14,7 +14,15 @@ 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.
|
|
17
|
+
## [10.1.0] - 2025-01-13
|
|
18
|
+
|
|
19
|
+
### Added
|
|
20
|
+
|
|
21
|
+
- Added `ignoreRevs` option to `RemoveDocumentOptions` type (DE-947)
|
|
22
|
+
|
|
23
|
+
This affects the `collection.remove` and `collection.removeAll` methods.
|
|
24
|
+
|
|
25
|
+
## [10.0.0] - 2025-01-06
|
|
18
26
|
|
|
19
27
|
This is a major release and breaks backwards compatibility.
|
|
20
28
|
|
|
@@ -33,6 +41,13 @@ for upgrading your code to arangojs v10.
|
|
|
33
41
|
`withStats` option is set to `true` but the `figures` property is already
|
|
34
42
|
included in the current return type.
|
|
35
43
|
|
|
44
|
+
- Removed Node.js 18 support
|
|
45
|
+
|
|
46
|
+
Node.js 18 will reach its end of life in May 2025, so arangojs will no
|
|
47
|
+
longer support this version of Node.js going forward.
|
|
48
|
+
|
|
49
|
+
For more information, see [the Node.js release schedule](https://nodejs.dev/en/about/releases/).
|
|
50
|
+
|
|
36
51
|
### Changed
|
|
37
52
|
|
|
38
53
|
- Closing a connection now closes all open requests
|
|
@@ -47,6 +62,11 @@ for upgrading your code to arangojs v10.
|
|
|
47
62
|
|
|
48
63
|
The following options were moved: `credentials`, `headers` and `keepalive`.
|
|
49
64
|
|
|
65
|
+
- `db.setUserAccessLevel` now takes `grant` as a separate parameter
|
|
66
|
+
|
|
67
|
+
The parameter was previously passed as an additional property in the
|
|
68
|
+
`options` parameter.
|
|
69
|
+
|
|
50
70
|
#### Error handling
|
|
51
71
|
|
|
52
72
|
- Errors encountered before a request completes are now wrapped in a
|
|
@@ -213,7 +233,8 @@ for upgrading your code to arangojs v10.
|
|
|
213
233
|
|
|
214
234
|
The following types were moved: `QueryOptions`, `ExplainOptions`,
|
|
215
235
|
`ExplainPlan`, `ExplainStats`, `SingleExplainResult`, `MultiExplainResult`,
|
|
216
|
-
`AstNode`, `ParseResult`, `
|
|
236
|
+
`AstNode`, `ParseResult`, `QueryCachePropertiesOptions`, `QueryCacheEntry`,
|
|
237
|
+
`QueryCacheProperties`, `QueryOptimizerRule`, `QueryTracking`,
|
|
217
238
|
`QueryTrackingOptions`, `QueryInfo` and `AqlUserFunction`.
|
|
218
239
|
|
|
219
240
|
- Moved service related types from `arangojs/database` module to new
|
|
@@ -237,7 +258,10 @@ for upgrading your code to arangojs v10.
|
|
|
237
258
|
- Moved server administration related types from `arangojs/database` module to
|
|
238
259
|
new `arangojs/administration` module
|
|
239
260
|
|
|
240
|
-
The following types were moved: `
|
|
261
|
+
The following types were moved: `CompactOptions`, `EngineInfo`,
|
|
262
|
+
`EngineStatsInfo`, `LicenseInfo`, `QueueTimeMetrics`, `ServerAvailability`,
|
|
263
|
+
`ServerStatusInformation`, `SingleServerSupportInfo`, `ClusterSupportInfo`
|
|
264
|
+
and `VersionInfo`.
|
|
241
265
|
|
|
242
266
|
- Moved configuration related types to new `arangojs/config` module
|
|
243
267
|
|
|
@@ -263,8 +287,11 @@ for upgrading your code to arangojs v10.
|
|
|
263
287
|
- `GeoIndex` -> `GeoIndexDescription`
|
|
264
288
|
- `PersistentIndex` -> `PersistentIndexDescription`
|
|
265
289
|
- `PrimaryIndex` -> `PrimaryIndexDescription`
|
|
290
|
+
- `EdgeIndex` -> `EdgeIndexDescription`
|
|
266
291
|
- `TtlIndex` -> `TtlIndexDescription`
|
|
292
|
+
- `FulltextIndex` -> `FulltextIndexDescription`
|
|
267
293
|
- `MdiIndex` -> `MdiIndexDescription`
|
|
294
|
+
- `MdiPrefixedIndex` -> `MdiPrefixedIndexDescription`
|
|
268
295
|
- `InvertedIndex` -> `InvertedIndexDescription`
|
|
269
296
|
- `InternalArangosearchIndex` -> `ArangosearchIndexDescription`
|
|
270
297
|
- `InternalIndex` -> `InternalIndexDescription`
|
|
@@ -297,6 +324,7 @@ for upgrading your code to arangojs v10.
|
|
|
297
324
|
or `VerbNounResult` naming pattern:
|
|
298
325
|
|
|
299
326
|
- `QueryTracking` -> `QueryTrackingInfo`
|
|
327
|
+
- `ServerStatusInformation` -> `ServerStatusInfo`
|
|
300
328
|
- `CollectionImportResult` -> `ImportDocumentsResult`
|
|
301
329
|
- `CollectionEdgesResult` -> `DocumentEdgesResult`
|
|
302
330
|
|
|
@@ -372,6 +400,11 @@ for upgrading your code to arangojs v10.
|
|
|
372
400
|
This property provides a low-level interface for consuming the items of the
|
|
373
401
|
cursor and is used by the regular item-wise `Cursor` class internally.
|
|
374
402
|
|
|
403
|
+
- Added `SystemIndexDescription` type
|
|
404
|
+
|
|
405
|
+
This type represents either of the system index types `primary` and `edge`
|
|
406
|
+
and can be used to cast indexes returned by `collection.indexes`.
|
|
407
|
+
|
|
375
408
|
- Added `ProcessedResponse` type
|
|
376
409
|
|
|
377
410
|
This type replaces the previously internal `ArangojsResponse` type and
|
|
@@ -446,17 +479,48 @@ for upgrading your code to arangojs v10.
|
|
|
446
479
|
`cause` property. This error is only thrown when `db.waitForPropagation`
|
|
447
480
|
is invoked with a `timeout` option and the timeout duration is exceeded.
|
|
448
481
|
|
|
482
|
+
## [9.3.0] - 2025-01-06
|
|
483
|
+
|
|
484
|
+
### Added
|
|
485
|
+
|
|
486
|
+
- Added `db.compact` method (DE-906)
|
|
487
|
+
|
|
488
|
+
- Added `db.engineStats` method (DE-932)
|
|
489
|
+
|
|
490
|
+
- Added `db.getLicense` and `db.setLicense` methods (DE-949)
|
|
491
|
+
|
|
492
|
+
- Added `db.listQueryCacheEntries` method (DE-149)
|
|
493
|
+
|
|
494
|
+
- Added `db.clearQueryCache` method (DE-148)
|
|
495
|
+
|
|
496
|
+
- Added `db.getQueryCacheProperties` method (DE-150)
|
|
497
|
+
|
|
498
|
+
- Added `db.setQueryCacheProperties` method (DE-151)
|
|
499
|
+
|
|
500
|
+
- Added `collection.shards` method (DE-939)
|
|
501
|
+
|
|
502
|
+
- Added support for `mdi-prefixed` indexes (DE-956)
|
|
503
|
+
|
|
504
|
+
- Restored `fulltext` index type support (DE-957)
|
|
505
|
+
|
|
506
|
+
The `fulltext` index type is still no longer supported for creating new
|
|
507
|
+
indexes but can be used to cast existing indexes from `Index`.
|
|
508
|
+
|
|
509
|
+
- Added support for `edge` indexes (DE-958)
|
|
510
|
+
|
|
511
|
+
The `Index` type now can also be cast to the `EdgeIndex` type.
|
|
512
|
+
|
|
449
513
|
## [9.2.0] - 2024-11-27
|
|
450
514
|
|
|
451
515
|
### Added
|
|
452
516
|
|
|
453
|
-
- Added `
|
|
517
|
+
- Added `db.availability` method
|
|
454
518
|
|
|
455
|
-
- Added `
|
|
519
|
+
- Added `db.engine` method (DE-931)
|
|
456
520
|
|
|
457
|
-
- Added `
|
|
521
|
+
- Added `db.status` method ([#811](https://github.com/arangodb/arangojs/issues/811))
|
|
458
522
|
|
|
459
|
-
- Added `
|
|
523
|
+
- Added `db.supportInfo` method
|
|
460
524
|
|
|
461
525
|
- Added `keepNull` option to `CollectionInsertOptions` type (DE-946)
|
|
462
526
|
|
|
@@ -1551,7 +1615,7 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
1551
1615
|
|
|
1552
1616
|
- Changed `db.createDatabase` return type to `Database`
|
|
1553
1617
|
|
|
1554
|
-
- Renamed `
|
|
1618
|
+
- Renamed `db.setQueryTracking` to `db.queryTracking`
|
|
1555
1619
|
|
|
1556
1620
|
The method will now return the existing query tracking properties or set the
|
|
1557
1621
|
new query tracking properties depending on whether an argument is provided.
|
|
@@ -1947,7 +2011,7 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
1947
2011
|
|
|
1948
2012
|
- Added support for ArangoDB 3.5 Analyzers API
|
|
1949
2013
|
|
|
1950
|
-
See the documentation of the `
|
|
2014
|
+
See the documentation of the `db.analyzer` method and the `Analyzer`
|
|
1951
2015
|
instances for information on using this API.
|
|
1952
2016
|
|
|
1953
2017
|
- Added `collection.getResponsibleShard` method
|
|
@@ -2121,7 +2185,7 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
2121
2185
|
|
|
2122
2186
|
- Fixed `edgeCollection.save` not respecting options ([#554](https://github.com/arangodb/arangojs/issues/554))
|
|
2123
2187
|
|
|
2124
|
-
- Fixed `
|
|
2188
|
+
- Fixed `db.createDatabase` TypeScript signature ([#561](https://github.com/arangodb/arangojs/issues/561))
|
|
2125
2189
|
|
|
2126
2190
|
## [6.5.0] - 2018-08-03
|
|
2127
2191
|
|
|
@@ -2162,7 +2226,7 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
2162
2226
|
|
|
2163
2227
|
- Added `ArangoError` and `CollectionType` to public exports
|
|
2164
2228
|
|
|
2165
|
-
- Added `
|
|
2229
|
+
- Added `db.close` method
|
|
2166
2230
|
|
|
2167
2231
|
- Added `opts` parameter to `EdgeCollection#save`
|
|
2168
2232
|
|
|
@@ -2170,11 +2234,11 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
2170
2234
|
|
|
2171
2235
|
### Added
|
|
2172
2236
|
|
|
2173
|
-
- Added `
|
|
2237
|
+
- Added `db.version` method
|
|
2174
2238
|
|
|
2175
|
-
- Added `
|
|
2239
|
+
- Added `db.login` method
|
|
2176
2240
|
|
|
2177
|
-
- Added `
|
|
2241
|
+
- Added `db.exists` method
|
|
2178
2242
|
|
|
2179
2243
|
- Added `collection.exists` method
|
|
2180
2244
|
|
|
@@ -2396,7 +2460,9 @@ For a detailed list of changes between pre-release versions of v7 see the
|
|
|
2396
2460
|
|
|
2397
2461
|
Graph methods now only return the relevant part of the response body.
|
|
2398
2462
|
|
|
2399
|
-
[10.
|
|
2463
|
+
[10.1.0]: https://github.com/arangodb/arangojs/compare/v10.0.0...v10.1.0
|
|
2464
|
+
[10.0.0]: https://github.com/arangodb/arangojs/compare/v9.3.0...v10.0.0
|
|
2465
|
+
[9.3.0]: https://github.com/arangodb/arangojs/compare/v9.2.0...v9.3.0
|
|
2400
2466
|
[9.2.0]: https://github.com/arangodb/arangojs/compare/v9.1.0...v9.2.0
|
|
2401
2467
|
[9.1.0]: https://github.com/arangodb/arangojs/compare/v9.0.0...v9.1.0
|
|
2402
2468
|
[9.0.0]: https://github.com/arangodb/arangojs/compare/v8.8.1...v9.0.0
|
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ You can also use [jsDelivr CDN](https://www.jsdelivr.com) during development:
|
|
|
36
36
|
<script type="importmap">
|
|
37
37
|
{
|
|
38
38
|
"imports": {
|
|
39
|
-
"arangojs": "https://cdn.jsdelivr.net/npm/arangojs@
|
|
39
|
+
"arangojs": "https://cdn.jsdelivr.net/npm/arangojs@10.0.0/esm/index.js?+esm"
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
</script>
|
|
@@ -183,7 +183,7 @@ For more details on the errors thrown by `undici`, see the
|
|
|
183
183
|
Please make sure you are using the latest version of this driver and that the
|
|
184
184
|
version of the arangojs documentation you are reading matches that version.
|
|
185
185
|
|
|
186
|
-
Changes in the major version number of arangojs (e.g.
|
|
186
|
+
Changes in the major version number of arangojs (e.g. 9.x.y -> 10.0.0) indicate
|
|
187
187
|
backwards-incompatible changes in the arangojs API that may require changes in
|
|
188
188
|
your code when upgrading your version of arangojs.
|
|
189
189
|
|
|
@@ -194,10 +194,10 @@ the [compatibility section](#compatibility) for additional information.
|
|
|
194
194
|
You can install an older version of arangojs using `npm` or `yarn`:
|
|
195
195
|
|
|
196
196
|
```sh
|
|
197
|
-
# for version
|
|
198
|
-
yarn add arangojs@
|
|
197
|
+
# for version 9.x.x
|
|
198
|
+
yarn add arangojs@9
|
|
199
199
|
# - or -
|
|
200
|
-
npm install --save arangojs@
|
|
200
|
+
npm install --save arangojs@9
|
|
201
201
|
```
|
|
202
202
|
|
|
203
203
|
### No code intelligence when using require instead of import
|
package/administration.d.ts
CHANGED
|
@@ -7,6 +7,23 @@
|
|
|
7
7
|
*
|
|
8
8
|
* @packageDocumentation
|
|
9
9
|
*/
|
|
10
|
+
/**
|
|
11
|
+
* Options for compacting all databases on the server.
|
|
12
|
+
*/
|
|
13
|
+
export type CompactOptions = {
|
|
14
|
+
/**
|
|
15
|
+
* Whether compacted data should be moved to the minimum possible level.
|
|
16
|
+
*
|
|
17
|
+
* Default: `false`.
|
|
18
|
+
*/
|
|
19
|
+
changeLevel?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to compact the bottom-most level of data.
|
|
22
|
+
*
|
|
23
|
+
* Default: `false`.
|
|
24
|
+
*/
|
|
25
|
+
compactBottomMostLevel?: boolean;
|
|
26
|
+
};
|
|
10
27
|
/**
|
|
11
28
|
* Result of retrieving database version information.
|
|
12
29
|
*/
|
|
@@ -61,10 +78,58 @@ export type EngineInfo = {
|
|
|
61
78
|
};
|
|
62
79
|
};
|
|
63
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* Performance and resource usage information about the storage engine.
|
|
83
|
+
*/
|
|
84
|
+
export type EngineStatsInfo = Record<string, string | number | Record<string, number | string>>;
|
|
85
|
+
/**
|
|
86
|
+
* Information about the server license.
|
|
87
|
+
*/
|
|
88
|
+
export type LicenseInfo = {
|
|
89
|
+
/**
|
|
90
|
+
* Properties of the license.
|
|
91
|
+
*/
|
|
92
|
+
features: {
|
|
93
|
+
/**
|
|
94
|
+
* The timestamp of the expiration date of the license in seconds since the
|
|
95
|
+
* Unix epoch.
|
|
96
|
+
*/
|
|
97
|
+
expires?: number;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* The hash value of the license.
|
|
101
|
+
*/
|
|
102
|
+
hash: string;
|
|
103
|
+
/**
|
|
104
|
+
* The encrypted license key in base 64 encoding, or `"none"` when running
|
|
105
|
+
* in the Community Edition.
|
|
106
|
+
*/
|
|
107
|
+
license?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The status of the installed license.
|
|
110
|
+
*
|
|
111
|
+
* - `"good"`: The license is valid for more than 2 weeks.
|
|
112
|
+
*
|
|
113
|
+
* - `"expiring"`: The license is valid for less than 2 weeks.
|
|
114
|
+
*
|
|
115
|
+
* - `"expired"`: The license has expired.
|
|
116
|
+
*
|
|
117
|
+
* - `"read-only"`: The license has been expired for more than 2 weeks.
|
|
118
|
+
*/
|
|
119
|
+
status: "good" | "expiring" | "expired" | "read-only";
|
|
120
|
+
/**
|
|
121
|
+
* Whether the server is performing a database upgrade.
|
|
122
|
+
*/
|
|
123
|
+
upgrading: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The license version number.
|
|
126
|
+
*/
|
|
127
|
+
version: number;
|
|
128
|
+
};
|
|
64
129
|
/**
|
|
65
130
|
* Information about the server status.
|
|
66
131
|
*/
|
|
67
|
-
export type
|
|
132
|
+
export type ServerStatusInfo = {
|
|
68
133
|
/**
|
|
69
134
|
* (Cluster Coordinators and DB-Servers only.) The address of the server.
|
|
70
135
|
*/
|
|
@@ -141,7 +206,7 @@ export type ServerStatusInformation = {
|
|
|
141
206
|
/**
|
|
142
207
|
* Server operation mode.
|
|
143
208
|
*
|
|
144
|
-
* @deprecated
|
|
209
|
+
* @deprecated Use `operationMode` instead
|
|
145
210
|
*/
|
|
146
211
|
mode: "server" | "console";
|
|
147
212
|
/**
|
package/administration.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAIF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;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,CAAC;YACpB;;eAEG;YACH,SAAS,EAAE,MAAM,CAAC;YAClB;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;KACH,CAAC;IACF;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAIF;;;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"}
|
package/analyzers.d.ts
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
*
|
|
9
9
|
* @packageDocumentation
|
|
10
10
|
*/
|
|
11
|
-
import * as databases from "./databases.js";
|
|
12
11
|
import * as connection from "./connection.js";
|
|
12
|
+
import * as databases from "./databases.js";
|
|
13
13
|
/**
|
|
14
14
|
* Name of a feature enabled for an Analyzer.
|
|
15
15
|
*/
|
|
@@ -42,7 +42,10 @@ export type AnalyzerType = AnalyzerDescription["type"];
|
|
|
42
42
|
* Analyzer type and its type-specific properties.
|
|
43
43
|
*/
|
|
44
44
|
export type CreateAnalyzerOptions = CreateIdentityAnalyzerOptions | CreateDelimiterAnalyzerOptions | CreateMultiDelimiterAnalyzerOptions | CreateStemAnalyzerOptions | CreateNormAnalyzerOptions | CreateNgramAnalyzerOptions | CreateTextAnalyzerOptions | CreateSegmentationAnalyzerOptions | CreateAqlAnalyzerOptions | CreatePipelineAnalyzerOptions | CreateStopwordsAnalyzerOptions | CreateCollationAnalyzerOptions | CreateMinHashAnalyzerOptions | CreateClassificationAnalyzerOptions | CreateNearestNeighborsAnalyzerOptions | CreateWildcardAnalyzerOptions | CreateGeoJsonAnalyzerOptions | CreateGeoPointAnalyzerOptions | CreateGeoS2AnalyzerOptions;
|
|
45
|
-
|
|
45
|
+
/**
|
|
46
|
+
* Shared attributes of all Analyzer creation options.
|
|
47
|
+
*/
|
|
48
|
+
export type CreateAnalyzerOptionsType<Type extends AnalyzerType, Properties = void> = Properties extends void ? {
|
|
46
49
|
/**
|
|
47
50
|
* Type of the Analyzer.
|
|
48
51
|
*/
|
|
@@ -444,7 +447,7 @@ export type AnalyzerDescription = IdentityAnalyzerDescription | DelimiterAnalyze
|
|
|
444
447
|
/**
|
|
445
448
|
* Shared attributes of all Analyzer descriptions.
|
|
446
449
|
*/
|
|
447
|
-
type AnalyzerDescriptionType<Type extends string, Properties = Record<string, never>> = {
|
|
450
|
+
export type AnalyzerDescriptionType<Type extends string, Properties = Record<string, never>> = {
|
|
448
451
|
/**
|
|
449
452
|
* A unique name for this Analyzer.
|
|
450
453
|
*/
|
|
@@ -707,5 +710,4 @@ export declare class Analyzer {
|
|
|
707
710
|
name: string;
|
|
708
711
|
}>>;
|
|
709
712
|
}
|
|
710
|
-
export {};
|
|
711
713
|
//# sourceMappingURL=analyzers.d.ts.map
|
package/analyzers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"analyzers.d.ts","sourceRoot":"","sources":["../src/analyzers.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,KAAK,SAAS,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAC;AAK9C;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,WAAW,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC;AAE3E;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG,OAAO,GAAG,OAAO,GAAG,MAAM,CAAC;AAExD;;GAEG;AACH,MAAM,MAAM,qBAAqB,GAAG,KAAK,GAAG,OAAO,GAAG,SAAS,CAAC;AAEhE;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,QAAQ,GAAG,QAAQ,GAAG,MAAM,CAAC;AAE9D;;GAEG;AACH,MAAM,MA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,wBAAwB,GACxB,OAAO,SAAS,yBAAyB,GACvC,uBAAuB,GACvB,OAAO,SAAS,iCAAiC,GAC/C,+BAA+B,GAC/B,OAAO,SAAS,wBAAwB,GACtC,sBAAsB,GACtB,OAAO,SAAS,6BAA6B,GAC3C,2BAA2B,GAC3B,OAAO,SAAS,8BAA8B,GAC5C,4BAA4B,GAC5B,OAAO,SAAS,8BAA8B,GAC5C,4BAA4B,GAC5B,OAAO,SAAS,4BAA4B,GAC1C,0BAA0B,GAC1B,OAAO,SAAS,mCAAmC,GACjD,iCAAiC,GACjC,OAAO,SAAS,qCAAqC,GACnD,mCAAmC,GACnC,OAAO,SAAS,4BAA4B,GAC1C,0BAA0B,GAC1B,OAAO,SAAS,6BAA6B,GAC3C,2BAA2B,GAC3B,OAAO,SAAS,0BAA0B,GACxC,wBAAwB,GACxB,mBAAmB,CACxD;IAQD;;;;;;;;;;;;;OAaG;IACH,IAAI,CACF,KAAK,GAAE,OAAe,GACrB,OAAO,CAAC,UAAU,CAAC,iBAAiB,CAAC;QAAE,IAAI,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;CAO3D"}
|
package/aql.d.ts
CHANGED
|
@@ -24,8 +24,6 @@ export interface AqlQuery<T = any> {
|
|
|
24
24
|
* Derived type representing AQL query objects generated by the AQL helper
|
|
25
25
|
* functions and the AQL template string handler. These objects can be fed
|
|
26
26
|
* back into these helper functions to be inlined or merged in complex queries.
|
|
27
|
-
*
|
|
28
|
-
* @internal
|
|
29
27
|
*/
|
|
30
28
|
export interface GeneratedAqlQuery<T = any> extends AqlQuery<T> {
|
|
31
29
|
/**
|
package/aql.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"aql.d.ts","sourceRoot":"","sources":["../src/aql.ts"],"names":[],"mappings":"AAaA,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAC;AAChD,OAAO,KAAK,MAAM,MAAM,aAAa,CAAC;AACtC,OAAO,KAAK,KAAK,MAAM,Y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
* Options for compacting all databases on the server.
|
|
12
|
+
*/
|
|
13
|
+
export type CompactOptions = {
|
|
14
|
+
/**
|
|
15
|
+
* Whether compacted data should be moved to the minimum possible level.
|
|
16
|
+
*
|
|
17
|
+
* Default: `false`.
|
|
18
|
+
*/
|
|
19
|
+
changeLevel?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* Whether to compact the bottom-most level of data.
|
|
22
|
+
*
|
|
23
|
+
* Default: `false`.
|
|
24
|
+
*/
|
|
25
|
+
compactBottomMostLevel?: boolean;
|
|
26
|
+
};
|
|
10
27
|
/**
|
|
11
28
|
* Result of retrieving database version information.
|
|
12
29
|
*/
|
|
@@ -61,10 +78,58 @@ export type EngineInfo = {
|
|
|
61
78
|
};
|
|
62
79
|
};
|
|
63
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* Performance and resource usage information about the storage engine.
|
|
83
|
+
*/
|
|
84
|
+
export type EngineStatsInfo = Record<string, string | number | Record<string, number | string>>;
|
|
85
|
+
/**
|
|
86
|
+
* Information about the server license.
|
|
87
|
+
*/
|
|
88
|
+
export type LicenseInfo = {
|
|
89
|
+
/**
|
|
90
|
+
* Properties of the license.
|
|
91
|
+
*/
|
|
92
|
+
features: {
|
|
93
|
+
/**
|
|
94
|
+
* The timestamp of the expiration date of the license in seconds since the
|
|
95
|
+
* Unix epoch.
|
|
96
|
+
*/
|
|
97
|
+
expires?: number;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* The hash value of the license.
|
|
101
|
+
*/
|
|
102
|
+
hash: string;
|
|
103
|
+
/**
|
|
104
|
+
* The encrypted license key in base 64 encoding, or `"none"` when running
|
|
105
|
+
* in the Community Edition.
|
|
106
|
+
*/
|
|
107
|
+
license?: string;
|
|
108
|
+
/**
|
|
109
|
+
* The status of the installed license.
|
|
110
|
+
*
|
|
111
|
+
* - `"good"`: The license is valid for more than 2 weeks.
|
|
112
|
+
*
|
|
113
|
+
* - `"expiring"`: The license is valid for less than 2 weeks.
|
|
114
|
+
*
|
|
115
|
+
* - `"expired"`: The license has expired.
|
|
116
|
+
*
|
|
117
|
+
* - `"read-only"`: The license has been expired for more than 2 weeks.
|
|
118
|
+
*/
|
|
119
|
+
status: "good" | "expiring" | "expired" | "read-only";
|
|
120
|
+
/**
|
|
121
|
+
* Whether the server is performing a database upgrade.
|
|
122
|
+
*/
|
|
123
|
+
upgrading: boolean;
|
|
124
|
+
/**
|
|
125
|
+
* The license version number.
|
|
126
|
+
*/
|
|
127
|
+
version: number;
|
|
128
|
+
};
|
|
64
129
|
/**
|
|
65
130
|
* Information about the server status.
|
|
66
131
|
*/
|
|
67
|
-
export type
|
|
132
|
+
export type ServerStatusInfo = {
|
|
68
133
|
/**
|
|
69
134
|
* (Cluster Coordinators and DB-Servers only.) The address of the server.
|
|
70
135
|
*/
|
|
@@ -141,7 +206,7 @@ export type ServerStatusInformation = {
|
|
|
141
206
|
/**
|
|
142
207
|
* Server operation mode.
|
|
143
208
|
*
|
|
144
|
-
* @deprecated
|
|
209
|
+
* @deprecated Use `operationMode` instead
|
|
145
210
|
*/
|
|
146
211
|
mode: "server" | "console";
|
|
147
212
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;
|
|
1
|
+
{"version":3,"file":"administration.d.ts","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAGH;;GAEG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B;;;;OAIG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC,CAAC;AAIF;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;OAEG;IACH,OAAO,EAAE,WAAW,GAAG,YAAY,CAAC;IACpC;;OAEG;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G;YACH,OAAO,EAAE,MAAM,CAAC;SACjB,CAAC;KACH,CAAC;IACF;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAC3B,CAAC;AAIF;;;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"}
|
package/cjs/administration.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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"]}
|
|
1
|
+
{"version":3,"file":"administration.js","sourceRoot":"","sources":["../../src/administration.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG;;AAkaH,YAAY","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//#region Administrative operation options\n/**\n * Options for compacting all databases on the server.\n */\nexport type CompactOptions = {\n /**\n * Whether compacted data should be moved to the minimum possible level.\n *\n * Default: `false`.\n */\n changeLevel?: boolean;\n /**\n * Whether to compact the bottom-most level of data.\n *\n * Default: `false`.\n */\n compactBottomMostLevel?: boolean;\n};\n//#endregion\n\n//#region Administrative operation results\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 * Performance and resource usage information about the storage engine.\n */\nexport type EngineStatsInfo = Record<\n string,\n string | number | Record<string, number | string>\n>;\n\n/**\n * Information about the server license.\n */\nexport type LicenseInfo = {\n /**\n * Properties of the license.\n */\n features: {\n /**\n * The timestamp of the expiration date of the license in seconds since the\n * Unix epoch.\n */\n expires?: number;\n };\n /**\n * The hash value of the license.\n */\n hash: string;\n /**\n * The encrypted license key in base 64 encoding, or `\"none\"` when running\n * in the Community Edition.\n */\n license?: string;\n /**\n * The status of the installed license.\n *\n * - `\"good\"`: The license is valid for more than 2 weeks.\n *\n * - `\"expiring\"`: The license is valid for less than 2 weeks.\n *\n * - `\"expired\"`: The license has expired.\n *\n * - `\"read-only\"`: The license has been expired for more than 2 weeks.\n */\n status: \"good\" | \"expiring\" | \"expired\" | \"read-only\";\n /**\n * Whether the server is performing a database upgrade.\n */\n upgrading: boolean;\n /**\n * The license version number.\n */\n version: number;\n};\n\n/**\n * Information about the server status.\n */\nexport type ServerStatusInfo = {\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//#endregion\n\n//#region Queue time metrics\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//#endregion\n"]}
|