@powerhousedao/reactor-browser 6.2.3-dev.9 → 6.2.3-dev.91
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/dist/{attachment-service-D3EhiAJ7.d.ts → attachment-service-10Qn5nIw.d.ts} +766 -108
- package/dist/attachment-service-10Qn5nIw.d.ts.map +1 -0
- package/dist/auth-DzIYxeEJ.d.ts +32 -0
- package/dist/auth-DzIYxeEJ.d.ts.map +1 -0
- package/dist/{client-DjK30EQ-.js → client-BFnMV-EO.js} +39 -22
- package/dist/client-BFnMV-EO.js.map +1 -0
- package/dist/{client-D66jVnot.js → client-BNMyQ_Z2.js} +372 -33
- package/dist/client-BNMyQ_Z2.js.map +1 -0
- package/dist/{client-BIHN_UyR.d.ts → client-C-NgSjoc.d.ts} +4 -3
- package/dist/client-C-NgSjoc.d.ts.map +1 -0
- package/dist/dispatch-Cylwl2Dk.js +1173 -0
- package/dist/dispatch-Cylwl2Dk.js.map +1 -0
- package/dist/document-by-id-DdvqanGR.js +16 -0
- package/dist/document-by-id-DdvqanGR.js.map +1 -0
- package/dist/document-model-modules-ChmfyIxT.js +644 -0
- package/dist/document-model-modules-ChmfyIxT.js.map +1 -0
- package/dist/document-operations-QtU34A52.js +4664 -0
- package/dist/document-operations-QtU34A52.js.map +1 -0
- package/dist/global-bbfp3_1x.d.ts +649 -0
- package/dist/global-bbfp3_1x.d.ts.map +1 -0
- package/dist/{index-B33TKEqp.d.ts → index-Bfr_cWdi.d.ts} +31 -100
- package/dist/index-Bfr_cWdi.d.ts.map +1 -0
- package/dist/{index-BIVDXw3K.d.ts → index-rtDmzViP.d.ts} +3 -3
- package/dist/index-rtDmzViP.d.ts.map +1 -0
- package/dist/index.d.ts +837 -411
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +851 -129
- package/dist/index.js.map +1 -1
- package/dist/inspector-proxy-DODqs15F.d.ts +25 -0
- package/dist/inspector-proxy-DODqs15F.d.ts.map +1 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js +180 -0
- package/dist/make-ph-event-functions-B5GU5xcR.js.map +1 -0
- package/dist/{pglite-CntadC_p-9NDG14dS.d.ts → pglite-CntadC_p-DTkdF8sr.d.ts} +11 -33
- package/dist/pglite-CntadC_p-DTkdF8sr.d.ts.map +1 -0
- package/dist/{relational-D1RB45sA.js → relational-DZuyKp2y.js} +66 -5
- package/dist/relational-DZuyKp2y.js.map +1 -0
- package/dist/{renown-rqK8sokh.js → renown-B3MUaiq7.js} +61 -31
- package/dist/renown-B3MUaiq7.js.map +1 -0
- package/dist/renown-CBoTdGrg.js +394 -0
- package/dist/renown-CBoTdGrg.js.map +1 -0
- package/dist/{types-Dcv1ZLoW.d.ts → schema-Bn6L3QR1.d.ts} +324 -64
- package/dist/schema-Bn6L3QR1.d.ts.map +1 -0
- package/dist/src/ai/index.d.ts +276 -75
- package/dist/src/ai/index.d.ts.map +1 -1
- package/dist/src/ai/index.js +733 -172
- package/dist/src/ai/index.js.map +1 -1
- package/dist/src/analytics/index.d.ts +36 -44
- package/dist/src/analytics/index.d.ts.map +1 -1
- package/dist/src/analytics/index.js +4 -4
- package/dist/src/analytics/index.js.map +1 -1
- package/dist/src/document-model.d.ts +3 -4
- package/dist/src/document-model.d.ts.map +1 -1
- package/dist/src/document-model.js.map +1 -1
- package/dist/src/graphql/client.d.ts +4 -3
- package/dist/src/graphql/client.js +1 -1
- package/dist/src/graphql-client/entry.d.ts +6 -4
- package/dist/src/graphql-client/entry.js +4 -4
- package/dist/src/relational/index.d.ts +15 -9
- package/dist/src/relational/index.d.ts.map +1 -1
- package/dist/src/relational/index.js +1 -1
- package/dist/src/renown/index.d.ts +3 -2
- package/dist/src/renown/index.js +3 -3
- package/dist/src/rpc/index.d.ts +217 -140
- package/dist/src/rpc/index.d.ts.map +1 -1
- package/dist/src/rpc/index.js +600 -623
- package/dist/src/rpc/index.js.map +1 -1
- package/dist/{store-BJYcr_FL.js → store-DInXcjal.js} +1 -1
- package/dist/{store-BJYcr_FL.js.map → store-DInXcjal.js.map} +1 -1
- package/dist/{switchboard-CaXQ4-5Q.js → switchboard-B640iT1L.js} +61 -11
- package/dist/switchboard-B640iT1L.js.map +1 -0
- package/dist/{types-6vDzbRRS.d.ts → types-520nWrB3.d.ts} +2 -2
- package/dist/types-520nWrB3.d.ts.map +1 -0
- package/dist/types-CT44EMmw.d.ts +59 -0
- package/dist/types-CT44EMmw.d.ts.map +1 -0
- package/package.json +24 -23
- package/dist/attachment-service-D3EhiAJ7.d.ts.map +0 -1
- package/dist/client-BIHN_UyR.d.ts.map +0 -1
- package/dist/client-D66jVnot.js.map +0 -1
- package/dist/client-DjK30EQ-.js.map +0 -1
- package/dist/document-by-id-B4FIzG1w.js +0 -519
- package/dist/document-by-id-B4FIzG1w.js.map +0 -1
- package/dist/document-model-modules-bTP87nyr.js +0 -419
- package/dist/document-model-modules-bTP87nyr.js.map +0 -1
- package/dist/document-operations-WeE6wIDt.js +0 -2603
- package/dist/document-operations-WeE6wIDt.js.map +0 -1
- package/dist/global-OuINvEGT.d.ts +0 -401
- package/dist/global-OuINvEGT.d.ts.map +0 -1
- package/dist/index-B33TKEqp.d.ts.map +0 -1
- package/dist/index-BIVDXw3K.d.ts.map +0 -1
- package/dist/inspector-proxy-6h5VKAwt.d.ts +0 -257
- package/dist/inspector-proxy-6h5VKAwt.d.ts.map +0 -1
- package/dist/make-ph-event-functions-DBq3iWYn.js +0 -53
- package/dist/make-ph-event-functions-DBq3iWYn.js.map +0 -1
- package/dist/pglite-CntadC_p-9NDG14dS.d.ts.map +0 -1
- package/dist/relational-D1RB45sA.js.map +0 -1
- package/dist/renown-BHxwP7xU.js +0 -97
- package/dist/renown-BHxwP7xU.js.map +0 -1
- package/dist/renown-rqK8sokh.js.map +0 -1
- package/dist/switchboard-CaXQ4-5Q.js.map +0 -1
- package/dist/types-6vDzbRRS.d.ts.map +0 -1
- package/dist/types-Dcv1ZLoW.d.ts.map +0 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { GraphQLClient,
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
|
|
1
|
+
import { GraphQLClient, RequestOptions } from "graphql-request";
|
|
4
2
|
//#region src/graphql/gen/schema.d.ts
|
|
5
3
|
type InputMaybe<T> = T | null | undefined;
|
|
6
4
|
type Exact<T extends {
|
|
7
5
|
[key: string]: unknown;
|
|
8
|
-
}> = { [K in keyof T]: T[K] };
|
|
6
|
+
}> = { [K in keyof T]: T[K]; };
|
|
9
7
|
type GraphQLClientRequestHeaders = RequestOptions["requestHeaders"];
|
|
10
8
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
11
9
|
type Scalars = {
|
|
@@ -63,8 +61,11 @@ type ActionCandidateInput = {
|
|
|
63
61
|
* the params carried in its own tuple, which do not include them.
|
|
64
62
|
*/
|
|
65
63
|
type ActionContextInput = {
|
|
66
|
-
/** Covers replay of an operation that would otherwise be a no-op. */
|
|
67
|
-
readonly
|
|
64
|
+
/** Covers replay of an operation that would otherwise be a no-op. */
|
|
65
|
+
readonly nonce?: InputMaybe<Scalars["String"]["input"]>;
|
|
66
|
+
/** The hash of the state the action applies to. */
|
|
67
|
+
readonly prevOpHash?: InputMaybe<Scalars["String"]["input"]>;
|
|
68
|
+
/** The index of the last operation in the scope the action applies to. */
|
|
68
69
|
readonly prevOpIndex?: InputMaybe<Scalars["Int"]["input"]>;
|
|
69
70
|
readonly signer?: InputMaybe<ReactorSignerInput>;
|
|
70
71
|
};
|
|
@@ -100,6 +101,31 @@ type DocumentOperationsFilterInput = {
|
|
|
100
101
|
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
101
102
|
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
102
103
|
};
|
|
104
|
+
declare enum DriveNodeKind {
|
|
105
|
+
File = "FILE",
|
|
106
|
+
Folder = "FOLDER"
|
|
107
|
+
}
|
|
108
|
+
/**
|
|
109
|
+
* One mutation job of a batch, mirroring the reactor's `ExecutionJobPlan`
|
|
110
|
+
* (packages/reactor/src/core/types.ts). The batch runs its jobs in dependency
|
|
111
|
+
* order only, not atomically: each job commits on its own with no batch rollback,
|
|
112
|
+
* and a failed job still releases its dependents.
|
|
113
|
+
*
|
|
114
|
+
* `documentIdOrSlug` is the document the job's actions apply to -- an id that does
|
|
115
|
+
* not yet exist when the job's actions create it. `actions` are coerced against
|
|
116
|
+
* `ActionInput` and passed through exactly as `execute` does, so a client-signed
|
|
117
|
+
* action keeps its signature. `scope` is the single scope every action in the job
|
|
118
|
+
* shares, and `dependsOn` names the plan keys this job is ordered after. `branch`
|
|
119
|
+
* defaults to `main`.
|
|
120
|
+
*/
|
|
121
|
+
type ExecutionJobInput = {
|
|
122
|
+
readonly actions: ReadonlyArray<ActionInput>;
|
|
123
|
+
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
124
|
+
readonly dependsOn: ReadonlyArray<Scalars["String"]["input"]>;
|
|
125
|
+
readonly documentIdOrSlug: Scalars["String"]["input"];
|
|
126
|
+
readonly key: Scalars["String"]["input"];
|
|
127
|
+
readonly scope: Scalars["String"]["input"];
|
|
128
|
+
};
|
|
103
129
|
type OperationContextInput = {
|
|
104
130
|
readonly branch: Scalars["String"]["input"];
|
|
105
131
|
readonly documentId: Scalars["String"]["input"];
|
|
@@ -124,7 +150,9 @@ type OperationWithContextInput = {
|
|
|
124
150
|
type OperationsFilterInput = {
|
|
125
151
|
readonly actionTypes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
126
152
|
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
127
|
-
|
|
153
|
+
/** @deprecated Use documentIdOrSlug. */
|
|
154
|
+
readonly documentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
155
|
+
readonly documentIdOrSlug?: InputMaybe<Scalars["String"]["input"]>;
|
|
128
156
|
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
129
157
|
readonly sinceRevision?: InputMaybe<Scalars["Int"]["input"]>;
|
|
130
158
|
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -164,6 +192,7 @@ type RemoteFilterInput = {
|
|
|
164
192
|
readonly scope: ReadonlyArray<Scalars["String"]["input"]>;
|
|
165
193
|
};
|
|
166
194
|
type SearchFilterInput = {
|
|
195
|
+
/** @deprecated Ignored. Filter by type or parentId. */
|
|
167
196
|
readonly identifiers?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
168
197
|
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
169
198
|
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -180,10 +209,16 @@ declare enum SyncEnvelopeType {
|
|
|
180
209
|
Ack = "ACK",
|
|
181
210
|
Operations = "OPERATIONS"
|
|
182
211
|
}
|
|
212
|
+
type SyncRefusalInput = {
|
|
213
|
+
readonly branch: Scalars["String"]["input"];
|
|
214
|
+
readonly documentId: Scalars["String"]["input"];
|
|
215
|
+
readonly kind?: InputMaybe<Scalars["String"]["input"]>;
|
|
216
|
+
};
|
|
183
217
|
type TouchChannelInput = {
|
|
184
218
|
readonly collectionId: Scalars["String"]["input"];
|
|
185
219
|
readonly filter: RemoteFilterInput;
|
|
186
220
|
readonly id: Scalars["String"]["input"];
|
|
221
|
+
readonly manifest?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
187
222
|
readonly name: Scalars["String"]["input"];
|
|
188
223
|
readonly sinceTimestampUtcMs: Scalars["String"]["input"];
|
|
189
224
|
};
|
|
@@ -196,6 +231,8 @@ type PhDocumentFieldsFragment = {
|
|
|
196
231
|
readonly slug?: string | null | undefined;
|
|
197
232
|
readonly name: string;
|
|
198
233
|
readonly documentType: string;
|
|
234
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
235
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
199
236
|
readonly state: NonNullable<unknown>;
|
|
200
237
|
readonly createdAtUtcIso: string | Date;
|
|
201
238
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -210,7 +247,6 @@ type GetDocumentModelsQueryVariables = Exact<{
|
|
|
210
247
|
}>;
|
|
211
248
|
type GetDocumentModelsQuery = {
|
|
212
249
|
readonly documentModels: {
|
|
213
|
-
readonly totalCount: number;
|
|
214
250
|
readonly hasNextPage: boolean;
|
|
215
251
|
readonly hasPreviousPage: boolean;
|
|
216
252
|
readonly cursor?: string | null | undefined;
|
|
@@ -235,6 +271,8 @@ type GetDocumentQuery = {
|
|
|
235
271
|
readonly slug?: string | null | undefined;
|
|
236
272
|
readonly name: string;
|
|
237
273
|
readonly documentType: string;
|
|
274
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
275
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
238
276
|
readonly state: NonNullable<unknown>;
|
|
239
277
|
readonly createdAtUtcIso: string | Date;
|
|
240
278
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -259,11 +297,12 @@ type GetDocumentWithOperationsQuery = {
|
|
|
259
297
|
readonly slug?: string | null | undefined;
|
|
260
298
|
readonly name: string;
|
|
261
299
|
readonly documentType: string;
|
|
300
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
301
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
262
302
|
readonly state: NonNullable<unknown>;
|
|
263
303
|
readonly createdAtUtcIso: string | Date;
|
|
264
304
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
265
305
|
readonly operations?: {
|
|
266
|
-
readonly totalCount: number;
|
|
267
306
|
readonly hasNextPage: boolean;
|
|
268
307
|
readonly hasPreviousPage: boolean;
|
|
269
308
|
readonly cursor?: string | null | undefined;
|
|
@@ -313,7 +352,6 @@ type GetDocumentOutgoingRelationshipsQueryVariables = Exact<{
|
|
|
313
352
|
}>;
|
|
314
353
|
type GetDocumentOutgoingRelationshipsQuery = {
|
|
315
354
|
readonly documentOutgoingRelationships: {
|
|
316
|
-
readonly totalCount: number;
|
|
317
355
|
readonly hasNextPage: boolean;
|
|
318
356
|
readonly hasPreviousPage: boolean;
|
|
319
357
|
readonly cursor?: string | null | undefined;
|
|
@@ -322,6 +360,8 @@ type GetDocumentOutgoingRelationshipsQuery = {
|
|
|
322
360
|
readonly slug?: string | null | undefined;
|
|
323
361
|
readonly name: string;
|
|
324
362
|
readonly documentType: string;
|
|
363
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
364
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
325
365
|
readonly state: NonNullable<unknown>;
|
|
326
366
|
readonly createdAtUtcIso: string | Date;
|
|
327
367
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -340,7 +380,6 @@ type GetDocumentIncomingRelationshipsQueryVariables = Exact<{
|
|
|
340
380
|
}>;
|
|
341
381
|
type GetDocumentIncomingRelationshipsQuery = {
|
|
342
382
|
readonly documentIncomingRelationships: {
|
|
343
|
-
readonly totalCount: number;
|
|
344
383
|
readonly hasNextPage: boolean;
|
|
345
384
|
readonly hasPreviousPage: boolean;
|
|
346
385
|
readonly cursor?: string | null | undefined;
|
|
@@ -349,6 +388,8 @@ type GetDocumentIncomingRelationshipsQuery = {
|
|
|
349
388
|
readonly slug?: string | null | undefined;
|
|
350
389
|
readonly name: string;
|
|
351
390
|
readonly documentType: string;
|
|
391
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
392
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
352
393
|
readonly state: NonNullable<unknown>;
|
|
353
394
|
readonly createdAtUtcIso: string | Date;
|
|
354
395
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -359,6 +400,48 @@ type GetDocumentIncomingRelationshipsQuery = {
|
|
|
359
400
|
}>;
|
|
360
401
|
};
|
|
361
402
|
};
|
|
403
|
+
type GetDocumentOutgoingRelationshipEdgesQueryVariables = Exact<{
|
|
404
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
405
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
406
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
407
|
+
paging?: InputMaybe<PagingInput>;
|
|
408
|
+
}>;
|
|
409
|
+
type GetDocumentOutgoingRelationshipEdgesQuery = {
|
|
410
|
+
readonly documentOutgoingRelationshipEdges: {
|
|
411
|
+
readonly hasNextPage: boolean;
|
|
412
|
+
readonly hasPreviousPage: boolean;
|
|
413
|
+
readonly cursor?: string | null | undefined;
|
|
414
|
+
readonly items: ReadonlyArray<{
|
|
415
|
+
readonly sourceId: string;
|
|
416
|
+
readonly targetId: string;
|
|
417
|
+
readonly relationshipType: string;
|
|
418
|
+
readonly metadata?: NonNullable<unknown> | null | undefined;
|
|
419
|
+
readonly createdAt: string | Date;
|
|
420
|
+
readonly updatedAt: string | Date;
|
|
421
|
+
}>;
|
|
422
|
+
};
|
|
423
|
+
};
|
|
424
|
+
type GetDocumentIncomingRelationshipEdgesQueryVariables = Exact<{
|
|
425
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
426
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
427
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
428
|
+
paging?: InputMaybe<PagingInput>;
|
|
429
|
+
}>;
|
|
430
|
+
type GetDocumentIncomingRelationshipEdgesQuery = {
|
|
431
|
+
readonly documentIncomingRelationshipEdges: {
|
|
432
|
+
readonly hasNextPage: boolean;
|
|
433
|
+
readonly hasPreviousPage: boolean;
|
|
434
|
+
readonly cursor?: string | null | undefined;
|
|
435
|
+
readonly items: ReadonlyArray<{
|
|
436
|
+
readonly sourceId: string;
|
|
437
|
+
readonly targetId: string;
|
|
438
|
+
readonly relationshipType: string;
|
|
439
|
+
readonly metadata?: NonNullable<unknown> | null | undefined;
|
|
440
|
+
readonly createdAt: string | Date;
|
|
441
|
+
readonly updatedAt: string | Date;
|
|
442
|
+
}>;
|
|
443
|
+
};
|
|
444
|
+
};
|
|
362
445
|
type FindDocumentsQueryVariables = Exact<{
|
|
363
446
|
search?: InputMaybe<SearchFilterInput>;
|
|
364
447
|
view?: InputMaybe<ViewFilterInput>;
|
|
@@ -366,7 +449,6 @@ type FindDocumentsQueryVariables = Exact<{
|
|
|
366
449
|
}>;
|
|
367
450
|
type FindDocumentsQuery = {
|
|
368
451
|
readonly findDocuments: {
|
|
369
|
-
readonly totalCount: number;
|
|
370
452
|
readonly hasNextPage: boolean;
|
|
371
453
|
readonly hasPreviousPage: boolean;
|
|
372
454
|
readonly cursor?: string | null | undefined;
|
|
@@ -375,6 +457,8 @@ type FindDocumentsQuery = {
|
|
|
375
457
|
readonly slug?: string | null | undefined;
|
|
376
458
|
readonly name: string;
|
|
377
459
|
readonly documentType: string;
|
|
460
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
461
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
378
462
|
readonly state: NonNullable<unknown>;
|
|
379
463
|
readonly createdAtUtcIso: string | Date;
|
|
380
464
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -391,7 +475,6 @@ type GetDocumentOperationsQueryVariables = Exact<{
|
|
|
391
475
|
}>;
|
|
392
476
|
type GetDocumentOperationsQuery = {
|
|
393
477
|
readonly documentOperations: {
|
|
394
|
-
readonly totalCount: number;
|
|
395
478
|
readonly hasNextPage: boolean;
|
|
396
479
|
readonly hasPreviousPage: boolean;
|
|
397
480
|
readonly cursor?: string | null | undefined;
|
|
@@ -433,13 +516,125 @@ type GetJobStatusQueryVariables = Exact<{
|
|
|
433
516
|
type GetJobStatusQuery = {
|
|
434
517
|
readonly jobStatus?: {
|
|
435
518
|
readonly id: string;
|
|
519
|
+
readonly documentId: string;
|
|
436
520
|
readonly status: string;
|
|
437
521
|
readonly result?: NonNullable<unknown> | null | undefined;
|
|
438
522
|
readonly error?: string | null | undefined;
|
|
523
|
+
readonly errorName?: string | null | undefined;
|
|
439
524
|
readonly createdAt: string | Date;
|
|
440
525
|
readonly completedAt?: string | Date | null | undefined;
|
|
526
|
+
readonly consistencyToken: {
|
|
527
|
+
readonly version: number;
|
|
528
|
+
readonly createdAtUtcIso: string;
|
|
529
|
+
readonly coordinates: ReadonlyArray<{
|
|
530
|
+
readonly documentId: string;
|
|
531
|
+
readonly scope: string;
|
|
532
|
+
readonly branch: string;
|
|
533
|
+
readonly operationIndex: number;
|
|
534
|
+
}>;
|
|
535
|
+
};
|
|
536
|
+
readonly meta: {
|
|
537
|
+
readonly batchId: string;
|
|
538
|
+
readonly batchJobIds: ReadonlyArray<string>;
|
|
539
|
+
};
|
|
540
|
+
} | null | undefined;
|
|
541
|
+
};
|
|
542
|
+
type GetDocumentServedQueryVariables = Exact<{
|
|
543
|
+
idOrSlug: Scalars["String"]["input"];
|
|
544
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
545
|
+
}>;
|
|
546
|
+
type GetDocumentServedQuery = {
|
|
547
|
+
readonly documentServed: boolean;
|
|
548
|
+
};
|
|
549
|
+
type GetCreateDefaultsQueryVariables = Exact<{
|
|
550
|
+
parentIdOrSlug?: InputMaybe<Scalars["String"]["input"]>;
|
|
551
|
+
}>;
|
|
552
|
+
type GetCreateDefaultsQuery = {
|
|
553
|
+
readonly createDefaults: {
|
|
554
|
+
readonly signaturePolicy: string;
|
|
555
|
+
readonly protocolVersions: NonNullable<unknown>;
|
|
556
|
+
};
|
|
557
|
+
};
|
|
558
|
+
type GetCreateProtocolVersionsQueryVariables = Exact<{
|
|
559
|
+
parentIdOrSlug?: InputMaybe<Scalars["String"]["input"]>;
|
|
560
|
+
documentType: Scalars["String"]["input"];
|
|
561
|
+
}>;
|
|
562
|
+
type GetCreateProtocolVersionsQuery = {
|
|
563
|
+
readonly createDefaults: {
|
|
564
|
+
readonly protocolVersions: NonNullable<unknown>;
|
|
565
|
+
};
|
|
566
|
+
};
|
|
567
|
+
type GetUndoRedoTargetsQueryVariables = Exact<{
|
|
568
|
+
documentIdOrSlug: Scalars["String"]["input"];
|
|
569
|
+
scope?: InputMaybe<Scalars["String"]["input"]>;
|
|
570
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
571
|
+
}>;
|
|
572
|
+
type GetUndoRedoTargetsQuery = {
|
|
573
|
+
readonly undoRedoTargets: {
|
|
574
|
+
readonly undoTarget?: string | null | undefined;
|
|
575
|
+
readonly redoTarget?: string | null | undefined;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
type GetDriveNodesQueryVariables = Exact<{
|
|
579
|
+
driveId: Scalars["ID"]["input"];
|
|
580
|
+
parentFolder?: InputMaybe<Scalars["ID"]["input"]>;
|
|
581
|
+
paging?: InputMaybe<PagingInput>;
|
|
582
|
+
kind?: InputMaybe<DriveNodeKind>;
|
|
583
|
+
}>;
|
|
584
|
+
type GetDriveNodesQuery = {
|
|
585
|
+
readonly driveNodes: {
|
|
586
|
+
readonly nextCursor?: string | null | undefined;
|
|
587
|
+
readonly hasMore: boolean;
|
|
588
|
+
readonly results: ReadonlyArray<{
|
|
589
|
+
readonly id: string;
|
|
590
|
+
readonly driveId: string;
|
|
591
|
+
readonly name: string;
|
|
592
|
+
readonly parentFolder?: string | null | undefined;
|
|
593
|
+
readonly documentType: string;
|
|
594
|
+
} | {
|
|
595
|
+
readonly id: string;
|
|
596
|
+
readonly driveId: string;
|
|
597
|
+
readonly name: string;
|
|
598
|
+
readonly parentFolder?: string | null | undefined;
|
|
599
|
+
}>;
|
|
600
|
+
};
|
|
601
|
+
};
|
|
602
|
+
type GetDriveNodeQueryVariables = Exact<{
|
|
603
|
+
driveId: Scalars["ID"]["input"];
|
|
604
|
+
id: Scalars["ID"]["input"];
|
|
605
|
+
}>;
|
|
606
|
+
type GetDriveNodeQuery = {
|
|
607
|
+
readonly driveNode?: {
|
|
608
|
+
readonly id: string;
|
|
609
|
+
readonly driveId: string;
|
|
610
|
+
readonly name: string;
|
|
611
|
+
readonly parentFolder?: string | null | undefined;
|
|
612
|
+
readonly documentType: string;
|
|
613
|
+
} | {
|
|
614
|
+
readonly id: string;
|
|
615
|
+
readonly driveId: string;
|
|
616
|
+
readonly name: string;
|
|
617
|
+
readonly parentFolder?: string | null | undefined;
|
|
441
618
|
} | null | undefined;
|
|
442
619
|
};
|
|
620
|
+
type GetDriveDescendantsQueryVariables = Exact<{
|
|
621
|
+
driveId: Scalars["ID"]["input"];
|
|
622
|
+
root: Scalars["ID"]["input"];
|
|
623
|
+
}>;
|
|
624
|
+
type GetDriveDescendantsQuery = {
|
|
625
|
+
readonly driveDescendants: ReadonlyArray<{
|
|
626
|
+
readonly id: string;
|
|
627
|
+
readonly driveId: string;
|
|
628
|
+
readonly name: string;
|
|
629
|
+
readonly parentFolder?: string | null | undefined;
|
|
630
|
+
readonly documentType: string;
|
|
631
|
+
} | {
|
|
632
|
+
readonly id: string;
|
|
633
|
+
readonly driveId: string;
|
|
634
|
+
readonly name: string;
|
|
635
|
+
readonly parentFolder?: string | null | undefined;
|
|
636
|
+
}>;
|
|
637
|
+
};
|
|
443
638
|
type EvaluateActionsQueryVariables = Exact<{
|
|
444
639
|
documentIdentifier: Scalars["String"]["input"];
|
|
445
640
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -467,6 +662,8 @@ type CreateDocumentMutation = {
|
|
|
467
662
|
readonly slug?: string | null | undefined;
|
|
468
663
|
readonly name: string;
|
|
469
664
|
readonly documentType: string;
|
|
665
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
666
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
470
667
|
readonly state: NonNullable<unknown>;
|
|
471
668
|
readonly createdAtUtcIso: string | Date;
|
|
472
669
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -486,6 +683,8 @@ type CreateEmptyDocumentMutation = {
|
|
|
486
683
|
readonly slug?: string | null | undefined;
|
|
487
684
|
readonly name: string;
|
|
488
685
|
readonly documentType: string;
|
|
686
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
687
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
489
688
|
readonly state: NonNullable<unknown>;
|
|
490
689
|
readonly createdAtUtcIso: string | Date;
|
|
491
690
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -506,6 +705,8 @@ type MutateDocumentMutation = {
|
|
|
506
705
|
readonly slug?: string | null | undefined;
|
|
507
706
|
readonly name: string;
|
|
508
707
|
readonly documentType: string;
|
|
708
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
709
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
509
710
|
readonly state: NonNullable<unknown>;
|
|
510
711
|
readonly createdAtUtcIso: string | Date;
|
|
511
712
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -523,11 +724,61 @@ type MutateDocumentAsyncMutationVariables = Exact<{
|
|
|
523
724
|
type MutateDocumentAsyncMutation = {
|
|
524
725
|
readonly mutateDocumentAsync: {
|
|
525
726
|
readonly id: string;
|
|
727
|
+
readonly documentId: string;
|
|
526
728
|
readonly status: string;
|
|
527
729
|
readonly result?: NonNullable<unknown> | null | undefined;
|
|
528
730
|
readonly error?: string | null | undefined;
|
|
731
|
+
readonly errorName?: string | null | undefined;
|
|
529
732
|
readonly createdAt: string | Date;
|
|
530
733
|
readonly completedAt?: string | Date | null | undefined;
|
|
734
|
+
readonly consistencyToken: {
|
|
735
|
+
readonly version: number;
|
|
736
|
+
readonly createdAtUtcIso: string;
|
|
737
|
+
readonly coordinates: ReadonlyArray<{
|
|
738
|
+
readonly documentId: string;
|
|
739
|
+
readonly scope: string;
|
|
740
|
+
readonly branch: string;
|
|
741
|
+
readonly operationIndex: number;
|
|
742
|
+
}>;
|
|
743
|
+
};
|
|
744
|
+
readonly meta: {
|
|
745
|
+
readonly batchId: string;
|
|
746
|
+
readonly batchJobIds: ReadonlyArray<string>;
|
|
747
|
+
};
|
|
748
|
+
};
|
|
749
|
+
};
|
|
750
|
+
type ExecuteBatchMutationVariables = Exact<{
|
|
751
|
+
jobs: ReadonlyArray<ExecutionJobInput>;
|
|
752
|
+
}>;
|
|
753
|
+
type ExecuteBatchMutation = {
|
|
754
|
+
readonly executeBatch: {
|
|
755
|
+
readonly jobs: ReadonlyArray<{
|
|
756
|
+
readonly key: string;
|
|
757
|
+
readonly job: {
|
|
758
|
+
readonly id: string;
|
|
759
|
+
readonly documentId: string;
|
|
760
|
+
readonly status: string;
|
|
761
|
+
readonly result?: NonNullable<unknown> | null | undefined;
|
|
762
|
+
readonly error?: string | null | undefined;
|
|
763
|
+
readonly errorName?: string | null | undefined;
|
|
764
|
+
readonly createdAt: string | Date;
|
|
765
|
+
readonly completedAt?: string | Date | null | undefined;
|
|
766
|
+
readonly consistencyToken: {
|
|
767
|
+
readonly version: number;
|
|
768
|
+
readonly createdAtUtcIso: string;
|
|
769
|
+
readonly coordinates: ReadonlyArray<{
|
|
770
|
+
readonly documentId: string;
|
|
771
|
+
readonly scope: string;
|
|
772
|
+
readonly branch: string;
|
|
773
|
+
readonly operationIndex: number;
|
|
774
|
+
}>;
|
|
775
|
+
};
|
|
776
|
+
readonly meta: {
|
|
777
|
+
readonly batchId: string;
|
|
778
|
+
readonly batchJobIds: ReadonlyArray<string>;
|
|
779
|
+
};
|
|
780
|
+
};
|
|
781
|
+
}>;
|
|
531
782
|
};
|
|
532
783
|
};
|
|
533
784
|
type RenameDocumentMutationVariables = Exact<{
|
|
@@ -541,6 +792,8 @@ type RenameDocumentMutation = {
|
|
|
541
792
|
readonly slug?: string | null | undefined;
|
|
542
793
|
readonly name: string;
|
|
543
794
|
readonly documentType: string;
|
|
795
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
796
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
544
797
|
readonly state: NonNullable<unknown>;
|
|
545
798
|
readonly createdAtUtcIso: string | Date;
|
|
546
799
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -561,6 +814,8 @@ type SetPreferredEditorMutation = {
|
|
|
561
814
|
readonly slug?: string | null | undefined;
|
|
562
815
|
readonly name: string;
|
|
563
816
|
readonly documentType: string;
|
|
817
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
818
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
564
819
|
readonly state: NonNullable<unknown>;
|
|
565
820
|
readonly createdAtUtcIso: string | Date;
|
|
566
821
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -574,6 +829,7 @@ type AddRelationshipMutationVariables = Exact<{
|
|
|
574
829
|
sourceIdentifier: Scalars["String"]["input"];
|
|
575
830
|
targetIdentifier: Scalars["String"]["input"];
|
|
576
831
|
relationshipType: Scalars["String"]["input"];
|
|
832
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
577
833
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
578
834
|
}>;
|
|
579
835
|
type AddRelationshipMutation = {
|
|
@@ -582,6 +838,32 @@ type AddRelationshipMutation = {
|
|
|
582
838
|
readonly slug?: string | null | undefined;
|
|
583
839
|
readonly name: string;
|
|
584
840
|
readonly documentType: string;
|
|
841
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
842
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
843
|
+
readonly state: NonNullable<unknown>;
|
|
844
|
+
readonly createdAtUtcIso: string | Date;
|
|
845
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
846
|
+
readonly revisionsList: ReadonlyArray<{
|
|
847
|
+
readonly scope: string;
|
|
848
|
+
readonly revision: number;
|
|
849
|
+
}>;
|
|
850
|
+
};
|
|
851
|
+
};
|
|
852
|
+
type UpdateRelationshipMutationVariables = Exact<{
|
|
853
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
854
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
855
|
+
relationshipType: Scalars["String"]["input"];
|
|
856
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
857
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
858
|
+
}>;
|
|
859
|
+
type UpdateRelationshipMutation = {
|
|
860
|
+
readonly updateRelationship: {
|
|
861
|
+
readonly id: string;
|
|
862
|
+
readonly slug?: string | null | undefined;
|
|
863
|
+
readonly name: string;
|
|
864
|
+
readonly documentType: string;
|
|
865
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
866
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
585
867
|
readonly state: NonNullable<unknown>;
|
|
586
868
|
readonly createdAtUtcIso: string | Date;
|
|
587
869
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -603,6 +885,8 @@ type RemoveRelationshipMutation = {
|
|
|
603
885
|
readonly slug?: string | null | undefined;
|
|
604
886
|
readonly name: string;
|
|
605
887
|
readonly documentType: string;
|
|
888
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
889
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
606
890
|
readonly state: NonNullable<unknown>;
|
|
607
891
|
readonly createdAtUtcIso: string | Date;
|
|
608
892
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -626,6 +910,8 @@ type MoveRelationshipMutation = {
|
|
|
626
910
|
readonly slug?: string | null | undefined;
|
|
627
911
|
readonly name: string;
|
|
628
912
|
readonly documentType: string;
|
|
913
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
914
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
629
915
|
readonly state: NonNullable<unknown>;
|
|
630
916
|
readonly createdAtUtcIso: string | Date;
|
|
631
917
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -639,6 +925,8 @@ type MoveRelationshipMutation = {
|
|
|
639
925
|
readonly slug?: string | null | undefined;
|
|
640
926
|
readonly name: string;
|
|
641
927
|
readonly documentType: string;
|
|
928
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
929
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
642
930
|
readonly state: NonNullable<unknown>;
|
|
643
931
|
readonly createdAtUtcIso: string | Date;
|
|
644
932
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -675,6 +963,8 @@ type DocumentChangesSubscription = {
|
|
|
675
963
|
readonly slug?: string | null | undefined;
|
|
676
964
|
readonly name: string;
|
|
677
965
|
readonly documentType: string;
|
|
966
|
+
readonly meta?: NonNullable<unknown> | null | undefined;
|
|
967
|
+
readonly protocolVersions?: NonNullable<unknown> | null | undefined;
|
|
678
968
|
readonly state: NonNullable<unknown>;
|
|
679
969
|
readonly createdAtUtcIso: string | Date;
|
|
680
970
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
@@ -696,7 +986,7 @@ type JobChangesSubscription = {
|
|
|
696
986
|
readonly jobChanges: {
|
|
697
987
|
readonly jobId: string;
|
|
698
988
|
readonly status: string;
|
|
699
|
-
readonly result
|
|
989
|
+
readonly result?: NonNullable<unknown> | null | undefined;
|
|
700
990
|
readonly error?: string | null | undefined;
|
|
701
991
|
};
|
|
702
992
|
};
|
|
@@ -704,11 +994,15 @@ type PollSyncEnvelopesQueryVariables = Exact<{
|
|
|
704
994
|
channelId: Scalars["String"]["input"];
|
|
705
995
|
outboxAck: Scalars["Int"]["input"];
|
|
706
996
|
outboxLatest: Scalars["Int"]["input"];
|
|
997
|
+
manifestRevision?: InputMaybe<Scalars["String"]["input"]>;
|
|
998
|
+
refusals?: InputMaybe<ReadonlyArray<SyncRefusalInput>>;
|
|
707
999
|
}>;
|
|
708
1000
|
type PollSyncEnvelopesQuery = {
|
|
709
1001
|
readonly pollSyncEnvelopes: {
|
|
710
1002
|
readonly ackOrdinal: number;
|
|
711
1003
|
readonly hasMore: boolean;
|
|
1004
|
+
readonly manifestRevision?: string | null | undefined;
|
|
1005
|
+
readonly peerManifestRevision?: string | null | undefined;
|
|
712
1006
|
readonly envelopes: ReadonlyArray<{
|
|
713
1007
|
readonly type: SyncEnvelopeType;
|
|
714
1008
|
readonly key?: string | null | undefined;
|
|
@@ -774,10 +1068,12 @@ type TouchChannelMutation = {
|
|
|
774
1068
|
readonly touchChannel: {
|
|
775
1069
|
readonly success: boolean;
|
|
776
1070
|
readonly ackOrdinal: number;
|
|
1071
|
+
readonly manifest?: NonNullable<unknown> | null | undefined;
|
|
777
1072
|
};
|
|
778
1073
|
};
|
|
779
1074
|
type PushSyncEnvelopesMutationVariables = Exact<{
|
|
780
1075
|
envelopes: ReadonlyArray<SyncEnvelopeInput>;
|
|
1076
|
+
peerManifestRevision?: InputMaybe<Scalars["String"]["input"]>;
|
|
781
1077
|
}>;
|
|
782
1078
|
type PushSyncEnvelopesMutation = {
|
|
783
1079
|
readonly pushSyncEnvelopes: boolean;
|
|
@@ -789,17 +1085,28 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
|
|
|
789
1085
|
GetDocumentWithOperations(variables: GetDocumentWithOperationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentWithOperationsQuery>;
|
|
790
1086
|
GetDocumentOutgoingRelationships(variables: GetDocumentOutgoingRelationshipsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentOutgoingRelationshipsQuery>;
|
|
791
1087
|
GetDocumentIncomingRelationships(variables: GetDocumentIncomingRelationshipsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentIncomingRelationshipsQuery>;
|
|
1088
|
+
GetDocumentOutgoingRelationshipEdges(variables: GetDocumentOutgoingRelationshipEdgesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentOutgoingRelationshipEdgesQuery>;
|
|
1089
|
+
GetDocumentIncomingRelationshipEdges(variables: GetDocumentIncomingRelationshipEdgesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentIncomingRelationshipEdgesQuery>;
|
|
792
1090
|
FindDocuments(variables?: FindDocumentsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<FindDocumentsQuery>;
|
|
793
1091
|
GetDocumentOperations(variables: GetDocumentOperationsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentOperationsQuery>;
|
|
794
1092
|
GetJobStatus(variables: GetJobStatusQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetJobStatusQuery>;
|
|
1093
|
+
GetDocumentServed(variables: GetDocumentServedQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDocumentServedQuery>;
|
|
1094
|
+
GetCreateDefaults(variables?: GetCreateDefaultsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetCreateDefaultsQuery>;
|
|
1095
|
+
GetCreateProtocolVersions(variables: GetCreateProtocolVersionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetCreateProtocolVersionsQuery>;
|
|
1096
|
+
GetUndoRedoTargets(variables: GetUndoRedoTargetsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetUndoRedoTargetsQuery>;
|
|
1097
|
+
GetDriveNodes(variables: GetDriveNodesQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDriveNodesQuery>;
|
|
1098
|
+
GetDriveNode(variables: GetDriveNodeQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDriveNodeQuery>;
|
|
1099
|
+
GetDriveDescendants(variables: GetDriveDescendantsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<GetDriveDescendantsQuery>;
|
|
795
1100
|
EvaluateActions(variables: EvaluateActionsQueryVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<EvaluateActionsQuery>;
|
|
796
1101
|
CreateDocument(variables: CreateDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateDocumentMutation>;
|
|
797
1102
|
CreateEmptyDocument(variables: CreateEmptyDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<CreateEmptyDocumentMutation>;
|
|
798
1103
|
MutateDocument(variables: MutateDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MutateDocumentMutation>;
|
|
799
1104
|
MutateDocumentAsync(variables: MutateDocumentAsyncMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MutateDocumentAsyncMutation>;
|
|
1105
|
+
ExecuteBatch(variables: ExecuteBatchMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<ExecuteBatchMutation>;
|
|
800
1106
|
RenameDocument(variables: RenameDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RenameDocumentMutation>;
|
|
801
1107
|
SetPreferredEditor(variables: SetPreferredEditorMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<SetPreferredEditorMutation>;
|
|
802
1108
|
AddRelationship(variables: AddRelationshipMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<AddRelationshipMutation>;
|
|
1109
|
+
UpdateRelationship(variables: UpdateRelationshipMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<UpdateRelationshipMutation>;
|
|
803
1110
|
RemoveRelationship(variables: RemoveRelationshipMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<RemoveRelationshipMutation>;
|
|
804
1111
|
MoveRelationship(variables: MoveRelationshipMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<MoveRelationshipMutation>;
|
|
805
1112
|
DeleteDocument(variables: DeleteDocumentMutationVariables, requestHeaders?: GraphQLClientRequestHeaders, signal?: RequestInit["signal"]): Promise<DeleteDocumentMutation>;
|
|
@@ -812,53 +1119,6 @@ declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionWrapper)
|
|
|
812
1119
|
};
|
|
813
1120
|
type Sdk = ReturnType<typeof getSdk>;
|
|
814
1121
|
//#endregion
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
|
|
818
|
-
declare const graphqlEventsToSyncDrive: readonly ["CreateEmptyDocument", "CreateDocument", "AddChildren", "RemoveChildren", "MoveChildren", "DeleteDocument", "DeleteDocuments"];
|
|
819
|
-
declare const graphqlDocumentEvents: readonly ["MutateDocument", "MutateDocumentAsync", "DeleteDocument"];
|
|
820
|
-
declare const graphqlDocumentsEvents: readonly ["DeleteDocuments"];
|
|
821
|
-
//#endregion
|
|
822
|
-
//#region src/graphql/types.d.ts
|
|
823
|
-
type DocumentOperationsPage = GetDocumentOperationsQuery["documentOperations"];
|
|
824
|
-
type DocumentResult = NonNullable<GetDocumentQuery["document"]>;
|
|
825
|
-
/** Arguments for running a hand-authored GraphQL document through the SDK. */
|
|
826
|
-
type RunDocumentOptions = {
|
|
827
|
-
/** Operation name reported to the middleware (auth, logging, tracing). */operationName: string; /** Operation type reported to the middleware. Defaults to `"query"`. */
|
|
828
|
-
operationType?: string; /** The document to run: a source string or a parsed `DocumentNode`. */
|
|
829
|
-
document: RequestDocument;
|
|
830
|
-
variables?: Variables;
|
|
831
|
-
requestHeaders?: Record<string, string>;
|
|
832
|
-
signal?: RequestInit["signal"];
|
|
833
|
-
};
|
|
834
|
-
type ReactorGraphQLClient = Sdk & {
|
|
835
|
-
/**
|
|
836
|
-
* Run a hand-authored GraphQL document through the same transport and
|
|
837
|
-
* middleware as the generated SDK methods. Used for selections the code
|
|
838
|
-
* generator cannot express, such as a mutation that also returns the
|
|
839
|
-
* operations it produced.
|
|
840
|
-
*/
|
|
841
|
-
RunDocument: <TData>(options: RunDocumentOptions) => Promise<TData>; /** Fetch multiple documentOperations in a single request via aliases. */
|
|
842
|
-
BatchGetDocumentOperations?: (filters: OperationsFilterInput[], pagings: (PagingInput | undefined | null)[]) => Promise<DocumentOperationsPage[]>; /** Fetch a document and multiple documentOperations in a single request. */
|
|
843
|
-
BatchGetDocumentWithOperations?: (identifier: string, view: ViewFilterInput | undefined, filters: OperationsFilterInput[], pagings: (PagingInput | undefined)[]) => Promise<{
|
|
844
|
-
document: DocumentResult | null;
|
|
845
|
-
operations: DocumentOperationsPage[];
|
|
846
|
-
}>;
|
|
847
|
-
};
|
|
848
|
-
type GraphQLClientDocumentEvent = CustomEvent<{
|
|
849
|
-
identifier: string;
|
|
850
|
-
}>;
|
|
851
|
-
type GraphQLClientDocumentsEvent = CustomEvent<{
|
|
852
|
-
identifiers: string[];
|
|
853
|
-
}>;
|
|
854
|
-
type GraphQLDocumentEventOperationName = (typeof graphqlDocumentEvents)[number];
|
|
855
|
-
type GraphQLDocumentEventsOperationName = (typeof graphqlDocumentsEvents)[number];
|
|
856
|
-
type GraphQLDocumentEvents = Record<GraphQLDocumentEventOperationName, GraphQLClientDocumentEvent>;
|
|
857
|
-
type GraphQLDocumentsEvents = Record<GraphQLDocumentEventsOperationName, GraphQLClientDocumentsEvent>;
|
|
858
|
-
type GraphQLClientWindowEvents = GraphQLDocumentEvents & GraphQLDocumentsEvents;
|
|
859
|
-
type TStateSchemaZodObject = z.ZodObject<{
|
|
860
|
-
state: z.ZodObject;
|
|
861
|
-
}>;
|
|
862
|
-
//#endregion
|
|
863
|
-
export { ViewFilterInput as A, GetDocumentQuery as C, PropagationMode as D, PhDocumentFieldsFragment as E, Scalars as O, GetDocumentOperationsQuery as S, MutateDocumentMutation as T, CreateDocumentMutation as _, GraphQLDocumentEvents as a, DocumentChangesSubscription as b, ReactorGraphQLClient as c, DEFAULT_DRIVE_ID as d, DEFAULT_SWITCHBOARD_URL as f, ActionInput as g, graphqlEventsToSyncDrive as h, GraphQLDocumentEventOperationName as i, SdkFunctionWrapper as k, RunDocumentOptions as l, graphqlDocumentsEvents as m, GraphQLClientDocumentsEvent as n, GraphQLDocumentEventsOperationName as o, graphqlDocumentEvents as p, GraphQLClientWindowEvents as r, GraphQLDocumentsEvents as s, GraphQLClientDocumentEvent as t, TStateSchemaZodObject as u, DeleteDocumentMutation as v, GetDocumentWithOperationsQuery as w, FindDocumentsQuery as x, DeleteDocumentsMutation as y };
|
|
864
|
-
//# sourceMappingURL=types-Dcv1ZLoW.d.ts.map
|
|
1122
|
+
export { Sdk as _, DocumentChangesSubscription as a, GetDocumentQuery as c, MutateDocumentMutation as d, OperationsFilterInput as f, Scalars as g, PropagationMode as h, DeleteDocumentsMutation as i, GetDocumentWithOperationsQuery as l, PhDocumentFieldsFragment as m, CreateDocumentMutation as n, FindDocumentsQuery as o, PagingInput as p, DeleteDocumentMutation as r, GetDocumentOperationsQuery as s, ActionInput as t, JobChangesSubscription as u, SdkFunctionWrapper as v, ViewFilterInput as y };
|
|
1123
|
+
export {};
|
|
1124
|
+
//# sourceMappingURL=schema-Bn6L3QR1.d.ts.map
|