@powerhousedao/reactor-api 5.1.0-staging.0 → 5.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/dist/codegen.js +2 -2
- package/dist/codegen.js.map +1 -1
- package/dist/src/graphql/base-subgraph.d.ts +1 -2
- package/dist/src/graphql/base-subgraph.d.ts.map +1 -1
- package/dist/src/graphql/base-subgraph.js +0 -2
- package/dist/src/graphql/base-subgraph.js.map +1 -1
- package/dist/src/graphql/graphql-manager.d.ts.map +1 -1
- package/dist/src/graphql/graphql-manager.js +0 -1
- package/dist/src/graphql/graphql-manager.js.map +1 -1
- package/dist/src/graphql/reactor/adapters.js +1 -1
- package/dist/src/graphql/reactor/adapters.js.map +1 -1
- package/dist/src/graphql/reactor/factory.d.ts +4 -4
- package/dist/src/graphql/reactor/factory.d.ts.map +1 -1
- package/dist/src/graphql/reactor/gen/graphql.d.ts +64 -295
- package/dist/src/graphql/reactor/gen/graphql.d.ts.map +1 -1
- package/dist/src/graphql/reactor/gen/graphql.js +8 -121
- package/dist/src/graphql/reactor/gen/graphql.js.map +1 -1
- package/dist/src/graphql/reactor/pubsub.d.ts +2 -2
- package/dist/src/graphql/reactor/pubsub.d.ts.map +1 -1
- package/dist/src/graphql/reactor/pubsub.js +1 -2
- package/dist/src/graphql/reactor/pubsub.js.map +1 -1
- package/dist/src/graphql/reactor/resolvers.d.ts +17 -43
- package/dist/src/graphql/reactor/resolvers.d.ts.map +1 -1
- package/dist/src/graphql/reactor/resolvers.js +34 -98
- package/dist/src/graphql/reactor/resolvers.js.map +1 -1
- package/dist/src/graphql/reactor/subgraph.d.ts.map +1 -1
- package/dist/src/graphql/reactor/subgraph.js +5 -71
- package/dist/src/graphql/reactor/subgraph.js.map +1 -1
- package/dist/src/graphql/types.d.ts +1 -2
- package/dist/src/graphql/types.d.ts.map +1 -1
- package/dist/src/server.d.ts +3 -0
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +12 -5
- package/dist/src/server.js.map +1 -1
- package/dist/src/services/auth.service.d.ts.map +1 -1
- package/dist/src/services/auth.service.js +6 -2
- package/dist/src/services/auth.service.js.map +1 -1
- package/dist/src/utils/create-schema.d.ts +1 -1
- package/dist/src/utils/create-schema.d.ts.map +1 -1
- package/dist/src/utils/create-schema.js +1 -10
- package/dist/src/utils/create-schema.js.map +1 -1
- package/dist/test/reactor-adapters.test.js +2 -2
- package/dist/test/reactor-adapters.test.js.map +1 -1
- package/dist/test/reactor-resolvers.test.js +24 -24
- package/dist/test/reactor-resolvers.test.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -10
- package/dist/src/graphql/reactor/operations.graphql +0 -253
- package/dist/src/graphql/reactor/schema.graphql +0 -429
- package/dist/test/two-reactor-gql-sync.test.d.ts +0 -2
- package/dist/test/two-reactor-gql-sync.test.d.ts.map +0 -1
- package/dist/test/two-reactor-gql-sync.test.js +0 -296
- package/dist/test/two-reactor-gql-sync.test.js.map +0 -1
- package/dist/test/utils/gql-resolver-bridge.d.ts +0 -12
- package/dist/test/utils/gql-resolver-bridge.d.ts.map +0 -1
- package/dist/test/utils/gql-resolver-bridge.js +0 -60
- package/dist/test/utils/gql-resolver-bridge.js.map +0 -1
|
@@ -53,12 +53,12 @@ export type Scalars = {
|
|
|
53
53
|
output: string | Date;
|
|
54
54
|
};
|
|
55
55
|
JSONObject: {
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: any;
|
|
57
|
+
output: any;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
export type Action = {
|
|
61
|
-
readonly attachments?: Maybe<ReadonlyArray<
|
|
61
|
+
readonly attachments?: Maybe<ReadonlyArray<AttachmentInput>>;
|
|
62
62
|
readonly context?: Maybe<ActionContext>;
|
|
63
63
|
readonly id: Scalars["String"]["output"];
|
|
64
64
|
readonly input: Scalars["JSONObject"]["output"];
|
|
@@ -67,46 +67,15 @@ export type Action = {
|
|
|
67
67
|
readonly type: Scalars["String"]["output"];
|
|
68
68
|
};
|
|
69
69
|
export type ActionContext = {
|
|
70
|
-
readonly signer?: Maybe<
|
|
70
|
+
readonly signer?: Maybe<Signer>;
|
|
71
71
|
};
|
|
72
|
-
export type
|
|
73
|
-
readonly signer?: InputMaybe<ReactorSignerInput>;
|
|
74
|
-
};
|
|
75
|
-
export type ActionInput = {
|
|
76
|
-
readonly attachments?: InputMaybe<ReadonlyArray<AttachmentInput>>;
|
|
77
|
-
readonly context?: InputMaybe<ActionContextInput>;
|
|
78
|
-
readonly id: Scalars["String"]["input"];
|
|
79
|
-
readonly input: Scalars["JSONObject"]["input"];
|
|
80
|
-
readonly scope: Scalars["String"]["input"];
|
|
81
|
-
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
82
|
-
readonly type: Scalars["String"]["input"];
|
|
83
|
-
};
|
|
84
|
-
export type Attachment = {
|
|
72
|
+
export type AttachmentInput = {
|
|
85
73
|
readonly data: Scalars["String"]["output"];
|
|
86
74
|
readonly extension?: Maybe<Scalars["String"]["output"]>;
|
|
87
75
|
readonly fileName?: Maybe<Scalars["String"]["output"]>;
|
|
88
76
|
readonly hash: Scalars["String"]["output"];
|
|
89
77
|
readonly mimeType: Scalars["String"]["output"];
|
|
90
78
|
};
|
|
91
|
-
export type AttachmentInput = {
|
|
92
|
-
readonly data: Scalars["String"]["input"];
|
|
93
|
-
readonly extension?: InputMaybe<Scalars["String"]["input"]>;
|
|
94
|
-
readonly fileName?: InputMaybe<Scalars["String"]["input"]>;
|
|
95
|
-
readonly hash: Scalars["String"]["input"];
|
|
96
|
-
readonly mimeType: Scalars["String"]["input"];
|
|
97
|
-
};
|
|
98
|
-
export type ChannelMeta = {
|
|
99
|
-
readonly id: Scalars["String"]["output"];
|
|
100
|
-
};
|
|
101
|
-
export type ChannelMetaInput = {
|
|
102
|
-
readonly id: Scalars["String"]["input"];
|
|
103
|
-
};
|
|
104
|
-
export type CreateChannelInput = {
|
|
105
|
-
readonly collectionId: Scalars["String"]["input"];
|
|
106
|
-
readonly filter: RemoteFilterInput;
|
|
107
|
-
readonly id: Scalars["String"]["input"];
|
|
108
|
-
readonly name: Scalars["String"]["input"];
|
|
109
|
-
};
|
|
110
79
|
export type DocumentChangeContext = {
|
|
111
80
|
readonly childId?: Maybe<Scalars["String"]["output"]>;
|
|
112
81
|
readonly parentId?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -163,7 +132,6 @@ export type MoveChildrenResult = {
|
|
|
163
132
|
};
|
|
164
133
|
export type Mutation = {
|
|
165
134
|
readonly addChildren: PhDocument;
|
|
166
|
-
readonly createChannel: Scalars["Boolean"]["output"];
|
|
167
135
|
readonly createDocument: PhDocument;
|
|
168
136
|
readonly createEmptyDocument: PhDocument;
|
|
169
137
|
readonly deleteDocument: Scalars["Boolean"]["output"];
|
|
@@ -171,17 +139,13 @@ export type Mutation = {
|
|
|
171
139
|
readonly moveChildren: MoveChildrenResult;
|
|
172
140
|
readonly mutateDocument: PhDocument;
|
|
173
141
|
readonly mutateDocumentAsync: Scalars["String"]["output"];
|
|
174
|
-
readonly pushSyncEnvelope: Scalars["Boolean"]["output"];
|
|
175
142
|
readonly removeChildren: PhDocument;
|
|
176
143
|
readonly renameDocument: PhDocument;
|
|
177
144
|
};
|
|
178
145
|
export type MutationAddChildrenArgs = {
|
|
179
|
-
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
180
146
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
181
147
|
parentIdentifier: Scalars["String"]["input"];
|
|
182
|
-
|
|
183
|
-
export type MutationCreateChannelArgs = {
|
|
184
|
-
input: CreateChannelInput;
|
|
148
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
185
149
|
};
|
|
186
150
|
export type MutationCreateDocumentArgs = {
|
|
187
151
|
document: Scalars["JSONObject"]["input"];
|
|
@@ -200,10 +164,10 @@ export type MutationDeleteDocumentsArgs = {
|
|
|
200
164
|
propagate?: InputMaybe<PropagationMode>;
|
|
201
165
|
};
|
|
202
166
|
export type MutationMoveChildrenArgs = {
|
|
203
|
-
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
204
167
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
205
168
|
sourceParentIdentifier: Scalars["String"]["input"];
|
|
206
169
|
targetParentIdentifier: Scalars["String"]["input"];
|
|
170
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
207
171
|
};
|
|
208
172
|
export type MutationMutateDocumentArgs = {
|
|
209
173
|
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
@@ -215,47 +179,15 @@ export type MutationMutateDocumentAsyncArgs = {
|
|
|
215
179
|
documentIdentifier: Scalars["String"]["input"];
|
|
216
180
|
view?: InputMaybe<ViewFilterInput>;
|
|
217
181
|
};
|
|
218
|
-
export type MutationPushSyncEnvelopeArgs = {
|
|
219
|
-
envelope: SyncEnvelopeInput;
|
|
220
|
-
};
|
|
221
182
|
export type MutationRemoveChildrenArgs = {
|
|
222
|
-
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
223
183
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
224
184
|
parentIdentifier: Scalars["String"]["input"];
|
|
185
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
225
186
|
};
|
|
226
187
|
export type MutationRenameDocumentArgs = {
|
|
227
|
-
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
228
188
|
documentIdentifier: Scalars["String"]["input"];
|
|
229
189
|
name: Scalars["String"]["input"];
|
|
230
|
-
|
|
231
|
-
export type OperationContext = {
|
|
232
|
-
readonly branch: Scalars["String"]["output"];
|
|
233
|
-
readonly documentId: Scalars["String"]["output"];
|
|
234
|
-
readonly documentType: Scalars["String"]["output"];
|
|
235
|
-
readonly scope: Scalars["String"]["output"];
|
|
236
|
-
};
|
|
237
|
-
export type OperationContextInput = {
|
|
238
|
-
readonly branch: Scalars["String"]["input"];
|
|
239
|
-
readonly documentId: Scalars["String"]["input"];
|
|
240
|
-
readonly documentType: Scalars["String"]["input"];
|
|
241
|
-
readonly scope: Scalars["String"]["input"];
|
|
242
|
-
};
|
|
243
|
-
export type OperationInput = {
|
|
244
|
-
readonly action: ActionInput;
|
|
245
|
-
readonly error?: InputMaybe<Scalars["String"]["input"]>;
|
|
246
|
-
readonly hash: Scalars["String"]["input"];
|
|
247
|
-
readonly id?: InputMaybe<Scalars["String"]["input"]>;
|
|
248
|
-
readonly index: Scalars["Int"]["input"];
|
|
249
|
-
readonly skip: Scalars["Int"]["input"];
|
|
250
|
-
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
251
|
-
};
|
|
252
|
-
export type OperationWithContext = {
|
|
253
|
-
readonly context: OperationContext;
|
|
254
|
-
readonly operation: ReactorOperation;
|
|
255
|
-
};
|
|
256
|
-
export type OperationWithContextInput = {
|
|
257
|
-
readonly context: OperationContextInput;
|
|
258
|
-
readonly operation: OperationInput;
|
|
190
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
259
191
|
};
|
|
260
192
|
export type PhDocument = {
|
|
261
193
|
readonly createdAtUtcIso: Scalars["DateTime"]["output"];
|
|
@@ -291,7 +223,6 @@ export type Query = {
|
|
|
291
223
|
readonly documentParents: PhDocumentResultPage;
|
|
292
224
|
readonly findDocuments: PhDocumentResultPage;
|
|
293
225
|
readonly jobStatus?: Maybe<JobInfo>;
|
|
294
|
-
readonly pollSyncEnvelopes: ReadonlyArray<SyncEnvelope>;
|
|
295
226
|
};
|
|
296
227
|
export type QueryDocumentArgs = {
|
|
297
228
|
identifier: Scalars["String"]["input"];
|
|
@@ -319,71 +250,29 @@ export type QueryFindDocumentsArgs = {
|
|
|
319
250
|
export type QueryJobStatusArgs = {
|
|
320
251
|
jobId: Scalars["String"]["input"];
|
|
321
252
|
};
|
|
322
|
-
export type
|
|
323
|
-
|
|
324
|
-
|
|
253
|
+
export type Revision = {
|
|
254
|
+
readonly revision: Scalars["Int"]["output"];
|
|
255
|
+
readonly scope: Scalars["String"]["output"];
|
|
325
256
|
};
|
|
326
|
-
export type
|
|
327
|
-
readonly
|
|
328
|
-
readonly
|
|
329
|
-
readonly
|
|
330
|
-
readonly id?: Maybe<Scalars["String"]["output"]>;
|
|
331
|
-
readonly index: Scalars["Int"]["output"];
|
|
332
|
-
readonly skip: Scalars["Int"]["output"];
|
|
333
|
-
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
257
|
+
export type SearchFilterInput = {
|
|
258
|
+
readonly identifiers?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
259
|
+
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
260
|
+
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
334
261
|
};
|
|
335
|
-
export type
|
|
336
|
-
readonly app?: Maybe<
|
|
262
|
+
export type Signer = {
|
|
263
|
+
readonly app?: Maybe<SignerApp>;
|
|
337
264
|
readonly signatures: ReadonlyArray<Scalars["String"]["output"]>;
|
|
338
|
-
readonly user?: Maybe<
|
|
265
|
+
readonly user?: Maybe<SignerUser>;
|
|
339
266
|
};
|
|
340
|
-
export type
|
|
267
|
+
export type SignerApp = {
|
|
341
268
|
readonly key: Scalars["String"]["output"];
|
|
342
269
|
readonly name: Scalars["String"]["output"];
|
|
343
270
|
};
|
|
344
|
-
export type
|
|
345
|
-
readonly key: Scalars["String"]["input"];
|
|
346
|
-
readonly name: Scalars["String"]["input"];
|
|
347
|
-
};
|
|
348
|
-
export type ReactorSignerInput = {
|
|
349
|
-
readonly app?: InputMaybe<ReactorSignerAppInput>;
|
|
350
|
-
readonly signatures: ReadonlyArray<Scalars["String"]["input"]>;
|
|
351
|
-
readonly user?: InputMaybe<ReactorSignerUserInput>;
|
|
352
|
-
};
|
|
353
|
-
export type ReactorSignerUser = {
|
|
271
|
+
export type SignerUser = {
|
|
354
272
|
readonly address: Scalars["String"]["output"];
|
|
355
273
|
readonly chainId: Scalars["Int"]["output"];
|
|
356
274
|
readonly networkId: Scalars["String"]["output"];
|
|
357
275
|
};
|
|
358
|
-
export type ReactorSignerUserInput = {
|
|
359
|
-
readonly address: Scalars["String"]["input"];
|
|
360
|
-
readonly chainId: Scalars["Int"]["input"];
|
|
361
|
-
readonly networkId: Scalars["String"]["input"];
|
|
362
|
-
};
|
|
363
|
-
export type RemoteCursor = {
|
|
364
|
-
readonly cursorOrdinal: Scalars["Int"]["output"];
|
|
365
|
-
readonly lastSyncedAtUtcMs?: Maybe<Scalars["String"]["output"]>;
|
|
366
|
-
readonly remoteName: Scalars["String"]["output"];
|
|
367
|
-
};
|
|
368
|
-
export type RemoteCursorInput = {
|
|
369
|
-
readonly cursorOrdinal: Scalars["Int"]["input"];
|
|
370
|
-
readonly lastSyncedAtUtcMs?: InputMaybe<Scalars["String"]["input"]>;
|
|
371
|
-
readonly remoteName: Scalars["String"]["input"];
|
|
372
|
-
};
|
|
373
|
-
export type RemoteFilterInput = {
|
|
374
|
-
readonly branch: Scalars["String"]["input"];
|
|
375
|
-
readonly documentId: ReadonlyArray<Scalars["String"]["input"]>;
|
|
376
|
-
readonly scope: ReadonlyArray<Scalars["String"]["input"]>;
|
|
377
|
-
};
|
|
378
|
-
export type Revision = {
|
|
379
|
-
readonly revision: Scalars["Int"]["output"];
|
|
380
|
-
readonly scope: Scalars["String"]["output"];
|
|
381
|
-
};
|
|
382
|
-
export type SearchFilterInput = {
|
|
383
|
-
readonly identifiers?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
384
|
-
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
385
|
-
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
386
|
-
};
|
|
387
276
|
export type Subscription = {
|
|
388
277
|
readonly documentChanges: DocumentChangeEvent;
|
|
389
278
|
readonly jobChanges: JobChangeEvent;
|
|
@@ -395,22 +284,6 @@ export type SubscriptionDocumentChangesArgs = {
|
|
|
395
284
|
export type SubscriptionJobChangesArgs = {
|
|
396
285
|
jobId: Scalars["String"]["input"];
|
|
397
286
|
};
|
|
398
|
-
export type SyncEnvelope = {
|
|
399
|
-
readonly channelMeta: ChannelMeta;
|
|
400
|
-
readonly cursor?: Maybe<RemoteCursor>;
|
|
401
|
-
readonly operations?: Maybe<ReadonlyArray<OperationWithContext>>;
|
|
402
|
-
readonly type: SyncEnvelopeType;
|
|
403
|
-
};
|
|
404
|
-
export type SyncEnvelopeInput = {
|
|
405
|
-
readonly channelMeta: ChannelMetaInput;
|
|
406
|
-
readonly cursor?: InputMaybe<RemoteCursorInput>;
|
|
407
|
-
readonly operations?: InputMaybe<ReadonlyArray<OperationWithContextInput>>;
|
|
408
|
-
readonly type: SyncEnvelopeType;
|
|
409
|
-
};
|
|
410
|
-
export declare enum SyncEnvelopeType {
|
|
411
|
-
Ack = "ACK",
|
|
412
|
-
Operations = "OPERATIONS"
|
|
413
|
-
}
|
|
414
287
|
export type ViewFilterInput = {
|
|
415
288
|
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
416
289
|
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
@@ -420,7 +293,7 @@ export type PhDocumentFieldsFragment = {
|
|
|
420
293
|
readonly slug?: string | null | undefined;
|
|
421
294
|
readonly name: string;
|
|
422
295
|
readonly documentType: string;
|
|
423
|
-
readonly state:
|
|
296
|
+
readonly state: any;
|
|
424
297
|
readonly createdAtUtcIso: string | Date;
|
|
425
298
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
426
299
|
readonly parentId?: string | null | undefined;
|
|
@@ -444,7 +317,7 @@ export type GetDocumentModelsQuery = {
|
|
|
444
317
|
readonly name: string;
|
|
445
318
|
readonly namespace?: string | null | undefined;
|
|
446
319
|
readonly version?: string | null | undefined;
|
|
447
|
-
readonly specification:
|
|
320
|
+
readonly specification: any;
|
|
448
321
|
}>;
|
|
449
322
|
};
|
|
450
323
|
};
|
|
@@ -460,7 +333,7 @@ export type GetDocumentQuery = {
|
|
|
460
333
|
readonly slug?: string | null | undefined;
|
|
461
334
|
readonly name: string;
|
|
462
335
|
readonly documentType: string;
|
|
463
|
-
readonly state:
|
|
336
|
+
readonly state: any;
|
|
464
337
|
readonly createdAtUtcIso: string | Date;
|
|
465
338
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
466
339
|
readonly parentId?: string | null | undefined;
|
|
@@ -487,7 +360,7 @@ export type GetDocumentChildrenQuery = {
|
|
|
487
360
|
readonly slug?: string | null | undefined;
|
|
488
361
|
readonly name: string;
|
|
489
362
|
readonly documentType: string;
|
|
490
|
-
readonly state:
|
|
363
|
+
readonly state: any;
|
|
491
364
|
readonly createdAtUtcIso: string | Date;
|
|
492
365
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
493
366
|
readonly parentId?: string | null | undefined;
|
|
@@ -514,7 +387,7 @@ export type GetDocumentParentsQuery = {
|
|
|
514
387
|
readonly slug?: string | null | undefined;
|
|
515
388
|
readonly name: string;
|
|
516
389
|
readonly documentType: string;
|
|
517
|
-
readonly state:
|
|
390
|
+
readonly state: any;
|
|
518
391
|
readonly createdAtUtcIso: string | Date;
|
|
519
392
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
520
393
|
readonly parentId?: string | null | undefined;
|
|
@@ -541,7 +414,7 @@ export type FindDocumentsQuery = {
|
|
|
541
414
|
readonly slug?: string | null | undefined;
|
|
542
415
|
readonly name: string;
|
|
543
416
|
readonly documentType: string;
|
|
544
|
-
readonly state:
|
|
417
|
+
readonly state: any;
|
|
545
418
|
readonly createdAtUtcIso: string | Date;
|
|
546
419
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
547
420
|
readonly parentId?: string | null | undefined;
|
|
@@ -559,7 +432,7 @@ export type GetJobStatusQuery = {
|
|
|
559
432
|
readonly jobStatus?: {
|
|
560
433
|
readonly id: string;
|
|
561
434
|
readonly status: string;
|
|
562
|
-
readonly result:
|
|
435
|
+
readonly result: any;
|
|
563
436
|
readonly error?: string | null | undefined;
|
|
564
437
|
readonly createdAt: string | Date;
|
|
565
438
|
readonly completedAt?: string | Date | null | undefined;
|
|
@@ -575,7 +448,7 @@ export type CreateDocumentMutation = {
|
|
|
575
448
|
readonly slug?: string | null | undefined;
|
|
576
449
|
readonly name: string;
|
|
577
450
|
readonly documentType: string;
|
|
578
|
-
readonly state:
|
|
451
|
+
readonly state: any;
|
|
579
452
|
readonly createdAtUtcIso: string | Date;
|
|
580
453
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
581
454
|
readonly parentId?: string | null | undefined;
|
|
@@ -595,7 +468,7 @@ export type CreateEmptyDocumentMutation = {
|
|
|
595
468
|
readonly slug?: string | null | undefined;
|
|
596
469
|
readonly name: string;
|
|
597
470
|
readonly documentType: string;
|
|
598
|
-
readonly state:
|
|
471
|
+
readonly state: any;
|
|
599
472
|
readonly createdAtUtcIso: string | Date;
|
|
600
473
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
601
474
|
readonly parentId?: string | null | undefined;
|
|
@@ -616,7 +489,7 @@ export type MutateDocumentMutation = {
|
|
|
616
489
|
readonly slug?: string | null | undefined;
|
|
617
490
|
readonly name: string;
|
|
618
491
|
readonly documentType: string;
|
|
619
|
-
readonly state:
|
|
492
|
+
readonly state: any;
|
|
620
493
|
readonly createdAtUtcIso: string | Date;
|
|
621
494
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
622
495
|
readonly parentId?: string | null | undefined;
|
|
@@ -637,7 +510,7 @@ export type MutateDocumentAsyncMutation = {
|
|
|
637
510
|
export type RenameDocumentMutationVariables = Exact<{
|
|
638
511
|
documentIdentifier: Scalars["String"]["input"];
|
|
639
512
|
name: Scalars["String"]["input"];
|
|
640
|
-
|
|
513
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
641
514
|
}>;
|
|
642
515
|
export type RenameDocumentMutation = {
|
|
643
516
|
readonly renameDocument: {
|
|
@@ -645,7 +518,7 @@ export type RenameDocumentMutation = {
|
|
|
645
518
|
readonly slug?: string | null | undefined;
|
|
646
519
|
readonly name: string;
|
|
647
520
|
readonly documentType: string;
|
|
648
|
-
readonly state:
|
|
521
|
+
readonly state: any;
|
|
649
522
|
readonly createdAtUtcIso: string | Date;
|
|
650
523
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
651
524
|
readonly parentId?: string | null | undefined;
|
|
@@ -658,7 +531,7 @@ export type RenameDocumentMutation = {
|
|
|
658
531
|
export type AddChildrenMutationVariables = Exact<{
|
|
659
532
|
parentIdentifier: Scalars["String"]["input"];
|
|
660
533
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
661
|
-
|
|
534
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
662
535
|
}>;
|
|
663
536
|
export type AddChildrenMutation = {
|
|
664
537
|
readonly addChildren: {
|
|
@@ -666,7 +539,7 @@ export type AddChildrenMutation = {
|
|
|
666
539
|
readonly slug?: string | null | undefined;
|
|
667
540
|
readonly name: string;
|
|
668
541
|
readonly documentType: string;
|
|
669
|
-
readonly state:
|
|
542
|
+
readonly state: any;
|
|
670
543
|
readonly createdAtUtcIso: string | Date;
|
|
671
544
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
672
545
|
readonly parentId?: string | null | undefined;
|
|
@@ -679,7 +552,7 @@ export type AddChildrenMutation = {
|
|
|
679
552
|
export type RemoveChildrenMutationVariables = Exact<{
|
|
680
553
|
parentIdentifier: Scalars["String"]["input"];
|
|
681
554
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
682
|
-
|
|
555
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
683
556
|
}>;
|
|
684
557
|
export type RemoveChildrenMutation = {
|
|
685
558
|
readonly removeChildren: {
|
|
@@ -687,7 +560,7 @@ export type RemoveChildrenMutation = {
|
|
|
687
560
|
readonly slug?: string | null | undefined;
|
|
688
561
|
readonly name: string;
|
|
689
562
|
readonly documentType: string;
|
|
690
|
-
readonly state:
|
|
563
|
+
readonly state: any;
|
|
691
564
|
readonly createdAtUtcIso: string | Date;
|
|
692
565
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
693
566
|
readonly parentId?: string | null | undefined;
|
|
@@ -701,7 +574,7 @@ export type MoveChildrenMutationVariables = Exact<{
|
|
|
701
574
|
sourceParentIdentifier: Scalars["String"]["input"];
|
|
702
575
|
targetParentIdentifier: Scalars["String"]["input"];
|
|
703
576
|
documentIdentifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
704
|
-
|
|
577
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
705
578
|
}>;
|
|
706
579
|
export type MoveChildrenMutation = {
|
|
707
580
|
readonly moveChildren: {
|
|
@@ -710,7 +583,7 @@ export type MoveChildrenMutation = {
|
|
|
710
583
|
readonly slug?: string | null | undefined;
|
|
711
584
|
readonly name: string;
|
|
712
585
|
readonly documentType: string;
|
|
713
|
-
readonly state:
|
|
586
|
+
readonly state: any;
|
|
714
587
|
readonly createdAtUtcIso: string | Date;
|
|
715
588
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
716
589
|
readonly parentId?: string | null | undefined;
|
|
@@ -724,7 +597,7 @@ export type MoveChildrenMutation = {
|
|
|
724
597
|
readonly slug?: string | null | undefined;
|
|
725
598
|
readonly name: string;
|
|
726
599
|
readonly documentType: string;
|
|
727
|
-
readonly state:
|
|
600
|
+
readonly state: any;
|
|
728
601
|
readonly createdAtUtcIso: string | Date;
|
|
729
602
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
730
603
|
readonly parentId?: string | null | undefined;
|
|
@@ -761,7 +634,7 @@ export type DocumentChangesSubscription = {
|
|
|
761
634
|
readonly slug?: string | null | undefined;
|
|
762
635
|
readonly name: string;
|
|
763
636
|
readonly documentType: string;
|
|
764
|
-
readonly state:
|
|
637
|
+
readonly state: any;
|
|
765
638
|
readonly createdAtUtcIso: string | Date;
|
|
766
639
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
767
640
|
readonly parentId?: string | null | undefined;
|
|
@@ -783,7 +656,7 @@ export type JobChangesSubscription = {
|
|
|
783
656
|
readonly jobChanges: {
|
|
784
657
|
readonly jobId: string;
|
|
785
658
|
readonly status: string;
|
|
786
|
-
readonly result:
|
|
659
|
+
readonly result: any;
|
|
787
660
|
readonly error?: string | null | undefined;
|
|
788
661
|
};
|
|
789
662
|
};
|
|
@@ -819,14 +692,8 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
819
692
|
export type ResolversTypes = ResolversObject<{
|
|
820
693
|
Action: ResolverTypeWrapper<Action>;
|
|
821
694
|
ActionContext: ResolverTypeWrapper<ActionContext>;
|
|
822
|
-
|
|
823
|
-
ActionInput: ActionInput;
|
|
824
|
-
Attachment: ResolverTypeWrapper<Attachment>;
|
|
825
|
-
AttachmentInput: AttachmentInput;
|
|
695
|
+
AttachmentInput: ResolverTypeWrapper<AttachmentInput>;
|
|
826
696
|
Boolean: ResolverTypeWrapper<Scalars["Boolean"]["output"]>;
|
|
827
|
-
ChannelMeta: ResolverTypeWrapper<ChannelMeta>;
|
|
828
|
-
ChannelMetaInput: ChannelMetaInput;
|
|
829
|
-
CreateChannelInput: CreateChannelInput;
|
|
830
697
|
DateTime: ResolverTypeWrapper<Scalars["DateTime"]["output"]>;
|
|
831
698
|
DocumentChangeContext: ResolverTypeWrapper<DocumentChangeContext>;
|
|
832
699
|
DocumentChangeEvent: ResolverTypeWrapper<DocumentChangeEvent>;
|
|
@@ -840,47 +707,26 @@ export type ResolversTypes = ResolversObject<{
|
|
|
840
707
|
JobInfo: ResolverTypeWrapper<JobInfo>;
|
|
841
708
|
MoveChildrenResult: ResolverTypeWrapper<MoveChildrenResult>;
|
|
842
709
|
Mutation: ResolverTypeWrapper<{}>;
|
|
843
|
-
OperationContext: ResolverTypeWrapper<OperationContext>;
|
|
844
|
-
OperationContextInput: OperationContextInput;
|
|
845
|
-
OperationInput: OperationInput;
|
|
846
|
-
OperationWithContext: ResolverTypeWrapper<OperationWithContext>;
|
|
847
|
-
OperationWithContextInput: OperationWithContextInput;
|
|
848
710
|
PHDocument: ResolverTypeWrapper<PhDocument>;
|
|
849
711
|
PHDocumentResultPage: ResolverTypeWrapper<PhDocumentResultPage>;
|
|
850
712
|
PagingInput: PagingInput;
|
|
851
713
|
PropagationMode: PropagationMode;
|
|
852
714
|
Query: ResolverTypeWrapper<{}>;
|
|
853
|
-
ReactorOperation: ResolverTypeWrapper<ReactorOperation>;
|
|
854
|
-
ReactorSigner: ResolverTypeWrapper<ReactorSigner>;
|
|
855
|
-
ReactorSignerApp: ResolverTypeWrapper<ReactorSignerApp>;
|
|
856
|
-
ReactorSignerAppInput: ReactorSignerAppInput;
|
|
857
|
-
ReactorSignerInput: ReactorSignerInput;
|
|
858
|
-
ReactorSignerUser: ResolverTypeWrapper<ReactorSignerUser>;
|
|
859
|
-
ReactorSignerUserInput: ReactorSignerUserInput;
|
|
860
|
-
RemoteCursor: ResolverTypeWrapper<RemoteCursor>;
|
|
861
|
-
RemoteCursorInput: RemoteCursorInput;
|
|
862
|
-
RemoteFilterInput: RemoteFilterInput;
|
|
863
715
|
Revision: ResolverTypeWrapper<Revision>;
|
|
864
716
|
SearchFilterInput: SearchFilterInput;
|
|
717
|
+
Signer: ResolverTypeWrapper<Signer>;
|
|
718
|
+
SignerApp: ResolverTypeWrapper<SignerApp>;
|
|
719
|
+
SignerUser: ResolverTypeWrapper<SignerUser>;
|
|
865
720
|
String: ResolverTypeWrapper<Scalars["String"]["output"]>;
|
|
866
721
|
Subscription: ResolverTypeWrapper<{}>;
|
|
867
|
-
SyncEnvelope: ResolverTypeWrapper<SyncEnvelope>;
|
|
868
|
-
SyncEnvelopeInput: SyncEnvelopeInput;
|
|
869
|
-
SyncEnvelopeType: SyncEnvelopeType;
|
|
870
722
|
ViewFilterInput: ViewFilterInput;
|
|
871
723
|
}>;
|
|
872
724
|
/** Mapping between all available schema types and the resolvers parents */
|
|
873
725
|
export type ResolversParentTypes = ResolversObject<{
|
|
874
726
|
Action: Action;
|
|
875
727
|
ActionContext: ActionContext;
|
|
876
|
-
ActionContextInput: ActionContextInput;
|
|
877
|
-
ActionInput: ActionInput;
|
|
878
|
-
Attachment: Attachment;
|
|
879
728
|
AttachmentInput: AttachmentInput;
|
|
880
729
|
Boolean: Scalars["Boolean"]["output"];
|
|
881
|
-
ChannelMeta: ChannelMeta;
|
|
882
|
-
ChannelMetaInput: ChannelMetaInput;
|
|
883
|
-
CreateChannelInput: CreateChannelInput;
|
|
884
730
|
DateTime: Scalars["DateTime"]["output"];
|
|
885
731
|
DocumentChangeContext: DocumentChangeContext;
|
|
886
732
|
DocumentChangeEvent: DocumentChangeEvent;
|
|
@@ -893,35 +739,21 @@ export type ResolversParentTypes = ResolversObject<{
|
|
|
893
739
|
JobInfo: JobInfo;
|
|
894
740
|
MoveChildrenResult: MoveChildrenResult;
|
|
895
741
|
Mutation: {};
|
|
896
|
-
OperationContext: OperationContext;
|
|
897
|
-
OperationContextInput: OperationContextInput;
|
|
898
|
-
OperationInput: OperationInput;
|
|
899
|
-
OperationWithContext: OperationWithContext;
|
|
900
|
-
OperationWithContextInput: OperationWithContextInput;
|
|
901
742
|
PHDocument: PhDocument;
|
|
902
743
|
PHDocumentResultPage: PhDocumentResultPage;
|
|
903
744
|
PagingInput: PagingInput;
|
|
904
745
|
Query: {};
|
|
905
|
-
ReactorOperation: ReactorOperation;
|
|
906
|
-
ReactorSigner: ReactorSigner;
|
|
907
|
-
ReactorSignerApp: ReactorSignerApp;
|
|
908
|
-
ReactorSignerAppInput: ReactorSignerAppInput;
|
|
909
|
-
ReactorSignerInput: ReactorSignerInput;
|
|
910
|
-
ReactorSignerUser: ReactorSignerUser;
|
|
911
|
-
ReactorSignerUserInput: ReactorSignerUserInput;
|
|
912
|
-
RemoteCursor: RemoteCursor;
|
|
913
|
-
RemoteCursorInput: RemoteCursorInput;
|
|
914
|
-
RemoteFilterInput: RemoteFilterInput;
|
|
915
746
|
Revision: Revision;
|
|
916
747
|
SearchFilterInput: SearchFilterInput;
|
|
748
|
+
Signer: Signer;
|
|
749
|
+
SignerApp: SignerApp;
|
|
750
|
+
SignerUser: SignerUser;
|
|
917
751
|
String: Scalars["String"]["output"];
|
|
918
752
|
Subscription: {};
|
|
919
|
-
SyncEnvelope: SyncEnvelope;
|
|
920
|
-
SyncEnvelopeInput: SyncEnvelopeInput;
|
|
921
753
|
ViewFilterInput: ViewFilterInput;
|
|
922
754
|
}>;
|
|
923
755
|
export type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Action"] = ResolversParentTypes["Action"]> = ResolversObject<{
|
|
924
|
-
attachments?: Resolver<Maybe<ReadonlyArray<ResolversTypes["
|
|
756
|
+
attachments?: Resolver<Maybe<ReadonlyArray<ResolversTypes["AttachmentInput"]>>, ParentType, ContextType>;
|
|
925
757
|
context?: Resolver<Maybe<ResolversTypes["ActionContext"]>, ParentType, ContextType>;
|
|
926
758
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
927
759
|
input?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
|
|
@@ -931,10 +763,10 @@ export type ActionResolvers<ContextType = Context, ParentType extends ResolversP
|
|
|
931
763
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
932
764
|
}>;
|
|
933
765
|
export type ActionContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionContext"] = ResolversParentTypes["ActionContext"]> = ResolversObject<{
|
|
934
|
-
signer?: Resolver<Maybe<ResolversTypes["
|
|
766
|
+
signer?: Resolver<Maybe<ResolversTypes["Signer"]>, ParentType, ContextType>;
|
|
935
767
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
936
768
|
}>;
|
|
937
|
-
export type
|
|
769
|
+
export type AttachmentInputResolvers<ContextType = Context, ParentType extends ResolversParentTypes["AttachmentInput"] = ResolversParentTypes["AttachmentInput"]> = ResolversObject<{
|
|
938
770
|
data?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
939
771
|
extension?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
940
772
|
fileName?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
@@ -942,10 +774,6 @@ export type AttachmentResolvers<ContextType = Context, ParentType extends Resolv
|
|
|
942
774
|
mimeType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
943
775
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
944
776
|
}>;
|
|
945
|
-
export type ChannelMetaResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ChannelMeta"] = ResolversParentTypes["ChannelMeta"]> = ResolversObject<{
|
|
946
|
-
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
947
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
948
|
-
}>;
|
|
949
777
|
export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes["DateTime"], any> {
|
|
950
778
|
name: "DateTime";
|
|
951
779
|
}
|
|
@@ -1007,7 +835,6 @@ export type MoveChildrenResultResolvers<ContextType = Context, ParentType extend
|
|
|
1007
835
|
}>;
|
|
1008
836
|
export type MutationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Mutation"] = ResolversParentTypes["Mutation"]> = ResolversObject<{
|
|
1009
837
|
addChildren?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationAddChildrenArgs, "documentIdentifiers" | "parentIdentifier">>;
|
|
1010
|
-
createChannel?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationCreateChannelArgs, "input">>;
|
|
1011
838
|
createDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationCreateDocumentArgs, "document">>;
|
|
1012
839
|
createEmptyDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationCreateEmptyDocumentArgs, "documentType">>;
|
|
1013
840
|
deleteDocument?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationDeleteDocumentArgs, "identifier">>;
|
|
@@ -1015,22 +842,9 @@ export type MutationResolvers<ContextType = Context, ParentType extends Resolver
|
|
|
1015
842
|
moveChildren?: Resolver<ResolversTypes["MoveChildrenResult"], ParentType, ContextType, RequireFields<MutationMoveChildrenArgs, "documentIdentifiers" | "sourceParentIdentifier" | "targetParentIdentifier">>;
|
|
1016
843
|
mutateDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationMutateDocumentArgs, "actions" | "documentIdentifier">>;
|
|
1017
844
|
mutateDocumentAsync?: Resolver<ResolversTypes["String"], ParentType, ContextType, RequireFields<MutationMutateDocumentAsyncArgs, "actions" | "documentIdentifier">>;
|
|
1018
|
-
pushSyncEnvelope?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType, RequireFields<MutationPushSyncEnvelopeArgs, "envelope">>;
|
|
1019
845
|
removeChildren?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRemoveChildrenArgs, "documentIdentifiers" | "parentIdentifier">>;
|
|
1020
846
|
renameDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRenameDocumentArgs, "documentIdentifier" | "name">>;
|
|
1021
847
|
}>;
|
|
1022
|
-
export type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
|
|
1023
|
-
branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1024
|
-
documentId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1025
|
-
documentType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1026
|
-
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1027
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1028
|
-
}>;
|
|
1029
|
-
export type OperationWithContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationWithContext"] = ResolversParentTypes["OperationWithContext"]> = ResolversObject<{
|
|
1030
|
-
context?: Resolver<ResolversTypes["OperationContext"], ParentType, ContextType>;
|
|
1031
|
-
operation?: Resolver<ResolversTypes["ReactorOperation"], ParentType, ContextType>;
|
|
1032
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1033
|
-
}>;
|
|
1034
848
|
export type PhDocumentResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocument"] = ResolversParentTypes["PHDocument"]> = ResolversObject<{
|
|
1035
849
|
createdAtUtcIso?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
1036
850
|
documentType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -1058,62 +872,37 @@ export type QueryResolvers<ContextType = Context, ParentType extends ResolversPa
|
|
|
1058
872
|
documentParents?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentParentsArgs, "childIdentifier">>;
|
|
1059
873
|
findDocuments?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryFindDocumentsArgs, "search">>;
|
|
1060
874
|
jobStatus?: Resolver<Maybe<ResolversTypes["JobInfo"]>, ParentType, ContextType, RequireFields<QueryJobStatusArgs, "jobId">>;
|
|
1061
|
-
pollSyncEnvelopes?: Resolver<ReadonlyArray<ResolversTypes["SyncEnvelope"]>, ParentType, ContextType, RequireFields<QueryPollSyncEnvelopesArgs, "channelId" | "cursorOrdinal">>;
|
|
1062
875
|
}>;
|
|
1063
|
-
export type
|
|
1064
|
-
|
|
1065
|
-
|
|
1066
|
-
hash?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1067
|
-
id?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
1068
|
-
index?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1069
|
-
skip?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1070
|
-
timestampUtcMs?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
876
|
+
export type RevisionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Revision"] = ResolversParentTypes["Revision"]> = ResolversObject<{
|
|
877
|
+
revision?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
878
|
+
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1071
879
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1072
880
|
}>;
|
|
1073
|
-
export type
|
|
1074
|
-
app?: Resolver<Maybe<ResolversTypes["
|
|
881
|
+
export type SignerResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Signer"] = ResolversParentTypes["Signer"]> = ResolversObject<{
|
|
882
|
+
app?: Resolver<Maybe<ResolversTypes["SignerApp"]>, ParentType, ContextType>;
|
|
1075
883
|
signatures?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
1076
|
-
user?: Resolver<Maybe<ResolversTypes["
|
|
884
|
+
user?: Resolver<Maybe<ResolversTypes["SignerUser"]>, ParentType, ContextType>;
|
|
1077
885
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1078
886
|
}>;
|
|
1079
|
-
export type
|
|
887
|
+
export type SignerAppResolvers<ContextType = Context, ParentType extends ResolversParentTypes["SignerApp"] = ResolversParentTypes["SignerApp"]> = ResolversObject<{
|
|
1080
888
|
key?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1081
889
|
name?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1082
890
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1083
891
|
}>;
|
|
1084
|
-
export type
|
|
892
|
+
export type SignerUserResolvers<ContextType = Context, ParentType extends ResolversParentTypes["SignerUser"] = ResolversParentTypes["SignerUser"]> = ResolversObject<{
|
|
1085
893
|
address?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1086
894
|
chainId?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1087
895
|
networkId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1088
896
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1089
897
|
}>;
|
|
1090
|
-
export type RemoteCursorResolvers<ContextType = Context, ParentType extends ResolversParentTypes["RemoteCursor"] = ResolversParentTypes["RemoteCursor"]> = ResolversObject<{
|
|
1091
|
-
cursorOrdinal?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1092
|
-
lastSyncedAtUtcMs?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
1093
|
-
remoteName?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1094
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1095
|
-
}>;
|
|
1096
|
-
export type RevisionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Revision"] = ResolversParentTypes["Revision"]> = ResolversObject<{
|
|
1097
|
-
revision?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1098
|
-
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1099
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1100
|
-
}>;
|
|
1101
898
|
export type SubscriptionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Subscription"] = ResolversParentTypes["Subscription"]> = ResolversObject<{
|
|
1102
899
|
documentChanges?: SubscriptionResolver<ResolversTypes["DocumentChangeEvent"], "documentChanges", ParentType, ContextType, RequireFields<SubscriptionDocumentChangesArgs, "search">>;
|
|
1103
900
|
jobChanges?: SubscriptionResolver<ResolversTypes["JobChangeEvent"], "jobChanges", ParentType, ContextType, RequireFields<SubscriptionJobChangesArgs, "jobId">>;
|
|
1104
901
|
}>;
|
|
1105
|
-
export type SyncEnvelopeResolvers<ContextType = Context, ParentType extends ResolversParentTypes["SyncEnvelope"] = ResolversParentTypes["SyncEnvelope"]> = ResolversObject<{
|
|
1106
|
-
channelMeta?: Resolver<ResolversTypes["ChannelMeta"], ParentType, ContextType>;
|
|
1107
|
-
cursor?: Resolver<Maybe<ResolversTypes["RemoteCursor"]>, ParentType, ContextType>;
|
|
1108
|
-
operations?: Resolver<Maybe<ReadonlyArray<ResolversTypes["OperationWithContext"]>>, ParentType, ContextType>;
|
|
1109
|
-
type?: Resolver<ResolversTypes["SyncEnvelopeType"], ParentType, ContextType>;
|
|
1110
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1111
|
-
}>;
|
|
1112
902
|
export type Resolvers<ContextType = Context> = ResolversObject<{
|
|
1113
903
|
Action?: ActionResolvers<ContextType>;
|
|
1114
904
|
ActionContext?: ActionContextResolvers<ContextType>;
|
|
1115
|
-
|
|
1116
|
-
ChannelMeta?: ChannelMetaResolvers<ContextType>;
|
|
905
|
+
AttachmentInput?: AttachmentInputResolvers<ContextType>;
|
|
1117
906
|
DateTime?: GraphQLScalarType;
|
|
1118
907
|
DocumentChangeContext?: DocumentChangeContextResolvers<ContextType>;
|
|
1119
908
|
DocumentChangeEvent?: DocumentChangeEventResolvers<ContextType>;
|
|
@@ -1125,19 +914,14 @@ export type Resolvers<ContextType = Context> = ResolversObject<{
|
|
|
1125
914
|
JobInfo?: JobInfoResolvers<ContextType>;
|
|
1126
915
|
MoveChildrenResult?: MoveChildrenResultResolvers<ContextType>;
|
|
1127
916
|
Mutation?: MutationResolvers<ContextType>;
|
|
1128
|
-
OperationContext?: OperationContextResolvers<ContextType>;
|
|
1129
|
-
OperationWithContext?: OperationWithContextResolvers<ContextType>;
|
|
1130
917
|
PHDocument?: PhDocumentResolvers<ContextType>;
|
|
1131
918
|
PHDocumentResultPage?: PhDocumentResultPageResolvers<ContextType>;
|
|
1132
919
|
Query?: QueryResolvers<ContextType>;
|
|
1133
|
-
ReactorOperation?: ReactorOperationResolvers<ContextType>;
|
|
1134
|
-
ReactorSigner?: ReactorSignerResolvers<ContextType>;
|
|
1135
|
-
ReactorSignerApp?: ReactorSignerAppResolvers<ContextType>;
|
|
1136
|
-
ReactorSignerUser?: ReactorSignerUserResolvers<ContextType>;
|
|
1137
|
-
RemoteCursor?: RemoteCursorResolvers<ContextType>;
|
|
1138
920
|
Revision?: RevisionResolvers<ContextType>;
|
|
921
|
+
Signer?: SignerResolvers<ContextType>;
|
|
922
|
+
SignerApp?: SignerAppResolvers<ContextType>;
|
|
923
|
+
SignerUser?: SignerUserResolvers<ContextType>;
|
|
1139
924
|
Subscription?: SubscriptionResolvers<ContextType>;
|
|
1140
|
-
SyncEnvelope?: SyncEnvelopeResolvers<ContextType>;
|
|
1141
925
|
}>;
|
|
1142
926
|
type Properties<T> = Required<{
|
|
1143
927
|
[K in keyof T]: z.ZodType<T[K], any, T[K]>;
|
|
@@ -1147,23 +931,8 @@ export declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
|
1147
931
|
export declare const definedNonNullAnySchema: z.ZodEffects<z.ZodAny, definedNonNullAny, any>;
|
|
1148
932
|
export declare const DocumentChangeTypeSchema: z.ZodNativeEnum<typeof DocumentChangeType>;
|
|
1149
933
|
export declare const PropagationModeSchema: z.ZodNativeEnum<typeof PropagationMode>;
|
|
1150
|
-
export declare const SyncEnvelopeTypeSchema: z.ZodNativeEnum<typeof SyncEnvelopeType>;
|
|
1151
|
-
export declare function ActionContextInputSchema(): z.ZodObject<Properties<ActionContextInput>>;
|
|
1152
|
-
export declare function ActionInputSchema(): z.ZodObject<Properties<ActionInput>>;
|
|
1153
|
-
export declare function AttachmentInputSchema(): z.ZodObject<Properties<AttachmentInput>>;
|
|
1154
|
-
export declare function ChannelMetaInputSchema(): z.ZodObject<Properties<ChannelMetaInput>>;
|
|
1155
|
-
export declare function CreateChannelInputSchema(): z.ZodObject<Properties<CreateChannelInput>>;
|
|
1156
|
-
export declare function OperationContextInputSchema(): z.ZodObject<Properties<OperationContextInput>>;
|
|
1157
|
-
export declare function OperationInputSchema(): z.ZodObject<Properties<OperationInput>>;
|
|
1158
|
-
export declare function OperationWithContextInputSchema(): z.ZodObject<Properties<OperationWithContextInput>>;
|
|
1159
934
|
export declare function PagingInputSchema(): z.ZodObject<Properties<PagingInput>>;
|
|
1160
|
-
export declare function ReactorSignerAppInputSchema(): z.ZodObject<Properties<ReactorSignerAppInput>>;
|
|
1161
|
-
export declare function ReactorSignerInputSchema(): z.ZodObject<Properties<ReactorSignerInput>>;
|
|
1162
|
-
export declare function ReactorSignerUserInputSchema(): z.ZodObject<Properties<ReactorSignerUserInput>>;
|
|
1163
|
-
export declare function RemoteCursorInputSchema(): z.ZodObject<Properties<RemoteCursorInput>>;
|
|
1164
|
-
export declare function RemoteFilterInputSchema(): z.ZodObject<Properties<RemoteFilterInput>>;
|
|
1165
935
|
export declare function SearchFilterInputSchema(): z.ZodObject<Properties<SearchFilterInput>>;
|
|
1166
|
-
export declare function SyncEnvelopeInputSchema(): z.ZodObject<Properties<SyncEnvelopeInput>>;
|
|
1167
936
|
export declare function ViewFilterInputSchema(): z.ZodObject<Properties<ViewFilterInput>>;
|
|
1168
937
|
export declare const PhDocumentFieldsFragmentDoc: DocumentNode;
|
|
1169
938
|
export declare const GetDocumentModelsDocument: DocumentNode;
|