@powerhousedao/reactor-api 5.1.0-dev.6 → 5.1.0-dev.8
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/reactor/adapters.js +1 -1
- package/dist/src/graphql/reactor/adapters.js.map +1 -1
- package/dist/src/graphql/reactor/factory.d.ts.map +1 -1
- package/dist/src/graphql/reactor/gen/graphql.d.ts +140 -89
- package/dist/src/graphql/reactor/gen/graphql.d.ts.map +1 -1
- package/dist/src/graphql/reactor/gen/graphql.js +46 -1
- package/dist/src/graphql/reactor/gen/graphql.js.map +1 -1
- package/dist/src/graphql/reactor/operations.graphql +253 -0
- 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 +2 -1
- package/dist/src/graphql/reactor/pubsub.js.map +1 -1
- package/dist/src/graphql/reactor/schema.graphql +429 -0
- package/dist/src/graphql/reactor/subgraph.d.ts.map +1 -1
- package/dist/src/graphql/reactor/subgraph.js +6 -5
- package/dist/src/graphql/reactor/subgraph.js.map +1 -1
- package/dist/src/server.d.ts +0 -3
- package/dist/src/server.d.ts.map +1 -1
- package/dist/src/server.js +1 -3
- package/dist/src/server.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 +10 -1
- package/dist/src/utils/create-schema.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +9 -8
package/dist/codegen.js
CHANGED
|
@@ -13,11 +13,11 @@ const config = {
|
|
|
13
13
|
config: {
|
|
14
14
|
contextType: "../../types.js#Context",
|
|
15
15
|
scalars: {
|
|
16
|
-
JSONObject: "
|
|
16
|
+
JSONObject: "NonNullable<unknown>",
|
|
17
17
|
DateTime: "string | Date",
|
|
18
18
|
},
|
|
19
19
|
scalarSchemas: {
|
|
20
|
-
JSONObject: "z.unknown()",
|
|
20
|
+
JSONObject: "z.custom<NonNullable<unknown>>((v) => v != null)",
|
|
21
21
|
DateTime: "z.union([z.string(), z.date()])",
|
|
22
22
|
},
|
|
23
23
|
useIndexSignature: true,
|
package/dist/codegen.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"codegen.js","sourceRoot":"","sources":["../codegen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAkB;IAC5B,MAAM,EAAE,iCAAiC;IACzC,SAAS,EAAE,CAAC,0CAA0C,CAAC;IACvD,SAAS,EAAE;QACT,sCAAsC,EAAE;YACtC,OAAO,EAAE;gBACP,YAAY;gBACZ,uBAAuB;gBACvB,sBAAsB;gBACtB,8BAA8B;gBAC9B,wBAAwB;aACzB;YACD,MAAM,EAAE;gBACN,WAAW,EAAE,wBAAwB;gBACrC,OAAO,EAAE;oBACP,UAAU,EAAE,
|
|
1
|
+
{"version":3,"file":"codegen.js","sourceRoot":"","sources":["../codegen.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAkB;IAC5B,MAAM,EAAE,iCAAiC;IACzC,SAAS,EAAE,CAAC,0CAA0C,CAAC;IACvD,SAAS,EAAE;QACT,sCAAsC,EAAE;YACtC,OAAO,EAAE;gBACP,YAAY;gBACZ,uBAAuB;gBACvB,sBAAsB;gBACtB,8BAA8B;gBAC9B,wBAAwB;aACzB;YACD,MAAM,EAAE;gBACN,WAAW,EAAE,wBAAwB;gBACrC,OAAO,EAAE;oBACP,UAAU,EAAE,sBAAsB;oBAClC,QAAQ,EAAE,eAAe;iBAC1B;gBACD,aAAa,EAAE;oBACb,UAAU,EAAE,kDAAkD;oBAC9D,QAAQ,EAAE,iCAAiC;iBAC5C;gBACD,iBAAiB,EAAE,IAAI;gBACvB,aAAa,EAAE,IAAI;gBACnB,YAAY,EAAE,IAAI;gBAClB,YAAY,EAAE,KAAK;gBACnB,UAAU,EAAE,KAAK;gBACjB,cAAc,EAAE,IAAI;gBACpB,UAAU,EAAE,sBAAsB;gBAClC,kBAAkB,EAAE,KAAK;gBACzB,MAAM,EAAE,KAAK;gBACb,SAAS,EAAE,iBAAiB;aAC7B;SACF;KACF;CACF,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -24,7 +24,7 @@ function getNamespace(model) {
|
|
|
24
24
|
*/
|
|
25
25
|
function toGqlDocumentModelState(model) {
|
|
26
26
|
const global = model.global;
|
|
27
|
-
const specification = global.specifications.length > 0 ? global.specifications[0] :
|
|
27
|
+
const specification = global.specifications.length > 0 ? global.specifications[0] : {};
|
|
28
28
|
const namespace = getNamespace(model);
|
|
29
29
|
return {
|
|
30
30
|
id: global.id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adapters.js","sourceRoot":"","sources":["../../../../src/graphql/reactor/adapters.ts"],"names":[],"mappings":"AAMA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAQxC,OAAO,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAUvC;;GAEG;AACH,MAAM,UAAU,yBAAyB,CACvC,MAAyC;IAEzC,MAAM,MAAM,GAAG,MAAM,CAAC,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,MAAM,CAAC,aAAa,CAAC,CAAC;IACpE,OAAO;QACL,MAAM,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM,IAAI,IAAI;QACrC,WAAW,EAAE,KAAK;QAClB,eAAe,EAAE,KAAK;QACtB,KAAK,EAAE,MAAM,CAAC,GAAG,CAAC,uBAAuB,CAAC;QAC1C,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,MAAM;KAClC,CAAC;AACJ,CAAC;AAED;;GAEG;AACH,SAAS,YAAY,CAAC,KAA2B;IAC/C,OAAO,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAA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|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../src/graphql/reactor/factory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;
|
|
1
|
+
{"version":3,"file":"factory.d.ts","sourceRoot":"","sources":["../../../../src/graphql/reactor/factory.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAGhD,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,MAAM,EACX,SAAS,EAAE,SAAS,EACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC;;0DAKkpd,4CAAiB;;;;oBAA6lB,4CAAkB;;;;0BAA+zB,4CAAkB;;;;;yBAAy4B,4CAAkB;;;;;;;;;;eAAkvD,4CAAkB;;;kBAAuc,gDAAsB;iEAA2C,4CAAiB;;;sBAA6lB,4CAAkB;iEAA2C,4CAAiB;;;4BAAwmB,4CAAkB;+BAAoC,gDAAqB;;;;4BAAyoB,4CAAkB;+BAAoC,gDAAqB;;;;4BAA0N,4CAAkB;cAAkB,4CAAkB;uDAAiC,4CAAiB;;;0BAAylB,4CAAkB;2CAAgD,4CAAiB;uDAAkC,4CAAiB;;;0BAAslB,4CAAkB;2CAAgD,4CAAiB;uDAAkC,4CAAiB;;;gCAAgmB,4CAAkB;gCAAoC,4CAAkB;2CAAgD,4CAAiB;uDAAkC,4CAAiB;;;oBAAmnC,4CAAkB;;;;mCAA2N,4CAAiB;;;;;;;;eAA8nC,4CAAkB;;EADx40B"}
|
|
@@ -53,12 +53,12 @@ export type Scalars = {
|
|
|
53
53
|
output: string | Date;
|
|
54
54
|
};
|
|
55
55
|
JSONObject: {
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: NonNullable<unknown>;
|
|
57
|
+
output: NonNullable<unknown>;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
60
|
export type Action = {
|
|
61
|
-
readonly attachments?: Maybe<ReadonlyArray<
|
|
61
|
+
readonly attachments?: Maybe<ReadonlyArray<Attachment>>;
|
|
62
62
|
readonly context?: Maybe<ActionContext>;
|
|
63
63
|
readonly id: Scalars["String"]["output"];
|
|
64
64
|
readonly input: Scalars["JSONObject"]["output"];
|
|
@@ -67,15 +67,34 @@ 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<ReactorSigner>;
|
|
71
71
|
};
|
|
72
|
-
export type
|
|
72
|
+
export type ActionContextInput = {
|
|
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 = {
|
|
73
85
|
readonly data: Scalars["String"]["output"];
|
|
74
86
|
readonly extension?: Maybe<Scalars["String"]["output"]>;
|
|
75
87
|
readonly fileName?: Maybe<Scalars["String"]["output"]>;
|
|
76
88
|
readonly hash: Scalars["String"]["output"];
|
|
77
89
|
readonly mimeType: Scalars["String"]["output"];
|
|
78
90
|
};
|
|
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
|
+
};
|
|
79
98
|
export type ChannelMeta = {
|
|
80
99
|
readonly id: Scalars["String"]["output"];
|
|
81
100
|
};
|
|
@@ -209,15 +228,6 @@ export type MutationRenameDocumentArgs = {
|
|
|
209
228
|
documentIdentifier: Scalars["String"]["input"];
|
|
210
229
|
name: Scalars["String"]["input"];
|
|
211
230
|
};
|
|
212
|
-
export type Operation = {
|
|
213
|
-
readonly action: Action;
|
|
214
|
-
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
215
|
-
readonly hash: Scalars["String"]["output"];
|
|
216
|
-
readonly id?: Maybe<Scalars["String"]["output"]>;
|
|
217
|
-
readonly index: Scalars["Int"]["output"];
|
|
218
|
-
readonly skip: Scalars["Int"]["output"];
|
|
219
|
-
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
220
|
-
};
|
|
221
231
|
export type OperationContext = {
|
|
222
232
|
readonly branch: Scalars["String"]["output"];
|
|
223
233
|
readonly documentId: Scalars["String"]["output"];
|
|
@@ -231,7 +241,7 @@ export type OperationContextInput = {
|
|
|
231
241
|
readonly scope: Scalars["String"]["input"];
|
|
232
242
|
};
|
|
233
243
|
export type OperationInput = {
|
|
234
|
-
readonly action:
|
|
244
|
+
readonly action: ActionInput;
|
|
235
245
|
readonly error?: InputMaybe<Scalars["String"]["input"]>;
|
|
236
246
|
readonly hash: Scalars["String"]["input"];
|
|
237
247
|
readonly id?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -241,7 +251,7 @@ export type OperationInput = {
|
|
|
241
251
|
};
|
|
242
252
|
export type OperationWithContext = {
|
|
243
253
|
readonly context: OperationContext;
|
|
244
|
-
readonly operation:
|
|
254
|
+
readonly operation: ReactorOperation;
|
|
245
255
|
};
|
|
246
256
|
export type OperationWithContextInput = {
|
|
247
257
|
readonly context: OperationContextInput;
|
|
@@ -313,6 +323,43 @@ export type QueryPollSyncEnvelopesArgs = {
|
|
|
313
323
|
channelId: Scalars["String"]["input"];
|
|
314
324
|
cursorOrdinal: Scalars["Int"]["input"];
|
|
315
325
|
};
|
|
326
|
+
export type ReactorOperation = {
|
|
327
|
+
readonly action: Action;
|
|
328
|
+
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
329
|
+
readonly hash: Scalars["String"]["output"];
|
|
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"];
|
|
334
|
+
};
|
|
335
|
+
export type ReactorSigner = {
|
|
336
|
+
readonly app?: Maybe<ReactorSignerApp>;
|
|
337
|
+
readonly signatures: ReadonlyArray<Scalars["String"]["output"]>;
|
|
338
|
+
readonly user?: Maybe<ReactorSignerUser>;
|
|
339
|
+
};
|
|
340
|
+
export type ReactorSignerApp = {
|
|
341
|
+
readonly key: Scalars["String"]["output"];
|
|
342
|
+
readonly name: Scalars["String"]["output"];
|
|
343
|
+
};
|
|
344
|
+
export type ReactorSignerAppInput = {
|
|
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 = {
|
|
354
|
+
readonly address: Scalars["String"]["output"];
|
|
355
|
+
readonly chainId: Scalars["Int"]["output"];
|
|
356
|
+
readonly networkId: Scalars["String"]["output"];
|
|
357
|
+
};
|
|
358
|
+
export type ReactorSignerUserInput = {
|
|
359
|
+
readonly address: Scalars["String"]["input"];
|
|
360
|
+
readonly chainId: Scalars["Int"]["input"];
|
|
361
|
+
readonly networkId: Scalars["String"]["input"];
|
|
362
|
+
};
|
|
316
363
|
export type RemoteCursor = {
|
|
317
364
|
readonly cursorOrdinal: Scalars["Int"]["output"];
|
|
318
365
|
readonly lastSyncedAtUtcMs?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -337,20 +384,6 @@ export type SearchFilterInput = {
|
|
|
337
384
|
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
338
385
|
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
339
386
|
};
|
|
340
|
-
export type Signer = {
|
|
341
|
-
readonly app?: Maybe<SignerApp>;
|
|
342
|
-
readonly signatures: ReadonlyArray<Scalars["String"]["output"]>;
|
|
343
|
-
readonly user?: Maybe<SignerUser>;
|
|
344
|
-
};
|
|
345
|
-
export type SignerApp = {
|
|
346
|
-
readonly key: Scalars["String"]["output"];
|
|
347
|
-
readonly name: Scalars["String"]["output"];
|
|
348
|
-
};
|
|
349
|
-
export type SignerUser = {
|
|
350
|
-
readonly address: Scalars["String"]["output"];
|
|
351
|
-
readonly chainId: Scalars["Int"]["output"];
|
|
352
|
-
readonly networkId: Scalars["String"]["output"];
|
|
353
|
-
};
|
|
354
387
|
export type Subscription = {
|
|
355
388
|
readonly documentChanges: DocumentChangeEvent;
|
|
356
389
|
readonly jobChanges: JobChangeEvent;
|
|
@@ -387,7 +420,7 @@ export type PhDocumentFieldsFragment = {
|
|
|
387
420
|
readonly slug?: string | null | undefined;
|
|
388
421
|
readonly name: string;
|
|
389
422
|
readonly documentType: string;
|
|
390
|
-
readonly state:
|
|
423
|
+
readonly state: NonNullable<unknown>;
|
|
391
424
|
readonly createdAtUtcIso: string | Date;
|
|
392
425
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
393
426
|
readonly parentId?: string | null | undefined;
|
|
@@ -411,7 +444,7 @@ export type GetDocumentModelsQuery = {
|
|
|
411
444
|
readonly name: string;
|
|
412
445
|
readonly namespace?: string | null | undefined;
|
|
413
446
|
readonly version?: string | null | undefined;
|
|
414
|
-
readonly specification:
|
|
447
|
+
readonly specification: NonNullable<unknown>;
|
|
415
448
|
}>;
|
|
416
449
|
};
|
|
417
450
|
};
|
|
@@ -427,7 +460,7 @@ export type GetDocumentQuery = {
|
|
|
427
460
|
readonly slug?: string | null | undefined;
|
|
428
461
|
readonly name: string;
|
|
429
462
|
readonly documentType: string;
|
|
430
|
-
readonly state:
|
|
463
|
+
readonly state: NonNullable<unknown>;
|
|
431
464
|
readonly createdAtUtcIso: string | Date;
|
|
432
465
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
433
466
|
readonly parentId?: string | null | undefined;
|
|
@@ -454,7 +487,7 @@ export type GetDocumentChildrenQuery = {
|
|
|
454
487
|
readonly slug?: string | null | undefined;
|
|
455
488
|
readonly name: string;
|
|
456
489
|
readonly documentType: string;
|
|
457
|
-
readonly state:
|
|
490
|
+
readonly state: NonNullable<unknown>;
|
|
458
491
|
readonly createdAtUtcIso: string | Date;
|
|
459
492
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
460
493
|
readonly parentId?: string | null | undefined;
|
|
@@ -481,7 +514,7 @@ export type GetDocumentParentsQuery = {
|
|
|
481
514
|
readonly slug?: string | null | undefined;
|
|
482
515
|
readonly name: string;
|
|
483
516
|
readonly documentType: string;
|
|
484
|
-
readonly state:
|
|
517
|
+
readonly state: NonNullable<unknown>;
|
|
485
518
|
readonly createdAtUtcIso: string | Date;
|
|
486
519
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
487
520
|
readonly parentId?: string | null | undefined;
|
|
@@ -508,7 +541,7 @@ export type FindDocumentsQuery = {
|
|
|
508
541
|
readonly slug?: string | null | undefined;
|
|
509
542
|
readonly name: string;
|
|
510
543
|
readonly documentType: string;
|
|
511
|
-
readonly state:
|
|
544
|
+
readonly state: NonNullable<unknown>;
|
|
512
545
|
readonly createdAtUtcIso: string | Date;
|
|
513
546
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
514
547
|
readonly parentId?: string | null | undefined;
|
|
@@ -526,7 +559,7 @@ export type GetJobStatusQuery = {
|
|
|
526
559
|
readonly jobStatus?: {
|
|
527
560
|
readonly id: string;
|
|
528
561
|
readonly status: string;
|
|
529
|
-
readonly result:
|
|
562
|
+
readonly result: NonNullable<unknown>;
|
|
530
563
|
readonly error?: string | null | undefined;
|
|
531
564
|
readonly createdAt: string | Date;
|
|
532
565
|
readonly completedAt?: string | Date | null | undefined;
|
|
@@ -542,7 +575,7 @@ export type CreateDocumentMutation = {
|
|
|
542
575
|
readonly slug?: string | null | undefined;
|
|
543
576
|
readonly name: string;
|
|
544
577
|
readonly documentType: string;
|
|
545
|
-
readonly state:
|
|
578
|
+
readonly state: NonNullable<unknown>;
|
|
546
579
|
readonly createdAtUtcIso: string | Date;
|
|
547
580
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
548
581
|
readonly parentId?: string | null | undefined;
|
|
@@ -562,7 +595,7 @@ export type CreateEmptyDocumentMutation = {
|
|
|
562
595
|
readonly slug?: string | null | undefined;
|
|
563
596
|
readonly name: string;
|
|
564
597
|
readonly documentType: string;
|
|
565
|
-
readonly state:
|
|
598
|
+
readonly state: NonNullable<unknown>;
|
|
566
599
|
readonly createdAtUtcIso: string | Date;
|
|
567
600
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
568
601
|
readonly parentId?: string | null | undefined;
|
|
@@ -583,7 +616,7 @@ export type MutateDocumentMutation = {
|
|
|
583
616
|
readonly slug?: string | null | undefined;
|
|
584
617
|
readonly name: string;
|
|
585
618
|
readonly documentType: string;
|
|
586
|
-
readonly state:
|
|
619
|
+
readonly state: NonNullable<unknown>;
|
|
587
620
|
readonly createdAtUtcIso: string | Date;
|
|
588
621
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
589
622
|
readonly parentId?: string | null | undefined;
|
|
@@ -612,7 +645,7 @@ export type RenameDocumentMutation = {
|
|
|
612
645
|
readonly slug?: string | null | undefined;
|
|
613
646
|
readonly name: string;
|
|
614
647
|
readonly documentType: string;
|
|
615
|
-
readonly state:
|
|
648
|
+
readonly state: NonNullable<unknown>;
|
|
616
649
|
readonly createdAtUtcIso: string | Date;
|
|
617
650
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
618
651
|
readonly parentId?: string | null | undefined;
|
|
@@ -633,7 +666,7 @@ export type AddChildrenMutation = {
|
|
|
633
666
|
readonly slug?: string | null | undefined;
|
|
634
667
|
readonly name: string;
|
|
635
668
|
readonly documentType: string;
|
|
636
|
-
readonly state:
|
|
669
|
+
readonly state: NonNullable<unknown>;
|
|
637
670
|
readonly createdAtUtcIso: string | Date;
|
|
638
671
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
639
672
|
readonly parentId?: string | null | undefined;
|
|
@@ -654,7 +687,7 @@ export type RemoveChildrenMutation = {
|
|
|
654
687
|
readonly slug?: string | null | undefined;
|
|
655
688
|
readonly name: string;
|
|
656
689
|
readonly documentType: string;
|
|
657
|
-
readonly state:
|
|
690
|
+
readonly state: NonNullable<unknown>;
|
|
658
691
|
readonly createdAtUtcIso: string | Date;
|
|
659
692
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
660
693
|
readonly parentId?: string | null | undefined;
|
|
@@ -677,7 +710,7 @@ export type MoveChildrenMutation = {
|
|
|
677
710
|
readonly slug?: string | null | undefined;
|
|
678
711
|
readonly name: string;
|
|
679
712
|
readonly documentType: string;
|
|
680
|
-
readonly state:
|
|
713
|
+
readonly state: NonNullable<unknown>;
|
|
681
714
|
readonly createdAtUtcIso: string | Date;
|
|
682
715
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
683
716
|
readonly parentId?: string | null | undefined;
|
|
@@ -691,7 +724,7 @@ export type MoveChildrenMutation = {
|
|
|
691
724
|
readonly slug?: string | null | undefined;
|
|
692
725
|
readonly name: string;
|
|
693
726
|
readonly documentType: string;
|
|
694
|
-
readonly state:
|
|
727
|
+
readonly state: NonNullable<unknown>;
|
|
695
728
|
readonly createdAtUtcIso: string | Date;
|
|
696
729
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
697
730
|
readonly parentId?: string | null | undefined;
|
|
@@ -728,7 +761,7 @@ export type DocumentChangesSubscription = {
|
|
|
728
761
|
readonly slug?: string | null | undefined;
|
|
729
762
|
readonly name: string;
|
|
730
763
|
readonly documentType: string;
|
|
731
|
-
readonly state:
|
|
764
|
+
readonly state: NonNullable<unknown>;
|
|
732
765
|
readonly createdAtUtcIso: string | Date;
|
|
733
766
|
readonly lastModifiedAtUtcIso: string | Date;
|
|
734
767
|
readonly parentId?: string | null | undefined;
|
|
@@ -750,7 +783,7 @@ export type JobChangesSubscription = {
|
|
|
750
783
|
readonly jobChanges: {
|
|
751
784
|
readonly jobId: string;
|
|
752
785
|
readonly status: string;
|
|
753
|
-
readonly result:
|
|
786
|
+
readonly result: NonNullable<unknown>;
|
|
754
787
|
readonly error?: string | null | undefined;
|
|
755
788
|
};
|
|
756
789
|
};
|
|
@@ -786,7 +819,10 @@ export type DirectiveResolverFn<TResult = {}, TParent = {}, TContext = {}, TArgs
|
|
|
786
819
|
export type ResolversTypes = ResolversObject<{
|
|
787
820
|
Action: ResolverTypeWrapper<Action>;
|
|
788
821
|
ActionContext: ResolverTypeWrapper<ActionContext>;
|
|
789
|
-
|
|
822
|
+
ActionContextInput: ActionContextInput;
|
|
823
|
+
ActionInput: ActionInput;
|
|
824
|
+
Attachment: ResolverTypeWrapper<Attachment>;
|
|
825
|
+
AttachmentInput: AttachmentInput;
|
|
790
826
|
Boolean: ResolverTypeWrapper<Scalars["Boolean"]["output"]>;
|
|
791
827
|
ChannelMeta: ResolverTypeWrapper<ChannelMeta>;
|
|
792
828
|
ChannelMetaInput: ChannelMetaInput;
|
|
@@ -804,7 +840,6 @@ export type ResolversTypes = ResolversObject<{
|
|
|
804
840
|
JobInfo: ResolverTypeWrapper<JobInfo>;
|
|
805
841
|
MoveChildrenResult: ResolverTypeWrapper<MoveChildrenResult>;
|
|
806
842
|
Mutation: ResolverTypeWrapper<{}>;
|
|
807
|
-
Operation: ResolverTypeWrapper<Operation>;
|
|
808
843
|
OperationContext: ResolverTypeWrapper<OperationContext>;
|
|
809
844
|
OperationContextInput: OperationContextInput;
|
|
810
845
|
OperationInput: OperationInput;
|
|
@@ -815,14 +850,18 @@ export type ResolversTypes = ResolversObject<{
|
|
|
815
850
|
PagingInput: PagingInput;
|
|
816
851
|
PropagationMode: PropagationMode;
|
|
817
852
|
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;
|
|
818
860
|
RemoteCursor: ResolverTypeWrapper<RemoteCursor>;
|
|
819
861
|
RemoteCursorInput: RemoteCursorInput;
|
|
820
862
|
RemoteFilterInput: RemoteFilterInput;
|
|
821
863
|
Revision: ResolverTypeWrapper<Revision>;
|
|
822
864
|
SearchFilterInput: SearchFilterInput;
|
|
823
|
-
Signer: ResolverTypeWrapper<Signer>;
|
|
824
|
-
SignerApp: ResolverTypeWrapper<SignerApp>;
|
|
825
|
-
SignerUser: ResolverTypeWrapper<SignerUser>;
|
|
826
865
|
String: ResolverTypeWrapper<Scalars["String"]["output"]>;
|
|
827
866
|
Subscription: ResolverTypeWrapper<{}>;
|
|
828
867
|
SyncEnvelope: ResolverTypeWrapper<SyncEnvelope>;
|
|
@@ -834,6 +873,9 @@ export type ResolversTypes = ResolversObject<{
|
|
|
834
873
|
export type ResolversParentTypes = ResolversObject<{
|
|
835
874
|
Action: Action;
|
|
836
875
|
ActionContext: ActionContext;
|
|
876
|
+
ActionContextInput: ActionContextInput;
|
|
877
|
+
ActionInput: ActionInput;
|
|
878
|
+
Attachment: Attachment;
|
|
837
879
|
AttachmentInput: AttachmentInput;
|
|
838
880
|
Boolean: Scalars["Boolean"]["output"];
|
|
839
881
|
ChannelMeta: ChannelMeta;
|
|
@@ -851,7 +893,6 @@ export type ResolversParentTypes = ResolversObject<{
|
|
|
851
893
|
JobInfo: JobInfo;
|
|
852
894
|
MoveChildrenResult: MoveChildrenResult;
|
|
853
895
|
Mutation: {};
|
|
854
|
-
Operation: Operation;
|
|
855
896
|
OperationContext: OperationContext;
|
|
856
897
|
OperationContextInput: OperationContextInput;
|
|
857
898
|
OperationInput: OperationInput;
|
|
@@ -861,14 +902,18 @@ export type ResolversParentTypes = ResolversObject<{
|
|
|
861
902
|
PHDocumentResultPage: PhDocumentResultPage;
|
|
862
903
|
PagingInput: PagingInput;
|
|
863
904
|
Query: {};
|
|
905
|
+
ReactorOperation: ReactorOperation;
|
|
906
|
+
ReactorSigner: ReactorSigner;
|
|
907
|
+
ReactorSignerApp: ReactorSignerApp;
|
|
908
|
+
ReactorSignerAppInput: ReactorSignerAppInput;
|
|
909
|
+
ReactorSignerInput: ReactorSignerInput;
|
|
910
|
+
ReactorSignerUser: ReactorSignerUser;
|
|
911
|
+
ReactorSignerUserInput: ReactorSignerUserInput;
|
|
864
912
|
RemoteCursor: RemoteCursor;
|
|
865
913
|
RemoteCursorInput: RemoteCursorInput;
|
|
866
914
|
RemoteFilterInput: RemoteFilterInput;
|
|
867
915
|
Revision: Revision;
|
|
868
916
|
SearchFilterInput: SearchFilterInput;
|
|
869
|
-
Signer: Signer;
|
|
870
|
-
SignerApp: SignerApp;
|
|
871
|
-
SignerUser: SignerUser;
|
|
872
917
|
String: Scalars["String"]["output"];
|
|
873
918
|
Subscription: {};
|
|
874
919
|
SyncEnvelope: SyncEnvelope;
|
|
@@ -876,7 +921,7 @@ export type ResolversParentTypes = ResolversObject<{
|
|
|
876
921
|
ViewFilterInput: ViewFilterInput;
|
|
877
922
|
}>;
|
|
878
923
|
export type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Action"] = ResolversParentTypes["Action"]> = ResolversObject<{
|
|
879
|
-
attachments?: Resolver<Maybe<ReadonlyArray<ResolversTypes["
|
|
924
|
+
attachments?: Resolver<Maybe<ReadonlyArray<ResolversTypes["Attachment"]>>, ParentType, ContextType>;
|
|
880
925
|
context?: Resolver<Maybe<ResolversTypes["ActionContext"]>, ParentType, ContextType>;
|
|
881
926
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
882
927
|
input?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
|
|
@@ -886,10 +931,10 @@ export type ActionResolvers<ContextType = Context, ParentType extends ResolversP
|
|
|
886
931
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
887
932
|
}>;
|
|
888
933
|
export type ActionContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionContext"] = ResolversParentTypes["ActionContext"]> = ResolversObject<{
|
|
889
|
-
signer?: Resolver<Maybe<ResolversTypes["
|
|
934
|
+
signer?: Resolver<Maybe<ResolversTypes["ReactorSigner"]>, ParentType, ContextType>;
|
|
890
935
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
891
936
|
}>;
|
|
892
|
-
export type
|
|
937
|
+
export type AttachmentResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Attachment"] = ResolversParentTypes["Attachment"]> = ResolversObject<{
|
|
893
938
|
data?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
894
939
|
extension?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
895
940
|
fileName?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
@@ -974,16 +1019,6 @@ export type MutationResolvers<ContextType = Context, ParentType extends Resolver
|
|
|
974
1019
|
removeChildren?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRemoveChildrenArgs, "documentIdentifiers" | "parentIdentifier">>;
|
|
975
1020
|
renameDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRenameDocumentArgs, "documentIdentifier" | "name">>;
|
|
976
1021
|
}>;
|
|
977
|
-
export type OperationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Operation"] = ResolversParentTypes["Operation"]> = ResolversObject<{
|
|
978
|
-
action?: Resolver<ResolversTypes["Action"], ParentType, ContextType>;
|
|
979
|
-
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
980
|
-
hash?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
981
|
-
id?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
982
|
-
index?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
983
|
-
skip?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
984
|
-
timestampUtcMs?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
985
|
-
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
986
|
-
}>;
|
|
987
1022
|
export type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
|
|
988
1023
|
branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
989
1024
|
documentId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -993,7 +1028,7 @@ export type OperationContextResolvers<ContextType = Context, ParentType extends
|
|
|
993
1028
|
}>;
|
|
994
1029
|
export type OperationWithContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationWithContext"] = ResolversParentTypes["OperationWithContext"]> = ResolversObject<{
|
|
995
1030
|
context?: Resolver<ResolversTypes["OperationContext"], ParentType, ContextType>;
|
|
996
|
-
operation?: Resolver<ResolversTypes["
|
|
1031
|
+
operation?: Resolver<ResolversTypes["ReactorOperation"], ParentType, ContextType>;
|
|
997
1032
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
998
1033
|
}>;
|
|
999
1034
|
export type PhDocumentResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocument"] = ResolversParentTypes["PHDocument"]> = ResolversObject<{
|
|
@@ -1025,34 +1060,44 @@ export type QueryResolvers<ContextType = Context, ParentType extends ResolversPa
|
|
|
1025
1060
|
jobStatus?: Resolver<Maybe<ResolversTypes["JobInfo"]>, ParentType, ContextType, RequireFields<QueryJobStatusArgs, "jobId">>;
|
|
1026
1061
|
pollSyncEnvelopes?: Resolver<ReadonlyArray<ResolversTypes["SyncEnvelope"]>, ParentType, ContextType, RequireFields<QueryPollSyncEnvelopesArgs, "channelId" | "cursorOrdinal">>;
|
|
1027
1062
|
}>;
|
|
1028
|
-
export type
|
|
1029
|
-
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1033
|
-
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
|
-
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1063
|
+
export type ReactorOperationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorOperation"] = ResolversParentTypes["ReactorOperation"]> = ResolversObject<{
|
|
1064
|
+
action?: Resolver<ResolversTypes["Action"], ParentType, ContextType>;
|
|
1065
|
+
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
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>;
|
|
1037
1071
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1038
1072
|
}>;
|
|
1039
|
-
export type
|
|
1040
|
-
app?: Resolver<Maybe<ResolversTypes["
|
|
1073
|
+
export type ReactorSignerResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSigner"] = ResolversParentTypes["ReactorSigner"]> = ResolversObject<{
|
|
1074
|
+
app?: Resolver<Maybe<ResolversTypes["ReactorSignerApp"]>, ParentType, ContextType>;
|
|
1041
1075
|
signatures?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
1042
|
-
user?: Resolver<Maybe<ResolversTypes["
|
|
1076
|
+
user?: Resolver<Maybe<ResolversTypes["ReactorSignerUser"]>, ParentType, ContextType>;
|
|
1043
1077
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1044
1078
|
}>;
|
|
1045
|
-
export type
|
|
1079
|
+
export type ReactorSignerAppResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerApp"] = ResolversParentTypes["ReactorSignerApp"]> = ResolversObject<{
|
|
1046
1080
|
key?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1047
1081
|
name?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1048
1082
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1049
1083
|
}>;
|
|
1050
|
-
export type
|
|
1084
|
+
export type ReactorSignerUserResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerUser"] = ResolversParentTypes["ReactorSignerUser"]> = ResolversObject<{
|
|
1051
1085
|
address?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1052
1086
|
chainId?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
1053
1087
|
networkId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
1054
1088
|
__isTypeOf?: IsTypeOfResolverFn<ParentType, ContextType>;
|
|
1055
1089
|
}>;
|
|
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
|
+
}>;
|
|
1056
1101
|
export type SubscriptionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Subscription"] = ResolversParentTypes["Subscription"]> = ResolversObject<{
|
|
1057
1102
|
documentChanges?: SubscriptionResolver<ResolversTypes["DocumentChangeEvent"], "documentChanges", ParentType, ContextType, RequireFields<SubscriptionDocumentChangesArgs, "search">>;
|
|
1058
1103
|
jobChanges?: SubscriptionResolver<ResolversTypes["JobChangeEvent"], "jobChanges", ParentType, ContextType, RequireFields<SubscriptionJobChangesArgs, "jobId">>;
|
|
@@ -1067,7 +1112,7 @@ export type SyncEnvelopeResolvers<ContextType = Context, ParentType extends Reso
|
|
|
1067
1112
|
export type Resolvers<ContextType = Context> = ResolversObject<{
|
|
1068
1113
|
Action?: ActionResolvers<ContextType>;
|
|
1069
1114
|
ActionContext?: ActionContextResolvers<ContextType>;
|
|
1070
|
-
|
|
1115
|
+
Attachment?: AttachmentResolvers<ContextType>;
|
|
1071
1116
|
ChannelMeta?: ChannelMetaResolvers<ContextType>;
|
|
1072
1117
|
DateTime?: GraphQLScalarType;
|
|
1073
1118
|
DocumentChangeContext?: DocumentChangeContextResolvers<ContextType>;
|
|
@@ -1080,17 +1125,17 @@ export type Resolvers<ContextType = Context> = ResolversObject<{
|
|
|
1080
1125
|
JobInfo?: JobInfoResolvers<ContextType>;
|
|
1081
1126
|
MoveChildrenResult?: MoveChildrenResultResolvers<ContextType>;
|
|
1082
1127
|
Mutation?: MutationResolvers<ContextType>;
|
|
1083
|
-
Operation?: OperationResolvers<ContextType>;
|
|
1084
1128
|
OperationContext?: OperationContextResolvers<ContextType>;
|
|
1085
1129
|
OperationWithContext?: OperationWithContextResolvers<ContextType>;
|
|
1086
1130
|
PHDocument?: PhDocumentResolvers<ContextType>;
|
|
1087
1131
|
PHDocumentResultPage?: PhDocumentResultPageResolvers<ContextType>;
|
|
1088
1132
|
Query?: QueryResolvers<ContextType>;
|
|
1133
|
+
ReactorOperation?: ReactorOperationResolvers<ContextType>;
|
|
1134
|
+
ReactorSigner?: ReactorSignerResolvers<ContextType>;
|
|
1135
|
+
ReactorSignerApp?: ReactorSignerAppResolvers<ContextType>;
|
|
1136
|
+
ReactorSignerUser?: ReactorSignerUserResolvers<ContextType>;
|
|
1089
1137
|
RemoteCursor?: RemoteCursorResolvers<ContextType>;
|
|
1090
1138
|
Revision?: RevisionResolvers<ContextType>;
|
|
1091
|
-
Signer?: SignerResolvers<ContextType>;
|
|
1092
|
-
SignerApp?: SignerAppResolvers<ContextType>;
|
|
1093
|
-
SignerUser?: SignerUserResolvers<ContextType>;
|
|
1094
1139
|
Subscription?: SubscriptionResolvers<ContextType>;
|
|
1095
1140
|
SyncEnvelope?: SyncEnvelopeResolvers<ContextType>;
|
|
1096
1141
|
}>;
|
|
@@ -1103,12 +1148,18 @@ export declare const definedNonNullAnySchema: z.ZodEffects<z.ZodAny, definedNonN
|
|
|
1103
1148
|
export declare const DocumentChangeTypeSchema: z.ZodNativeEnum<typeof DocumentChangeType>;
|
|
1104
1149
|
export declare const PropagationModeSchema: z.ZodNativeEnum<typeof PropagationMode>;
|
|
1105
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>>;
|
|
1106
1154
|
export declare function ChannelMetaInputSchema(): z.ZodObject<Properties<ChannelMetaInput>>;
|
|
1107
1155
|
export declare function CreateChannelInputSchema(): z.ZodObject<Properties<CreateChannelInput>>;
|
|
1108
1156
|
export declare function OperationContextInputSchema(): z.ZodObject<Properties<OperationContextInput>>;
|
|
1109
1157
|
export declare function OperationInputSchema(): z.ZodObject<Properties<OperationInput>>;
|
|
1110
1158
|
export declare function OperationWithContextInputSchema(): z.ZodObject<Properties<OperationWithContextInput>>;
|
|
1111
1159
|
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>>;
|
|
1112
1163
|
export declare function RemoteCursorInputSchema(): z.ZodObject<Properties<RemoteCursorInput>>;
|
|
1113
1164
|
export declare function RemoteFilterInputSchema(): z.ZodObject<Properties<RemoteFilterInput>>;
|
|
1114
1165
|
export declare function SearchFilterInputSchema(): z.ZodObject<Properties<SearchFilterInput>>;
|