@powerhousedao/reactor-api 6.2.3-dev.24 → 6.2.3-dev.25
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/{adapter-gateway-apollo-CxJNBVyD.mjs → adapter-gateway-apollo-B54G_cXT.mjs} +15 -13
- package/dist/{adapter-gateway-apollo-CxJNBVyD.mjs.map → adapter-gateway-apollo-B54G_cXT.mjs.map} +1 -1
- package/dist/{adapter-gateway-apollo-DowrX6E_.mjs → adapter-gateway-apollo-D2DNlPY0.mjs} +3 -3
- package/dist/{adapter-gateway-mercurius-CZVy88Za.mjs → adapter-gateway-mercurius-rbKlwF9m.mjs} +4 -4
- package/dist/{adapter-gateway-mercurius-CZVy88Za.mjs.map → adapter-gateway-mercurius-rbKlwF9m.mjs.map} +1 -1
- package/dist/{adapter-gateway-stitching-CaZjvRzx.mjs → adapter-gateway-stitching-Dzv10u8D.mjs} +15 -10
- package/dist/{adapter-gateway-stitching-CaZjvRzx.mjs.map → adapter-gateway-stitching-Dzv10u8D.mjs.map} +1 -1
- package/dist/{adapter-http-express-D4KBmDcQ.mjs → adapter-http-express-Drbaxszc.mjs} +4 -4
- package/dist/{adapter-http-express-D4KBmDcQ.mjs.map → adapter-http-express-Drbaxszc.mjs.map} +1 -1
- package/dist/{adapter-http-fastify-U9j7HxQE.mjs → adapter-http-fastify-DMPW_huG.mjs} +6 -5
- package/dist/{adapter-http-fastify-U9j7HxQE.mjs.map → adapter-http-fastify-DMPW_huG.mjs.map} +1 -1
- package/dist/index.d.mts +577 -459
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +156 -72
- package/dist/index.mjs.map +1 -1
- package/dist/{pieces-eqj2RKgd.mjs → pieces-BOwV3Ql9.mjs} +6 -3
- package/dist/{pieces-eqj2RKgd.mjs.map → pieces-BOwV3Ql9.mjs.map} +1 -1
- package/dist/rolldown-runtime-D7D4PA-g.mjs +15 -0
- package/dist/{run-node-handler-Bqn0X6bT.mjs → run-node-handler-CQjyjOuN.mjs} +3 -3
- package/dist/{run-node-handler-Bqn0X6bT.mjs.map → run-node-handler-CQjyjOuN.mjs.map} +1 -1
- package/dist/src/packages/https-hooks.d.mts +4 -4
- package/dist/src/packages/https-hooks.d.mts.map +1 -1
- package/dist/src/packages/https-hooks.mjs +2 -2
- package/dist/src/packages/https-hooks.mjs.map +1 -1
- package/dist/src/packages/vite-loader.d.mts +5 -6
- package/dist/src/packages/vite-loader.d.mts.map +1 -1
- package/dist/src/packages/vite-loader.mjs +9 -6
- package/dist/src/packages/vite-loader.mjs.map +1 -1
- package/dist/{types-BXjLvTe3.d.mts → types-D4Qnqo_D.d.mts} +2 -2
- package/dist/types-D4Qnqo_D.d.mts.map +1 -0
- package/dist/{websocket-DncAB9XK.mjs → websocket-_SH5aBcy.mjs} +3 -3
- package/dist/{websocket-DncAB9XK.mjs.map → websocket-_SH5aBcy.mjs.map} +1 -1
- package/package.json +15 -15
- package/dist/types-BXjLvTe3.d.mts.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { a as IPackagePieceSource, c as PackageManagerResult, i as IPackageManagerOptions, l as PackagePiece, n as IPackageLoaderOptions, r as IPackageManager, t as IPackageLoader, u as PackagePieceEntry } from "./types-
|
|
1
|
+
import { a as IPackagePieceSource, c as PackageManagerResult, i as IPackageManagerOptions, l as PackagePiece, n as IPackageLoaderOptions, r as IPackageManager, t as IPackageLoader, u as PackagePieceEntry } from "./types-D4Qnqo_D.mjs";
|
|
2
2
|
import { IAnalyticsStore } from "@powerhousedao/analytics-engine-core";
|
|
3
3
|
import { AnalyticsModel } from "@powerhousedao/analytics-engine-graphql";
|
|
4
|
-
import * as graphql from "graphql";
|
|
5
4
|
import { DocumentNode, GraphQLError, GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig, GraphQLSchema } from "graphql";
|
|
6
5
|
import { AttachmentRef, IDocumentModelLoader, IDocumentModelRegistry, IDriveClient, IReactorClient, IReactorProcessorHostModuleBase, IRelationalDb, ISyncManager, InProcessReactorClientModule, ParsedDriveUrl, ProcessorFactoryBuilder as ProcessorFactoryBuilder$1, SyncScopeGate, driveIdFromUrl, parseDriveUrl } from "@powerhousedao/reactor";
|
|
7
6
|
import { ILogger } from "document-model";
|
|
@@ -22,7 +21,6 @@ import { Context as Context$1, GqlDocument as GqlDocument$1, GqlDriveDocument as
|
|
|
22
21
|
import { IncomingHttpHeaders } from "http";
|
|
23
22
|
import { Pool } from "pg";
|
|
24
23
|
import { PHReactorRenown } from "@powerhousedao/shared/clis";
|
|
25
|
-
|
|
26
24
|
//#region src/utils/db.d.ts
|
|
27
25
|
/**
|
|
28
26
|
* Permission levels for documents:
|
|
@@ -30,23 +28,23 @@ import { PHReactorRenown } from "@powerhousedao/shared/clis";
|
|
|
30
28
|
* - WRITE: Can push updates and modify the document
|
|
31
29
|
* - ADMIN: Can manage document permissions and settings
|
|
32
30
|
*/
|
|
33
|
-
type DocumentPermissionLevel = "READ" | "WRITE" | "ADMIN";
|
|
31
|
+
export type DocumentPermissionLevel = "READ" | "WRITE" | "ADMIN";
|
|
34
32
|
/**
|
|
35
33
|
* Database schema for document permissions
|
|
36
34
|
*/
|
|
37
|
-
interface DocumentProtectionTable {
|
|
35
|
+
export interface DocumentProtectionTable {
|
|
38
36
|
documentId: string;
|
|
39
37
|
protected: boolean;
|
|
40
38
|
ownerAddress: string | null;
|
|
41
39
|
createdAt: Date;
|
|
42
40
|
updatedAt: Date;
|
|
43
41
|
}
|
|
44
|
-
interface DocumentPermissionDatabase {
|
|
42
|
+
export interface DocumentPermissionDatabase {
|
|
45
43
|
DocumentPermission: DocumentPermissionTable;
|
|
46
44
|
OperationUserPermission: OperationUserPermissionTable;
|
|
47
45
|
DocumentProtection: DocumentProtectionTable;
|
|
48
46
|
}
|
|
49
|
-
interface DocumentPermissionTable {
|
|
47
|
+
export interface DocumentPermissionTable {
|
|
50
48
|
id: Generated<number>;
|
|
51
49
|
documentId: string;
|
|
52
50
|
userAddress: string;
|
|
@@ -55,7 +53,7 @@ interface DocumentPermissionTable {
|
|
|
55
53
|
createdAt: Date;
|
|
56
54
|
updatedAt: Date;
|
|
57
55
|
}
|
|
58
|
-
interface OperationUserPermissionTable {
|
|
56
|
+
export interface OperationUserPermissionTable {
|
|
59
57
|
id: Generated<number>;
|
|
60
58
|
documentId: string;
|
|
61
59
|
operationType: string;
|
|
@@ -64,7 +62,7 @@ interface OperationUserPermissionTable {
|
|
|
64
62
|
createdAt: Date;
|
|
65
63
|
}
|
|
66
64
|
type Db = Kysely<any>;
|
|
67
|
-
declare const PGLITE_UTC_PARSERS: {
|
|
65
|
+
export declare const PGLITE_UTC_PARSERS: {
|
|
68
66
|
readonly 1114: (value: string) => Date;
|
|
69
67
|
};
|
|
70
68
|
/**
|
|
@@ -73,17 +71,17 @@ declare const PGLITE_UTC_PARSERS: {
|
|
|
73
71
|
* data dir was created with an older PG major. Wire-compatible with the
|
|
74
72
|
* current PGLite class for the surface knex-pglite uses.
|
|
75
73
|
*/
|
|
76
|
-
type PgliteFactory = (connectionString: string | undefined) => PGlite;
|
|
77
|
-
interface DbClient {
|
|
74
|
+
export type PgliteFactory = (connectionString: string | undefined) => PGlite;
|
|
75
|
+
export interface DbClient {
|
|
78
76
|
db: Db;
|
|
79
77
|
knex: Knex;
|
|
80
78
|
pglite: PGlite | undefined;
|
|
81
79
|
}
|
|
82
|
-
declare function getDbClient(connectionString?: string | undefined, pgliteFactory?: PgliteFactory): DbClient;
|
|
83
|
-
declare const initAnalyticsStoreSql: string[];
|
|
80
|
+
export declare function getDbClient(connectionString?: string | undefined, pgliteFactory?: PgliteFactory): DbClient;
|
|
81
|
+
export declare const initAnalyticsStoreSql: string[];
|
|
84
82
|
//#endregion
|
|
85
83
|
//#region src/services/document-permission.service.d.ts
|
|
86
|
-
interface DocumentPermissionEntry {
|
|
84
|
+
export interface DocumentPermissionEntry {
|
|
87
85
|
documentId: string;
|
|
88
86
|
userAddress: string;
|
|
89
87
|
permission: DocumentPermissionLevel;
|
|
@@ -91,7 +89,7 @@ interface DocumentPermissionEntry {
|
|
|
91
89
|
createdAt: Date;
|
|
92
90
|
updatedAt: Date;
|
|
93
91
|
}
|
|
94
|
-
interface OperationUserPermissionEntry {
|
|
92
|
+
export interface OperationUserPermissionEntry {
|
|
95
93
|
documentId: string;
|
|
96
94
|
operationType: string;
|
|
97
95
|
userAddress: string;
|
|
@@ -102,11 +100,11 @@ interface OperationUserPermissionEntry {
|
|
|
102
100
|
* Function type for getting parent document IDs
|
|
103
101
|
* This is injected to avoid circular dependencies with the reactor client
|
|
104
102
|
*/
|
|
105
|
-
type GetParentIdsFn = (documentId: string) => Promise<string[]>;
|
|
103
|
+
export type GetParentIdsFn = (documentId: string) => Promise<string[]>;
|
|
106
104
|
/**
|
|
107
105
|
* Configuration for the DocumentPermissionService
|
|
108
106
|
*/
|
|
109
|
-
interface DocumentPermissionConfig {
|
|
107
|
+
export interface DocumentPermissionConfig {
|
|
110
108
|
defaultProtection: boolean;
|
|
111
109
|
}
|
|
112
110
|
/**
|
|
@@ -120,7 +118,7 @@ interface DocumentPermissionConfig {
|
|
|
120
118
|
* Operation permissions:
|
|
121
119
|
* - Users can be granted permission to execute specific operations
|
|
122
120
|
*/
|
|
123
|
-
declare class DocumentPermissionService {
|
|
121
|
+
export declare class DocumentPermissionService {
|
|
124
122
|
private readonly db;
|
|
125
123
|
readonly config: DocumentPermissionConfig;
|
|
126
124
|
constructor(db: Kysely<DocumentPermissionDatabase>, config?: DocumentPermissionConfig);
|
|
@@ -230,7 +228,7 @@ type CanonicalDocumentId = string & {
|
|
|
230
228
|
* always safe for the data fetch: the canonical id when resolved, or the raw
|
|
231
229
|
* identifier when the check was skipped for a policy-wide caller.
|
|
232
230
|
*/
|
|
233
|
-
declare class AuthorizedDocumentHandle {
|
|
231
|
+
export declare class AuthorizedDocumentHandle {
|
|
234
232
|
readonly fetchIdentifier: string;
|
|
235
233
|
readonly isResolved: boolean;
|
|
236
234
|
private constructor();
|
|
@@ -239,12 +237,12 @@ declare class AuthorizedDocumentHandle {
|
|
|
239
237
|
/** The verified canonical id; throws when resolution was skipped. */
|
|
240
238
|
canonicalId(): CanonicalDocumentId;
|
|
241
239
|
}
|
|
242
|
-
declare const AuthorizationPolicy: {
|
|
240
|
+
export declare const AuthorizationPolicy: {
|
|
243
241
|
readonly OPEN: "OPEN";
|
|
244
242
|
readonly ADMIN_ONLY: "ADMIN_ONLY";
|
|
245
243
|
readonly DOCUMENT_PERMISSIONS: "DOCUMENT_PERMISSIONS";
|
|
246
244
|
};
|
|
247
|
-
type AuthorizationPolicy = (typeof AuthorizationPolicy)[keyof typeof AuthorizationPolicy];
|
|
245
|
+
export type AuthorizationPolicy = (typeof AuthorizationPolicy)[keyof typeof AuthorizationPolicy];
|
|
248
246
|
interface AuthorizationConfig {
|
|
249
247
|
admins: string[];
|
|
250
248
|
defaultProtection: boolean;
|
|
@@ -288,32 +286,32 @@ interface IAuthorizationService {
|
|
|
288
286
|
}
|
|
289
287
|
//#endregion
|
|
290
288
|
//#region src/graphql/gateway/types.d.ts
|
|
291
|
-
type TlsOptions = {
|
|
289
|
+
export type TlsOptions = {
|
|
292
290
|
keyPath: string;
|
|
293
291
|
certPath: string;
|
|
294
292
|
} | {
|
|
295
293
|
cert: Buffer | string;
|
|
296
294
|
key: Buffer | string;
|
|
297
295
|
} | true;
|
|
298
|
-
type GatewayContextFactory<TContext = unknown> = (request: Request) => Promise<TContext>;
|
|
296
|
+
export type GatewayContextFactory<TContext = unknown> = (request: Request) => Promise<TContext>;
|
|
299
297
|
/** Under graphql-ws this is `ctx.extra`, created once per socket. */
|
|
300
|
-
type WsConnection = object;
|
|
301
|
-
type WsContextFactory<TContext = unknown> = (connectionParams: Record<string, unknown>, connection: WsConnection) => Promise<TContext>;
|
|
302
|
-
type WsConnectHandler = (connectionParams: Record<string, unknown>, connection: WsConnection) => Promise<boolean>;
|
|
303
|
-
type WsHandlers<TContext = unknown> = {
|
|
298
|
+
export type WsConnection = object;
|
|
299
|
+
export type WsContextFactory<TContext = unknown> = (connectionParams: Record<string, unknown>, connection: WsConnection) => Promise<TContext>;
|
|
300
|
+
export type WsConnectHandler = (connectionParams: Record<string, unknown>, connection: WsConnection) => Promise<boolean>;
|
|
301
|
+
export type WsHandlers<TContext = unknown> = {
|
|
304
302
|
onConnect: WsConnectHandler;
|
|
305
303
|
context: WsContextFactory<TContext>;
|
|
306
304
|
};
|
|
307
305
|
/** No authenticated caller resolved, and REQUIRE_AUTHENTICATED_CALLER wants one. */
|
|
308
|
-
declare const WS_CLOSE_REASON_AUTHENTICATION_REQUIRED = "authentication-required";
|
|
306
|
+
export declare const WS_CLOSE_REASON_AUTHENTICATION_REQUIRED = "authentication-required";
|
|
309
307
|
/** A bearer was sent and could not be verified. */
|
|
310
|
-
declare const WS_CLOSE_REASON_BEARER_REJECTED = "bearer-rejected";
|
|
308
|
+
export declare const WS_CLOSE_REASON_BEARER_REJECTED = "bearer-rejected";
|
|
311
309
|
/** Every reason a refusal closes with, for a client matching on the set. */
|
|
312
|
-
declare const WS_AUTH_CLOSE_REASONS: readonly ["authentication-required", "bearer-rejected"];
|
|
313
|
-
type WsDisposer = {
|
|
310
|
+
export declare const WS_AUTH_CLOSE_REASONS: readonly ["authentication-required", "bearer-rejected"];
|
|
311
|
+
export type WsDisposer = {
|
|
314
312
|
dispose: () => void | Promise<void>;
|
|
315
313
|
};
|
|
316
|
-
type FetchHandler = (request: Request) => Promise<Response>;
|
|
314
|
+
export type FetchHandler = (request: Request) => Promise<Response>;
|
|
317
315
|
/**
|
|
318
316
|
* Handle to a route registered directly on the adapter. Packages hot-reload,
|
|
319
317
|
* so every registration is reversible; disposing a route that is already gone
|
|
@@ -329,7 +327,7 @@ type FetchHandler = (request: Request) => Promise<Response>;
|
|
|
329
327
|
* which also carries the public URL the route answers on — at this layer there
|
|
330
328
|
* is no namespace to build one from and no knowledge of the host's origin.
|
|
331
329
|
*/
|
|
332
|
-
interface AdapterRouteHandle {
|
|
330
|
+
export interface AdapterRouteHandle {
|
|
333
331
|
dispose(): void;
|
|
334
332
|
}
|
|
335
333
|
/**
|
|
@@ -338,7 +336,7 @@ interface AdapterRouteHandle {
|
|
|
338
336
|
* federation adapters treat it as a service to call over HTTP, while the
|
|
339
337
|
* stitching adapter merges its typeDefs and resolvers in-process.
|
|
340
338
|
*/
|
|
341
|
-
type SubgraphDefinition = {
|
|
339
|
+
export type SubgraphDefinition = {
|
|
342
340
|
name: string;
|
|
343
341
|
typeDefs: DocumentNode;
|
|
344
342
|
url: string;
|
|
@@ -351,7 +349,7 @@ type SubgraphDefinition = {
|
|
|
351
349
|
*/
|
|
352
350
|
resolvers?: Record<string, unknown>;
|
|
353
351
|
};
|
|
354
|
-
interface IGatewayAdapter<TContext = unknown> {
|
|
352
|
+
export interface IGatewayAdapter<TContext = unknown> {
|
|
355
353
|
/** One-time startup. */
|
|
356
354
|
start(httpServer: http.Server): Promise<void>;
|
|
357
355
|
/**
|
|
@@ -381,8 +379,8 @@ interface IGatewayAdapter<TContext = unknown> {
|
|
|
381
379
|
* Methods a node route may bind. OPTIONS is excluded: the framework's CORS
|
|
382
380
|
* plugin owns preflight, and a duplicate registration conflicts at startup.
|
|
383
381
|
*/
|
|
384
|
-
type HttpMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
|
|
385
|
-
interface NodeRouteOptions {
|
|
382
|
+
export type HttpMethod = "DELETE" | "GET" | "HEAD" | "PATCH" | "POST" | "PUT";
|
|
383
|
+
export interface NodeRouteOptions {
|
|
386
384
|
/** Serve sub-paths too, not just an exact path match. */
|
|
387
385
|
prefix?: boolean;
|
|
388
386
|
/**
|
|
@@ -398,7 +396,7 @@ interface NodeRouteOptions {
|
|
|
398
396
|
*/
|
|
399
397
|
rawBody?: boolean;
|
|
400
398
|
}
|
|
401
|
-
interface IHttpAdapter {
|
|
399
|
+
export interface IHttpAdapter {
|
|
402
400
|
/** Set up CORS and body-parser equivalent middleware. */
|
|
403
401
|
setupMiddleware(config: {
|
|
404
402
|
corsOptions?: CorsOptions;
|
|
@@ -413,7 +411,8 @@ interface IHttpAdapter {
|
|
|
413
411
|
* replaces the previous one (last write wins).
|
|
414
412
|
*/
|
|
415
413
|
mount(path: string, handler: FetchHandler, options?: {
|
|
416
|
-
prefix?: boolean;
|
|
414
|
+
prefix?: boolean;
|
|
415
|
+
/** @deprecated Misleading name: this always meant *prefix*, not exact. */
|
|
417
416
|
exact?: boolean;
|
|
418
417
|
}): AdapterRouteHandle;
|
|
419
418
|
/**
|
|
@@ -454,12 +453,12 @@ interface IHttpAdapter {
|
|
|
454
453
|
}
|
|
455
454
|
//#endregion
|
|
456
455
|
//#region src/services/auth.service.d.ts
|
|
457
|
-
type CredentialVerifier = (params: {
|
|
456
|
+
export type CredentialVerifier = (params: {
|
|
458
457
|
address: string;
|
|
459
458
|
chainId: number;
|
|
460
459
|
appId: string;
|
|
461
460
|
}) => Promise<boolean>;
|
|
462
|
-
interface AuthConfig {
|
|
461
|
+
export interface AuthConfig {
|
|
463
462
|
/**
|
|
464
463
|
* Whether the authorization policy enforces anything: it selects `ADMIN_ONLY`
|
|
465
464
|
* over `OPEN`, and it is what `AuthContext.auth_enabled` reports to callers
|
|
@@ -492,13 +491,13 @@ interface AuthConfig {
|
|
|
492
491
|
* `@powerhousedao/shared/processors` as `RouteUser`, so a route handler and a
|
|
493
492
|
* resolver agree on it without either package redeclaring it.
|
|
494
493
|
*/
|
|
495
|
-
type User = RouteUser$1;
|
|
496
|
-
interface AuthContext {
|
|
494
|
+
export type User = RouteUser$1;
|
|
495
|
+
export interface AuthContext {
|
|
497
496
|
user?: User;
|
|
498
497
|
admins: string[];
|
|
499
498
|
auth_enabled: boolean;
|
|
500
499
|
}
|
|
501
|
-
declare class AuthService {
|
|
500
|
+
export declare class AuthService {
|
|
502
501
|
private readonly config;
|
|
503
502
|
private readonly credentialCache;
|
|
504
503
|
constructor(config: AuthConfig);
|
|
@@ -577,9 +576,9 @@ interface IWebhookStore {
|
|
|
577
576
|
seen(token: string, key: string, ttlSeconds: number): Promise<boolean>;
|
|
578
577
|
}
|
|
579
578
|
/** Opaque and unguessable: the URL is a bearer capability held by a third party. */
|
|
580
|
-
declare function newWebhookToken(): string;
|
|
579
|
+
export declare function newWebhookToken(): string;
|
|
581
580
|
/** Relational implementation, over the reactor's own database. */
|
|
582
|
-
declare class RelationalWebhookStore implements IWebhookStore {
|
|
581
|
+
export declare class RelationalWebhookStore implements IWebhookStore {
|
|
583
582
|
#private;
|
|
584
583
|
private readonly relationalDb;
|
|
585
584
|
constructor(relationalDb: IRelationalDb$1);
|
|
@@ -591,7 +590,7 @@ declare class RelationalWebhookStore implements IWebhookStore {
|
|
|
591
590
|
seen(token: string, key: string, ttlSeconds: number): Promise<boolean>;
|
|
592
591
|
}
|
|
593
592
|
/** In-memory store, for hosts with no relational database and for tests. */
|
|
594
|
-
declare class MemoryWebhookStore implements IWebhookStore {
|
|
593
|
+
export declare class MemoryWebhookStore implements IWebhookStore {
|
|
595
594
|
#private;
|
|
596
595
|
init(): Promise<void>;
|
|
597
596
|
ensure(namespace: string, endpoint: string, ownerKey: string): Promise<WebhookEndpointRow>;
|
|
@@ -603,7 +602,7 @@ declare class MemoryWebhookStore implements IWebhookStore {
|
|
|
603
602
|
//#endregion
|
|
604
603
|
//#region src/http/webhook-service.d.ts
|
|
605
604
|
/** The flat, token-addressed path family. */
|
|
606
|
-
declare const WEBHOOK_SEGMENT = "webhooks";
|
|
605
|
+
export declare const WEBHOOK_SEGMENT = "webhooks";
|
|
607
606
|
interface WebhookServiceOptions {
|
|
608
607
|
store: IWebhookStore;
|
|
609
608
|
basePath?: string;
|
|
@@ -612,13 +611,9 @@ interface WebhookServiceOptions {
|
|
|
612
611
|
}
|
|
613
612
|
/** One host route for `/webhooks/:token`, dispatching by token. The flat path leaks
|
|
614
613
|
* neither package nor document; the namespace lives in the token record, which is also what stops one package's token reaching another's handler. */
|
|
615
|
-
declare class WebhookService {
|
|
614
|
+
export declare class WebhookService {
|
|
616
615
|
#private;
|
|
617
|
-
constructor({
|
|
618
|
-
store,
|
|
619
|
-
basePath,
|
|
620
|
-
publicUrl
|
|
621
|
-
}: WebhookServiceOptions);
|
|
616
|
+
constructor({ store, basePath, publicUrl }: WebhookServiceOptions);
|
|
622
617
|
/** The scope the endpoint family serves from, handed over once the route service exists;
|
|
623
618
|
* separate from the constructor only because that service takes this one as an option. */
|
|
624
619
|
attach(scope: IHttpScope): void;
|
|
@@ -637,9 +632,9 @@ declare class WebhookService {
|
|
|
637
632
|
//#endregion
|
|
638
633
|
//#region src/http/route-service.d.ts
|
|
639
634
|
/** The segment package routes live under, inside the host's base path. */
|
|
640
|
-
declare const PACKAGE_ROUTE_SEGMENT = "api";
|
|
635
|
+
export declare const PACKAGE_ROUTE_SEGMENT = "api";
|
|
641
636
|
/** The namespace core's own subgraphs and services register under. */
|
|
642
|
-
declare const CORE_PACKAGE_NAME = "@powerhousedao/reactor-api";
|
|
637
|
+
export declare const CORE_PACKAGE_NAME = "@powerhousedao/reactor-api";
|
|
643
638
|
interface HttpRouteServiceOptions {
|
|
644
639
|
httpAdapter: IHttpAdapter;
|
|
645
640
|
/** Absent on a host with no webhook store; `scope.webhooks` then refuses. */
|
|
@@ -656,16 +651,9 @@ interface HttpRouteServiceOptions {
|
|
|
656
651
|
}
|
|
657
652
|
/** Owns the URL space packages serve from, handing each a scope bound to its own namespace. The prefix nests inside
|
|
658
653
|
* the host's base path (`<basePath>/api`), so core collisions are prevented by URL shape, not a reserved-name list. */
|
|
659
|
-
declare class HttpRouteService {
|
|
654
|
+
export declare class HttpRouteService {
|
|
660
655
|
#private;
|
|
661
|
-
constructor({
|
|
662
|
-
httpAdapter,
|
|
663
|
-
basePath,
|
|
664
|
-
authService,
|
|
665
|
-
webhooks,
|
|
666
|
-
publicUrl,
|
|
667
|
-
trustProxy
|
|
668
|
-
}: HttpRouteServiceOptions);
|
|
656
|
+
constructor({ httpAdapter, basePath, authService, webhooks, publicUrl, trustProxy }: HttpRouteServiceOptions);
|
|
669
657
|
/** The absolute path packages are mounted under. */
|
|
670
658
|
get prefix(): string;
|
|
671
659
|
/** The scope for a package; idempotent per name, so a reload cannot accumulate namespaces. Throws when two packages
|
|
@@ -683,18 +671,18 @@ declare class HttpRouteService {
|
|
|
683
671
|
}
|
|
684
672
|
//#endregion
|
|
685
673
|
//#region src/http/namespace.d.ts
|
|
686
|
-
declare class InvalidNamespaceError extends Error {}
|
|
674
|
+
export declare class InvalidNamespaceError extends Error {}
|
|
687
675
|
/**
|
|
688
676
|
* Turns a package name into the path segments it occupies.
|
|
689
677
|
* `@powerhousedao/workflow` → ["@powerhousedao", "workflow"]
|
|
690
678
|
* `document-model` → ["document-model"]
|
|
691
679
|
*/
|
|
692
|
-
declare function namespaceSegments(packageName: string): string[];
|
|
680
|
+
export declare function namespaceSegments(packageName: string): string[];
|
|
693
681
|
/**
|
|
694
682
|
* The path a package's routes hang off, relative to the package prefix.
|
|
695
683
|
* Scoped names occupy two segments — the addressing unpkg and jsdelivr use.
|
|
696
684
|
*/
|
|
697
|
-
declare function namespacePath(packageName: string): string;
|
|
685
|
+
export declare function namespacePath(packageName: string): string;
|
|
698
686
|
/**
|
|
699
687
|
* Resolves the npm name a package is routed under from the key the package
|
|
700
688
|
* manager holds it by. That key is the specifier as configured, which is not
|
|
@@ -707,7 +695,7 @@ declare function namespacePath(packageName: string): string;
|
|
|
707
695
|
* Deriving a URL segment straight from the key would give a developer's home
|
|
708
696
|
* directory a route namespace, so the path form is resolved rather than slugged.
|
|
709
697
|
*/
|
|
710
|
-
declare function resolvePackageName(key: string, readPackageJsonName?: (dir: string) => string | undefined): string;
|
|
698
|
+
export declare function resolvePackageName(key: string, readPackageJsonName?: (dir: string) => string | undefined): string;
|
|
711
699
|
/**
|
|
712
700
|
* A mount path the host named for one of its own route groups.
|
|
713
701
|
*
|
|
@@ -722,7 +710,7 @@ declare function resolvePackageName(key: string, readPackageJsonName?: (dir: str
|
|
|
722
710
|
* routes unpredictable relative to each other. Returns the normalized path,
|
|
723
711
|
* with a leading and no trailing slash.
|
|
724
712
|
*/
|
|
725
|
-
declare function assertHostMountPath(path: string): string;
|
|
713
|
+
export declare function assertHostMountPath(path: string): string;
|
|
726
714
|
//#endregion
|
|
727
715
|
//#region src/http/webhook-verify.d.ts
|
|
728
716
|
type VerifyResult = {
|
|
@@ -733,20 +721,20 @@ type VerifyResult = {
|
|
|
733
721
|
};
|
|
734
722
|
/** Verifies a delivery against the configured scheme; `raw` must be the exact bytes
|
|
735
723
|
* received. The reason is for the log only: callers answer a fixed 401, so a probing sender learns nothing from the body. */
|
|
736
|
-
declare function verifyWebhook(options: {
|
|
724
|
+
export declare function verifyWebhook(options: {
|
|
737
725
|
verification: WebhookVerification;
|
|
738
726
|
headers: Record<string, string>;
|
|
739
727
|
raw: Buffer;
|
|
740
728
|
now?: Date;
|
|
741
729
|
}): VerifyResult;
|
|
742
|
-
declare function redactHeaders(headers: Record<string, string>, extra?: string): Record<string, string>;
|
|
730
|
+
export declare function redactHeaders(headers: Record<string, string>, extra?: string): Record<string, string>;
|
|
743
731
|
/** JSON and form bodies become objects; anything else stays decoded text, so a verified
|
|
744
732
|
* XML or CSV payload is still reachable downstream. */
|
|
745
|
-
declare function parseWebhookBody(raw: Buffer, contentType?: string): unknown;
|
|
733
|
+
export declare function parseWebhookBody(raw: Buffer, contentType?: string): unknown;
|
|
746
734
|
//#endregion
|
|
747
735
|
//#region src/graphql/types.d.ts
|
|
748
|
-
type SubgraphClass = typeof BaseSubgraph;
|
|
749
|
-
type Context = {
|
|
736
|
+
export type SubgraphClass = typeof BaseSubgraph;
|
|
737
|
+
export type Context = {
|
|
750
738
|
driveId?: string;
|
|
751
739
|
document?: PHDocument;
|
|
752
740
|
headers: IncomingHttpHeaders;
|
|
@@ -754,11 +742,12 @@ type Context = {
|
|
|
754
742
|
user?: {
|
|
755
743
|
address: string;
|
|
756
744
|
chainId: number;
|
|
757
|
-
networkId: string;
|
|
745
|
+
networkId: string;
|
|
746
|
+
/** The did:key of the app instance that issued this request's token. */
|
|
758
747
|
appKey: string;
|
|
759
748
|
};
|
|
760
749
|
};
|
|
761
|
-
type ISubgraph = {
|
|
750
|
+
export type ISubgraph = {
|
|
762
751
|
name: string;
|
|
763
752
|
/**
|
|
764
753
|
* @deprecated The GraphQL manager mounts every subgraph under its own base
|
|
@@ -776,7 +765,7 @@ type ISubgraph = {
|
|
|
776
765
|
onSetup?: () => Promise<void>;
|
|
777
766
|
onDisconnect?: () => Promise<void>;
|
|
778
767
|
};
|
|
779
|
-
type SubgraphArgs = {
|
|
768
|
+
export type SubgraphArgs = {
|
|
780
769
|
reactorClient: IReactorClient;
|
|
781
770
|
/**
|
|
782
771
|
* The subgraph's package's slice of the HTTP surface, for serving REST
|
|
@@ -803,7 +792,7 @@ type SubgraphArgs = {
|
|
|
803
792
|
*/
|
|
804
793
|
path?: string;
|
|
805
794
|
};
|
|
806
|
-
type GqlSigner = {
|
|
795
|
+
export type GqlSigner = {
|
|
807
796
|
user: {
|
|
808
797
|
address: string;
|
|
809
798
|
networkId: string;
|
|
@@ -815,19 +804,19 @@ type GqlSigner = {
|
|
|
815
804
|
};
|
|
816
805
|
signatures: string[];
|
|
817
806
|
};
|
|
818
|
-
type GqlOperationContext = {
|
|
807
|
+
export type GqlOperationContext = {
|
|
819
808
|
signer: GqlSigner | undefined;
|
|
820
809
|
};
|
|
821
|
-
type GqlSignerUser = {
|
|
810
|
+
export type GqlSignerUser = {
|
|
822
811
|
address: string;
|
|
823
812
|
networkId: string;
|
|
824
813
|
chainId: number;
|
|
825
814
|
};
|
|
826
|
-
type GqlSignerApp = {
|
|
815
|
+
export type GqlSignerApp = {
|
|
827
816
|
name: string;
|
|
828
817
|
key: string;
|
|
829
818
|
};
|
|
830
|
-
type GqlOperation = {
|
|
819
|
+
export type GqlOperation = {
|
|
831
820
|
id: string;
|
|
832
821
|
type: string;
|
|
833
822
|
index: number;
|
|
@@ -838,7 +827,7 @@ type GqlOperation = {
|
|
|
838
827
|
error: string | undefined;
|
|
839
828
|
context: GqlOperationContext;
|
|
840
829
|
};
|
|
841
|
-
type GqlDocument = {
|
|
830
|
+
export type GqlDocument = {
|
|
842
831
|
__typename?: string;
|
|
843
832
|
id: string;
|
|
844
833
|
name: string;
|
|
@@ -851,7 +840,7 @@ type GqlDocument = {
|
|
|
851
840
|
state: unknown;
|
|
852
841
|
initialState: unknown;
|
|
853
842
|
};
|
|
854
|
-
type GqlDriveDocument = GqlDocument & {
|
|
843
|
+
export type GqlDriveDocument = GqlDocument & {
|
|
855
844
|
meta: {
|
|
856
845
|
preferredEditor?: string;
|
|
857
846
|
};
|
|
@@ -861,7 +850,7 @@ type GqlDriveDocument = GqlDocument & {
|
|
|
861
850
|
};
|
|
862
851
|
//#endregion
|
|
863
852
|
//#region src/graphql/base-subgraph.d.ts
|
|
864
|
-
declare class BaseSubgraph implements ISubgraph$1 {
|
|
853
|
+
export declare class BaseSubgraph implements ISubgraph$1 {
|
|
865
854
|
#private;
|
|
866
855
|
name: string;
|
|
867
856
|
path: string;
|
|
@@ -931,16 +920,17 @@ declare class BaseSubgraph implements ISubgraph$1 {
|
|
|
931
920
|
}
|
|
932
921
|
//#endregion
|
|
933
922
|
//#region src/graphql/analytics-subgraph.d.ts
|
|
934
|
-
declare class AnalyticsSubgraph extends BaseSubgraph {
|
|
923
|
+
export declare class AnalyticsSubgraph extends BaseSubgraph {
|
|
935
924
|
analyticsStore: IAnalyticsStore;
|
|
936
925
|
analyticsModel: AnalyticsModel;
|
|
937
926
|
name: string;
|
|
938
|
-
typeDefs: graphql.DocumentNode;
|
|
927
|
+
typeDefs: import("graphql").DocumentNode;
|
|
939
928
|
resolvers: GraphQLResolverMap<Context$1>;
|
|
940
929
|
constructor(args: SubgraphArgs$1);
|
|
941
930
|
}
|
|
942
|
-
|
|
943
|
-
|
|
931
|
+
declare namespace resolvers_d_exports {
|
|
932
|
+
export { DocumentAccessInfo, DocumentProtectionInfo, OperationPermissionsInfo, OperationUserPermission, canExecuteOperation, documentAccess, documentProtection, grantDocumentPermission, grantOperationPermission, operationPermissions, revokeDocumentPermission, revokeOperationPermission, setDocumentProtection, transferDocumentOwnership, userDocumentPermissions };
|
|
933
|
+
}
|
|
944
934
|
type DocumentAccessInfo = {
|
|
945
935
|
documentId: string;
|
|
946
936
|
permissions: Array<{
|
|
@@ -952,6 +942,33 @@ type DocumentAccessInfo = {
|
|
|
952
942
|
updatedAt: Date;
|
|
953
943
|
}>;
|
|
954
944
|
};
|
|
945
|
+
declare function documentAccess(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
946
|
+
documentId: CanonicalDocumentId;
|
|
947
|
+
}, userAddress: string | undefined): Promise<DocumentAccessInfo>;
|
|
948
|
+
declare function userDocumentPermissions(service: DocumentPermissionService, userAddress: string): Promise<Array<{
|
|
949
|
+
documentId: string;
|
|
950
|
+
userAddress: string;
|
|
951
|
+
permission: DocumentPermissionLevel;
|
|
952
|
+
grantedBy: string;
|
|
953
|
+
createdAt: Date;
|
|
954
|
+
updatedAt: Date;
|
|
955
|
+
}>>;
|
|
956
|
+
declare function grantDocumentPermission(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
957
|
+
documentId: CanonicalDocumentId;
|
|
958
|
+
userAddress: string;
|
|
959
|
+
permission: DocumentPermissionLevel;
|
|
960
|
+
}, grantedByAddress: string | undefined): Promise<{
|
|
961
|
+
documentId: string;
|
|
962
|
+
userAddress: string;
|
|
963
|
+
permission: DocumentPermissionLevel;
|
|
964
|
+
grantedBy: string;
|
|
965
|
+
createdAt: Date;
|
|
966
|
+
updatedAt: Date;
|
|
967
|
+
}>;
|
|
968
|
+
declare function revokeDocumentPermission(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
969
|
+
documentId: CanonicalDocumentId;
|
|
970
|
+
userAddress: string;
|
|
971
|
+
}, revokedByAddress: string | undefined): Promise<boolean>;
|
|
955
972
|
type OperationUserPermission = {
|
|
956
973
|
documentId: string;
|
|
957
974
|
operationType: string;
|
|
@@ -964,11 +981,40 @@ type OperationPermissionsInfo = {
|
|
|
964
981
|
operationType: string;
|
|
965
982
|
userPermissions: OperationUserPermission[];
|
|
966
983
|
};
|
|
984
|
+
declare function operationPermissions(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
985
|
+
documentId: CanonicalDocumentId;
|
|
986
|
+
operationType: string;
|
|
987
|
+
}, userAddress: string | undefined): Promise<OperationPermissionsInfo>;
|
|
988
|
+
declare function canExecuteOperation(authorizationService: IAuthorizationService, args: {
|
|
989
|
+
documentId: CanonicalDocumentId;
|
|
990
|
+
operationType: string;
|
|
991
|
+
}, userAddress: string | undefined): Promise<boolean>;
|
|
992
|
+
declare function grantOperationPermission(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
993
|
+
documentId: CanonicalDocumentId;
|
|
994
|
+
operationType: string;
|
|
995
|
+
userAddress: string;
|
|
996
|
+
}, grantedByAddress: string | undefined): Promise<OperationUserPermission>;
|
|
997
|
+
declare function revokeOperationPermission(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
998
|
+
documentId: CanonicalDocumentId;
|
|
999
|
+
operationType: string;
|
|
1000
|
+
userAddress: string;
|
|
1001
|
+
}, revokedByAddress: string | undefined): Promise<boolean>;
|
|
967
1002
|
type DocumentProtectionInfo = {
|
|
968
1003
|
documentId: string;
|
|
969
1004
|
protected: boolean;
|
|
970
1005
|
ownerAddress: string | null;
|
|
971
1006
|
};
|
|
1007
|
+
declare function documentProtection(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
1008
|
+
documentId: CanonicalDocumentId;
|
|
1009
|
+
}, userAddress: string | undefined): Promise<DocumentProtectionInfo>;
|
|
1010
|
+
declare function setDocumentProtection(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
1011
|
+
documentId: CanonicalDocumentId;
|
|
1012
|
+
protected: boolean;
|
|
1013
|
+
}, userAddress: string | undefined): Promise<DocumentProtectionInfo>;
|
|
1014
|
+
declare function transferDocumentOwnership(service: DocumentPermissionService, authorizationService: IAuthorizationService, args: {
|
|
1015
|
+
documentId: CanonicalDocumentId;
|
|
1016
|
+
newOwnerAddress: string;
|
|
1017
|
+
}, userAddress: string | undefined): Promise<DocumentProtectionInfo>;
|
|
972
1018
|
//#endregion
|
|
973
1019
|
//#region src/graphql/auth/subgraph.d.ts
|
|
974
1020
|
/**
|
|
@@ -980,12 +1026,12 @@ type DocumentProtectionInfo = {
|
|
|
980
1026
|
* - Document protection and ownership
|
|
981
1027
|
* - Operation-level permissions (fine-grained operation control)
|
|
982
1028
|
*/
|
|
983
|
-
declare class AuthSubgraph extends BaseSubgraph {
|
|
1029
|
+
export declare class AuthSubgraph extends BaseSubgraph {
|
|
984
1030
|
private logger;
|
|
985
1031
|
constructor(args: SubgraphArgs);
|
|
986
1032
|
name: string;
|
|
987
1033
|
hasSubscriptions: boolean;
|
|
988
|
-
typeDefs: graphql.DocumentNode;
|
|
1034
|
+
typeDefs: import("graphql").DocumentNode;
|
|
989
1035
|
resolvers: {
|
|
990
1036
|
Query: {
|
|
991
1037
|
documentAccess: (_parent: unknown, args: {
|
|
@@ -1096,19 +1142,19 @@ declare class AuthSubgraph extends BaseSubgraph {
|
|
|
1096
1142
|
}
|
|
1097
1143
|
//#endregion
|
|
1098
1144
|
//#region src/graphql/gateway/auth-middleware.d.ts
|
|
1099
|
-
type AuthFetchMiddleware = (handler: FetchHandler) => FetchHandler;
|
|
1145
|
+
export type AuthFetchMiddleware = (handler: FetchHandler) => FetchHandler;
|
|
1100
1146
|
/** Internal — only `graphql-manager.ts` should call this. */
|
|
1101
|
-
declare function getAuthContext(request: globalThis.Request): AuthContext | undefined;
|
|
1102
|
-
declare function createAuthFetchMiddleware(authService: AuthService): AuthFetchMiddleware;
|
|
1147
|
+
export declare function getAuthContext(request: globalThis.Request): AuthContext | undefined;
|
|
1148
|
+
export declare function createAuthFetchMiddleware(authService: AuthService): AuthFetchMiddleware;
|
|
1103
1149
|
//#endregion
|
|
1104
1150
|
//#region src/graphql/gateway/factory.d.ts
|
|
1105
|
-
type GatewayAdapterType = "apollo" | "mercurius" | "stitching";
|
|
1106
|
-
type HttpAdapterType = "express" | "fastify";
|
|
1107
|
-
declare function createGatewayAdapter(type: GatewayAdapterType, logger: ILogger): Promise<IGatewayAdapter<Context>>;
|
|
1108
|
-
type HttpAdapterSetup = {
|
|
1151
|
+
export type GatewayAdapterType = "apollo" | "mercurius" | "stitching";
|
|
1152
|
+
export type HttpAdapterType = "express" | "fastify";
|
|
1153
|
+
export declare function createGatewayAdapter(type: GatewayAdapterType, logger: ILogger): Promise<IGatewayAdapter<Context>>;
|
|
1154
|
+
export type HttpAdapterSetup = {
|
|
1109
1155
|
adapter: IHttpAdapter;
|
|
1110
1156
|
};
|
|
1111
|
-
declare function createHttpAdapter(type: HttpAdapterType): Promise<HttpAdapterSetup>;
|
|
1157
|
+
export declare function createHttpAdapter(type: HttpAdapterType): Promise<HttpAdapterSetup>;
|
|
1112
1158
|
//#endregion
|
|
1113
1159
|
//#region src/graphql/gateway/drive-ownership-cache.d.ts
|
|
1114
1160
|
/**
|
|
@@ -1136,16 +1182,17 @@ declare class DriveOwnershipCache {
|
|
|
1136
1182
|
type RequireAuthFetchMiddleware = (handler: FetchHandler) => FetchHandler;
|
|
1137
1183
|
//#endregion
|
|
1138
1184
|
//#region src/graphql/graphql-manager.d.ts
|
|
1139
|
-
type GraphqlManagerFeatureFlags = {
|
|
1185
|
+
export type GraphqlManagerFeatureFlags = {
|
|
1140
1186
|
enableDocumentModelSubgraphs?: boolean;
|
|
1141
1187
|
};
|
|
1142
|
-
declare function createWsAuthHandlers(opts: {
|
|
1143
|
-
authService?: AuthService;
|
|
1188
|
+
export declare function createWsAuthHandlers(opts: {
|
|
1189
|
+
authService?: AuthService;
|
|
1190
|
+
/** Whether anonymous callers are refused; read at call time, not at build time. */
|
|
1144
1191
|
requireAuthenticatedCaller: () => boolean;
|
|
1145
1192
|
logger: ILogger;
|
|
1146
1193
|
buildContext: (connectionParams: Record<string, unknown>, user?: User) => Context$1;
|
|
1147
1194
|
}): WsHandlers<Context$1>;
|
|
1148
|
-
declare class GraphQLManager {
|
|
1195
|
+
export declare class GraphQLManager {
|
|
1149
1196
|
#private;
|
|
1150
1197
|
private readonly path;
|
|
1151
1198
|
private readonly httpServer;
|
|
@@ -1256,21 +1303,21 @@ declare class GraphQLManager {
|
|
|
1256
1303
|
}
|
|
1257
1304
|
//#endregion
|
|
1258
1305
|
//#region src/services/package-storage.d.ts
|
|
1259
|
-
interface InstalledPackageInfo {
|
|
1306
|
+
export interface InstalledPackageInfo {
|
|
1260
1307
|
name: string;
|
|
1261
1308
|
version?: string;
|
|
1262
1309
|
registryUrl: string;
|
|
1263
1310
|
installedAt: Date;
|
|
1264
1311
|
documentTypes: string[];
|
|
1265
1312
|
}
|
|
1266
|
-
interface IPackageStorage {
|
|
1313
|
+
export interface IPackageStorage {
|
|
1267
1314
|
get(name: string): Promise<InstalledPackageInfo | undefined>;
|
|
1268
1315
|
getAll(): Promise<InstalledPackageInfo[]>;
|
|
1269
1316
|
set(name: string, info: InstalledPackageInfo): Promise<void>;
|
|
1270
1317
|
delete(name: string): Promise<boolean>;
|
|
1271
1318
|
has(name: string): Promise<boolean>;
|
|
1272
1319
|
}
|
|
1273
|
-
declare class InMemoryPackageStorage implements IPackageStorage {
|
|
1320
|
+
export declare class InMemoryPackageStorage implements IPackageStorage {
|
|
1274
1321
|
private packages;
|
|
1275
1322
|
get(name: string): Promise<InstalledPackageInfo | undefined>;
|
|
1276
1323
|
getAll(): Promise<InstalledPackageInfo[]>;
|
|
@@ -1286,16 +1333,16 @@ declare class InMemoryPackageStorage implements IPackageStorage {
|
|
|
1286
1333
|
* as a document-existence oracle, so consumers map this to their generic
|
|
1287
1334
|
* fail-closed response.
|
|
1288
1335
|
*/
|
|
1289
|
-
declare class CanonicalDocumentIdResolutionError extends Error {
|
|
1336
|
+
export declare class CanonicalDocumentIdResolutionError extends Error {
|
|
1290
1337
|
constructor();
|
|
1291
1338
|
}
|
|
1292
|
-
type CanonicalDocumentIdResolver = (identifier: string) => Promise<CanonicalDocumentId>;
|
|
1339
|
+
export type CanonicalDocumentIdResolver = (identifier: string) => Promise<CanonicalDocumentId>;
|
|
1293
1340
|
/**
|
|
1294
1341
|
* The sanctioned string-to-CanonicalDocumentId cast: both the GraphQL layer
|
|
1295
1342
|
* and server routes must resolve caller identifiers through this helper so
|
|
1296
1343
|
* decision and data layers always agree on the subject document.
|
|
1297
1344
|
*/
|
|
1298
|
-
declare function createCanonicalDocumentIdResolver(client: Pick<IReactorClient, "resolveIdOrSlug">): CanonicalDocumentIdResolver;
|
|
1345
|
+
export declare function createCanonicalDocumentIdResolver(client: Pick<IReactorClient, "resolveIdOrSlug">): CanonicalDocumentIdResolver;
|
|
1299
1346
|
//#endregion
|
|
1300
1347
|
//#region src/services/attachment-access.service.d.ts
|
|
1301
1348
|
/**
|
|
@@ -1305,7 +1352,7 @@ declare function createCanonicalDocumentIdResolver(client: Pick<IReactorClient,
|
|
|
1305
1352
|
* registration capability. Consumers of reference evidence must fail closed
|
|
1306
1353
|
* when it is unavailable.
|
|
1307
1354
|
*/
|
|
1308
|
-
type AttachmentReferenceProjectionCapability = {
|
|
1355
|
+
export type AttachmentReferenceProjectionCapability = {
|
|
1309
1356
|
status: "available";
|
|
1310
1357
|
} | {
|
|
1311
1358
|
status: "unavailable";
|
|
@@ -1318,7 +1365,7 @@ type AttachmentReferenceProjectionCapability = {
|
|
|
1318
1365
|
* the reference index is not being maintained in this composition; it is
|
|
1319
1366
|
* returned before any document-authorization or reference lookup runs.
|
|
1320
1367
|
*/
|
|
1321
|
-
type AttachmentAccessResult = {
|
|
1368
|
+
export type AttachmentAccessResult = {
|
|
1322
1369
|
kind: "allowed";
|
|
1323
1370
|
documentId: CanonicalDocumentId;
|
|
1324
1371
|
ref: AttachmentRef;
|
|
@@ -1327,28 +1374,77 @@ type AttachmentAccessResult = {
|
|
|
1327
1374
|
} | {
|
|
1328
1375
|
kind: "projection-unavailable";
|
|
1329
1376
|
};
|
|
1330
|
-
interface AttachmentAccessRequest {
|
|
1377
|
+
export interface AttachmentAccessRequest {
|
|
1331
1378
|
documentId: string;
|
|
1332
1379
|
attachmentRef: string;
|
|
1333
1380
|
userAddress?: string;
|
|
1381
|
+
/**
|
|
1382
|
+
* The `did:key` of the app instance whose token authenticated the caller.
|
|
1383
|
+
* A policy subject is an address AND a key — a grant can name either, and a
|
|
1384
|
+
* document's creator is recorded by key — so a decision made from the address
|
|
1385
|
+
* alone answers a narrower question than the one being asked.
|
|
1386
|
+
*/
|
|
1387
|
+
appKey?: string;
|
|
1334
1388
|
}
|
|
1335
|
-
|
|
1389
|
+
/**
|
|
1390
|
+
* Which scopes of a document a subject may read, asked by document id.
|
|
1391
|
+
*
|
|
1392
|
+
* Structural on purpose: the composition that has a policy model to enforce
|
|
1393
|
+
* supplies `SyncScopeGate`, and one that does not supplies nothing at all.
|
|
1394
|
+
*/
|
|
1395
|
+
export interface IDocumentScopeGate {
|
|
1396
|
+
scopePredicateById(documentId: string, subject: {
|
|
1397
|
+
address?: string;
|
|
1398
|
+
key?: string;
|
|
1399
|
+
}, branch: string, signal?: AbortSignal): Promise<(scope: string) => boolean>;
|
|
1400
|
+
}
|
|
1401
|
+
export interface IAttachmentAccessService {
|
|
1336
1402
|
canReadAttachment(request: AttachmentAccessRequest): Promise<AttachmentAccessResult>;
|
|
1337
1403
|
}
|
|
1338
1404
|
/**
|
|
1339
1405
|
* Composes document authorization with the projected document/ref
|
|
1340
1406
|
* relationship. Order is fixed: validate ref, resolve the canonical document
|
|
1341
|
-
* id,
|
|
1407
|
+
* id, decide the read, then check the reference index. A denied document
|
|
1342
1408
|
* never reaches the reference reader, and the facade never touches
|
|
1343
1409
|
* attachment metadata, storage backends, or presigners.
|
|
1410
|
+
*
|
|
1411
|
+
* The read is decided by the document's own policy when this composition has a
|
|
1412
|
+
* model to enforce it with, and by the host's permission tables when it does
|
|
1413
|
+
* not. That is not a preference between two equivalent answers: a host running
|
|
1414
|
+
* document policies keeps no rows in the permission tables, so asking them
|
|
1415
|
+
* about such a document returns whatever the host-wide policy says — under
|
|
1416
|
+
* `OPEN`, `true`, for everyone. Serving bytes on that answer hands the file to
|
|
1417
|
+
* anyone who learns its hash, which the document's own state may well have told
|
|
1418
|
+
* them. Both are kept because they are the two halves of one rule: an
|
|
1419
|
+
* attachment is readable by whoever may read the document that references it,
|
|
1420
|
+
* and each composition can only express that in its own terms.
|
|
1344
1421
|
*/
|
|
1345
|
-
declare class AttachmentAccessService implements IAttachmentAccessService {
|
|
1422
|
+
export declare class AttachmentAccessService implements IAttachmentAccessService {
|
|
1346
1423
|
private readonly resolveCanonicalId;
|
|
1347
1424
|
private readonly authorization;
|
|
1348
1425
|
private readonly references;
|
|
1349
1426
|
private readonly projection;
|
|
1350
|
-
|
|
1427
|
+
/**
|
|
1428
|
+
* Absent below auth enforcement, where there is no policy model to
|
|
1429
|
+
* evaluate; the host's permission tables decide alone, exactly as before.
|
|
1430
|
+
*/
|
|
1431
|
+
private readonly scopeGate?;
|
|
1432
|
+
constructor(resolveCanonicalId: CanonicalDocumentIdResolver, authorization: IAuthorizationService, references: IAttachmentReferenceReader, projection: AttachmentReferenceProjectionCapability,
|
|
1433
|
+
/**
|
|
1434
|
+
* Absent below auth enforcement, where there is no policy model to
|
|
1435
|
+
* evaluate; the host's permission tables decide alone, exactly as before.
|
|
1436
|
+
*/
|
|
1437
|
+
scopeGate?: IDocumentScopeGate | undefined);
|
|
1351
1438
|
canReadAttachment(request: AttachmentAccessRequest): Promise<AttachmentAccessResult>;
|
|
1439
|
+
/**
|
|
1440
|
+
* Whether the caller may read the state the reference lives in.
|
|
1441
|
+
*
|
|
1442
|
+
* A failure here is rethrown rather than turned into a denial. A read side
|
|
1443
|
+
* that is down must not read as a policy: a denial nobody can distinguish
|
|
1444
|
+
* from a refusal is one nobody investigates, and the route answers 500 for a
|
|
1445
|
+
* reason.
|
|
1446
|
+
*/
|
|
1447
|
+
private canReadDocument;
|
|
1352
1448
|
}
|
|
1353
1449
|
//#endregion
|
|
1354
1450
|
//#region src/types.d.ts
|
|
@@ -1356,22 +1452,24 @@ declare class AttachmentAccessService implements IAttachmentAccessService {
|
|
|
1356
1452
|
* Module hosts pass to processor factories: the reactor-level module plus the
|
|
1357
1453
|
* attachment client, which shared and reactor cannot name.
|
|
1358
1454
|
*/
|
|
1359
|
-
interface IProcessorHostModule extends IReactorProcessorHostModuleBase {
|
|
1455
|
+
export interface IProcessorHostModule extends IReactorProcessorHostModuleBase {
|
|
1360
1456
|
attachments: IAttachmentClient;
|
|
1361
1457
|
}
|
|
1362
1458
|
/** @deprecated Use `IProcessorHostModule`. */
|
|
1363
|
-
type IReactorProcessorHostModule = IProcessorHostModule;
|
|
1364
|
-
type ReadinessGate = {
|
|
1459
|
+
export type IReactorProcessorHostModule = IProcessorHostModule;
|
|
1460
|
+
export type ReadinessGate = {
|
|
1365
1461
|
isReady: () => boolean;
|
|
1366
1462
|
markReady: () => void;
|
|
1367
1463
|
};
|
|
1368
|
-
type API = {
|
|
1369
|
-
httpAdapter: IHttpAdapter;
|
|
1464
|
+
export type API = {
|
|
1465
|
+
httpAdapter: IHttpAdapter;
|
|
1466
|
+
/** Hands each package a namespaced slice of the HTTP surface. */
|
|
1370
1467
|
httpRoutes: HttpRouteService;
|
|
1371
1468
|
graphqlManager: GraphQLManager$1;
|
|
1372
1469
|
packages: IPackageManager;
|
|
1373
1470
|
attachments: AttachmentBuildResult;
|
|
1374
|
-
attachmentReferenceIndex: AttachmentReferenceIndexBuildResult;
|
|
1471
|
+
attachmentReferenceIndex: AttachmentReferenceIndexBuildResult;
|
|
1472
|
+
/** Document-authorized attachment read decisions; see AttachmentAccessService. */
|
|
1375
1473
|
attachmentAccess: IAttachmentAccessService;
|
|
1376
1474
|
authService: AuthService | undefined;
|
|
1377
1475
|
/**
|
|
@@ -1398,22 +1496,22 @@ type API = {
|
|
|
1398
1496
|
*/
|
|
1399
1497
|
dispose: () => Promise<void>;
|
|
1400
1498
|
};
|
|
1401
|
-
type ReactorModule = {
|
|
1499
|
+
export type ReactorModule = {
|
|
1402
1500
|
analyticsStore: IAnalyticsStore;
|
|
1403
1501
|
relationalDb: IRelationalDb$1;
|
|
1404
1502
|
};
|
|
1405
1503
|
/** @deprecated Use `ProcessorFactory`. */
|
|
1406
|
-
type ProcessorDriveFactory = ProcessorFactory;
|
|
1504
|
+
export type ProcessorDriveFactory = ProcessorFactory;
|
|
1407
1505
|
/** Builds a per-drive factory from the host module (e.g. vetra `processorFactory`). */
|
|
1408
|
-
type ProcessorFactoryBuilder = ProcessorFactoryBuilder$1<IProcessorHostModule>;
|
|
1506
|
+
export type ProcessorFactoryBuilder = ProcessorFactoryBuilder$1<IProcessorHostModule>;
|
|
1409
1507
|
/** Multiple initializers per package name (e.g. Switchboard `processors` option). */
|
|
1410
|
-
type Processor = ProcessorFactoryBuilder[];
|
|
1508
|
+
export type Processor = ProcessorFactoryBuilder[];
|
|
1411
1509
|
//#endregion
|
|
1412
1510
|
//#region src/packages/http-loader.d.ts
|
|
1413
|
-
interface HttpPackageLoaderOptions {
|
|
1511
|
+
export interface HttpPackageLoaderOptions {
|
|
1414
1512
|
registryUrl: string;
|
|
1415
1513
|
}
|
|
1416
|
-
interface HttpPackageLoaderLogger {
|
|
1514
|
+
export interface HttpPackageLoaderLogger {
|
|
1417
1515
|
info: (msg: string) => void;
|
|
1418
1516
|
error: (msg: string, err: unknown) => void;
|
|
1419
1517
|
}
|
|
@@ -1428,7 +1526,7 @@ type SubgraphsExport = Record<string, SubgraphClass$1>;
|
|
|
1428
1526
|
*
|
|
1429
1527
|
* Exported for direct unit testing against synthetic module shapes.
|
|
1430
1528
|
*/
|
|
1431
|
-
declare function extractSubgraphsFromModule(module: Record<string, SubgraphsExport>): SubgraphClass$1[];
|
|
1529
|
+
export declare function extractSubgraphsFromModule(module: Record<string, SubgraphsExport>): SubgraphClass$1[];
|
|
1432
1530
|
/**
|
|
1433
1531
|
* Loads document models, subgraphs, and processors from an HTTP registry.
|
|
1434
1532
|
* Uses Node.js module loader hooks to import directly from HTTP URLs.
|
|
@@ -1437,7 +1535,7 @@ declare function extractSubgraphsFromModule(module: Record<string, SubgraphsExpo
|
|
|
1437
1535
|
* import { register } from "node:module";
|
|
1438
1536
|
* register("@powerhousedao/reactor-api/https-hooks", import.meta.url);
|
|
1439
1537
|
*/
|
|
1440
|
-
declare class HttpPackageLoader implements IPackageLoader {
|
|
1538
|
+
export declare class HttpPackageLoader implements IPackageLoader {
|
|
1441
1539
|
private readonly registryUrl;
|
|
1442
1540
|
private readonly logger;
|
|
1443
1541
|
readonly name = "HttpPackageLoader";
|
|
@@ -1469,7 +1567,7 @@ declare class HttpPackageLoader implements IPackageLoader {
|
|
|
1469
1567
|
* Making them worker-executable means returning an importable source here
|
|
1470
1568
|
* (the CDN URL as a package specifier, given process-wide https hooks).
|
|
1471
1569
|
*/
|
|
1472
|
-
declare class HttpDocumentModelLoader implements IDocumentModelLoader {
|
|
1570
|
+
export declare class HttpDocumentModelLoader implements IDocumentModelLoader {
|
|
1473
1571
|
private readonly loader;
|
|
1474
1572
|
private readonly logger;
|
|
1475
1573
|
private readonly documentTypeCache;
|
|
@@ -1486,18 +1584,18 @@ declare class HttpDocumentModelLoader implements IDocumentModelLoader {
|
|
|
1486
1584
|
}
|
|
1487
1585
|
//#endregion
|
|
1488
1586
|
//#region src/services/package-management.service.d.ts
|
|
1489
|
-
interface InstallPackageResult {
|
|
1587
|
+
export interface InstallPackageResult {
|
|
1490
1588
|
package: InstalledPackageInfo;
|
|
1491
1589
|
documentModelsLoaded: number;
|
|
1492
1590
|
}
|
|
1493
|
-
interface PackageManagementServiceOptions {
|
|
1591
|
+
export interface PackageManagementServiceOptions {
|
|
1494
1592
|
storage?: IPackageStorage;
|
|
1495
1593
|
defaultRegistryUrl?: string;
|
|
1496
1594
|
httpLoader?: HttpPackageLoader;
|
|
1497
1595
|
documentModelRegistry?: IDocumentModelRegistry;
|
|
1498
1596
|
packageManager?: IPackageManager;
|
|
1499
1597
|
}
|
|
1500
|
-
declare class PackageManagementService {
|
|
1598
|
+
export declare class PackageManagementService {
|
|
1501
1599
|
private readonly storage;
|
|
1502
1600
|
private readonly defaultRegistryUrl?;
|
|
1503
1601
|
private readonly httpLoader?;
|
|
@@ -1520,13 +1618,13 @@ declare class PackageManagementService {
|
|
|
1520
1618
|
interface PackagesSubgraphArgs extends SubgraphArgs {
|
|
1521
1619
|
packageManagementService: PackageManagementService;
|
|
1522
1620
|
}
|
|
1523
|
-
declare class PackagesSubgraph extends BaseSubgraph {
|
|
1621
|
+
export declare class PackagesSubgraph extends BaseSubgraph {
|
|
1524
1622
|
private logger;
|
|
1525
1623
|
private packageManagementService;
|
|
1526
1624
|
constructor(args: PackagesSubgraphArgs);
|
|
1527
1625
|
name: string;
|
|
1528
1626
|
hasSubscriptions: boolean;
|
|
1529
|
-
typeDefs: graphql.DocumentNode;
|
|
1627
|
+
typeDefs: import("graphql").DocumentNode;
|
|
1530
1628
|
resolvers: {
|
|
1531
1629
|
Query: {
|
|
1532
1630
|
Packages: () => {};
|
|
@@ -1582,7 +1680,7 @@ declare class PackagesSubgraph extends BaseSubgraph {
|
|
|
1582
1680
|
* `{ document, variables, headers? }` with `variables` and `headers`
|
|
1583
1681
|
* already JSON-stringified.
|
|
1584
1682
|
*/
|
|
1585
|
-
interface ExplorerUrlState {
|
|
1683
|
+
export interface ExplorerUrlState {
|
|
1586
1684
|
/** The GraphQL query to prefill in GraphiQL. */
|
|
1587
1685
|
query: string;
|
|
1588
1686
|
/** JSON-stringified variables, as stored in the payload. */
|
|
@@ -1594,24 +1692,24 @@ interface ExplorerUrlState {
|
|
|
1594
1692
|
* Decodes an `explorerURLState` URL parameter. Returns `null` for anything
|
|
1595
1693
|
* that is not a valid lz-compressed payload with a non-empty `document`.
|
|
1596
1694
|
*/
|
|
1597
|
-
declare function decodeExplorerUrlState(encoded: string): ExplorerUrlState | null;
|
|
1598
|
-
declare function renderGraphqlPlayground(url: string, query?: string, headers?: Record<string, string>, variables?: string): string;
|
|
1695
|
+
export declare function decodeExplorerUrlState(encoded: string): ExplorerUrlState | null;
|
|
1696
|
+
export declare function renderGraphqlPlayground(url: string, query?: string, headers?: Record<string, string>, variables?: string): string;
|
|
1599
1697
|
//#endregion
|
|
1600
1698
|
//#region src/graphql/reactor/gen/graphql.d.ts
|
|
1601
|
-
type Maybe<T> = T | null | undefined;
|
|
1602
|
-
type InputMaybe<T> = T | null | undefined;
|
|
1603
|
-
type Exact<T extends {
|
|
1699
|
+
export type Maybe<T> = T | null | undefined;
|
|
1700
|
+
export type InputMaybe<T> = T | null | undefined;
|
|
1701
|
+
export type Exact<T extends {
|
|
1604
1702
|
[key: string]: unknown;
|
|
1605
|
-
}> = { [K in keyof T]: T[K] };
|
|
1606
|
-
type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]
|
|
1607
|
-
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]
|
|
1608
|
-
type MakeEmpty<T extends {
|
|
1703
|
+
}> = { [K in keyof T]: T[K]; };
|
|
1704
|
+
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]>; };
|
|
1705
|
+
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]>; };
|
|
1706
|
+
export type MakeEmpty<T extends {
|
|
1609
1707
|
[key: string]: unknown;
|
|
1610
|
-
}, K extends keyof T> = { [_ in K]?: never };
|
|
1611
|
-
type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never };
|
|
1612
|
-
type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]
|
|
1708
|
+
}, K extends keyof T> = { [_ in K]?: never; };
|
|
1709
|
+
export type Incremental<T> = T | { [P in keyof T]?: P extends " $fragmentName" | "__typename" ? T[P] : never; };
|
|
1710
|
+
export type RequireFields<T, K extends keyof T> = Omit<T, K> & { [P in K]-?: NonNullable<T[P]>; };
|
|
1613
1711
|
/** All built-in and custom scalars, mapped to their actual values */
|
|
1614
|
-
type Scalars = {
|
|
1712
|
+
export type Scalars = {
|
|
1615
1713
|
ID: {
|
|
1616
1714
|
input: string;
|
|
1617
1715
|
output: string;
|
|
@@ -1641,7 +1739,7 @@ type Scalars = {
|
|
|
1641
1739
|
output: NonNullable<unknown>;
|
|
1642
1740
|
};
|
|
1643
1741
|
};
|
|
1644
|
-
type Action = {
|
|
1742
|
+
export type Action = {
|
|
1645
1743
|
readonly context?: Maybe<ActionContext>;
|
|
1646
1744
|
readonly id: Scalars["String"]["output"];
|
|
1647
1745
|
readonly input: Scalars["JSONObject"]["output"];
|
|
@@ -1656,12 +1754,12 @@ type Action = {
|
|
|
1656
1754
|
* filled-in form carries that form's input. Omitting it predicts the verdict an
|
|
1657
1755
|
* empty input earns, not the verdict the filled-in form will get.
|
|
1658
1756
|
*/
|
|
1659
|
-
type ActionCandidateInput = {
|
|
1757
|
+
export type ActionCandidateInput = {
|
|
1660
1758
|
readonly input?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1661
1759
|
readonly scope: Scalars["String"]["input"];
|
|
1662
1760
|
readonly type: Scalars["String"]["input"];
|
|
1663
1761
|
};
|
|
1664
|
-
type ActionContext = {
|
|
1762
|
+
export type ActionContext = {
|
|
1665
1763
|
readonly signer?: Maybe<ReactorSigner>;
|
|
1666
1764
|
};
|
|
1667
1765
|
/**
|
|
@@ -1676,9 +1774,12 @@ type ActionContext = {
|
|
|
1676
1774
|
* against. They are recorded rather than enforced; a signature is verified from
|
|
1677
1775
|
* the params carried in its own tuple, which do not include them.
|
|
1678
1776
|
*/
|
|
1679
|
-
type ActionContextInput = {
|
|
1680
|
-
/** Covers replay of an operation that would otherwise be a no-op. */
|
|
1681
|
-
readonly
|
|
1777
|
+
export type ActionContextInput = {
|
|
1778
|
+
/** Covers replay of an operation that would otherwise be a no-op. */
|
|
1779
|
+
readonly nonce?: InputMaybe<Scalars["String"]["input"]>;
|
|
1780
|
+
/** The hash of the state the action applies to. */
|
|
1781
|
+
readonly prevOpHash?: InputMaybe<Scalars["String"]["input"]>;
|
|
1782
|
+
/** The index of the last operation in the scope the action applies to. */
|
|
1682
1783
|
readonly prevOpIndex?: InputMaybe<Scalars["Int"]["input"]>;
|
|
1683
1784
|
readonly signer?: InputMaybe<ReactorSignerInput>;
|
|
1684
1785
|
};
|
|
@@ -1686,7 +1787,7 @@ type ActionContextInput = {
|
|
|
1686
1787
|
* One candidate's predicted verdict. `reason` carries the refusal a DENY is
|
|
1687
1788
|
* recorded with, and is null on an ALLOW.
|
|
1688
1789
|
*/
|
|
1689
|
-
type ActionEvaluation = {
|
|
1790
|
+
export type ActionEvaluation = {
|
|
1690
1791
|
readonly decision: AuthDecision;
|
|
1691
1792
|
readonly reason?: Maybe<Scalars["String"]["output"]>;
|
|
1692
1793
|
};
|
|
@@ -1699,14 +1800,14 @@ type ActionEvaluation = {
|
|
|
1699
1800
|
* another. Over no candidates every aggregate is false: nothing is allowed and
|
|
1700
1801
|
* nothing is denied.
|
|
1701
1802
|
*/
|
|
1702
|
-
type ActionEvaluations = {
|
|
1803
|
+
export type ActionEvaluations = {
|
|
1703
1804
|
readonly allAllowed: Scalars["Boolean"]["output"];
|
|
1704
1805
|
readonly allDenied: Scalars["Boolean"]["output"];
|
|
1705
1806
|
readonly anyAllowed: Scalars["Boolean"]["output"];
|
|
1706
1807
|
readonly anyDenied: Scalars["Boolean"]["output"];
|
|
1707
1808
|
readonly evaluations: ReadonlyArray<ActionEvaluation>;
|
|
1708
1809
|
};
|
|
1709
|
-
type ActionInput = {
|
|
1810
|
+
export type ActionInput = {
|
|
1710
1811
|
readonly context?: InputMaybe<ActionContextInput>;
|
|
1711
1812
|
readonly id: Scalars["String"]["input"];
|
|
1712
1813
|
readonly input: Scalars["JSONObject"]["input"];
|
|
@@ -1714,17 +1815,17 @@ type ActionInput = {
|
|
|
1714
1815
|
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
1715
1816
|
readonly type: Scalars["String"]["input"];
|
|
1716
1817
|
};
|
|
1717
|
-
declare enum AuthDecision {
|
|
1818
|
+
export declare enum AuthDecision {
|
|
1718
1819
|
Allow = "ALLOW",
|
|
1719
1820
|
Deny = "DENY"
|
|
1720
1821
|
}
|
|
1721
|
-
type ChannelMeta = {
|
|
1822
|
+
export type ChannelMeta = {
|
|
1722
1823
|
readonly id: Scalars["String"]["output"];
|
|
1723
1824
|
};
|
|
1724
|
-
type ChannelMetaInput = {
|
|
1825
|
+
export type ChannelMetaInput = {
|
|
1725
1826
|
readonly id: Scalars["String"]["input"];
|
|
1726
1827
|
};
|
|
1727
|
-
type DeadLetterInfo = {
|
|
1828
|
+
export type DeadLetterInfo = {
|
|
1728
1829
|
readonly branch: Scalars["String"]["output"];
|
|
1729
1830
|
readonly documentId: Scalars["String"]["output"];
|
|
1730
1831
|
readonly error: Scalars["String"]["output"];
|
|
@@ -1738,16 +1839,16 @@ type DeadLetterInfo = {
|
|
|
1738
1839
|
readonly operationCount: Scalars["Int"]["output"];
|
|
1739
1840
|
readonly scopes: ReadonlyArray<Scalars["String"]["output"]>;
|
|
1740
1841
|
};
|
|
1741
|
-
type DocumentChangeContext = {
|
|
1842
|
+
export type DocumentChangeContext = {
|
|
1742
1843
|
readonly childId?: Maybe<Scalars["String"]["output"]>;
|
|
1743
1844
|
readonly parentId?: Maybe<Scalars["String"]["output"]>;
|
|
1744
1845
|
};
|
|
1745
|
-
type DocumentChangeEvent = {
|
|
1846
|
+
export type DocumentChangeEvent = {
|
|
1746
1847
|
readonly context?: Maybe<DocumentChangeContext>;
|
|
1747
1848
|
readonly documents: ReadonlyArray<PhDocument>;
|
|
1748
1849
|
readonly type: DocumentChangeType;
|
|
1749
1850
|
};
|
|
1750
|
-
declare enum DocumentChangeType {
|
|
1851
|
+
export declare enum DocumentChangeType {
|
|
1751
1852
|
ChildAdded = "CHILD_ADDED",
|
|
1752
1853
|
ChildRemoved = "CHILD_REMOVED",
|
|
1753
1854
|
Created = "CREATED",
|
|
@@ -1756,21 +1857,21 @@ declare enum DocumentChangeType {
|
|
|
1756
1857
|
ParentRemoved = "PARENT_REMOVED",
|
|
1757
1858
|
Updated = "UPDATED"
|
|
1758
1859
|
}
|
|
1759
|
-
type DocumentModelGlobalState = {
|
|
1860
|
+
export type DocumentModelGlobalState = {
|
|
1760
1861
|
readonly id: Scalars["String"]["output"];
|
|
1761
1862
|
readonly name: Scalars["String"]["output"];
|
|
1762
1863
|
readonly namespace?: Maybe<Scalars["String"]["output"]>;
|
|
1763
1864
|
readonly specification: Scalars["JSONObject"]["output"];
|
|
1764
1865
|
readonly version?: Maybe<Scalars["String"]["output"]>;
|
|
1765
1866
|
};
|
|
1766
|
-
type DocumentModelResultPage = {
|
|
1867
|
+
export type DocumentModelResultPage = {
|
|
1767
1868
|
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
1768
1869
|
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
1769
1870
|
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
1770
1871
|
readonly items: ReadonlyArray<DocumentModelGlobalState>;
|
|
1771
1872
|
readonly totalCount: Scalars["Int"]["output"];
|
|
1772
1873
|
};
|
|
1773
|
-
type DocumentOperationsFilterInput = {
|
|
1874
|
+
export type DocumentOperationsFilterInput = {
|
|
1774
1875
|
readonly actionTypes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
1775
1876
|
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1776
1877
|
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
@@ -1778,7 +1879,7 @@ type DocumentOperationsFilterInput = {
|
|
|
1778
1879
|
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
1779
1880
|
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
1780
1881
|
};
|
|
1781
|
-
type DocumentRelationship = {
|
|
1882
|
+
export type DocumentRelationship = {
|
|
1782
1883
|
readonly createdAt: Scalars["DateTime"]["output"];
|
|
1783
1884
|
readonly metadata?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
1784
1885
|
readonly relationshipType: Scalars["String"]["output"];
|
|
@@ -1786,18 +1887,18 @@ type DocumentRelationship = {
|
|
|
1786
1887
|
readonly targetId: Scalars["String"]["output"];
|
|
1787
1888
|
readonly updatedAt: Scalars["DateTime"]["output"];
|
|
1788
1889
|
};
|
|
1789
|
-
type DocumentRelationshipResultPage = {
|
|
1890
|
+
export type DocumentRelationshipResultPage = {
|
|
1790
1891
|
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
1791
1892
|
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
1792
1893
|
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
1793
1894
|
readonly items: ReadonlyArray<DocumentRelationship>;
|
|
1794
1895
|
readonly totalCount: Scalars["Int"]["output"];
|
|
1795
1896
|
};
|
|
1796
|
-
type DocumentWithChildren = {
|
|
1897
|
+
export type DocumentWithChildren = {
|
|
1797
1898
|
readonly childIds: ReadonlyArray<Scalars["String"]["output"]>;
|
|
1798
1899
|
readonly document: PhDocument;
|
|
1799
1900
|
};
|
|
1800
|
-
type JobChangeEvent = {
|
|
1901
|
+
export type JobChangeEvent = {
|
|
1801
1902
|
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
1802
1903
|
readonly jobId: Scalars["String"]["output"];
|
|
1803
1904
|
/**
|
|
@@ -1808,7 +1909,7 @@ type JobChangeEvent = {
|
|
|
1808
1909
|
readonly result?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
1809
1910
|
readonly status: Scalars["String"]["output"];
|
|
1810
1911
|
};
|
|
1811
|
-
type JobInfo = {
|
|
1912
|
+
export type JobInfo = {
|
|
1812
1913
|
readonly completedAt?: Maybe<Scalars["DateTime"]["output"]>;
|
|
1813
1914
|
readonly createdAt: Scalars["DateTime"]["output"];
|
|
1814
1915
|
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -1820,11 +1921,11 @@ type JobInfo = {
|
|
|
1820
1921
|
readonly result?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
1821
1922
|
readonly status: Scalars["String"]["output"];
|
|
1822
1923
|
};
|
|
1823
|
-
type MoveRelationshipResult = {
|
|
1924
|
+
export type MoveRelationshipResult = {
|
|
1824
1925
|
readonly source: PhDocument;
|
|
1825
1926
|
readonly target: PhDocument;
|
|
1826
1927
|
};
|
|
1827
|
-
type Mutation = {
|
|
1928
|
+
export type Mutation = {
|
|
1828
1929
|
readonly addRelationship: PhDocument;
|
|
1829
1930
|
readonly createDocument: PhDocument;
|
|
1830
1931
|
readonly createEmptyDocument: PhDocument;
|
|
@@ -1852,8 +1953,10 @@ type Mutation = {
|
|
|
1852
1953
|
* ask for; `result` is null until the job produces one.
|
|
1853
1954
|
*/
|
|
1854
1955
|
readonly executeAsync: JobInfo;
|
|
1855
|
-
readonly moveRelationship: MoveRelationshipResult;
|
|
1856
|
-
|
|
1956
|
+
readonly moveRelationship: MoveRelationshipResult;
|
|
1957
|
+
/** @deprecated Use execute. Actions here are untyped, so a malformed one is refused by a hand-written check rather than by the schema, and `view.scopes` is accepted but ignored. */
|
|
1958
|
+
readonly mutateDocument: PhDocument;
|
|
1959
|
+
/** @deprecated Use executeAsync, which is typed and returns the job rather than only its id. */
|
|
1857
1960
|
readonly mutateDocumentAsync: Scalars["String"]["output"];
|
|
1858
1961
|
readonly pushSyncEnvelopes: Scalars["Boolean"]["output"];
|
|
1859
1962
|
readonly removeRelationship: PhDocument;
|
|
@@ -1862,100 +1965,100 @@ type Mutation = {
|
|
|
1862
1965
|
readonly touchChannel: TouchChannelResult;
|
|
1863
1966
|
readonly updateRelationship: PhDocument;
|
|
1864
1967
|
};
|
|
1865
|
-
type MutationAddRelationshipArgs = {
|
|
1968
|
+
export type MutationAddRelationshipArgs = {
|
|
1866
1969
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1867
1970
|
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1868
1971
|
relationshipType: Scalars["String"]["input"];
|
|
1869
1972
|
sourceIdentifier: Scalars["String"]["input"];
|
|
1870
1973
|
targetIdentifier: Scalars["String"]["input"];
|
|
1871
1974
|
};
|
|
1872
|
-
type MutationCreateDocumentArgs = {
|
|
1975
|
+
export type MutationCreateDocumentArgs = {
|
|
1873
1976
|
document: Scalars["JSONObject"]["input"];
|
|
1874
1977
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
1875
1978
|
};
|
|
1876
|
-
type MutationCreateEmptyDocumentArgs = {
|
|
1979
|
+
export type MutationCreateEmptyDocumentArgs = {
|
|
1877
1980
|
documentType: Scalars["String"]["input"];
|
|
1878
1981
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
1879
1982
|
};
|
|
1880
|
-
type MutationDeleteDocumentArgs = {
|
|
1983
|
+
export type MutationDeleteDocumentArgs = {
|
|
1881
1984
|
identifier: Scalars["String"]["input"];
|
|
1882
1985
|
propagate?: InputMaybe<PropagationMode>;
|
|
1883
1986
|
};
|
|
1884
|
-
type MutationDeleteDocumentsArgs = {
|
|
1987
|
+
export type MutationDeleteDocumentsArgs = {
|
|
1885
1988
|
identifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
1886
1989
|
propagate?: InputMaybe<PropagationMode>;
|
|
1887
1990
|
};
|
|
1888
|
-
type MutationExecuteArgs = {
|
|
1991
|
+
export type MutationExecuteArgs = {
|
|
1889
1992
|
actions: ReadonlyArray<ActionInput>;
|
|
1890
1993
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1891
1994
|
documentIdentifier: Scalars["String"]["input"];
|
|
1892
1995
|
};
|
|
1893
|
-
type MutationExecuteAsyncArgs = {
|
|
1996
|
+
export type MutationExecuteAsyncArgs = {
|
|
1894
1997
|
actions: ReadonlyArray<ActionInput>;
|
|
1895
1998
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1896
1999
|
documentIdentifier: Scalars["String"]["input"];
|
|
1897
2000
|
};
|
|
1898
|
-
type MutationMoveRelationshipArgs = {
|
|
2001
|
+
export type MutationMoveRelationshipArgs = {
|
|
1899
2002
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1900
2003
|
relationshipType: Scalars["String"]["input"];
|
|
1901
2004
|
sourceParentIdentifier: Scalars["String"]["input"];
|
|
1902
2005
|
targetIdentifier: Scalars["String"]["input"];
|
|
1903
2006
|
targetParentIdentifier: Scalars["String"]["input"];
|
|
1904
2007
|
};
|
|
1905
|
-
type MutationMutateDocumentArgs = {
|
|
2008
|
+
export type MutationMutateDocumentArgs = {
|
|
1906
2009
|
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
1907
2010
|
documentIdentifier: Scalars["String"]["input"];
|
|
1908
2011
|
view?: InputMaybe<ViewFilterInput>;
|
|
1909
2012
|
};
|
|
1910
|
-
type MutationMutateDocumentAsyncArgs = {
|
|
2013
|
+
export type MutationMutateDocumentAsyncArgs = {
|
|
1911
2014
|
actions: ReadonlyArray<Scalars["JSONObject"]["input"]>;
|
|
1912
2015
|
documentIdentifier: Scalars["String"]["input"];
|
|
1913
2016
|
view?: InputMaybe<ViewFilterInput>;
|
|
1914
2017
|
};
|
|
1915
|
-
type MutationPushSyncEnvelopesArgs = {
|
|
2018
|
+
export type MutationPushSyncEnvelopesArgs = {
|
|
1916
2019
|
envelopes: ReadonlyArray<SyncEnvelopeInput>;
|
|
1917
2020
|
};
|
|
1918
|
-
type MutationRemoveRelationshipArgs = {
|
|
2021
|
+
export type MutationRemoveRelationshipArgs = {
|
|
1919
2022
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1920
2023
|
relationshipType: Scalars["String"]["input"];
|
|
1921
2024
|
sourceIdentifier: Scalars["String"]["input"];
|
|
1922
2025
|
targetIdentifier: Scalars["String"]["input"];
|
|
1923
2026
|
};
|
|
1924
|
-
type MutationRenameDocumentArgs = {
|
|
2027
|
+
export type MutationRenameDocumentArgs = {
|
|
1925
2028
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1926
2029
|
documentIdentifier: Scalars["String"]["input"];
|
|
1927
2030
|
name: Scalars["String"]["input"];
|
|
1928
2031
|
};
|
|
1929
|
-
type MutationSetPreferredEditorArgs = {
|
|
2032
|
+
export type MutationSetPreferredEditorArgs = {
|
|
1930
2033
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1931
2034
|
documentIdentifier: Scalars["String"]["input"];
|
|
1932
2035
|
preferredEditor?: InputMaybe<Scalars["String"]["input"]>;
|
|
1933
2036
|
};
|
|
1934
|
-
type MutationTouchChannelArgs = {
|
|
2037
|
+
export type MutationTouchChannelArgs = {
|
|
1935
2038
|
input: TouchChannelInput;
|
|
1936
2039
|
};
|
|
1937
|
-
type MutationUpdateRelationshipArgs = {
|
|
2040
|
+
export type MutationUpdateRelationshipArgs = {
|
|
1938
2041
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1939
2042
|
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1940
2043
|
relationshipType: Scalars["String"]["input"];
|
|
1941
2044
|
sourceIdentifier: Scalars["String"]["input"];
|
|
1942
2045
|
targetIdentifier: Scalars["String"]["input"];
|
|
1943
2046
|
};
|
|
1944
|
-
type OperationContext = {
|
|
2047
|
+
export type OperationContext = {
|
|
1945
2048
|
readonly branch: Scalars["String"]["output"];
|
|
1946
2049
|
readonly documentId: Scalars["String"]["output"];
|
|
1947
2050
|
readonly documentType: Scalars["String"]["output"];
|
|
1948
2051
|
readonly ordinal: Scalars["Int"]["output"];
|
|
1949
2052
|
readonly scope: Scalars["String"]["output"];
|
|
1950
2053
|
};
|
|
1951
|
-
type OperationContextInput = {
|
|
2054
|
+
export type OperationContextInput = {
|
|
1952
2055
|
readonly branch: Scalars["String"]["input"];
|
|
1953
2056
|
readonly documentId: Scalars["String"]["input"];
|
|
1954
2057
|
readonly documentType: Scalars["String"]["input"];
|
|
1955
2058
|
readonly ordinal: Scalars["Int"]["input"];
|
|
1956
2059
|
readonly scope: Scalars["String"]["input"];
|
|
1957
2060
|
};
|
|
1958
|
-
type OperationInput = {
|
|
2061
|
+
export type OperationInput = {
|
|
1959
2062
|
readonly action: ActionInput;
|
|
1960
2063
|
readonly deniedReason?: InputMaybe<Scalars["String"]["input"]>;
|
|
1961
2064
|
readonly error?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -1965,15 +2068,15 @@ type OperationInput = {
|
|
|
1965
2068
|
readonly skip: Scalars["Int"]["input"];
|
|
1966
2069
|
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
1967
2070
|
};
|
|
1968
|
-
type OperationWithContext = {
|
|
2071
|
+
export type OperationWithContext = {
|
|
1969
2072
|
readonly context: OperationContext;
|
|
1970
2073
|
readonly operation: ReactorOperation;
|
|
1971
2074
|
};
|
|
1972
|
-
type OperationWithContextInput = {
|
|
2075
|
+
export type OperationWithContextInput = {
|
|
1973
2076
|
readonly context: OperationContextInput;
|
|
1974
2077
|
readonly operation: OperationInput;
|
|
1975
2078
|
};
|
|
1976
|
-
type OperationsFilterInput = {
|
|
2079
|
+
export type OperationsFilterInput = {
|
|
1977
2080
|
readonly actionTypes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
1978
2081
|
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1979
2082
|
readonly documentId: Scalars["String"]["input"];
|
|
@@ -1982,7 +2085,7 @@ type OperationsFilterInput = {
|
|
|
1982
2085
|
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
1983
2086
|
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
1984
2087
|
};
|
|
1985
|
-
type PhDocument = {
|
|
2088
|
+
export type PhDocument = {
|
|
1986
2089
|
readonly createdAtUtcIso: Scalars["DateTime"]["output"];
|
|
1987
2090
|
readonly documentType: Scalars["String"]["output"];
|
|
1988
2091
|
readonly id: Scalars["String"]["output"];
|
|
@@ -1994,33 +2097,33 @@ type PhDocument = {
|
|
|
1994
2097
|
readonly slug?: Maybe<Scalars["String"]["output"]>;
|
|
1995
2098
|
readonly state: Scalars["JSONObject"]["output"];
|
|
1996
2099
|
};
|
|
1997
|
-
type PhDocumentOperationsArgs = {
|
|
2100
|
+
export type PhDocumentOperationsArgs = {
|
|
1998
2101
|
filter?: InputMaybe<DocumentOperationsFilterInput>;
|
|
1999
2102
|
paging?: InputMaybe<PagingInput>;
|
|
2000
2103
|
};
|
|
2001
|
-
type PhDocumentResultPage = {
|
|
2104
|
+
export type PhDocumentResultPage = {
|
|
2002
2105
|
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
2003
2106
|
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
2004
2107
|
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
2005
2108
|
readonly items: ReadonlyArray<PhDocument>;
|
|
2006
2109
|
readonly totalCount: Scalars["Int"]["output"];
|
|
2007
2110
|
};
|
|
2008
|
-
type PagingInput = {
|
|
2111
|
+
export type PagingInput = {
|
|
2009
2112
|
readonly cursor?: InputMaybe<Scalars["String"]["input"]>;
|
|
2010
2113
|
readonly limit?: InputMaybe<Scalars["Int"]["input"]>;
|
|
2011
2114
|
readonly offset?: InputMaybe<Scalars["Int"]["input"]>;
|
|
2012
2115
|
};
|
|
2013
|
-
type PollSyncEnvelopesResult = {
|
|
2116
|
+
export type PollSyncEnvelopesResult = {
|
|
2014
2117
|
readonly ackOrdinal: Scalars["Int"]["output"];
|
|
2015
2118
|
readonly deadLetters: ReadonlyArray<DeadLetterInfo>;
|
|
2016
2119
|
readonly envelopes: ReadonlyArray<SyncEnvelope>;
|
|
2017
2120
|
readonly hasMore: Scalars["Boolean"]["output"];
|
|
2018
2121
|
};
|
|
2019
|
-
declare enum PropagationMode {
|
|
2122
|
+
export declare enum PropagationMode {
|
|
2020
2123
|
Cascade = "CASCADE",
|
|
2021
2124
|
Orphan = "ORPHAN"
|
|
2022
2125
|
}
|
|
2023
|
-
type Query = {
|
|
2126
|
+
export type Query = {
|
|
2024
2127
|
readonly document?: Maybe<DocumentWithChildren>;
|
|
2025
2128
|
readonly documentIncomingRelationshipEdges: DocumentRelationshipResultPage;
|
|
2026
2129
|
readonly documentIncomingRelationships: PhDocumentResultPage;
|
|
@@ -2071,61 +2174,61 @@ type Query = {
|
|
|
2071
2174
|
*/
|
|
2072
2175
|
readonly pollSyncEnvelopes: PollSyncEnvelopesResult;
|
|
2073
2176
|
};
|
|
2074
|
-
type QueryDocumentArgs = {
|
|
2177
|
+
export type QueryDocumentArgs = {
|
|
2075
2178
|
identifier: Scalars["String"]["input"];
|
|
2076
2179
|
view?: InputMaybe<ViewFilterInput>;
|
|
2077
2180
|
};
|
|
2078
|
-
type QueryDocumentIncomingRelationshipEdgesArgs = {
|
|
2181
|
+
export type QueryDocumentIncomingRelationshipEdgesArgs = {
|
|
2079
2182
|
paging?: InputMaybe<PagingInput>;
|
|
2080
2183
|
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2081
2184
|
targetIdentifier: Scalars["String"]["input"];
|
|
2082
2185
|
view?: InputMaybe<ViewFilterInput>;
|
|
2083
2186
|
};
|
|
2084
|
-
type QueryDocumentIncomingRelationshipsArgs = {
|
|
2187
|
+
export type QueryDocumentIncomingRelationshipsArgs = {
|
|
2085
2188
|
paging?: InputMaybe<PagingInput>;
|
|
2086
2189
|
relationshipType: Scalars["String"]["input"];
|
|
2087
2190
|
targetIdentifier: Scalars["String"]["input"];
|
|
2088
2191
|
view?: InputMaybe<ViewFilterInput>;
|
|
2089
2192
|
};
|
|
2090
|
-
type QueryDocumentModelsArgs = {
|
|
2193
|
+
export type QueryDocumentModelsArgs = {
|
|
2091
2194
|
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
2092
2195
|
paging?: InputMaybe<PagingInput>;
|
|
2093
2196
|
};
|
|
2094
|
-
type QueryDocumentOperationsArgs = {
|
|
2197
|
+
export type QueryDocumentOperationsArgs = {
|
|
2095
2198
|
filter: OperationsFilterInput;
|
|
2096
2199
|
paging?: InputMaybe<PagingInput>;
|
|
2097
2200
|
};
|
|
2098
|
-
type QueryDocumentOutgoingRelationshipEdgesArgs = {
|
|
2201
|
+
export type QueryDocumentOutgoingRelationshipEdgesArgs = {
|
|
2099
2202
|
paging?: InputMaybe<PagingInput>;
|
|
2100
2203
|
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2101
2204
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2102
2205
|
view?: InputMaybe<ViewFilterInput>;
|
|
2103
2206
|
};
|
|
2104
|
-
type QueryDocumentOutgoingRelationshipsArgs = {
|
|
2207
|
+
export type QueryDocumentOutgoingRelationshipsArgs = {
|
|
2105
2208
|
paging?: InputMaybe<PagingInput>;
|
|
2106
2209
|
relationshipType: Scalars["String"]["input"];
|
|
2107
2210
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2108
2211
|
view?: InputMaybe<ViewFilterInput>;
|
|
2109
2212
|
};
|
|
2110
|
-
type QueryEvaluateActionsArgs = {
|
|
2213
|
+
export type QueryEvaluateActionsArgs = {
|
|
2111
2214
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2112
2215
|
candidates: ReadonlyArray<ActionCandidateInput>;
|
|
2113
2216
|
documentIdentifier: Scalars["String"]["input"];
|
|
2114
2217
|
};
|
|
2115
|
-
type QueryFindDocumentsArgs = {
|
|
2218
|
+
export type QueryFindDocumentsArgs = {
|
|
2116
2219
|
paging?: InputMaybe<PagingInput>;
|
|
2117
2220
|
search?: InputMaybe<SearchFilterInput>;
|
|
2118
2221
|
view?: InputMaybe<ViewFilterInput>;
|
|
2119
2222
|
};
|
|
2120
|
-
type QueryJobStatusArgs = {
|
|
2223
|
+
export type QueryJobStatusArgs = {
|
|
2121
2224
|
jobId: Scalars["String"]["input"];
|
|
2122
2225
|
};
|
|
2123
|
-
type QueryPollSyncEnvelopesArgs = {
|
|
2226
|
+
export type QueryPollSyncEnvelopesArgs = {
|
|
2124
2227
|
channelId: Scalars["String"]["input"];
|
|
2125
2228
|
outboxAck: Scalars["Int"]["input"];
|
|
2126
2229
|
outboxLatest: Scalars["Int"]["input"];
|
|
2127
2230
|
};
|
|
2128
|
-
type ReactorOperation = {
|
|
2231
|
+
export type ReactorOperation = {
|
|
2129
2232
|
readonly action: Action;
|
|
2130
2233
|
readonly deniedReason?: Maybe<Scalars["String"]["output"]>;
|
|
2131
2234
|
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
@@ -2135,77 +2238,77 @@ type ReactorOperation = {
|
|
|
2135
2238
|
readonly skip: Scalars["Int"]["output"];
|
|
2136
2239
|
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
2137
2240
|
};
|
|
2138
|
-
type ReactorOperationResultPage = {
|
|
2241
|
+
export type ReactorOperationResultPage = {
|
|
2139
2242
|
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
2140
2243
|
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
2141
2244
|
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
2142
2245
|
readonly items: ReadonlyArray<ReactorOperation>;
|
|
2143
2246
|
readonly totalCount: Scalars["Int"]["output"];
|
|
2144
2247
|
};
|
|
2145
|
-
type ReactorSigner = {
|
|
2248
|
+
export type ReactorSigner = {
|
|
2146
2249
|
readonly app?: Maybe<ReactorSignerApp>;
|
|
2147
2250
|
readonly signatures: ReadonlyArray<Scalars["String"]["output"]>;
|
|
2148
2251
|
readonly user?: Maybe<ReactorSignerUser>;
|
|
2149
2252
|
};
|
|
2150
|
-
type ReactorSignerApp = {
|
|
2253
|
+
export type ReactorSignerApp = {
|
|
2151
2254
|
readonly key: Scalars["String"]["output"];
|
|
2152
2255
|
readonly name: Scalars["String"]["output"];
|
|
2153
2256
|
};
|
|
2154
|
-
type ReactorSignerAppInput = {
|
|
2257
|
+
export type ReactorSignerAppInput = {
|
|
2155
2258
|
readonly key: Scalars["String"]["input"];
|
|
2156
2259
|
readonly name: Scalars["String"]["input"];
|
|
2157
2260
|
};
|
|
2158
|
-
type ReactorSignerInput = {
|
|
2261
|
+
export type ReactorSignerInput = {
|
|
2159
2262
|
readonly app?: InputMaybe<ReactorSignerAppInput>;
|
|
2160
2263
|
readonly signatures: ReadonlyArray<Scalars["String"]["input"]>;
|
|
2161
2264
|
readonly user?: InputMaybe<ReactorSignerUserInput>;
|
|
2162
2265
|
};
|
|
2163
|
-
type ReactorSignerUser = {
|
|
2266
|
+
export type ReactorSignerUser = {
|
|
2164
2267
|
readonly address: Scalars["String"]["output"];
|
|
2165
2268
|
readonly chainId: Scalars["Int"]["output"];
|
|
2166
2269
|
readonly networkId: Scalars["String"]["output"];
|
|
2167
2270
|
};
|
|
2168
|
-
type ReactorSignerUserInput = {
|
|
2271
|
+
export type ReactorSignerUserInput = {
|
|
2169
2272
|
readonly address: Scalars["String"]["input"];
|
|
2170
2273
|
readonly chainId: Scalars["Int"]["input"];
|
|
2171
2274
|
readonly networkId: Scalars["String"]["input"];
|
|
2172
2275
|
};
|
|
2173
|
-
type RemoteCursor = {
|
|
2276
|
+
export type RemoteCursor = {
|
|
2174
2277
|
readonly cursorOrdinal: Scalars["Int"]["output"];
|
|
2175
2278
|
readonly lastSyncedAtUtcMs?: Maybe<Scalars["String"]["output"]>;
|
|
2176
2279
|
readonly remoteName: Scalars["String"]["output"];
|
|
2177
2280
|
};
|
|
2178
|
-
type RemoteCursorInput = {
|
|
2281
|
+
export type RemoteCursorInput = {
|
|
2179
2282
|
readonly cursorOrdinal: Scalars["Int"]["input"];
|
|
2180
2283
|
readonly lastSyncedAtUtcMs?: InputMaybe<Scalars["String"]["input"]>;
|
|
2181
2284
|
readonly remoteName: Scalars["String"]["input"];
|
|
2182
2285
|
};
|
|
2183
|
-
type RemoteFilterInput = {
|
|
2286
|
+
export type RemoteFilterInput = {
|
|
2184
2287
|
readonly branch: Scalars["String"]["input"];
|
|
2185
2288
|
readonly documentId: ReadonlyArray<Scalars["String"]["input"]>;
|
|
2186
2289
|
readonly scope: ReadonlyArray<Scalars["String"]["input"]>;
|
|
2187
2290
|
};
|
|
2188
|
-
type Revision = {
|
|
2291
|
+
export type Revision = {
|
|
2189
2292
|
readonly revision: Scalars["Int"]["output"];
|
|
2190
2293
|
readonly scope: Scalars["String"]["output"];
|
|
2191
2294
|
};
|
|
2192
|
-
type SearchFilterInput = {
|
|
2295
|
+
export type SearchFilterInput = {
|
|
2193
2296
|
readonly identifiers?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
2194
2297
|
readonly parentId?: InputMaybe<Scalars["String"]["input"]>;
|
|
2195
2298
|
readonly type?: InputMaybe<Scalars["String"]["input"]>;
|
|
2196
2299
|
};
|
|
2197
|
-
type Subscription = {
|
|
2300
|
+
export type Subscription = {
|
|
2198
2301
|
readonly documentChanges: DocumentChangeEvent;
|
|
2199
2302
|
readonly jobChanges: JobChangeEvent;
|
|
2200
2303
|
};
|
|
2201
|
-
type SubscriptionDocumentChangesArgs = {
|
|
2304
|
+
export type SubscriptionDocumentChangesArgs = {
|
|
2202
2305
|
search?: InputMaybe<SearchFilterInput>;
|
|
2203
2306
|
view?: InputMaybe<ViewFilterInput>;
|
|
2204
2307
|
};
|
|
2205
|
-
type SubscriptionJobChangesArgs = {
|
|
2308
|
+
export type SubscriptionJobChangesArgs = {
|
|
2206
2309
|
jobId: Scalars["String"]["input"];
|
|
2207
2310
|
};
|
|
2208
|
-
type SyncEnvelope = {
|
|
2311
|
+
export type SyncEnvelope = {
|
|
2209
2312
|
readonly channelMeta: ChannelMeta;
|
|
2210
2313
|
readonly cursor?: Maybe<RemoteCursor>;
|
|
2211
2314
|
readonly dependsOn?: Maybe<ReadonlyArray<Scalars["String"]["output"]>>;
|
|
@@ -2213,7 +2316,7 @@ type SyncEnvelope = {
|
|
|
2213
2316
|
readonly operations?: Maybe<ReadonlyArray<OperationWithContext>>;
|
|
2214
2317
|
readonly type: SyncEnvelopeType;
|
|
2215
2318
|
};
|
|
2216
|
-
type SyncEnvelopeInput = {
|
|
2319
|
+
export type SyncEnvelopeInput = {
|
|
2217
2320
|
readonly channelMeta: ChannelMetaInput;
|
|
2218
2321
|
readonly cursor?: InputMaybe<RemoteCursorInput>;
|
|
2219
2322
|
readonly dependsOn?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
@@ -2221,26 +2324,26 @@ type SyncEnvelopeInput = {
|
|
|
2221
2324
|
readonly operations?: InputMaybe<ReadonlyArray<OperationWithContextInput>>;
|
|
2222
2325
|
readonly type: SyncEnvelopeType;
|
|
2223
2326
|
};
|
|
2224
|
-
declare enum SyncEnvelopeType {
|
|
2327
|
+
export declare enum SyncEnvelopeType {
|
|
2225
2328
|
Ack = "ACK",
|
|
2226
2329
|
Operations = "OPERATIONS"
|
|
2227
2330
|
}
|
|
2228
|
-
type TouchChannelInput = {
|
|
2331
|
+
export type TouchChannelInput = {
|
|
2229
2332
|
readonly collectionId: Scalars["String"]["input"];
|
|
2230
2333
|
readonly filter: RemoteFilterInput;
|
|
2231
2334
|
readonly id: Scalars["String"]["input"];
|
|
2232
2335
|
readonly name: Scalars["String"]["input"];
|
|
2233
2336
|
readonly sinceTimestampUtcMs: Scalars["String"]["input"];
|
|
2234
2337
|
};
|
|
2235
|
-
type TouchChannelResult = {
|
|
2338
|
+
export type TouchChannelResult = {
|
|
2236
2339
|
readonly ackOrdinal: Scalars["Int"]["output"];
|
|
2237
2340
|
readonly success: Scalars["Boolean"]["output"];
|
|
2238
2341
|
};
|
|
2239
|
-
type ViewFilterInput = {
|
|
2342
|
+
export type ViewFilterInput = {
|
|
2240
2343
|
readonly branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2241
2344
|
readonly scopes?: InputMaybe<ReadonlyArray<Scalars["String"]["input"]>>;
|
|
2242
2345
|
};
|
|
2243
|
-
type PhDocumentFieldsFragment = {
|
|
2346
|
+
export type PhDocumentFieldsFragment = {
|
|
2244
2347
|
readonly id: string;
|
|
2245
2348
|
readonly slug?: string | null | undefined;
|
|
2246
2349
|
readonly name: string;
|
|
@@ -2253,7 +2356,7 @@ type PhDocumentFieldsFragment = {
|
|
|
2253
2356
|
readonly revision: number;
|
|
2254
2357
|
}>;
|
|
2255
2358
|
};
|
|
2256
|
-
type DocumentRelationshipFieldsFragment = {
|
|
2359
|
+
export type DocumentRelationshipFieldsFragment = {
|
|
2257
2360
|
readonly sourceId: string;
|
|
2258
2361
|
readonly targetId: string;
|
|
2259
2362
|
readonly relationshipType: string;
|
|
@@ -2261,11 +2364,11 @@ type DocumentRelationshipFieldsFragment = {
|
|
|
2261
2364
|
readonly createdAt: string | Date;
|
|
2262
2365
|
readonly updatedAt: string | Date;
|
|
2263
2366
|
};
|
|
2264
|
-
type GetDocumentModelsQueryVariables = Exact<{
|
|
2367
|
+
export type GetDocumentModelsQueryVariables = Exact<{
|
|
2265
2368
|
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
2266
2369
|
paging?: InputMaybe<PagingInput>;
|
|
2267
2370
|
}>;
|
|
2268
|
-
type GetDocumentModelsQuery = {
|
|
2371
|
+
export type GetDocumentModelsQuery = {
|
|
2269
2372
|
readonly documentModels: {
|
|
2270
2373
|
readonly totalCount: number;
|
|
2271
2374
|
readonly hasNextPage: boolean;
|
|
@@ -2280,11 +2383,11 @@ type GetDocumentModelsQuery = {
|
|
|
2280
2383
|
}>;
|
|
2281
2384
|
};
|
|
2282
2385
|
};
|
|
2283
|
-
type GetDocumentQueryVariables = Exact<{
|
|
2386
|
+
export type GetDocumentQueryVariables = Exact<{
|
|
2284
2387
|
identifier: Scalars["String"]["input"];
|
|
2285
2388
|
view?: InputMaybe<ViewFilterInput>;
|
|
2286
2389
|
}>;
|
|
2287
|
-
type GetDocumentQuery = {
|
|
2390
|
+
export type GetDocumentQuery = {
|
|
2288
2391
|
readonly document?: {
|
|
2289
2392
|
readonly childIds: ReadonlyArray<string>;
|
|
2290
2393
|
readonly document: {
|
|
@@ -2302,13 +2405,13 @@ type GetDocumentQuery = {
|
|
|
2302
2405
|
};
|
|
2303
2406
|
} | null | undefined;
|
|
2304
2407
|
};
|
|
2305
|
-
type GetDocumentWithOperationsQueryVariables = Exact<{
|
|
2408
|
+
export type GetDocumentWithOperationsQueryVariables = Exact<{
|
|
2306
2409
|
identifier: Scalars["String"]["input"];
|
|
2307
2410
|
view?: InputMaybe<ViewFilterInput>;
|
|
2308
2411
|
operationsFilter?: InputMaybe<DocumentOperationsFilterInput>;
|
|
2309
2412
|
operationsPaging?: InputMaybe<PagingInput>;
|
|
2310
2413
|
}>;
|
|
2311
|
-
type GetDocumentWithOperationsQuery = {
|
|
2414
|
+
export type GetDocumentWithOperationsQuery = {
|
|
2312
2415
|
readonly document?: {
|
|
2313
2416
|
readonly childIds: ReadonlyArray<string>;
|
|
2314
2417
|
readonly document: {
|
|
@@ -2362,13 +2465,13 @@ type GetDocumentWithOperationsQuery = {
|
|
|
2362
2465
|
};
|
|
2363
2466
|
} | null | undefined;
|
|
2364
2467
|
};
|
|
2365
|
-
type GetDocumentOutgoingRelationshipsQueryVariables = Exact<{
|
|
2468
|
+
export type GetDocumentOutgoingRelationshipsQueryVariables = Exact<{
|
|
2366
2469
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2367
2470
|
relationshipType: Scalars["String"]["input"];
|
|
2368
2471
|
view?: InputMaybe<ViewFilterInput>;
|
|
2369
2472
|
paging?: InputMaybe<PagingInput>;
|
|
2370
2473
|
}>;
|
|
2371
|
-
type GetDocumentOutgoingRelationshipsQuery = {
|
|
2474
|
+
export type GetDocumentOutgoingRelationshipsQuery = {
|
|
2372
2475
|
readonly documentOutgoingRelationships: {
|
|
2373
2476
|
readonly totalCount: number;
|
|
2374
2477
|
readonly hasNextPage: boolean;
|
|
@@ -2389,13 +2492,13 @@ type GetDocumentOutgoingRelationshipsQuery = {
|
|
|
2389
2492
|
}>;
|
|
2390
2493
|
};
|
|
2391
2494
|
};
|
|
2392
|
-
type GetDocumentIncomingRelationshipsQueryVariables = Exact<{
|
|
2495
|
+
export type GetDocumentIncomingRelationshipsQueryVariables = Exact<{
|
|
2393
2496
|
targetIdentifier: Scalars["String"]["input"];
|
|
2394
2497
|
relationshipType: Scalars["String"]["input"];
|
|
2395
2498
|
view?: InputMaybe<ViewFilterInput>;
|
|
2396
2499
|
paging?: InputMaybe<PagingInput>;
|
|
2397
2500
|
}>;
|
|
2398
|
-
type GetDocumentIncomingRelationshipsQuery = {
|
|
2501
|
+
export type GetDocumentIncomingRelationshipsQuery = {
|
|
2399
2502
|
readonly documentIncomingRelationships: {
|
|
2400
2503
|
readonly totalCount: number;
|
|
2401
2504
|
readonly hasNextPage: boolean;
|
|
@@ -2416,13 +2519,13 @@ type GetDocumentIncomingRelationshipsQuery = {
|
|
|
2416
2519
|
}>;
|
|
2417
2520
|
};
|
|
2418
2521
|
};
|
|
2419
|
-
type GetDocumentOutgoingRelationshipEdgesQueryVariables = Exact<{
|
|
2522
|
+
export type GetDocumentOutgoingRelationshipEdgesQueryVariables = Exact<{
|
|
2420
2523
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2421
2524
|
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2422
2525
|
view?: InputMaybe<ViewFilterInput>;
|
|
2423
2526
|
paging?: InputMaybe<PagingInput>;
|
|
2424
2527
|
}>;
|
|
2425
|
-
type GetDocumentOutgoingRelationshipEdgesQuery = {
|
|
2528
|
+
export type GetDocumentOutgoingRelationshipEdgesQuery = {
|
|
2426
2529
|
readonly documentOutgoingRelationshipEdges: {
|
|
2427
2530
|
readonly totalCount: number;
|
|
2428
2531
|
readonly hasNextPage: boolean;
|
|
@@ -2438,13 +2541,13 @@ type GetDocumentOutgoingRelationshipEdgesQuery = {
|
|
|
2438
2541
|
}>;
|
|
2439
2542
|
};
|
|
2440
2543
|
};
|
|
2441
|
-
type GetDocumentIncomingRelationshipEdgesQueryVariables = Exact<{
|
|
2544
|
+
export type GetDocumentIncomingRelationshipEdgesQueryVariables = Exact<{
|
|
2442
2545
|
targetIdentifier: Scalars["String"]["input"];
|
|
2443
2546
|
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2444
2547
|
view?: InputMaybe<ViewFilterInput>;
|
|
2445
2548
|
paging?: InputMaybe<PagingInput>;
|
|
2446
2549
|
}>;
|
|
2447
|
-
type GetDocumentIncomingRelationshipEdgesQuery = {
|
|
2550
|
+
export type GetDocumentIncomingRelationshipEdgesQuery = {
|
|
2448
2551
|
readonly documentIncomingRelationshipEdges: {
|
|
2449
2552
|
readonly totalCount: number;
|
|
2450
2553
|
readonly hasNextPage: boolean;
|
|
@@ -2460,12 +2563,12 @@ type GetDocumentIncomingRelationshipEdgesQuery = {
|
|
|
2460
2563
|
}>;
|
|
2461
2564
|
};
|
|
2462
2565
|
};
|
|
2463
|
-
type FindDocumentsQueryVariables = Exact<{
|
|
2566
|
+
export type FindDocumentsQueryVariables = Exact<{
|
|
2464
2567
|
search?: InputMaybe<SearchFilterInput>;
|
|
2465
2568
|
view?: InputMaybe<ViewFilterInput>;
|
|
2466
2569
|
paging?: InputMaybe<PagingInput>;
|
|
2467
2570
|
}>;
|
|
2468
|
-
type FindDocumentsQuery = {
|
|
2571
|
+
export type FindDocumentsQuery = {
|
|
2469
2572
|
readonly findDocuments: {
|
|
2470
2573
|
readonly totalCount: number;
|
|
2471
2574
|
readonly hasNextPage: boolean;
|
|
@@ -2486,11 +2589,11 @@ type FindDocumentsQuery = {
|
|
|
2486
2589
|
}>;
|
|
2487
2590
|
};
|
|
2488
2591
|
};
|
|
2489
|
-
type GetDocumentOperationsQueryVariables = Exact<{
|
|
2592
|
+
export type GetDocumentOperationsQueryVariables = Exact<{
|
|
2490
2593
|
filter: OperationsFilterInput;
|
|
2491
2594
|
paging?: InputMaybe<PagingInput>;
|
|
2492
2595
|
}>;
|
|
2493
|
-
type GetDocumentOperationsQuery = {
|
|
2596
|
+
export type GetDocumentOperationsQuery = {
|
|
2494
2597
|
readonly documentOperations: {
|
|
2495
2598
|
readonly totalCount: number;
|
|
2496
2599
|
readonly hasNextPage: boolean;
|
|
@@ -2528,10 +2631,10 @@ type GetDocumentOperationsQuery = {
|
|
|
2528
2631
|
}>;
|
|
2529
2632
|
};
|
|
2530
2633
|
};
|
|
2531
|
-
type GetJobStatusQueryVariables = Exact<{
|
|
2634
|
+
export type GetJobStatusQueryVariables = Exact<{
|
|
2532
2635
|
jobId: Scalars["String"]["input"];
|
|
2533
2636
|
}>;
|
|
2534
|
-
type GetJobStatusQuery = {
|
|
2637
|
+
export type GetJobStatusQuery = {
|
|
2535
2638
|
readonly jobStatus?: {
|
|
2536
2639
|
readonly id: string;
|
|
2537
2640
|
readonly status: string;
|
|
@@ -2541,12 +2644,12 @@ type GetJobStatusQuery = {
|
|
|
2541
2644
|
readonly completedAt?: string | Date | null | undefined;
|
|
2542
2645
|
} | null | undefined;
|
|
2543
2646
|
};
|
|
2544
|
-
type EvaluateActionsQueryVariables = Exact<{
|
|
2647
|
+
export type EvaluateActionsQueryVariables = Exact<{
|
|
2545
2648
|
documentIdentifier: Scalars["String"]["input"];
|
|
2546
2649
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2547
2650
|
candidates: ReadonlyArray<ActionCandidateInput>;
|
|
2548
2651
|
}>;
|
|
2549
|
-
type EvaluateActionsQuery = {
|
|
2652
|
+
export type EvaluateActionsQuery = {
|
|
2550
2653
|
readonly evaluateActions: {
|
|
2551
2654
|
readonly allAllowed: boolean;
|
|
2552
2655
|
readonly anyAllowed: boolean;
|
|
@@ -2558,11 +2661,11 @@ type EvaluateActionsQuery = {
|
|
|
2558
2661
|
}>;
|
|
2559
2662
|
};
|
|
2560
2663
|
};
|
|
2561
|
-
type CreateDocumentMutationVariables = Exact<{
|
|
2664
|
+
export type CreateDocumentMutationVariables = Exact<{
|
|
2562
2665
|
document: Scalars["JSONObject"]["input"];
|
|
2563
2666
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
2564
2667
|
}>;
|
|
2565
|
-
type CreateDocumentMutation = {
|
|
2668
|
+
export type CreateDocumentMutation = {
|
|
2566
2669
|
readonly createDocument: {
|
|
2567
2670
|
readonly id: string;
|
|
2568
2671
|
readonly slug?: string | null | undefined;
|
|
@@ -2577,11 +2680,11 @@ type CreateDocumentMutation = {
|
|
|
2577
2680
|
}>;
|
|
2578
2681
|
};
|
|
2579
2682
|
};
|
|
2580
|
-
type CreateEmptyDocumentMutationVariables = Exact<{
|
|
2683
|
+
export type CreateEmptyDocumentMutationVariables = Exact<{
|
|
2581
2684
|
documentType: Scalars["String"]["input"];
|
|
2582
2685
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
2583
2686
|
}>;
|
|
2584
|
-
type CreateEmptyDocumentMutation = {
|
|
2687
|
+
export type CreateEmptyDocumentMutation = {
|
|
2585
2688
|
readonly createEmptyDocument: {
|
|
2586
2689
|
readonly id: string;
|
|
2587
2690
|
readonly slug?: string | null | undefined;
|
|
@@ -2596,12 +2699,12 @@ type CreateEmptyDocumentMutation = {
|
|
|
2596
2699
|
}>;
|
|
2597
2700
|
};
|
|
2598
2701
|
};
|
|
2599
|
-
type MutateDocumentMutationVariables = Exact<{
|
|
2702
|
+
export type MutateDocumentMutationVariables = Exact<{
|
|
2600
2703
|
documentIdentifier: Scalars["String"]["input"];
|
|
2601
2704
|
actions: ReadonlyArray<ActionInput>;
|
|
2602
2705
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2603
2706
|
}>;
|
|
2604
|
-
type MutateDocumentMutation = {
|
|
2707
|
+
export type MutateDocumentMutation = {
|
|
2605
2708
|
readonly mutateDocument: {
|
|
2606
2709
|
readonly id: string;
|
|
2607
2710
|
readonly slug?: string | null | undefined;
|
|
@@ -2616,12 +2719,12 @@ type MutateDocumentMutation = {
|
|
|
2616
2719
|
}>;
|
|
2617
2720
|
};
|
|
2618
2721
|
};
|
|
2619
|
-
type MutateDocumentAsyncMutationVariables = Exact<{
|
|
2722
|
+
export type MutateDocumentAsyncMutationVariables = Exact<{
|
|
2620
2723
|
documentIdentifier: Scalars["String"]["input"];
|
|
2621
2724
|
actions: ReadonlyArray<ActionInput>;
|
|
2622
2725
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2623
2726
|
}>;
|
|
2624
|
-
type MutateDocumentAsyncMutation = {
|
|
2727
|
+
export type MutateDocumentAsyncMutation = {
|
|
2625
2728
|
readonly mutateDocumentAsync: {
|
|
2626
2729
|
readonly id: string;
|
|
2627
2730
|
readonly status: string;
|
|
@@ -2631,12 +2734,12 @@ type MutateDocumentAsyncMutation = {
|
|
|
2631
2734
|
readonly completedAt?: string | Date | null | undefined;
|
|
2632
2735
|
};
|
|
2633
2736
|
};
|
|
2634
|
-
type RenameDocumentMutationVariables = Exact<{
|
|
2737
|
+
export type RenameDocumentMutationVariables = Exact<{
|
|
2635
2738
|
documentIdentifier: Scalars["String"]["input"];
|
|
2636
2739
|
name: Scalars["String"]["input"];
|
|
2637
2740
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2638
2741
|
}>;
|
|
2639
|
-
type RenameDocumentMutation = {
|
|
2742
|
+
export type RenameDocumentMutation = {
|
|
2640
2743
|
readonly renameDocument: {
|
|
2641
2744
|
readonly id: string;
|
|
2642
2745
|
readonly slug?: string | null | undefined;
|
|
@@ -2651,12 +2754,12 @@ type RenameDocumentMutation = {
|
|
|
2651
2754
|
}>;
|
|
2652
2755
|
};
|
|
2653
2756
|
};
|
|
2654
|
-
type SetPreferredEditorMutationVariables = Exact<{
|
|
2757
|
+
export type SetPreferredEditorMutationVariables = Exact<{
|
|
2655
2758
|
documentIdentifier: Scalars["String"]["input"];
|
|
2656
2759
|
preferredEditor?: InputMaybe<Scalars["String"]["input"]>;
|
|
2657
2760
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2658
2761
|
}>;
|
|
2659
|
-
type SetPreferredEditorMutation = {
|
|
2762
|
+
export type SetPreferredEditorMutation = {
|
|
2660
2763
|
readonly setPreferredEditor: {
|
|
2661
2764
|
readonly id: string;
|
|
2662
2765
|
readonly slug?: string | null | undefined;
|
|
@@ -2671,14 +2774,14 @@ type SetPreferredEditorMutation = {
|
|
|
2671
2774
|
}>;
|
|
2672
2775
|
};
|
|
2673
2776
|
};
|
|
2674
|
-
type AddRelationshipMutationVariables = Exact<{
|
|
2777
|
+
export type AddRelationshipMutationVariables = Exact<{
|
|
2675
2778
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2676
2779
|
targetIdentifier: Scalars["String"]["input"];
|
|
2677
2780
|
relationshipType: Scalars["String"]["input"];
|
|
2678
2781
|
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
2679
2782
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2680
2783
|
}>;
|
|
2681
|
-
type AddRelationshipMutation = {
|
|
2784
|
+
export type AddRelationshipMutation = {
|
|
2682
2785
|
readonly addRelationship: {
|
|
2683
2786
|
readonly id: string;
|
|
2684
2787
|
readonly slug?: string | null | undefined;
|
|
@@ -2693,14 +2796,14 @@ type AddRelationshipMutation = {
|
|
|
2693
2796
|
}>;
|
|
2694
2797
|
};
|
|
2695
2798
|
};
|
|
2696
|
-
type UpdateRelationshipMutationVariables = Exact<{
|
|
2799
|
+
export type UpdateRelationshipMutationVariables = Exact<{
|
|
2697
2800
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2698
2801
|
targetIdentifier: Scalars["String"]["input"];
|
|
2699
2802
|
relationshipType: Scalars["String"]["input"];
|
|
2700
2803
|
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
2701
2804
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2702
2805
|
}>;
|
|
2703
|
-
type UpdateRelationshipMutation = {
|
|
2806
|
+
export type UpdateRelationshipMutation = {
|
|
2704
2807
|
readonly updateRelationship: {
|
|
2705
2808
|
readonly id: string;
|
|
2706
2809
|
readonly slug?: string | null | undefined;
|
|
@@ -2715,13 +2818,13 @@ type UpdateRelationshipMutation = {
|
|
|
2715
2818
|
}>;
|
|
2716
2819
|
};
|
|
2717
2820
|
};
|
|
2718
|
-
type RemoveRelationshipMutationVariables = Exact<{
|
|
2821
|
+
export type RemoveRelationshipMutationVariables = Exact<{
|
|
2719
2822
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2720
2823
|
targetIdentifier: Scalars["String"]["input"];
|
|
2721
2824
|
relationshipType: Scalars["String"]["input"];
|
|
2722
2825
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2723
2826
|
}>;
|
|
2724
|
-
type RemoveRelationshipMutation = {
|
|
2827
|
+
export type RemoveRelationshipMutation = {
|
|
2725
2828
|
readonly removeRelationship: {
|
|
2726
2829
|
readonly id: string;
|
|
2727
2830
|
readonly slug?: string | null | undefined;
|
|
@@ -2736,14 +2839,14 @@ type RemoveRelationshipMutation = {
|
|
|
2736
2839
|
}>;
|
|
2737
2840
|
};
|
|
2738
2841
|
};
|
|
2739
|
-
type MoveRelationshipMutationVariables = Exact<{
|
|
2842
|
+
export type MoveRelationshipMutationVariables = Exact<{
|
|
2740
2843
|
sourceParentIdentifier: Scalars["String"]["input"];
|
|
2741
2844
|
targetParentIdentifier: Scalars["String"]["input"];
|
|
2742
2845
|
targetIdentifier: Scalars["String"]["input"];
|
|
2743
2846
|
relationshipType: Scalars["String"]["input"];
|
|
2744
2847
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2745
2848
|
}>;
|
|
2746
|
-
type MoveRelationshipMutation = {
|
|
2849
|
+
export type MoveRelationshipMutation = {
|
|
2747
2850
|
readonly moveRelationship: {
|
|
2748
2851
|
readonly source: {
|
|
2749
2852
|
readonly id: string;
|
|
@@ -2773,25 +2876,25 @@ type MoveRelationshipMutation = {
|
|
|
2773
2876
|
};
|
|
2774
2877
|
};
|
|
2775
2878
|
};
|
|
2776
|
-
type DeleteDocumentMutationVariables = Exact<{
|
|
2879
|
+
export type DeleteDocumentMutationVariables = Exact<{
|
|
2777
2880
|
identifier: Scalars["String"]["input"];
|
|
2778
2881
|
propagate?: InputMaybe<PropagationMode>;
|
|
2779
2882
|
}>;
|
|
2780
|
-
type DeleteDocumentMutation = {
|
|
2883
|
+
export type DeleteDocumentMutation = {
|
|
2781
2884
|
readonly deleteDocument: boolean;
|
|
2782
2885
|
};
|
|
2783
|
-
type DeleteDocumentsMutationVariables = Exact<{
|
|
2886
|
+
export type DeleteDocumentsMutationVariables = Exact<{
|
|
2784
2887
|
identifiers: ReadonlyArray<Scalars["String"]["input"]>;
|
|
2785
2888
|
propagate?: InputMaybe<PropagationMode>;
|
|
2786
2889
|
}>;
|
|
2787
|
-
type DeleteDocumentsMutation = {
|
|
2890
|
+
export type DeleteDocumentsMutation = {
|
|
2788
2891
|
readonly deleteDocuments: boolean;
|
|
2789
2892
|
};
|
|
2790
|
-
type DocumentChangesSubscriptionVariables = Exact<{
|
|
2893
|
+
export type DocumentChangesSubscriptionVariables = Exact<{
|
|
2791
2894
|
search?: InputMaybe<SearchFilterInput>;
|
|
2792
2895
|
view?: InputMaybe<ViewFilterInput>;
|
|
2793
2896
|
}>;
|
|
2794
|
-
type DocumentChangesSubscription = {
|
|
2897
|
+
export type DocumentChangesSubscription = {
|
|
2795
2898
|
readonly documentChanges: {
|
|
2796
2899
|
readonly type: DocumentChangeType;
|
|
2797
2900
|
readonly documents: ReadonlyArray<{
|
|
@@ -2813,10 +2916,10 @@ type DocumentChangesSubscription = {
|
|
|
2813
2916
|
} | null | undefined;
|
|
2814
2917
|
};
|
|
2815
2918
|
};
|
|
2816
|
-
type JobChangesSubscriptionVariables = Exact<{
|
|
2919
|
+
export type JobChangesSubscriptionVariables = Exact<{
|
|
2817
2920
|
jobId: Scalars["String"]["input"];
|
|
2818
2921
|
}>;
|
|
2819
|
-
type JobChangesSubscription = {
|
|
2922
|
+
export type JobChangesSubscription = {
|
|
2820
2923
|
readonly jobChanges: {
|
|
2821
2924
|
readonly jobId: string;
|
|
2822
2925
|
readonly status: string;
|
|
@@ -2824,12 +2927,12 @@ type JobChangesSubscription = {
|
|
|
2824
2927
|
readonly error?: string | null | undefined;
|
|
2825
2928
|
};
|
|
2826
2929
|
};
|
|
2827
|
-
type PollSyncEnvelopesQueryVariables = Exact<{
|
|
2930
|
+
export type PollSyncEnvelopesQueryVariables = Exact<{
|
|
2828
2931
|
channelId: Scalars["String"]["input"];
|
|
2829
2932
|
outboxAck: Scalars["Int"]["input"];
|
|
2830
2933
|
outboxLatest: Scalars["Int"]["input"];
|
|
2831
2934
|
}>;
|
|
2832
|
-
type PollSyncEnvelopesQuery = {
|
|
2935
|
+
export type PollSyncEnvelopesQuery = {
|
|
2833
2936
|
readonly pollSyncEnvelopes: {
|
|
2834
2937
|
readonly ackOrdinal: number;
|
|
2835
2938
|
readonly hasMore: boolean;
|
|
@@ -2891,47 +2994,47 @@ type PollSyncEnvelopesQuery = {
|
|
|
2891
2994
|
}>;
|
|
2892
2995
|
};
|
|
2893
2996
|
};
|
|
2894
|
-
type TouchChannelMutationVariables = Exact<{
|
|
2997
|
+
export type TouchChannelMutationVariables = Exact<{
|
|
2895
2998
|
input: TouchChannelInput;
|
|
2896
2999
|
}>;
|
|
2897
|
-
type TouchChannelMutation = {
|
|
3000
|
+
export type TouchChannelMutation = {
|
|
2898
3001
|
readonly touchChannel: {
|
|
2899
3002
|
readonly success: boolean;
|
|
2900
3003
|
readonly ackOrdinal: number;
|
|
2901
3004
|
};
|
|
2902
3005
|
};
|
|
2903
|
-
type PushSyncEnvelopesMutationVariables = Exact<{
|
|
3006
|
+
export type PushSyncEnvelopesMutationVariables = Exact<{
|
|
2904
3007
|
envelopes: ReadonlyArray<SyncEnvelopeInput>;
|
|
2905
3008
|
}>;
|
|
2906
|
-
type PushSyncEnvelopesMutation = {
|
|
3009
|
+
export type PushSyncEnvelopesMutation = {
|
|
2907
3010
|
readonly pushSyncEnvelopes: boolean;
|
|
2908
3011
|
};
|
|
2909
|
-
type WithIndex<TObject> = TObject & Record<string, any>;
|
|
2910
|
-
type ResolversObject<TObject> = WithIndex<TObject>;
|
|
2911
|
-
type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
2912
|
-
type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
3012
|
+
export type WithIndex<TObject> = TObject & Record<string, any>;
|
|
3013
|
+
export type ResolversObject<TObject> = WithIndex<TObject>;
|
|
3014
|
+
export type ResolverTypeWrapper<T> = Promise<T> | T;
|
|
3015
|
+
export type ResolverWithResolve<TResult, TParent, TContext, TArgs> = {
|
|
2913
3016
|
resolve: ResolverFn<TResult, TParent, TContext, TArgs>;
|
|
2914
3017
|
};
|
|
2915
|
-
type Resolver<TResult, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
2916
|
-
type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
2917
|
-
type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
2918
|
-
type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
2919
|
-
interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
2920
|
-
subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult }, TParent, TContext, TArgs>;
|
|
2921
|
-
resolve?: SubscriptionResolveFn<TResult, { [key in TKey]: TResult }, TContext, TArgs>;
|
|
3018
|
+
export type Resolver<TResult, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = ResolverFn<TResult, TParent, TContext, TArgs> | ResolverWithResolve<TResult, TParent, TContext, TArgs>;
|
|
3019
|
+
export type ResolverFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => Promise<TResult> | TResult;
|
|
3020
|
+
export type SubscriptionSubscribeFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => AsyncIterable<TResult> | Promise<AsyncIterable<TResult>>;
|
|
3021
|
+
export type SubscriptionResolveFn<TResult, TParent, TContext, TArgs> = (parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
3022
|
+
export interface SubscriptionSubscriberObject<TResult, TKey extends string, TParent, TContext, TArgs> {
|
|
3023
|
+
subscribe: SubscriptionSubscribeFn<{ [key in TKey]: TResult; }, TParent, TContext, TArgs>;
|
|
3024
|
+
resolve?: SubscriptionResolveFn<TResult, { [key in TKey]: TResult; }, TContext, TArgs>;
|
|
2922
3025
|
}
|
|
2923
|
-
interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
3026
|
+
export interface SubscriptionResolverObject<TResult, TParent, TContext, TArgs> {
|
|
2924
3027
|
subscribe: SubscriptionSubscribeFn<any, TParent, TContext, TArgs>;
|
|
2925
3028
|
resolve: SubscriptionResolveFn<TResult, any, TContext, TArgs>;
|
|
2926
3029
|
}
|
|
2927
|
-
type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
2928
|
-
type SubscriptionResolver<TResult, TKey extends string, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
2929
|
-
type TypeResolveFn<TTypes, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
2930
|
-
type IsTypeOfResolverFn<T = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
2931
|
-
type NextResolverFn<T> = () => Promise<T>;
|
|
2932
|
-
type DirectiveResolverFn<TResult = Record<PropertyKey, never>, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
3030
|
+
export type SubscriptionObject<TResult, TKey extends string, TParent, TContext, TArgs> = SubscriptionSubscriberObject<TResult, TKey, TParent, TContext, TArgs> | SubscriptionResolverObject<TResult, TParent, TContext, TArgs>;
|
|
3031
|
+
export type SubscriptionResolver<TResult, TKey extends string, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = ((...args: any[]) => SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>) | SubscriptionObject<TResult, TKey, TParent, TContext, TArgs>;
|
|
3032
|
+
export type TypeResolveFn<TTypes, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>> = (parent: TParent, context: TContext, info: GraphQLResolveInfo) => Maybe<TTypes> | Promise<Maybe<TTypes>>;
|
|
3033
|
+
export type IsTypeOfResolverFn<T = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>> = (obj: T, context: TContext, info: GraphQLResolveInfo) => boolean | Promise<boolean>;
|
|
3034
|
+
export type NextResolverFn<T> = () => Promise<T>;
|
|
3035
|
+
export type DirectiveResolverFn<TResult = Record<PropertyKey, never>, TParent = Record<PropertyKey, never>, TContext = Record<PropertyKey, never>, TArgs = Record<PropertyKey, never>> = (next: NextResolverFn<TResult>, parent: TParent, args: TArgs, context: TContext, info: GraphQLResolveInfo) => TResult | Promise<TResult>;
|
|
2933
3036
|
/** Mapping between all available schema types and the resolvers types */
|
|
2934
|
-
type ResolversTypes = ResolversObject<{
|
|
3037
|
+
export type ResolversTypes = ResolversObject<{
|
|
2935
3038
|
Action: ResolverTypeWrapper<Action>;
|
|
2936
3039
|
ActionCandidateInput: ActionCandidateInput;
|
|
2937
3040
|
ActionContext: ResolverTypeWrapper<ActionContext>;
|
|
@@ -2995,7 +3098,7 @@ type ResolversTypes = ResolversObject<{
|
|
|
2995
3098
|
ViewFilterInput: ViewFilterInput;
|
|
2996
3099
|
}>;
|
|
2997
3100
|
/** Mapping between all available schema types and the resolvers parents */
|
|
2998
|
-
type ResolversParentTypes = ResolversObject<{
|
|
3101
|
+
export type ResolversParentTypes = ResolversObject<{
|
|
2999
3102
|
Action: Action;
|
|
3000
3103
|
ActionCandidateInput: ActionCandidateInput;
|
|
3001
3104
|
ActionContext: ActionContext;
|
|
@@ -3054,7 +3157,7 @@ type ResolversParentTypes = ResolversObject<{
|
|
|
3054
3157
|
TouchChannelResult: TouchChannelResult;
|
|
3055
3158
|
ViewFilterInput: ViewFilterInput;
|
|
3056
3159
|
}>;
|
|
3057
|
-
type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Action"] = ResolversParentTypes["Action"]> = ResolversObject<{
|
|
3160
|
+
export type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Action"] = ResolversParentTypes["Action"]> = ResolversObject<{
|
|
3058
3161
|
context?: Resolver<Maybe<ResolversTypes["ActionContext"]>, ParentType, ContextType>;
|
|
3059
3162
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3060
3163
|
input?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
|
|
@@ -3062,27 +3165,27 @@ type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTy
|
|
|
3062
3165
|
timestampUtcMs?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3063
3166
|
type?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3064
3167
|
}>;
|
|
3065
|
-
type ActionContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionContext"] = ResolversParentTypes["ActionContext"]> = ResolversObject<{
|
|
3168
|
+
export type ActionContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionContext"] = ResolversParentTypes["ActionContext"]> = ResolversObject<{
|
|
3066
3169
|
signer?: Resolver<Maybe<ResolversTypes["ReactorSigner"]>, ParentType, ContextType>;
|
|
3067
3170
|
}>;
|
|
3068
|
-
type ActionEvaluationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluation"] = ResolversParentTypes["ActionEvaluation"]> = ResolversObject<{
|
|
3171
|
+
export type ActionEvaluationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluation"] = ResolversParentTypes["ActionEvaluation"]> = ResolversObject<{
|
|
3069
3172
|
decision?: Resolver<ResolversTypes["AuthDecision"], ParentType, ContextType>;
|
|
3070
3173
|
reason?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3071
3174
|
}>;
|
|
3072
|
-
type ActionEvaluationsResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluations"] = ResolversParentTypes["ActionEvaluations"]> = ResolversObject<{
|
|
3175
|
+
export type ActionEvaluationsResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluations"] = ResolversParentTypes["ActionEvaluations"]> = ResolversObject<{
|
|
3073
3176
|
allAllowed?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3074
3177
|
allDenied?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3075
3178
|
anyAllowed?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3076
3179
|
anyDenied?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3077
3180
|
evaluations?: Resolver<ReadonlyArray<ResolversTypes["ActionEvaluation"]>, ParentType, ContextType>;
|
|
3078
3181
|
}>;
|
|
3079
|
-
type ChannelMetaResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ChannelMeta"] = ResolversParentTypes["ChannelMeta"]> = ResolversObject<{
|
|
3182
|
+
export type ChannelMetaResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ChannelMeta"] = ResolversParentTypes["ChannelMeta"]> = ResolversObject<{
|
|
3080
3183
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3081
3184
|
}>;
|
|
3082
|
-
interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes["DateTime"], any> {
|
|
3185
|
+
export interface DateTimeScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes["DateTime"], any> {
|
|
3083
3186
|
name: "DateTime";
|
|
3084
3187
|
}
|
|
3085
|
-
type DeadLetterInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DeadLetterInfo"] = ResolversParentTypes["DeadLetterInfo"]> = ResolversObject<{
|
|
3188
|
+
export type DeadLetterInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DeadLetterInfo"] = ResolversParentTypes["DeadLetterInfo"]> = ResolversObject<{
|
|
3086
3189
|
branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3087
3190
|
documentId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3088
3191
|
error?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -3091,30 +3194,30 @@ type DeadLetterInfoResolvers<ContextType = Context, ParentType extends Resolvers
|
|
|
3091
3194
|
operationCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3092
3195
|
scopes?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3093
3196
|
}>;
|
|
3094
|
-
type DocumentChangeContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentChangeContext"] = ResolversParentTypes["DocumentChangeContext"]> = ResolversObject<{
|
|
3197
|
+
export type DocumentChangeContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentChangeContext"] = ResolversParentTypes["DocumentChangeContext"]> = ResolversObject<{
|
|
3095
3198
|
childId?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3096
3199
|
parentId?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3097
3200
|
}>;
|
|
3098
|
-
type DocumentChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentChangeEvent"] = ResolversParentTypes["DocumentChangeEvent"]> = ResolversObject<{
|
|
3201
|
+
export type DocumentChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentChangeEvent"] = ResolversParentTypes["DocumentChangeEvent"]> = ResolversObject<{
|
|
3099
3202
|
context?: Resolver<Maybe<ResolversTypes["DocumentChangeContext"]>, ParentType, ContextType>;
|
|
3100
3203
|
documents?: Resolver<ReadonlyArray<ResolversTypes["PHDocument"]>, ParentType, ContextType>;
|
|
3101
3204
|
type?: Resolver<ResolversTypes["DocumentChangeType"], ParentType, ContextType>;
|
|
3102
3205
|
}>;
|
|
3103
|
-
type DocumentModelGlobalStateResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentModelGlobalState"] = ResolversParentTypes["DocumentModelGlobalState"]> = ResolversObject<{
|
|
3206
|
+
export type DocumentModelGlobalStateResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentModelGlobalState"] = ResolversParentTypes["DocumentModelGlobalState"]> = ResolversObject<{
|
|
3104
3207
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3105
3208
|
name?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3106
3209
|
namespace?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3107
3210
|
specification?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
|
|
3108
3211
|
version?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3109
3212
|
}>;
|
|
3110
|
-
type DocumentModelResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentModelResultPage"] = ResolversParentTypes["DocumentModelResultPage"]> = ResolversObject<{
|
|
3213
|
+
export type DocumentModelResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentModelResultPage"] = ResolversParentTypes["DocumentModelResultPage"]> = ResolversObject<{
|
|
3111
3214
|
cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3112
3215
|
hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3113
3216
|
hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3114
3217
|
items?: Resolver<ReadonlyArray<ResolversTypes["DocumentModelGlobalState"]>, ParentType, ContextType>;
|
|
3115
3218
|
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3116
3219
|
}>;
|
|
3117
|
-
type DocumentRelationshipResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationship"] = ResolversParentTypes["DocumentRelationship"]> = ResolversObject<{
|
|
3220
|
+
export type DocumentRelationshipResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationship"] = ResolversParentTypes["DocumentRelationship"]> = ResolversObject<{
|
|
3118
3221
|
createdAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3119
3222
|
metadata?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
|
|
3120
3223
|
relationshipType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -3122,27 +3225,27 @@ type DocumentRelationshipResolvers<ContextType = Context, ParentType extends Res
|
|
|
3122
3225
|
targetId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3123
3226
|
updatedAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3124
3227
|
}>;
|
|
3125
|
-
type DocumentRelationshipResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationshipResultPage"] = ResolversParentTypes["DocumentRelationshipResultPage"]> = ResolversObject<{
|
|
3228
|
+
export type DocumentRelationshipResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationshipResultPage"] = ResolversParentTypes["DocumentRelationshipResultPage"]> = ResolversObject<{
|
|
3126
3229
|
cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3127
3230
|
hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3128
3231
|
hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3129
3232
|
items?: Resolver<ReadonlyArray<ResolversTypes["DocumentRelationship"]>, ParentType, ContextType>;
|
|
3130
3233
|
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3131
3234
|
}>;
|
|
3132
|
-
type DocumentWithChildrenResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentWithChildren"] = ResolversParentTypes["DocumentWithChildren"]> = ResolversObject<{
|
|
3235
|
+
export type DocumentWithChildrenResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentWithChildren"] = ResolversParentTypes["DocumentWithChildren"]> = ResolversObject<{
|
|
3133
3236
|
childIds?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3134
3237
|
document?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType>;
|
|
3135
3238
|
}>;
|
|
3136
|
-
interface JsonObjectScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes["JSONObject"], any> {
|
|
3239
|
+
export interface JsonObjectScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes["JSONObject"], any> {
|
|
3137
3240
|
name: "JSONObject";
|
|
3138
3241
|
}
|
|
3139
|
-
type JobChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobChangeEvent"] = ResolversParentTypes["JobChangeEvent"]> = ResolversObject<{
|
|
3242
|
+
export type JobChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobChangeEvent"] = ResolversParentTypes["JobChangeEvent"]> = ResolversObject<{
|
|
3140
3243
|
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3141
3244
|
jobId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3142
3245
|
result?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
|
|
3143
3246
|
status?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3144
3247
|
}>;
|
|
3145
|
-
type JobInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobInfo"] = ResolversParentTypes["JobInfo"]> = ResolversObject<{
|
|
3248
|
+
export type JobInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobInfo"] = ResolversParentTypes["JobInfo"]> = ResolversObject<{
|
|
3146
3249
|
completedAt?: Resolver<Maybe<ResolversTypes["DateTime"]>, ParentType, ContextType>;
|
|
3147
3250
|
createdAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3148
3251
|
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
@@ -3150,11 +3253,11 @@ type JobInfoResolvers<ContextType = Context, ParentType extends ResolversParentT
|
|
|
3150
3253
|
result?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
|
|
3151
3254
|
status?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3152
3255
|
}>;
|
|
3153
|
-
type MoveRelationshipResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["MoveRelationshipResult"] = ResolversParentTypes["MoveRelationshipResult"]> = ResolversObject<{
|
|
3256
|
+
export type MoveRelationshipResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["MoveRelationshipResult"] = ResolversParentTypes["MoveRelationshipResult"]> = ResolversObject<{
|
|
3154
3257
|
source?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType>;
|
|
3155
3258
|
target?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType>;
|
|
3156
3259
|
}>;
|
|
3157
|
-
type MutationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Mutation"] = ResolversParentTypes["Mutation"]> = ResolversObject<{
|
|
3260
|
+
export type MutationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Mutation"] = ResolversParentTypes["Mutation"]> = ResolversObject<{
|
|
3158
3261
|
addRelationship?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationAddRelationshipArgs, "relationshipType" | "sourceIdentifier" | "targetIdentifier">>;
|
|
3159
3262
|
createDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationCreateDocumentArgs, "document">>;
|
|
3160
3263
|
createEmptyDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationCreateEmptyDocumentArgs, "documentType">>;
|
|
@@ -3172,18 +3275,18 @@ type MutationResolvers<ContextType = Context, ParentType extends ResolversParent
|
|
|
3172
3275
|
touchChannel?: Resolver<ResolversTypes["TouchChannelResult"], ParentType, ContextType, RequireFields<MutationTouchChannelArgs, "input">>;
|
|
3173
3276
|
updateRelationship?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationUpdateRelationshipArgs, "relationshipType" | "sourceIdentifier" | "targetIdentifier">>;
|
|
3174
3277
|
}>;
|
|
3175
|
-
type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
|
|
3278
|
+
export type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
|
|
3176
3279
|
branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3177
3280
|
documentId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3178
3281
|
documentType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3179
3282
|
ordinal?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3180
3283
|
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3181
3284
|
}>;
|
|
3182
|
-
type OperationWithContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationWithContext"] = ResolversParentTypes["OperationWithContext"]> = ResolversObject<{
|
|
3285
|
+
export type OperationWithContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationWithContext"] = ResolversParentTypes["OperationWithContext"]> = ResolversObject<{
|
|
3183
3286
|
context?: Resolver<ResolversTypes["OperationContext"], ParentType, ContextType>;
|
|
3184
3287
|
operation?: Resolver<ResolversTypes["ReactorOperation"], ParentType, ContextType>;
|
|
3185
3288
|
}>;
|
|
3186
|
-
type PhDocumentResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocument"] = ResolversParentTypes["PHDocument"]> = ResolversObject<{
|
|
3289
|
+
export type PhDocumentResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocument"] = ResolversParentTypes["PHDocument"]> = ResolversObject<{
|
|
3187
3290
|
createdAtUtcIso?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3188
3291
|
documentType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3189
3292
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -3195,20 +3298,20 @@ type PhDocumentResolvers<ContextType = Context, ParentType extends ResolversPare
|
|
|
3195
3298
|
slug?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3196
3299
|
state?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
|
|
3197
3300
|
}>;
|
|
3198
|
-
type PhDocumentResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocumentResultPage"] = ResolversParentTypes["PHDocumentResultPage"]> = ResolversObject<{
|
|
3301
|
+
export type PhDocumentResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PHDocumentResultPage"] = ResolversParentTypes["PHDocumentResultPage"]> = ResolversObject<{
|
|
3199
3302
|
cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3200
3303
|
hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3201
3304
|
hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3202
3305
|
items?: Resolver<ReadonlyArray<ResolversTypes["PHDocument"]>, ParentType, ContextType>;
|
|
3203
3306
|
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3204
3307
|
}>;
|
|
3205
|
-
type PollSyncEnvelopesResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PollSyncEnvelopesResult"] = ResolversParentTypes["PollSyncEnvelopesResult"]> = ResolversObject<{
|
|
3308
|
+
export type PollSyncEnvelopesResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["PollSyncEnvelopesResult"] = ResolversParentTypes["PollSyncEnvelopesResult"]> = ResolversObject<{
|
|
3206
3309
|
ackOrdinal?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3207
3310
|
deadLetters?: Resolver<ReadonlyArray<ResolversTypes["DeadLetterInfo"]>, ParentType, ContextType>;
|
|
3208
3311
|
envelopes?: Resolver<ReadonlyArray<ResolversTypes["SyncEnvelope"]>, ParentType, ContextType>;
|
|
3209
3312
|
hasMore?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3210
3313
|
}>;
|
|
3211
|
-
type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Query"] = ResolversParentTypes["Query"]> = ResolversObject<{
|
|
3314
|
+
export type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Query"] = ResolversParentTypes["Query"]> = ResolversObject<{
|
|
3212
3315
|
document?: Resolver<Maybe<ResolversTypes["DocumentWithChildren"]>, ParentType, ContextType, RequireFields<QueryDocumentArgs, "identifier">>;
|
|
3213
3316
|
documentIncomingRelationshipEdges?: Resolver<ResolversTypes["DocumentRelationshipResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipEdgesArgs, "targetIdentifier">>;
|
|
3214
3317
|
documentIncomingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipsArgs, "relationshipType" | "targetIdentifier">>;
|
|
@@ -3221,7 +3324,7 @@ type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTyp
|
|
|
3221
3324
|
jobStatus?: Resolver<Maybe<ResolversTypes["JobInfo"]>, ParentType, ContextType, RequireFields<QueryJobStatusArgs, "jobId">>;
|
|
3222
3325
|
pollSyncEnvelopes?: Resolver<ResolversTypes["PollSyncEnvelopesResult"], ParentType, ContextType, RequireFields<QueryPollSyncEnvelopesArgs, "channelId" | "outboxAck" | "outboxLatest">>;
|
|
3223
3326
|
}>;
|
|
3224
|
-
type ReactorOperationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorOperation"] = ResolversParentTypes["ReactorOperation"]> = ResolversObject<{
|
|
3327
|
+
export type ReactorOperationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorOperation"] = ResolversParentTypes["ReactorOperation"]> = ResolversObject<{
|
|
3225
3328
|
action?: Resolver<ResolversTypes["Action"], ParentType, ContextType>;
|
|
3226
3329
|
deniedReason?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3227
3330
|
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
@@ -3231,41 +3334,41 @@ type ReactorOperationResolvers<ContextType = Context, ParentType extends Resolve
|
|
|
3231
3334
|
skip?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3232
3335
|
timestampUtcMs?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3233
3336
|
}>;
|
|
3234
|
-
type ReactorOperationResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorOperationResultPage"] = ResolversParentTypes["ReactorOperationResultPage"]> = ResolversObject<{
|
|
3337
|
+
export type ReactorOperationResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorOperationResultPage"] = ResolversParentTypes["ReactorOperationResultPage"]> = ResolversObject<{
|
|
3235
3338
|
cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3236
3339
|
hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3237
3340
|
hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3238
3341
|
items?: Resolver<ReadonlyArray<ResolversTypes["ReactorOperation"]>, ParentType, ContextType>;
|
|
3239
3342
|
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3240
3343
|
}>;
|
|
3241
|
-
type ReactorSignerResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSigner"] = ResolversParentTypes["ReactorSigner"]> = ResolversObject<{
|
|
3344
|
+
export type ReactorSignerResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSigner"] = ResolversParentTypes["ReactorSigner"]> = ResolversObject<{
|
|
3242
3345
|
app?: Resolver<Maybe<ResolversTypes["ReactorSignerApp"]>, ParentType, ContextType>;
|
|
3243
3346
|
signatures?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3244
3347
|
user?: Resolver<Maybe<ResolversTypes["ReactorSignerUser"]>, ParentType, ContextType>;
|
|
3245
3348
|
}>;
|
|
3246
|
-
type ReactorSignerAppResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerApp"] = ResolversParentTypes["ReactorSignerApp"]> = ResolversObject<{
|
|
3349
|
+
export type ReactorSignerAppResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerApp"] = ResolversParentTypes["ReactorSignerApp"]> = ResolversObject<{
|
|
3247
3350
|
key?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3248
3351
|
name?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3249
3352
|
}>;
|
|
3250
|
-
type ReactorSignerUserResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerUser"] = ResolversParentTypes["ReactorSignerUser"]> = ResolversObject<{
|
|
3353
|
+
export type ReactorSignerUserResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ReactorSignerUser"] = ResolversParentTypes["ReactorSignerUser"]> = ResolversObject<{
|
|
3251
3354
|
address?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3252
3355
|
chainId?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3253
3356
|
networkId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3254
3357
|
}>;
|
|
3255
|
-
type RemoteCursorResolvers<ContextType = Context, ParentType extends ResolversParentTypes["RemoteCursor"] = ResolversParentTypes["RemoteCursor"]> = ResolversObject<{
|
|
3358
|
+
export type RemoteCursorResolvers<ContextType = Context, ParentType extends ResolversParentTypes["RemoteCursor"] = ResolversParentTypes["RemoteCursor"]> = ResolversObject<{
|
|
3256
3359
|
cursorOrdinal?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3257
3360
|
lastSyncedAtUtcMs?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3258
3361
|
remoteName?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3259
3362
|
}>;
|
|
3260
|
-
type RevisionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Revision"] = ResolversParentTypes["Revision"]> = ResolversObject<{
|
|
3363
|
+
export type RevisionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Revision"] = ResolversParentTypes["Revision"]> = ResolversObject<{
|
|
3261
3364
|
revision?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3262
3365
|
scope?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3263
3366
|
}>;
|
|
3264
|
-
type SubscriptionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Subscription"] = ResolversParentTypes["Subscription"]> = ResolversObject<{
|
|
3367
|
+
export type SubscriptionResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Subscription"] = ResolversParentTypes["Subscription"]> = ResolversObject<{
|
|
3265
3368
|
documentChanges?: SubscriptionResolver<ResolversTypes["DocumentChangeEvent"], "documentChanges", ParentType, ContextType, Partial<SubscriptionDocumentChangesArgs>>;
|
|
3266
3369
|
jobChanges?: SubscriptionResolver<ResolversTypes["JobChangeEvent"], "jobChanges", ParentType, ContextType, RequireFields<SubscriptionJobChangesArgs, "jobId">>;
|
|
3267
3370
|
}>;
|
|
3268
|
-
type SyncEnvelopeResolvers<ContextType = Context, ParentType extends ResolversParentTypes["SyncEnvelope"] = ResolversParentTypes["SyncEnvelope"]> = ResolversObject<{
|
|
3371
|
+
export type SyncEnvelopeResolvers<ContextType = Context, ParentType extends ResolversParentTypes["SyncEnvelope"] = ResolversParentTypes["SyncEnvelope"]> = ResolversObject<{
|
|
3269
3372
|
channelMeta?: Resolver<ResolversTypes["ChannelMeta"], ParentType, ContextType>;
|
|
3270
3373
|
cursor?: Resolver<Maybe<ResolversTypes["RemoteCursor"]>, ParentType, ContextType>;
|
|
3271
3374
|
dependsOn?: Resolver<Maybe<ReadonlyArray<ResolversTypes["String"]>>, ParentType, ContextType>;
|
|
@@ -3273,11 +3376,11 @@ type SyncEnvelopeResolvers<ContextType = Context, ParentType extends ResolversPa
|
|
|
3273
3376
|
operations?: Resolver<Maybe<ReadonlyArray<ResolversTypes["OperationWithContext"]>>, ParentType, ContextType>;
|
|
3274
3377
|
type?: Resolver<ResolversTypes["SyncEnvelopeType"], ParentType, ContextType>;
|
|
3275
3378
|
}>;
|
|
3276
|
-
type TouchChannelResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["TouchChannelResult"] = ResolversParentTypes["TouchChannelResult"]> = ResolversObject<{
|
|
3379
|
+
export type TouchChannelResultResolvers<ContextType = Context, ParentType extends ResolversParentTypes["TouchChannelResult"] = ResolversParentTypes["TouchChannelResult"]> = ResolversObject<{
|
|
3277
3380
|
ackOrdinal?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3278
3381
|
success?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3279
3382
|
}>;
|
|
3280
|
-
type Resolvers<ContextType = Context> = ResolversObject<{
|
|
3383
|
+
export type Resolvers<ContextType = Context> = ResolversObject<{
|
|
3281
3384
|
Action?: ActionResolvers<ContextType>;
|
|
3282
3385
|
ActionContext?: ActionContextResolvers<ContextType>;
|
|
3283
3386
|
ActionEvaluation?: ActionEvaluationResolvers<ContextType>;
|
|
@@ -3314,65 +3417,65 @@ type Resolvers<ContextType = Context> = ResolversObject<{
|
|
|
3314
3417
|
SyncEnvelope?: SyncEnvelopeResolvers<ContextType>;
|
|
3315
3418
|
TouchChannelResult?: TouchChannelResultResolvers<ContextType>;
|
|
3316
3419
|
}>;
|
|
3317
|
-
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]
|
|
3420
|
+
type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]>; }>;
|
|
3318
3421
|
type definedNonNullAny = {};
|
|
3319
|
-
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
3320
|
-
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
3321
|
-
declare const AuthDecisionSchema: z$1.ZodEnum<typeof AuthDecision>;
|
|
3322
|
-
declare const DocumentChangeTypeSchema: z$1.ZodEnum<typeof DocumentChangeType>;
|
|
3323
|
-
declare const PropagationModeSchema: z$1.ZodEnum<typeof PropagationMode>;
|
|
3324
|
-
declare const SyncEnvelopeTypeSchema: z$1.ZodEnum<typeof SyncEnvelopeType>;
|
|
3325
|
-
declare function ActionCandidateInputSchema(): z$1.ZodObject<Properties<ActionCandidateInput>>;
|
|
3326
|
-
declare function ActionContextInputSchema(): z$1.ZodObject<Properties<ActionContextInput>>;
|
|
3327
|
-
declare function ActionInputSchema(): z$1.ZodObject<Properties<ActionInput>>;
|
|
3328
|
-
declare function ChannelMetaInputSchema(): z$1.ZodObject<Properties<ChannelMetaInput>>;
|
|
3329
|
-
declare function DocumentOperationsFilterInputSchema(): z$1.ZodObject<Properties<DocumentOperationsFilterInput>>;
|
|
3330
|
-
declare function OperationContextInputSchema(): z$1.ZodObject<Properties<OperationContextInput>>;
|
|
3331
|
-
declare function OperationInputSchema(): z$1.ZodObject<Properties<OperationInput>>;
|
|
3332
|
-
declare function OperationWithContextInputSchema(): z$1.ZodObject<Properties<OperationWithContextInput>>;
|
|
3333
|
-
declare function OperationsFilterInputSchema(): z$1.ZodObject<Properties<OperationsFilterInput>>;
|
|
3334
|
-
declare function PagingInputSchema(): z$1.ZodObject<Properties<PagingInput>>;
|
|
3335
|
-
declare function ReactorSignerAppInputSchema(): z$1.ZodObject<Properties<ReactorSignerAppInput>>;
|
|
3336
|
-
declare function ReactorSignerInputSchema(): z$1.ZodObject<Properties<ReactorSignerInput>>;
|
|
3337
|
-
declare function ReactorSignerUserInputSchema(): z$1.ZodObject<Properties<ReactorSignerUserInput>>;
|
|
3338
|
-
declare function RemoteCursorInputSchema(): z$1.ZodObject<Properties<RemoteCursorInput>>;
|
|
3339
|
-
declare function RemoteFilterInputSchema(): z$1.ZodObject<Properties<RemoteFilterInput>>;
|
|
3340
|
-
declare function SearchFilterInputSchema(): z$1.ZodObject<Properties<SearchFilterInput>>;
|
|
3341
|
-
declare function SyncEnvelopeInputSchema(): z$1.ZodObject<Properties<SyncEnvelopeInput>>;
|
|
3342
|
-
declare function TouchChannelInputSchema(): z$1.ZodObject<Properties<TouchChannelInput>>;
|
|
3343
|
-
declare function ViewFilterInputSchema(): z$1.ZodObject<Properties<ViewFilterInput>>;
|
|
3344
|
-
declare const PhDocumentFieldsFragmentDoc: DocumentNode;
|
|
3345
|
-
declare const DocumentRelationshipFieldsFragmentDoc: DocumentNode;
|
|
3346
|
-
declare const GetDocumentModelsDocument: DocumentNode;
|
|
3347
|
-
declare const GetDocumentDocument: DocumentNode;
|
|
3348
|
-
declare const GetDocumentWithOperationsDocument: DocumentNode;
|
|
3349
|
-
declare const GetDocumentOutgoingRelationshipsDocument: DocumentNode;
|
|
3350
|
-
declare const GetDocumentIncomingRelationshipsDocument: DocumentNode;
|
|
3351
|
-
declare const GetDocumentOutgoingRelationshipEdgesDocument: DocumentNode;
|
|
3352
|
-
declare const GetDocumentIncomingRelationshipEdgesDocument: DocumentNode;
|
|
3353
|
-
declare const FindDocumentsDocument: DocumentNode;
|
|
3354
|
-
declare const GetDocumentOperationsDocument: DocumentNode;
|
|
3355
|
-
declare const GetJobStatusDocument: DocumentNode;
|
|
3356
|
-
declare const EvaluateActionsDocument: DocumentNode;
|
|
3357
|
-
declare const CreateDocumentDocument: DocumentNode;
|
|
3358
|
-
declare const CreateEmptyDocumentDocument: DocumentNode;
|
|
3359
|
-
declare const MutateDocumentDocument: DocumentNode;
|
|
3360
|
-
declare const MutateDocumentAsyncDocument: DocumentNode;
|
|
3361
|
-
declare const RenameDocumentDocument: DocumentNode;
|
|
3362
|
-
declare const SetPreferredEditorDocument: DocumentNode;
|
|
3363
|
-
declare const AddRelationshipDocument: DocumentNode;
|
|
3364
|
-
declare const UpdateRelationshipDocument: DocumentNode;
|
|
3365
|
-
declare const RemoveRelationshipDocument: DocumentNode;
|
|
3366
|
-
declare const MoveRelationshipDocument: DocumentNode;
|
|
3367
|
-
declare const DeleteDocumentDocument: DocumentNode;
|
|
3368
|
-
declare const DeleteDocumentsDocument: DocumentNode;
|
|
3369
|
-
declare const DocumentChangesDocument: DocumentNode;
|
|
3370
|
-
declare const JobChangesDocument: DocumentNode;
|
|
3371
|
-
declare const PollSyncEnvelopesDocument: DocumentNode;
|
|
3372
|
-
declare const TouchChannelDocument: DocumentNode;
|
|
3373
|
-
declare const PushSyncEnvelopesDocument: DocumentNode;
|
|
3374
|
-
type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
3375
|
-
declare function getSdk<C>(requester: Requester<C>): {
|
|
3422
|
+
export declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
3423
|
+
export declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
3424
|
+
export declare const AuthDecisionSchema: z$1.ZodEnum<typeof AuthDecision>;
|
|
3425
|
+
export declare const DocumentChangeTypeSchema: z$1.ZodEnum<typeof DocumentChangeType>;
|
|
3426
|
+
export declare const PropagationModeSchema: z$1.ZodEnum<typeof PropagationMode>;
|
|
3427
|
+
export declare const SyncEnvelopeTypeSchema: z$1.ZodEnum<typeof SyncEnvelopeType>;
|
|
3428
|
+
export declare function ActionCandidateInputSchema(): z$1.ZodObject<Properties<ActionCandidateInput>>;
|
|
3429
|
+
export declare function ActionContextInputSchema(): z$1.ZodObject<Properties<ActionContextInput>>;
|
|
3430
|
+
export declare function ActionInputSchema(): z$1.ZodObject<Properties<ActionInput>>;
|
|
3431
|
+
export declare function ChannelMetaInputSchema(): z$1.ZodObject<Properties<ChannelMetaInput>>;
|
|
3432
|
+
export declare function DocumentOperationsFilterInputSchema(): z$1.ZodObject<Properties<DocumentOperationsFilterInput>>;
|
|
3433
|
+
export declare function OperationContextInputSchema(): z$1.ZodObject<Properties<OperationContextInput>>;
|
|
3434
|
+
export declare function OperationInputSchema(): z$1.ZodObject<Properties<OperationInput>>;
|
|
3435
|
+
export declare function OperationWithContextInputSchema(): z$1.ZodObject<Properties<OperationWithContextInput>>;
|
|
3436
|
+
export declare function OperationsFilterInputSchema(): z$1.ZodObject<Properties<OperationsFilterInput>>;
|
|
3437
|
+
export declare function PagingInputSchema(): z$1.ZodObject<Properties<PagingInput>>;
|
|
3438
|
+
export declare function ReactorSignerAppInputSchema(): z$1.ZodObject<Properties<ReactorSignerAppInput>>;
|
|
3439
|
+
export declare function ReactorSignerInputSchema(): z$1.ZodObject<Properties<ReactorSignerInput>>;
|
|
3440
|
+
export declare function ReactorSignerUserInputSchema(): z$1.ZodObject<Properties<ReactorSignerUserInput>>;
|
|
3441
|
+
export declare function RemoteCursorInputSchema(): z$1.ZodObject<Properties<RemoteCursorInput>>;
|
|
3442
|
+
export declare function RemoteFilterInputSchema(): z$1.ZodObject<Properties<RemoteFilterInput>>;
|
|
3443
|
+
export declare function SearchFilterInputSchema(): z$1.ZodObject<Properties<SearchFilterInput>>;
|
|
3444
|
+
export declare function SyncEnvelopeInputSchema(): z$1.ZodObject<Properties<SyncEnvelopeInput>>;
|
|
3445
|
+
export declare function TouchChannelInputSchema(): z$1.ZodObject<Properties<TouchChannelInput>>;
|
|
3446
|
+
export declare function ViewFilterInputSchema(): z$1.ZodObject<Properties<ViewFilterInput>>;
|
|
3447
|
+
export declare const PhDocumentFieldsFragmentDoc: DocumentNode;
|
|
3448
|
+
export declare const DocumentRelationshipFieldsFragmentDoc: DocumentNode;
|
|
3449
|
+
export declare const GetDocumentModelsDocument: DocumentNode;
|
|
3450
|
+
export declare const GetDocumentDocument: DocumentNode;
|
|
3451
|
+
export declare const GetDocumentWithOperationsDocument: DocumentNode;
|
|
3452
|
+
export declare const GetDocumentOutgoingRelationshipsDocument: DocumentNode;
|
|
3453
|
+
export declare const GetDocumentIncomingRelationshipsDocument: DocumentNode;
|
|
3454
|
+
export declare const GetDocumentOutgoingRelationshipEdgesDocument: DocumentNode;
|
|
3455
|
+
export declare const GetDocumentIncomingRelationshipEdgesDocument: DocumentNode;
|
|
3456
|
+
export declare const FindDocumentsDocument: DocumentNode;
|
|
3457
|
+
export declare const GetDocumentOperationsDocument: DocumentNode;
|
|
3458
|
+
export declare const GetJobStatusDocument: DocumentNode;
|
|
3459
|
+
export declare const EvaluateActionsDocument: DocumentNode;
|
|
3460
|
+
export declare const CreateDocumentDocument: DocumentNode;
|
|
3461
|
+
export declare const CreateEmptyDocumentDocument: DocumentNode;
|
|
3462
|
+
export declare const MutateDocumentDocument: DocumentNode;
|
|
3463
|
+
export declare const MutateDocumentAsyncDocument: DocumentNode;
|
|
3464
|
+
export declare const RenameDocumentDocument: DocumentNode;
|
|
3465
|
+
export declare const SetPreferredEditorDocument: DocumentNode;
|
|
3466
|
+
export declare const AddRelationshipDocument: DocumentNode;
|
|
3467
|
+
export declare const UpdateRelationshipDocument: DocumentNode;
|
|
3468
|
+
export declare const RemoveRelationshipDocument: DocumentNode;
|
|
3469
|
+
export declare const MoveRelationshipDocument: DocumentNode;
|
|
3470
|
+
export declare const DeleteDocumentDocument: DocumentNode;
|
|
3471
|
+
export declare const DeleteDocumentsDocument: DocumentNode;
|
|
3472
|
+
export declare const DocumentChangesDocument: DocumentNode;
|
|
3473
|
+
export declare const JobChangesDocument: DocumentNode;
|
|
3474
|
+
export declare const PollSyncEnvelopesDocument: DocumentNode;
|
|
3475
|
+
export declare const TouchChannelDocument: DocumentNode;
|
|
3476
|
+
export declare const PushSyncEnvelopesDocument: DocumentNode;
|
|
3477
|
+
export type Requester<C = {}> = <R, V>(doc: DocumentNode, vars?: V, options?: C) => Promise<R> | AsyncIterable<R>;
|
|
3478
|
+
export declare function getSdk<C>(requester: Requester<C>): {
|
|
3376
3479
|
GetDocumentModels(variables?: GetDocumentModelsQueryVariables, options?: C): Promise<GetDocumentModelsQuery>;
|
|
3377
3480
|
GetDocument(variables: GetDocumentQueryVariables, options?: C): Promise<GetDocumentQuery>;
|
|
3378
3481
|
GetDocumentWithOperations(variables: GetDocumentWithOperationsQueryVariables, options?: C): Promise<GetDocumentWithOperationsQuery>;
|
|
@@ -3402,13 +3505,13 @@ declare function getSdk<C>(requester: Requester<C>): {
|
|
|
3402
3505
|
TouchChannel(variables: TouchChannelMutationVariables, options?: C): Promise<TouchChannelMutation>;
|
|
3403
3506
|
PushSyncEnvelopes(variables: PushSyncEnvelopesMutationVariables, options?: C): Promise<PushSyncEnvelopesMutation>;
|
|
3404
3507
|
};
|
|
3405
|
-
type Sdk = ReturnType<typeof getSdk>;
|
|
3508
|
+
export type Sdk = ReturnType<typeof getSdk>;
|
|
3406
3509
|
//#endregion
|
|
3407
3510
|
//#region src/graphql/reactor/requester.d.ts
|
|
3408
3511
|
type FetchLike = (input: URL | string, init: RequestInit) => Promise<Response>;
|
|
3409
3512
|
//#endregion
|
|
3410
3513
|
//#region src/graphql/reactor/factory.d.ts
|
|
3411
|
-
declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike, headers?: Record<string, string>): {
|
|
3514
|
+
export declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike, headers?: Record<string, string>): {
|
|
3412
3515
|
GetDocumentModels(variables?: Exact<{
|
|
3413
3516
|
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
3414
3517
|
paging?: InputMaybe<PagingInput>;
|
|
@@ -3548,7 +3651,7 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
|
|
|
3548
3651
|
};
|
|
3549
3652
|
//#endregion
|
|
3550
3653
|
//#region src/graphql/reactor/subgraph.d.ts
|
|
3551
|
-
declare class ReactorSubgraph extends BaseSubgraph {
|
|
3654
|
+
export declare class ReactorSubgraph extends BaseSubgraph {
|
|
3552
3655
|
#private;
|
|
3553
3656
|
private logger;
|
|
3554
3657
|
constructor(args: SubgraphArgs);
|
|
@@ -3580,19 +3683,19 @@ declare class ReactorSubgraph extends BaseSubgraph {
|
|
|
3580
3683
|
* the caller was not allowed to see.
|
|
3581
3684
|
*/
|
|
3582
3685
|
private servedPage;
|
|
3583
|
-
typeDefs: graphql.DocumentNode;
|
|
3686
|
+
typeDefs: import("graphql").DocumentNode;
|
|
3584
3687
|
resolvers: Resolvers;
|
|
3585
3688
|
onSetup(): Promise<void>;
|
|
3586
3689
|
}
|
|
3587
3690
|
//#endregion
|
|
3588
3691
|
//#region src/graphql/system/env/index.d.ts
|
|
3589
|
-
declare const ADMIN_USERS: string[];
|
|
3692
|
+
export declare const ADMIN_USERS: string[];
|
|
3590
3693
|
//#endregion
|
|
3591
3694
|
//#region src/graphql/system/subgraph.d.ts
|
|
3592
|
-
declare class SystemSubgraph extends BaseSubgraph {
|
|
3695
|
+
export declare class SystemSubgraph extends BaseSubgraph {
|
|
3593
3696
|
name: string;
|
|
3594
3697
|
hasSubscriptions: boolean;
|
|
3595
|
-
typeDefs: graphql.DocumentNode;
|
|
3698
|
+
typeDefs: import("graphql").DocumentNode;
|
|
3596
3699
|
resolvers: {
|
|
3597
3700
|
Query: {
|
|
3598
3701
|
system: () => {
|
|
@@ -3605,24 +3708,24 @@ declare class SystemSubgraph extends BaseSubgraph {
|
|
|
3605
3708
|
}
|
|
3606
3709
|
//#endregion
|
|
3607
3710
|
//#region src/graphql/system/version.d.ts
|
|
3608
|
-
declare function getVersion(): string;
|
|
3609
|
-
declare function getGitHash(): string;
|
|
3610
|
-
declare function getGitUrl(): string | null;
|
|
3711
|
+
export declare function getVersion(): string;
|
|
3712
|
+
export declare function getGitHash(): string;
|
|
3713
|
+
export declare function getGitUrl(): string | null;
|
|
3611
3714
|
//#endregion
|
|
3612
3715
|
//#region src/graphql/utils.d.ts
|
|
3613
|
-
declare function isSubgraphClass(candidate: unknown): candidate is SubgraphClass$1;
|
|
3614
|
-
declare function buildGraphqlOperations(operations: Operation[], skip: number, first: number): GqlOperation$1[];
|
|
3615
|
-
declare function buildGraphqlOperation(operation: Operation): GqlOperation$1;
|
|
3616
|
-
declare function buildGraphQlDocument(doc: PHDocument): GqlDocument$1;
|
|
3617
|
-
declare function buildGraphQlDriveDocument(doc: DocumentDriveDocument): GqlDriveDocument$1;
|
|
3716
|
+
export declare function isSubgraphClass(candidate: unknown): candidate is SubgraphClass$1;
|
|
3717
|
+
export declare function buildGraphqlOperations(operations: Operation[], skip: number, first: number): GqlOperation$1[];
|
|
3718
|
+
export declare function buildGraphqlOperation(operation: Operation): GqlOperation$1;
|
|
3719
|
+
export declare function buildGraphQlDocument(doc: PHDocument): GqlDocument$1;
|
|
3720
|
+
export declare function buildGraphQlDriveDocument(doc: DocumentDriveDocument): GqlDriveDocument$1;
|
|
3618
3721
|
//#endregion
|
|
3619
3722
|
//#region src/graphql/errors.d.ts
|
|
3620
3723
|
/** Caller (authenticated or anonymous) lacks permission for the document. */
|
|
3621
|
-
declare class ForbiddenError extends GraphQLError {
|
|
3724
|
+
export declare class ForbiddenError extends GraphQLError {
|
|
3622
3725
|
constructor(detail?: string);
|
|
3623
3726
|
}
|
|
3624
3727
|
/** Anonymous caller on an action that requires logging in. */
|
|
3625
|
-
declare class AuthenticationRequiredError extends GraphQLError {
|
|
3728
|
+
export declare class AuthenticationRequiredError extends GraphQLError {
|
|
3626
3729
|
constructor(detail?: string);
|
|
3627
3730
|
}
|
|
3628
3731
|
/**
|
|
@@ -3635,7 +3738,7 @@ declare class AuthenticationRequiredError extends GraphQLError {
|
|
|
3635
3738
|
* switchboard running without authEnforcement. The code is what a client
|
|
3636
3739
|
* branches on, since the message is not a contract.
|
|
3637
3740
|
*/
|
|
3638
|
-
declare class AuthEvaluationUnsupportedError extends GraphQLError {
|
|
3741
|
+
export declare class AuthEvaluationUnsupportedError extends GraphQLError {
|
|
3639
3742
|
constructor();
|
|
3640
3743
|
}
|
|
3641
3744
|
/**
|
|
@@ -3657,7 +3760,7 @@ declare class AuthEvaluationUnsupportedError extends GraphQLError {
|
|
|
3657
3760
|
* those too. The code is what a client branches on, since the message is not a
|
|
3658
3761
|
* contract.
|
|
3659
3762
|
*/
|
|
3660
|
-
declare class MalformedStoredOperationError extends GraphQLError {
|
|
3763
|
+
export declare class MalformedStoredOperationError extends GraphQLError {
|
|
3661
3764
|
constructor(detail: string);
|
|
3662
3765
|
}
|
|
3663
3766
|
//#endregion
|
|
@@ -3665,7 +3768,7 @@ declare class MalformedStoredOperationError extends GraphQLError {
|
|
|
3665
3768
|
/**
|
|
3666
3769
|
* This class is used to load packages using the import keyword.
|
|
3667
3770
|
*/
|
|
3668
|
-
declare class ImportPackageLoader implements IPackageLoader {
|
|
3771
|
+
export declare class ImportPackageLoader implements IPackageLoader {
|
|
3669
3772
|
private readonly logger;
|
|
3670
3773
|
readonly name = "ImportPackageLoader";
|
|
3671
3774
|
private readonly reportedUnbuilt;
|
|
@@ -3690,10 +3793,10 @@ declare class ImportPackageLoader implements IPackageLoader {
|
|
|
3690
3793
|
* either bare (`'pkg'`) or as a subpath (`'pkg/subgraphs'`), since loaders
|
|
3691
3794
|
* import sub-entries like `${pkg}/subgraphs` / `${pkg}/document-models`.
|
|
3692
3795
|
*/
|
|
3693
|
-
declare function isExpectedLoaderMiss(error: unknown, pkg: string, subPath?: string): boolean;
|
|
3694
|
-
declare function getUniqueDocumentModels(...documentModels: readonly (readonly DocumentModelModule<any>[])[]): DocumentModelModule[];
|
|
3695
|
-
declare function getUniqueUpgradeManifests(...upgradeManifests: readonly (readonly UpgradeManifest<readonly number[]>[])[]): UpgradeManifest<readonly number[]>[];
|
|
3696
|
-
declare class PackageManager implements IPackageManager {
|
|
3796
|
+
export declare function isExpectedLoaderMiss(error: unknown, pkg: string, subPath?: string): boolean;
|
|
3797
|
+
export declare function getUniqueDocumentModels(...documentModels: readonly (readonly DocumentModelModule<any>[])[]): DocumentModelModule[];
|
|
3798
|
+
export declare function getUniqueUpgradeManifests(...upgradeManifests: readonly (readonly UpgradeManifest<readonly number[]>[])[]): UpgradeManifest<readonly number[]>[];
|
|
3799
|
+
export declare class PackageManager implements IPackageManager {
|
|
3697
3800
|
protected options: IPackageManagerOptions;
|
|
3698
3801
|
private readonly logger;
|
|
3699
3802
|
private loaders;
|
|
@@ -3748,23 +3851,23 @@ declare class PackageManager implements IPackageManager {
|
|
|
3748
3851
|
//#region src/services/renown-config.d.ts
|
|
3749
3852
|
/** Where the credential check reads from: a remote Renown or Switchboard
|
|
3750
3853
|
* instance, or this switchboard's own renown read model. */
|
|
3751
|
-
type RenownSource = NonNullable<PHReactorRenown["source"]>;
|
|
3854
|
+
export type RenownSource = NonNullable<PHReactorRenown["source"]>;
|
|
3752
3855
|
/** The `auth.renown` config block: which Renown instance to authenticate
|
|
3753
3856
|
* against, before env overrides are applied. */
|
|
3754
|
-
type RenownConfig = PHReactorRenown;
|
|
3857
|
+
export type RenownConfig = PHReactorRenown;
|
|
3755
3858
|
/** Resolved renown coordinates. `url` also drives this reactor's own identity,
|
|
3756
3859
|
* so it stays meaningful when `source` is "self". */
|
|
3757
|
-
type ResolvedRenownConfig = {
|
|
3860
|
+
export type ResolvedRenownConfig = {
|
|
3758
3861
|
source: RenownSource;
|
|
3759
3862
|
url: string | undefined;
|
|
3760
3863
|
switchboardUrl: string | undefined;
|
|
3761
3864
|
};
|
|
3762
3865
|
/** Reading credentials from this reactor's own read model needs a host-supplied
|
|
3763
3866
|
* verifier: core has no idea which subgraph serves that read model. */
|
|
3764
|
-
declare function assertCredentialVerifierForSource(source: RenownSource, hasVerifier: boolean): void;
|
|
3867
|
+
export declare function assertCredentialVerifierForSource(source: RenownSource, hasVerifier: boolean): void;
|
|
3765
3868
|
/** Resolve `auth.renown`; RENOWN_SOURCE / RENOWN_URL / SWITCHBOARD_URL win
|
|
3766
3869
|
* over the config file, which wins over the SDK defaults. */
|
|
3767
|
-
declare function resolveRenownConfig(configured: RenownConfig | undefined, env: NodeJS.ProcessEnv, logger: ILogger): ResolvedRenownConfig;
|
|
3870
|
+
export declare function resolveRenownConfig(configured: RenownConfig | undefined, env: NodeJS.ProcessEnv, logger: ILogger): ResolvedRenownConfig;
|
|
3768
3871
|
//#endregion
|
|
3769
3872
|
//#region src/server.d.ts
|
|
3770
3873
|
type Options = {
|
|
@@ -3797,6 +3900,12 @@ type Options = {
|
|
|
3797
3900
|
* comma-separated list. Each entry is a hole in the floor: only ever name
|
|
3798
3901
|
* a path serving operations that are safe without a caller. */
|
|
3799
3902
|
requireAuthenticatedCallerExemptPaths?: string[];
|
|
3903
|
+
/** Decide an attachment read with the referencing document's own policy
|
|
3904
|
+
* instead of the host permission tables. Off by default;
|
|
3905
|
+
* `ATTACHMENT_READS_FOLLOW_DOCUMENT_POLICY` overrides. Requires auth
|
|
3906
|
+
* enforcement, which is what supplies the model — refused at boot
|
|
3907
|
+
* without it. */
|
|
3908
|
+
attachmentReadsFollowDocumentPolicy?: boolean;
|
|
3800
3909
|
};
|
|
3801
3910
|
/** Renown coordinates the host already resolved, used verbatim instead of
|
|
3802
3911
|
* resolving `auth.renown` and the env again (which would warn twice). */
|
|
@@ -3834,13 +3943,13 @@ type ProcessorInitializer = ProcessorFactoryBuilder;
|
|
|
3834
3943
|
* Doc-perms require auth: with auth off no `user` is ever resolved, so every
|
|
3835
3944
|
* authorization check fails closed. Refuse to boot rather than run broken.
|
|
3836
3945
|
*/
|
|
3837
|
-
declare function assertAuthRequiredForDocumentPermissions(authEnabled: boolean, documentPermissionsRequested: boolean): void;
|
|
3946
|
+
export declare function assertAuthRequiredForDocumentPermissions(authEnabled: boolean, documentPermissionsRequested: boolean): void;
|
|
3838
3947
|
/**
|
|
3839
3948
|
* Refuses SKIP_CREDENTIAL_VERIFICATION at boot outside tests or an explicit
|
|
3840
3949
|
* opt-in: it removes the only binding between a token's claimed address and its
|
|
3841
3950
|
* signing key. Fail-closed — unset NODE_ENV counts as production.
|
|
3842
3951
|
*/
|
|
3843
|
-
declare function assertSkipCredentialVerificationAllowed(resolvesCallerIdentity: boolean, skipCredentialVerification: boolean, env: NodeJS.ProcessEnv): void;
|
|
3952
|
+
export declare function assertSkipCredentialVerificationAllowed(resolvesCallerIdentity: boolean, skipCredentialVerification: boolean, env: NodeJS.ProcessEnv): void;
|
|
3844
3953
|
/**
|
|
3845
3954
|
* Requiring an authenticated caller requires identity resolution to exist at
|
|
3846
3955
|
* all: with neither AUTH_ENABLED nor RESOLVE_CALLER_IDENTITY the middleware
|
|
@@ -3848,14 +3957,22 @@ declare function assertSkipCredentialVerificationAllowed(resolvesCallerIdentity:
|
|
|
3848
3957
|
* require-authenticated-caller middleware would reject every caller —
|
|
3849
3958
|
* authenticated ones included. Refuse to boot rather than run broken.
|
|
3850
3959
|
*/
|
|
3851
|
-
declare function assertRequireAuthenticatedCallerAllowed(requireAuthenticatedCaller: boolean, resolvesCallerIdentity: boolean, exemptPaths?: readonly string[]): void;
|
|
3960
|
+
export declare function assertRequireAuthenticatedCallerAllowed(requireAuthenticatedCaller: boolean, resolvesCallerIdentity: boolean, exemptPaths?: readonly string[]): void;
|
|
3961
|
+
/**
|
|
3962
|
+
* Deciding an attachment read by the document's policy needs a policy model to
|
|
3963
|
+
* decide with, and that is what auth enforcement supplies. Without one there is
|
|
3964
|
+
* nothing to consult, so the setting would silently leave the permission tables
|
|
3965
|
+
* in charge — configuration that describes a protection the server is not
|
|
3966
|
+
* applying, which is worse than no configuration at all. Refuse instead.
|
|
3967
|
+
*/
|
|
3968
|
+
export declare function assertAttachmentPolicyReadsAllowed(attachmentReadsFollowDocumentPolicy: boolean, hasDecisionModel: boolean): void;
|
|
3852
3969
|
/**
|
|
3853
3970
|
* The GraphiQL explorer page's mount prefix. `path.posix.join` normalizes the
|
|
3854
3971
|
* join with `basePath` — a naive template literal would produce `//explorer`
|
|
3855
3972
|
* for the default `/` basePath, which express compiles into a route that only
|
|
3856
3973
|
* matches `//explorer`, leaving `GET /explorer` a 404.
|
|
3857
3974
|
*/
|
|
3858
|
-
declare function getExplorerPrefix(basePath: string): string;
|
|
3975
|
+
export declare function getExplorerPrefix(basePath: string): string;
|
|
3859
3976
|
/**
|
|
3860
3977
|
* Initializes and starts the API server using an initializer function.
|
|
3861
3978
|
* This function first loads packages to get document models, then calls the initializer function
|
|
@@ -3871,17 +3988,17 @@ declare function getExplorerPrefix(basePath: string): string;
|
|
|
3871
3988
|
* alongside the reactor module so resolvers can dispatch reactor-drive parent
|
|
3872
3989
|
* ops to it; legacy switchboards omit it.
|
|
3873
3990
|
*/
|
|
3874
|
-
interface ClientInitializerResult {
|
|
3991
|
+
export interface ClientInitializerResult {
|
|
3875
3992
|
module: InProcessReactorClientModule;
|
|
3876
3993
|
reactorDriveClient?: IDriveClient;
|
|
3877
3994
|
attachmentReferenceProjection?: AttachmentReferenceProjectionCapability;
|
|
3878
3995
|
}
|
|
3879
|
-
interface ClientInitializerDependencies {
|
|
3996
|
+
export interface ClientInitializerDependencies {
|
|
3880
3997
|
attachmentReferenceWriter: IAttachmentReferenceWriter;
|
|
3881
3998
|
/** Upgrade manifests exported by the loaded packages, one per type. */
|
|
3882
3999
|
upgradeManifests: UpgradeManifest<readonly number[]>[];
|
|
3883
4000
|
}
|
|
3884
|
-
declare function initializeAndStartAPI(clientInitializer: (documentModels: DocumentModelModule[], dependencies: ClientInitializerDependencies) => Promise<ClientInitializerResult>, options: Options, processorApp: ProcessorApp): Promise<API & {
|
|
4001
|
+
export declare function initializeAndStartAPI(clientInitializer: (documentModels: DocumentModelModule[], dependencies: ClientInitializerDependencies) => Promise<ClientInitializerResult>, options: Options, processorApp: ProcessorApp): Promise<API & {
|
|
3885
4002
|
client: IReactorClient;
|
|
3886
4003
|
syncManager: ISyncManager;
|
|
3887
4004
|
documentModelRegistry: IDocumentModelRegistry;
|
|
@@ -3891,27 +4008,27 @@ declare function initializeAndStartAPI(clientInitializer: (documentModels: Docum
|
|
|
3891
4008
|
}>;
|
|
3892
4009
|
//#endregion
|
|
3893
4010
|
//#region src/services/renown-credential-verifier.d.ts
|
|
3894
|
-
interface RenownCredentialVerifierConfig {
|
|
4011
|
+
export interface RenownCredentialVerifierConfig {
|
|
3895
4012
|
renownUrl?: string;
|
|
3896
4013
|
switchboardUrl?: string;
|
|
3897
4014
|
}
|
|
3898
|
-
declare function createRenownCredentialVerifier(config?: RenownCredentialVerifierConfig): Promise<CredentialVerifier>;
|
|
4015
|
+
export declare function createRenownCredentialVerifier(config?: RenownCredentialVerifierConfig): Promise<CredentialVerifier>;
|
|
3899
4016
|
//#endregion
|
|
3900
4017
|
//#region src/utils/create-schema.d.ts
|
|
3901
|
-
declare const buildSubgraphSchemaModule: (documentModels: DocumentModelModule[], resolvers: GraphQLResolverMap<Context$1>, typeDefs: DocumentNode) => GraphQLSchemaModule;
|
|
3902
|
-
declare const createSchema: (documentModels: DocumentModelModule[], resolvers: GraphQLResolverMap<Context$1>, typeDefs: DocumentNode) => graphql.GraphQLSchema;
|
|
4018
|
+
export declare const buildSubgraphSchemaModule: (documentModels: DocumentModelModule[], resolvers: GraphQLResolverMap<Context$1>, typeDefs: DocumentNode) => GraphQLSchemaModule;
|
|
4019
|
+
export declare const createSchema: (documentModels: DocumentModelModule[], resolvers: GraphQLResolverMap<Context$1>, typeDefs: DocumentNode) => import("graphql").GraphQLSchema;
|
|
3903
4020
|
/**
|
|
3904
4021
|
* Create a merged GraphQL schema from multiple subgraph modules.
|
|
3905
4022
|
* Uses buildSubgraphSchema's array overload to combine type definitions
|
|
3906
4023
|
* and resolvers from multiple subgraphs into a single executable schema.
|
|
3907
4024
|
*/
|
|
3908
|
-
declare const createMergedSchema: (modules: GraphQLSchemaModule[]) => graphql.GraphQLSchema;
|
|
3909
|
-
declare function getDocumentModelSchemaName(documentModel: DocumentModelGlobalState$1): string;
|
|
3910
|
-
declare const getDocumentModelTypeDefs: (documentModels: DocumentModelModule[], typeDefs: DocumentNode) => DocumentNode;
|
|
4025
|
+
export declare const createMergedSchema: (modules: GraphQLSchemaModule[]) => import("graphql").GraphQLSchema;
|
|
4026
|
+
export declare function getDocumentModelSchemaName(documentModel: DocumentModelGlobalState$1): string;
|
|
4027
|
+
export declare const getDocumentModelTypeDefs: (documentModels: DocumentModelModule[], typeDefs: DocumentNode) => DocumentNode;
|
|
3911
4028
|
/**
|
|
3912
4029
|
* Options for generating document model GraphQL schemas.
|
|
3913
4030
|
*/
|
|
3914
|
-
interface DocumentModelSchemaOptions {
|
|
4031
|
+
export interface DocumentModelSchemaOptions {
|
|
3915
4032
|
/**
|
|
3916
4033
|
* When true, generates new API patterns:
|
|
3917
4034
|
* - Mutations return full document objects (MutationResult type)
|
|
@@ -3928,7 +4045,8 @@ interface DocumentModelSchemaOptions {
|
|
|
3928
4045
|
* @param options - Schema generation options
|
|
3929
4046
|
* @returns GraphQL DocumentNode
|
|
3930
4047
|
*/
|
|
3931
|
-
declare function generateDocumentModelSchema(documentModel: DocumentModelGlobalState$1, options?: DocumentModelSchemaOptions): DocumentNode;
|
|
4048
|
+
export declare function generateDocumentModelSchema(documentModel: DocumentModelGlobalState$1, options?: DocumentModelSchemaOptions): DocumentNode;
|
|
3932
4049
|
//#endregion
|
|
3933
|
-
export { ADMIN_USERS, API, Action, ActionCandidateInput, ActionCandidateInputSchema, ActionContext, ActionContextInput, ActionContextInputSchema, ActionContextResolvers, ActionEvaluation, ActionEvaluationResolvers, ActionEvaluations, ActionEvaluationsResolvers, ActionInput, ActionInputSchema, ActionResolvers, AdapterRouteHandle, AddRelationshipDocument, AddRelationshipMutation, AddRelationshipMutationVariables, AnalyticsSubgraph, AttachmentAccessRequest, AttachmentAccessResult, AttachmentAccessService, type AttachmentReferenceProjectionCapability, AuthConfig, AuthContext, AuthDecision, AuthDecisionSchema, AuthEvaluationUnsupportedError, AuthFetchMiddleware, AuthService, AuthSubgraph, AuthenticationRequiredError, type AuthorizationConfig, AuthorizationPolicy, AuthorizedDocumentHandle, type AuthorizerResult, BaseSubgraph, CORE_PACKAGE_NAME, type CanonicalDocumentId, CanonicalDocumentIdResolutionError, CanonicalDocumentIdResolver, ChannelMeta, ChannelMetaInput, ChannelMetaInputSchema, ChannelMetaResolvers, ClientInitializerDependencies, ClientInitializerResult, Context, CreateDocumentDocument, CreateDocumentMutation, CreateDocumentMutationVariables, CreateEmptyDocumentDocument, CreateEmptyDocumentMutation, CreateEmptyDocumentMutationVariables, CredentialVerifier, DateTimeScalarConfig, DbClient, DeadLetterInfo, DeadLetterInfoResolvers, DeleteDocumentDocument, DeleteDocumentMutation, DeleteDocumentMutationVariables, DeleteDocumentsDocument, DeleteDocumentsMutation, DeleteDocumentsMutationVariables, DirectiveResolverFn, DocumentChangeContext, DocumentChangeContextResolvers, DocumentChangeEvent, DocumentChangeEventResolvers, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentChangesSubscription, DocumentChangesSubscriptionVariables, DocumentModelGlobalState, DocumentModelGlobalStateResolvers, DocumentModelResultPage, DocumentModelResultPageResolvers, DocumentModelSchemaOptions, DocumentOperationsFilterInput, DocumentOperationsFilterInputSchema, DocumentPermissionConfig, DocumentPermissionDatabase, DocumentPermissionEntry, DocumentPermissionLevel, DocumentPermissionService, DocumentPermissionTable, DocumentProtectionTable, DocumentRelationship, DocumentRelationshipFieldsFragment, DocumentRelationshipFieldsFragmentDoc, DocumentRelationshipResolvers, DocumentRelationshipResultPage, DocumentRelationshipResultPageResolvers, DocumentWithChildren, DocumentWithChildrenResolvers, EvaluateActionsDocument, EvaluateActionsQuery, EvaluateActionsQueryVariables, Exact, ExplorerUrlState, FetchHandler, FindDocumentsDocument, FindDocumentsQuery, FindDocumentsQueryVariables, ForbiddenError, GatewayAdapterType, GatewayContextFactory, GetDocumentDocument, GetDocumentIncomingRelationshipEdgesDocument, GetDocumentIncomingRelationshipEdgesQuery, GetDocumentIncomingRelationshipEdgesQueryVariables, GetDocumentIncomingRelationshipsDocument, GetDocumentIncomingRelationshipsQuery, GetDocumentIncomingRelationshipsQueryVariables, GetDocumentModelsDocument, GetDocumentModelsQuery, GetDocumentModelsQueryVariables, GetDocumentOperationsDocument, GetDocumentOperationsQuery, GetDocumentOperationsQueryVariables, GetDocumentOutgoingRelationshipEdgesDocument, GetDocumentOutgoingRelationshipEdgesQuery, GetDocumentOutgoingRelationshipEdgesQueryVariables, GetDocumentOutgoingRelationshipsDocument, GetDocumentOutgoingRelationshipsQuery, GetDocumentOutgoingRelationshipsQueryVariables, GetDocumentQuery, GetDocumentQueryVariables, GetDocumentWithOperationsDocument, GetDocumentWithOperationsQuery, GetDocumentWithOperationsQueryVariables, GetJobStatusDocument, GetJobStatusQuery, GetJobStatusQueryVariables, GetParentIdsFn, GqlDocument, GqlDriveDocument, GqlOperation, GqlOperationContext, GqlSigner, GqlSignerApp, GqlSignerUser, GraphQLManager, GraphqlManagerFeatureFlags, HttpAdapterSetup, HttpAdapterType, HttpDocumentModelLoader, HttpMethod, HttpPackageLoader, HttpPackageLoaderLogger, HttpPackageLoaderOptions, HttpRouteService, type HttpRouteServiceOptions, IAttachmentAccessService, type IAuthorizationService, IGatewayAdapter, IHttpAdapter, type IHttpScope, type IPackageLoader, type IPackageLoaderOptions, type IPackagePieceSource, IPackageStorage, IProcessorHostModule, IReactorProcessorHostModule, ISubgraph, type IWebhookEndpoints, type IWebhookScope, type IWebhookStore, ImportPackageLoader, InMemoryPackageStorage, Incremental, InputMaybe, InstallPackageResult, InstalledPackageInfo, InvalidNamespaceError, IsTypeOfResolverFn, JobChangeEvent, JobChangeEventResolvers, JobChangesDocument, JobChangesSubscription, JobChangesSubscriptionVariables, JobInfo, JobInfoResolvers, JsonObjectScalarConfig, MakeEmpty, MakeMaybe, MakeOptional, MalformedStoredOperationError, Maybe, MemoryWebhookStore, MoveRelationshipDocument, MoveRelationshipMutation, MoveRelationshipMutationVariables, MoveRelationshipResult, MoveRelationshipResultResolvers, MutateDocumentAsyncDocument, MutateDocumentAsyncMutation, MutateDocumentAsyncMutationVariables, MutateDocumentDocument, MutateDocumentMutation, MutateDocumentMutationVariables, Mutation, MutationAddRelationshipArgs, MutationCreateDocumentArgs, MutationCreateEmptyDocumentArgs, MutationDeleteDocumentArgs, MutationDeleteDocumentsArgs, MutationExecuteArgs, MutationExecuteAsyncArgs, MutationMoveRelationshipArgs, MutationMutateDocumentArgs, MutationMutateDocumentAsyncArgs, MutationPushSyncEnvelopesArgs, MutationRemoveRelationshipArgs, MutationRenameDocumentArgs, MutationResolvers, MutationSetPreferredEditorArgs, MutationTouchChannelArgs, MutationUpdateRelationshipArgs, NextResolverFn, NodeRouteOptions, type NodeRouteSpec, OperationContext, OperationContextInput, OperationContextInputSchema, OperationContextResolvers, OperationInput, OperationInputSchema, OperationUserPermissionEntry, OperationUserPermissionTable, OperationWithContext, OperationWithContextInput, OperationWithContextInputSchema, OperationWithContextResolvers, OperationsFilterInput, OperationsFilterInputSchema, PACKAGE_ROUTE_SEGMENT, PGLITE_UTC_PARSERS, PackageManagementService, PackageManagementServiceOptions, PackageManager, type PackagePiece, type PackagePieceEntry, PackagesSubgraph, type PackagesSubgraphArgs, PagingInput, PagingInputSchema, type ParsedDriveUrl, PgliteFactory, PhDocument, PhDocumentFieldsFragment, PhDocumentFieldsFragmentDoc, PhDocumentOperationsArgs, PhDocumentResolvers, PhDocumentResultPage, PhDocumentResultPageResolvers, PollSyncEnvelopesDocument, PollSyncEnvelopesQuery, PollSyncEnvelopesQueryVariables, PollSyncEnvelopesResult, PollSyncEnvelopesResultResolvers, Processor, ProcessorDriveFactory, ProcessorFactoryBuilder, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, PushSyncEnvelopesMutation, PushSyncEnvelopesMutationVariables, Query, QueryDocumentArgs, QueryDocumentIncomingRelationshipEdgesArgs, QueryDocumentIncomingRelationshipsArgs, QueryDocumentModelsArgs, QueryDocumentOperationsArgs, QueryDocumentOutgoingRelationshipEdgesArgs, QueryDocumentOutgoingRelationshipsArgs, QueryEvaluateActionsArgs, QueryFindDocumentsArgs, QueryJobStatusArgs, QueryPollSyncEnvelopesArgs, QueryResolvers, ReactorModule, ReactorOperation, ReactorOperationResolvers, ReactorOperationResultPage, ReactorOperationResultPageResolvers, ReactorSigner, ReactorSignerApp, ReactorSignerAppInput, ReactorSignerAppInputSchema, ReactorSignerAppResolvers, ReactorSignerInput, ReactorSignerInputSchema, ReactorSignerResolvers, ReactorSignerUser, ReactorSignerUserInput, ReactorSignerUserInputSchema, ReactorSignerUserResolvers, ReactorSubgraph, ReadinessGate, RelationalWebhookStore, RemoteCursor, RemoteCursorInput, RemoteCursorInputSchema, RemoteCursorResolvers, RemoteFilterInput, RemoteFilterInputSchema, RemoveRelationshipDocument, RemoveRelationshipMutation, RemoveRelationshipMutationVariables, RenameDocumentDocument, RenameDocumentMutation, RenameDocumentMutationVariables, RenownConfig, RenownCredentialVerifierConfig, RenownSource, Requester, RequireFields, ResolvedRenownConfig, Resolver, ResolverFn, ResolverTypeWrapper, ResolverWithResolve, Resolvers, ResolversObject, ResolversParentTypes, ResolversTypes, Revision, RevisionResolvers, type RouteActor, type RouteAuth, type RouteAuthorizer, type RouteBody, type RouteContext, type RouteHandler, type RouteMethod, type RouteOptions, type RouteSpec, type RouteTransport, type RouteUser, Scalars, type ScopedRouteHandle, Sdk, SearchFilterInput, SearchFilterInputSchema, SetPreferredEditorDocument, SetPreferredEditorMutation, SetPreferredEditorMutationVariables, SubgraphArgs, SubgraphClass, SubgraphDefinition, Subscription, SubscriptionDocumentChangesArgs, SubscriptionJobChangesArgs, SubscriptionObject, SubscriptionResolveFn, SubscriptionResolver, SubscriptionResolverObject, SubscriptionResolvers, SubscriptionSubscribeFn, SubscriptionSubscriberObject, SyncEnvelope, SyncEnvelopeInput, SyncEnvelopeInputSchema, SyncEnvelopeResolvers, SyncEnvelopeType, SyncEnvelopeTypeSchema, SystemSubgraph, TlsOptions, TouchChannelDocument, TouchChannelInput, TouchChannelInputSchema, TouchChannelMutation, TouchChannelMutationVariables, TouchChannelResult, TouchChannelResultResolvers, TypeResolveFn, UpdateRelationshipDocument, UpdateRelationshipMutation, UpdateRelationshipMutationVariables, User, ViewFilterInput, ViewFilterInputSchema, WEBHOOK_SEGMENT, WS_AUTH_CLOSE_REASONS, WS_CLOSE_REASON_AUTHENTICATION_REQUIRED, WS_CLOSE_REASON_BEARER_REJECTED, type WebhookEndpointInfo, type WebhookEndpointRow, type WebhookField, type WebhookHashAlgorithm, type WebhookPolicy, type WebhookReply, type WebhookRequest, type WebhookScheme, WebhookService, type WebhookSignatureEncoding, type WebhookSpec, type WebhookVerification, WithIndex, WsConnectHandler, WsConnection, WsContextFactory, WsDisposer, WsHandlers, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, createWsAuthHandlers, decodeExplorerUrlState, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getExplorerPrefix, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isSubgraphClass, namespacePath, namespaceSegments, newWebhookToken, parseDriveUrl, parseWebhookBody, redactHeaders, renderGraphqlPlayground, resolvePackageName, resolveRenownConfig, verifyWebhook };
|
|
4050
|
+
export { type AuthorizationConfig, type AuthorizerResult, type CanonicalDocumentId, type HttpRouteServiceOptions, type IAuthorizationService, type IHttpScope, type IPackageLoader, type IPackageLoaderOptions, type IPackagePieceSource, type IWebhookEndpoints, type IWebhookScope, type IWebhookStore, type NodeRouteSpec, type PackagePiece, type PackagePieceEntry, type PackagesSubgraphArgs, type ParsedDriveUrl, type RouteActor, type RouteAuth, type RouteAuthorizer, type RouteBody, type RouteContext, type RouteHandler, type RouteMethod, type RouteOptions, type RouteSpec, type RouteTransport, type RouteUser, type ScopedRouteHandle, type WebhookEndpointInfo, type WebhookEndpointRow, type WebhookField, type WebhookHashAlgorithm, type WebhookPolicy, type WebhookReply, type WebhookRequest, type WebhookScheme, type WebhookSignatureEncoding, type WebhookSpec, type WebhookVerification, driveIdFromUrl, parseDriveUrl };
|
|
4051
|
+
export {};
|
|
3934
4052
|
//# sourceMappingURL=index.d.mts.map
|