@@ -274,6 +274,11 @@ export type GraphInfo = {
274274 * @deprecated Renamed to `writeConcern` in ArangoDB 3.6.
275275 */
276276 minReplicationFactor ?: number ;
277+ /**
278+ * (Enterprise Edition cluster only.) If set to `true`, the graph is a
279+ * SatelliteGraph.
280+ */
281+ isSatellite ?: boolean ;
277282 /**
278283 * (Enterprise Edition cluster only.) If set to `true`, the graph has been
279284 * created as a SmartGraph.
@@ -284,6 +289,11 @@ export type GraphInfo = {
284289 * value to use for smart sharding.
285290 */
286291 smartGraphAttribute ?: string ;
292+ /**
293+ * (Enterprise Edition cluster only.) If set to `true`, the graph has been
294+ * created as a Disjoint SmartGraph.
295+ */
296+ isDisjoint ?: boolean ;
287297} ;
288298
289299/**
@@ -306,6 +316,8 @@ export type GraphCreateOptions = {
306316 /**
307317 * (Cluster only.) Number of shards that is used for every collection
308318 * within this graph.
319+ *
320+ * Has no effect when `replicationFactor` is set to `"satellite"`.
309321 */
310322 numberOfShards ?: number ;
311323 /**
@@ -317,11 +329,15 @@ export type GraphCreateOptions = {
317329 replicationFactor ?: number | "satellite" ;
318330 /**
319331 * (Cluster only.) Write concern for new collections in the graph.
332+ *
333+ * Has no effect when `replicationFactor` is set to `"satellite"`.
320334 */
321335 writeConcern ?: number ;
322336 /**
323337 * (Cluster only.) Write concern for new collections in the graph.
324338 *
339+ * Has no effect when `replicationFactor` is set to `"satellite"`.
340+ *
325341 * @deprecated Renamed to `writeConcern` in ArangoDB 3.6.
326342 */
327343 minReplicationFactor ?: number ;
@@ -341,6 +357,13 @@ export type GraphCreateOptions = {
341357 * **Note**: `isSmart` must be set to `true`.
342358 */
343359 smartGraphAttribute ?: string ;
360+ /**
361+ * (Enterprise Edition cluster only.) If set to `true`, the graph will be
362+ * created as a Disjoint SmartGraph.
363+ *
364+ * Default: `false`
365+ */
366+ isDisjoint ?: boolean ;
344367} ;
345368
346369/**
@@ -1250,7 +1273,8 @@ export class Graph {
12501273 edgeDefinitions : EdgeDefinitionOptions [ ] ,
12511274 options ?: GraphCreateOptions
12521275 ) : Promise < GraphInfo > {
1253- const { orphanCollections, waitForSync, isSmart, ...opts } = options || { } ;
1276+ const { orphanCollections, waitForSync, isSmart, isDisjoint, ...opts } =
1277+ options || { } ;
12541278 return this . _db . request (
12551279 {
12561280 method : "POST" ,
@@ -1263,6 +1287,7 @@ export class Graph {
12631287 : [ collectionToString ( orphanCollections ) ] ) ,
12641288 edgeDefinitions : edgeDefinitions . map ( coerceEdgeDefinition ) ,
12651289 isSmart,
1290+ isDisjoint,
12661291 name : this . _name ,
12671292 options : opts ,
12681293 } ,
0 commit comments