@powerhousedao/reactor-api 6.2.3-dev.1 → 6.2.3-dev.11
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-DdamNLPT.mjs → adapter-gateway-apollo-CxJNBVyD.mjs} +7 -8
- package/dist/adapter-gateway-apollo-CxJNBVyD.mjs.map +1 -0
- package/dist/adapter-gateway-apollo-DowrX6E_.mjs +4 -0
- package/dist/{adapter-gateway-mercurius-CLmTtNJC.mjs → adapter-gateway-mercurius-CZVy88Za.mjs} +6 -5
- package/dist/adapter-gateway-mercurius-CZVy88Za.mjs.map +1 -0
- package/dist/adapter-gateway-stitching-CaZjvRzx.mjs +316 -0
- package/dist/adapter-gateway-stitching-CaZjvRzx.mjs.map +1 -0
- package/dist/{adapter-http-express-54gdI9bu.mjs → adapter-http-express-B39rPhqH.mjs} +4 -4
- package/dist/{adapter-http-express-54gdI9bu.mjs.map → adapter-http-express-B39rPhqH.mjs.map} +1 -1
- package/dist/{adapter-http-fastify-DmccBVOe.mjs → adapter-http-fastify-BwXO6rqE.mjs} +4 -4
- package/dist/{adapter-http-fastify-DmccBVOe.mjs.map → adapter-http-fastify-BwXO6rqE.mjs.map} +1 -1
- package/dist/index.d.mts +239 -16
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +405 -49
- package/dist/index.mjs.map +1 -1
- package/dist/{path-normalize-DWWFLiy6.mjs → path-normalize-BOQwY9wR.mjs} +3 -3
- package/dist/{path-normalize-DWWFLiy6.mjs.map → path-normalize-BOQwY9wR.mjs.map} +1 -1
- package/dist/src/packages/vite-loader.d.mts +1 -1
- package/dist/src/packages/vite-loader.d.mts.map +1 -1
- package/dist/src/packages/vite-loader.mjs +5 -5
- package/dist/src/packages/vite-loader.mjs.map +1 -1
- package/dist/{types-Bz2niABC.d.mts → types-DcYyNcHJ.d.mts} +1 -1
- package/dist/{types-Bz2niABC.d.mts.map → types-DcYyNcHJ.d.mts.map} +1 -1
- package/package.json +17 -14
- package/dist/adapter-gateway-apollo-DdamNLPT.mjs.map +0 -1
- package/dist/adapter-gateway-mercurius-CLmTtNJC.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as IPackageManagerOptions, n as IPackageLoaderOptions, r as IPackageManager, s as PackageManagerResult, t as IPackageLoader } from "./types-
|
|
1
|
+
import { i as IPackageManagerOptions, n as IPackageLoaderOptions, r as IPackageManager, s as PackageManagerResult, t as IPackageLoader } from "./types-DcYyNcHJ.mjs";
|
|
2
2
|
import { IAnalyticsStore } from "@powerhousedao/analytics-engine-core";
|
|
3
3
|
import { AnalyticsModel } from "@powerhousedao/analytics-engine-graphql";
|
|
4
4
|
import * as graphql from "graphql";
|
|
@@ -296,7 +296,20 @@ type TlsOptions = {
|
|
|
296
296
|
key: Buffer | string;
|
|
297
297
|
} | true;
|
|
298
298
|
type GatewayContextFactory<TContext = unknown> = (request: Request) => Promise<TContext>;
|
|
299
|
-
|
|
299
|
+
/** 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> = {
|
|
304
|
+
onConnect: WsConnectHandler;
|
|
305
|
+
context: WsContextFactory<TContext>;
|
|
306
|
+
};
|
|
307
|
+
/** No authenticated caller resolved, and REQUIRE_AUTHENTICATED_CALLER wants one. */
|
|
308
|
+
declare const WS_CLOSE_REASON_AUTHENTICATION_REQUIRED = "authentication-required";
|
|
309
|
+
/** A bearer was sent and could not be verified. */
|
|
310
|
+
declare const WS_CLOSE_REASON_BEARER_REJECTED = "bearer-rejected";
|
|
311
|
+
/** 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"];
|
|
300
313
|
type WsDisposer = {
|
|
301
314
|
dispose: () => void | Promise<void>;
|
|
302
315
|
};
|
|
@@ -320,13 +333,23 @@ interface AdapterRouteHandle {
|
|
|
320
333
|
dispose(): void;
|
|
321
334
|
}
|
|
322
335
|
/**
|
|
323
|
-
* A framework-agnostic description of
|
|
324
|
-
* Used by IGatewayAdapter.createSupergraphHandler() to compose the supergraph
|
|
336
|
+
* A framework-agnostic description of one subgraph.
|
|
337
|
+
* Used by IGatewayAdapter.createSupergraphHandler() to compose the supergraph:
|
|
338
|
+
* federation adapters treat it as a service to call over HTTP, while the
|
|
339
|
+
* stitching adapter merges its typeDefs and resolvers in-process.
|
|
325
340
|
*/
|
|
326
341
|
type SubgraphDefinition = {
|
|
327
342
|
name: string;
|
|
328
343
|
typeDefs: DocumentNode;
|
|
329
344
|
url: string;
|
|
345
|
+
/**
|
|
346
|
+
* The subgraph's resolver map, in-process form. Optional: federation
|
|
347
|
+
* adapters (Apollo, Mercurius) execute subgraphs over HTTP and ignore this,
|
|
348
|
+
* while stitching-style adapters merge these resolvers directly into the
|
|
349
|
+
* supergraph schema. Subgraph authors never see this field - it is filled
|
|
350
|
+
* in by the gateway manager from the subgraph's own resolvers.
|
|
351
|
+
*/
|
|
352
|
+
resolvers?: Record<string, unknown>;
|
|
330
353
|
};
|
|
331
354
|
interface IGatewayAdapter<TContext = unknown> {
|
|
332
355
|
/** One-time startup. */
|
|
@@ -337,18 +360,21 @@ interface IGatewayAdapter<TContext = unknown> {
|
|
|
337
360
|
*/
|
|
338
361
|
createHandler(schema: GraphQLSchema, contextFactory: GatewayContextFactory<TContext>): Promise<FetchHandler>;
|
|
339
362
|
/**
|
|
340
|
-
* Create a
|
|
341
|
-
*
|
|
363
|
+
* Create a handler that composes all subgraphs into a supergraph (a
|
|
364
|
+
* federation gateway, or a merged in-process schema under the stitching
|
|
365
|
+
* adapter). getSubgraphs is called eagerly (during setup) and again on every
|
|
366
|
+
* updateSupergraph() call.
|
|
342
367
|
*/
|
|
343
368
|
createSupergraphHandler(getSubgraphs: () => SubgraphDefinition[], httpServer: http.Server, contextFactory: GatewayContextFactory<TContext>): Promise<FetchHandler>;
|
|
344
369
|
/**
|
|
345
|
-
* Recompose the supergraph
|
|
346
|
-
* to the running federation gateway
|
|
347
|
-
*
|
|
370
|
+
* Recompose the supergraph from the current subgraph list and push the update
|
|
371
|
+
* to the running gateway (a federation gateway, or a merged in-process schema
|
|
372
|
+
* under the stitching adapter). No-op if createSupergraphHandler() has not
|
|
373
|
+
* been called yet, or after stop().
|
|
348
374
|
*/
|
|
349
375
|
updateSupergraph(): Promise<void>;
|
|
350
|
-
/**
|
|
351
|
-
attachWebSocket(wsServer: WebSocketServer, schema: GraphQLSchema,
|
|
376
|
+
/** Without `onConnect`, refusing would mean throwing: an unretryable 4500. */
|
|
377
|
+
attachWebSocket(wsServer: WebSocketServer, schema: GraphQLSchema, handlers: WsHandlers<TContext>): WsDisposer;
|
|
352
378
|
stop(): Promise<void>;
|
|
353
379
|
}
|
|
354
380
|
/**
|
|
@@ -489,6 +515,7 @@ declare class AuthService {
|
|
|
489
515
|
* middleware that must enforce authentication on every request.
|
|
490
516
|
*/
|
|
491
517
|
verifyBearer(authorization: string | undefined): Promise<AuthContext | globalThis.Response>;
|
|
518
|
+
/** Throws only for a bearer that is present and unusable, as HTTP 401s it. */
|
|
492
519
|
authenticateWebSocketConnection(connectionParams: Record<string, unknown>): Promise<User | null>;
|
|
493
520
|
/**
|
|
494
521
|
* Verify the auth bearer token
|
|
@@ -1075,7 +1102,7 @@ declare function getAuthContext(request: globalThis.Request): AuthContext | unde
|
|
|
1075
1102
|
declare function createAuthFetchMiddleware(authService: AuthService): AuthFetchMiddleware;
|
|
1076
1103
|
//#endregion
|
|
1077
1104
|
//#region src/graphql/gateway/factory.d.ts
|
|
1078
|
-
type GatewayAdapterType = "apollo" | "mercurius";
|
|
1105
|
+
type GatewayAdapterType = "apollo" | "mercurius" | "stitching";
|
|
1079
1106
|
type HttpAdapterType = "express" | "fastify";
|
|
1080
1107
|
declare function createGatewayAdapter(type: GatewayAdapterType, logger: ILogger): Promise<IGatewayAdapter<Context>>;
|
|
1081
1108
|
type HttpAdapterSetup = {
|
|
@@ -1112,6 +1139,12 @@ type RequireAuthFetchMiddleware = (handler: FetchHandler) => FetchHandler;
|
|
|
1112
1139
|
type GraphqlManagerFeatureFlags = {
|
|
1113
1140
|
enableDocumentModelSubgraphs?: boolean;
|
|
1114
1141
|
};
|
|
1142
|
+
declare function createWsAuthHandlers(opts: {
|
|
1143
|
+
authService?: AuthService; /** Whether anonymous callers are refused; read at call time, not at build time. */
|
|
1144
|
+
requireAuthenticatedCaller: () => boolean;
|
|
1145
|
+
logger: ILogger;
|
|
1146
|
+
buildContext: (connectionParams: Record<string, unknown>, user?: User) => Context$1;
|
|
1147
|
+
}): WsHandlers<Context$1>;
|
|
1115
1148
|
declare class GraphQLManager {
|
|
1116
1149
|
#private;
|
|
1117
1150
|
private readonly path;
|
|
@@ -1729,6 +1762,21 @@ type DocumentOperationsFilterInput = {
|
|
|
1729
1762
|
readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
|
|
1730
1763
|
readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
|
|
1731
1764
|
};
|
|
1765
|
+
type DocumentRelationship = {
|
|
1766
|
+
readonly createdAt: Scalars["DateTime"]["output"];
|
|
1767
|
+
readonly metadata?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
1768
|
+
readonly relationshipType: Scalars["String"]["output"];
|
|
1769
|
+
readonly sourceId: Scalars["String"]["output"];
|
|
1770
|
+
readonly targetId: Scalars["String"]["output"];
|
|
1771
|
+
readonly updatedAt: Scalars["DateTime"]["output"];
|
|
1772
|
+
};
|
|
1773
|
+
type DocumentRelationshipResultPage = {
|
|
1774
|
+
readonly cursor?: Maybe<Scalars["String"]["output"]>;
|
|
1775
|
+
readonly hasNextPage: Scalars["Boolean"]["output"];
|
|
1776
|
+
readonly hasPreviousPage: Scalars["Boolean"]["output"];
|
|
1777
|
+
readonly items: ReadonlyArray<DocumentRelationship>;
|
|
1778
|
+
readonly totalCount: Scalars["Int"]["output"];
|
|
1779
|
+
};
|
|
1732
1780
|
type DocumentWithChildren = {
|
|
1733
1781
|
readonly childIds: ReadonlyArray<Scalars["String"]["output"]>;
|
|
1734
1782
|
readonly document: PhDocument;
|
|
@@ -1736,7 +1784,12 @@ type DocumentWithChildren = {
|
|
|
1736
1784
|
type JobChangeEvent = {
|
|
1737
1785
|
readonly error?: Maybe<Scalars["String"]["output"]>;
|
|
1738
1786
|
readonly jobId: Scalars["String"]["output"];
|
|
1739
|
-
|
|
1787
|
+
/**
|
|
1788
|
+
* What the job produced, once it has produced anything. Nullable for the same
|
|
1789
|
+
* reason as `JobInfo.result`: a job that has not written yet has produced
|
|
1790
|
+
* nothing, and an empty object would claim otherwise.
|
|
1791
|
+
*/
|
|
1792
|
+
readonly result?: Maybe<Scalars["JSONObject"]["output"]>;
|
|
1740
1793
|
readonly status: Scalars["String"]["output"];
|
|
1741
1794
|
};
|
|
1742
1795
|
type JobInfo = {
|
|
@@ -1791,9 +1844,11 @@ type Mutation = {
|
|
|
1791
1844
|
readonly renameDocument: PhDocument;
|
|
1792
1845
|
readonly setPreferredEditor: PhDocument;
|
|
1793
1846
|
readonly touchChannel: TouchChannelResult;
|
|
1847
|
+
readonly updateRelationship: PhDocument;
|
|
1794
1848
|
};
|
|
1795
1849
|
type MutationAddRelationshipArgs = {
|
|
1796
1850
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1851
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1797
1852
|
relationshipType: Scalars["String"]["input"];
|
|
1798
1853
|
sourceIdentifier: Scalars["String"]["input"];
|
|
1799
1854
|
targetIdentifier: Scalars["String"]["input"];
|
|
@@ -1863,6 +1918,13 @@ type MutationSetPreferredEditorArgs = {
|
|
|
1863
1918
|
type MutationTouchChannelArgs = {
|
|
1864
1919
|
input: TouchChannelInput;
|
|
1865
1920
|
};
|
|
1921
|
+
type MutationUpdateRelationshipArgs = {
|
|
1922
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1923
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1924
|
+
relationshipType: Scalars["String"]["input"];
|
|
1925
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
1926
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
1927
|
+
};
|
|
1866
1928
|
type OperationContext = {
|
|
1867
1929
|
readonly branch: Scalars["String"]["output"];
|
|
1868
1930
|
readonly documentId: Scalars["String"]["output"];
|
|
@@ -1944,9 +2006,11 @@ declare enum PropagationMode {
|
|
|
1944
2006
|
}
|
|
1945
2007
|
type Query = {
|
|
1946
2008
|
readonly document?: Maybe<DocumentWithChildren>;
|
|
2009
|
+
readonly documentIncomingRelationshipEdges: DocumentRelationshipResultPage;
|
|
1947
2010
|
readonly documentIncomingRelationships: PhDocumentResultPage;
|
|
1948
2011
|
readonly documentModels: DocumentModelResultPage;
|
|
1949
2012
|
readonly documentOperations: ReactorOperationResultPage;
|
|
2013
|
+
readonly documentOutgoingRelationshipEdges: DocumentRelationshipResultPage;
|
|
1950
2014
|
readonly documentOutgoingRelationships: PhDocumentResultPage;
|
|
1951
2015
|
/**
|
|
1952
2016
|
* Predicts whether the calling subject would be admitted to execute each of a
|
|
@@ -1995,6 +2059,12 @@ type QueryDocumentArgs = {
|
|
|
1995
2059
|
identifier: Scalars["String"]["input"];
|
|
1996
2060
|
view?: InputMaybe<ViewFilterInput>;
|
|
1997
2061
|
};
|
|
2062
|
+
type QueryDocumentIncomingRelationshipEdgesArgs = {
|
|
2063
|
+
paging?: InputMaybe<PagingInput>;
|
|
2064
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2065
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
2066
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
2067
|
+
};
|
|
1998
2068
|
type QueryDocumentIncomingRelationshipsArgs = {
|
|
1999
2069
|
paging?: InputMaybe<PagingInput>;
|
|
2000
2070
|
relationshipType: Scalars["String"]["input"];
|
|
@@ -2009,6 +2079,12 @@ type QueryDocumentOperationsArgs = {
|
|
|
2009
2079
|
filter: OperationsFilterInput;
|
|
2010
2080
|
paging?: InputMaybe<PagingInput>;
|
|
2011
2081
|
};
|
|
2082
|
+
type QueryDocumentOutgoingRelationshipEdgesArgs = {
|
|
2083
|
+
paging?: InputMaybe<PagingInput>;
|
|
2084
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2085
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
2086
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
2087
|
+
};
|
|
2012
2088
|
type QueryDocumentOutgoingRelationshipsArgs = {
|
|
2013
2089
|
paging?: InputMaybe<PagingInput>;
|
|
2014
2090
|
relationshipType: Scalars["String"]["input"];
|
|
@@ -2161,6 +2237,14 @@ type PhDocumentFieldsFragment = {
|
|
|
2161
2237
|
readonly revision: number;
|
|
2162
2238
|
}>;
|
|
2163
2239
|
};
|
|
2240
|
+
type DocumentRelationshipFieldsFragment = {
|
|
2241
|
+
readonly sourceId: string;
|
|
2242
|
+
readonly targetId: string;
|
|
2243
|
+
readonly relationshipType: string;
|
|
2244
|
+
readonly metadata?: NonNullable<unknown> | null | undefined;
|
|
2245
|
+
readonly createdAt: string | Date;
|
|
2246
|
+
readonly updatedAt: string | Date;
|
|
2247
|
+
};
|
|
2164
2248
|
type GetDocumentModelsQueryVariables = Exact<{
|
|
2165
2249
|
namespace?: InputMaybe<Scalars["String"]["input"]>;
|
|
2166
2250
|
paging?: InputMaybe<PagingInput>;
|
|
@@ -2316,6 +2400,50 @@ type GetDocumentIncomingRelationshipsQuery = {
|
|
|
2316
2400
|
}>;
|
|
2317
2401
|
};
|
|
2318
2402
|
};
|
|
2403
|
+
type GetDocumentOutgoingRelationshipEdgesQueryVariables = Exact<{
|
|
2404
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
2405
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2406
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
2407
|
+
paging?: InputMaybe<PagingInput>;
|
|
2408
|
+
}>;
|
|
2409
|
+
type GetDocumentOutgoingRelationshipEdgesQuery = {
|
|
2410
|
+
readonly documentOutgoingRelationshipEdges: {
|
|
2411
|
+
readonly totalCount: number;
|
|
2412
|
+
readonly hasNextPage: boolean;
|
|
2413
|
+
readonly hasPreviousPage: boolean;
|
|
2414
|
+
readonly cursor?: string | null | undefined;
|
|
2415
|
+
readonly items: ReadonlyArray<{
|
|
2416
|
+
readonly sourceId: string;
|
|
2417
|
+
readonly targetId: string;
|
|
2418
|
+
readonly relationshipType: string;
|
|
2419
|
+
readonly metadata?: NonNullable<unknown> | null | undefined;
|
|
2420
|
+
readonly createdAt: string | Date;
|
|
2421
|
+
readonly updatedAt: string | Date;
|
|
2422
|
+
}>;
|
|
2423
|
+
};
|
|
2424
|
+
};
|
|
2425
|
+
type GetDocumentIncomingRelationshipEdgesQueryVariables = Exact<{
|
|
2426
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
2427
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
2428
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
2429
|
+
paging?: InputMaybe<PagingInput>;
|
|
2430
|
+
}>;
|
|
2431
|
+
type GetDocumentIncomingRelationshipEdgesQuery = {
|
|
2432
|
+
readonly documentIncomingRelationshipEdges: {
|
|
2433
|
+
readonly totalCount: number;
|
|
2434
|
+
readonly hasNextPage: boolean;
|
|
2435
|
+
readonly hasPreviousPage: boolean;
|
|
2436
|
+
readonly cursor?: string | null | undefined;
|
|
2437
|
+
readonly items: ReadonlyArray<{
|
|
2438
|
+
readonly sourceId: string;
|
|
2439
|
+
readonly targetId: string;
|
|
2440
|
+
readonly relationshipType: string;
|
|
2441
|
+
readonly metadata?: NonNullable<unknown> | null | undefined;
|
|
2442
|
+
readonly createdAt: string | Date;
|
|
2443
|
+
readonly updatedAt: string | Date;
|
|
2444
|
+
}>;
|
|
2445
|
+
};
|
|
2446
|
+
};
|
|
2319
2447
|
type FindDocumentsQueryVariables = Exact<{
|
|
2320
2448
|
search?: InputMaybe<SearchFilterInput>;
|
|
2321
2449
|
view?: InputMaybe<ViewFilterInput>;
|
|
@@ -2531,6 +2659,7 @@ type AddRelationshipMutationVariables = Exact<{
|
|
|
2531
2659
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2532
2660
|
targetIdentifier: Scalars["String"]["input"];
|
|
2533
2661
|
relationshipType: Scalars["String"]["input"];
|
|
2662
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
2534
2663
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2535
2664
|
}>;
|
|
2536
2665
|
type AddRelationshipMutation = {
|
|
@@ -2548,6 +2677,28 @@ type AddRelationshipMutation = {
|
|
|
2548
2677
|
}>;
|
|
2549
2678
|
};
|
|
2550
2679
|
};
|
|
2680
|
+
type UpdateRelationshipMutationVariables = Exact<{
|
|
2681
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
2682
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
2683
|
+
relationshipType: Scalars["String"]["input"];
|
|
2684
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
2685
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2686
|
+
}>;
|
|
2687
|
+
type UpdateRelationshipMutation = {
|
|
2688
|
+
readonly updateRelationship: {
|
|
2689
|
+
readonly id: string;
|
|
2690
|
+
readonly slug?: string | null | undefined;
|
|
2691
|
+
readonly name: string;
|
|
2692
|
+
readonly documentType: string;
|
|
2693
|
+
readonly state: NonNullable<unknown>;
|
|
2694
|
+
readonly createdAtUtcIso: string | Date;
|
|
2695
|
+
readonly lastModifiedAtUtcIso: string | Date;
|
|
2696
|
+
readonly revisionsList: ReadonlyArray<{
|
|
2697
|
+
readonly scope: string;
|
|
2698
|
+
readonly revision: number;
|
|
2699
|
+
}>;
|
|
2700
|
+
};
|
|
2701
|
+
};
|
|
2551
2702
|
type RemoveRelationshipMutationVariables = Exact<{
|
|
2552
2703
|
sourceIdentifier: Scalars["String"]["input"];
|
|
2553
2704
|
targetIdentifier: Scalars["String"]["input"];
|
|
@@ -2653,7 +2804,7 @@ type JobChangesSubscription = {
|
|
|
2653
2804
|
readonly jobChanges: {
|
|
2654
2805
|
readonly jobId: string;
|
|
2655
2806
|
readonly status: string;
|
|
2656
|
-
readonly result
|
|
2807
|
+
readonly result?: NonNullable<unknown> | null | undefined;
|
|
2657
2808
|
readonly error?: string | null | undefined;
|
|
2658
2809
|
};
|
|
2659
2810
|
};
|
|
@@ -2784,6 +2935,8 @@ type ResolversTypes = ResolversObject<{
|
|
|
2784
2935
|
DocumentModelGlobalState: ResolverTypeWrapper<DocumentModelGlobalState>;
|
|
2785
2936
|
DocumentModelResultPage: ResolverTypeWrapper<DocumentModelResultPage>;
|
|
2786
2937
|
DocumentOperationsFilterInput: DocumentOperationsFilterInput;
|
|
2938
|
+
DocumentRelationship: ResolverTypeWrapper<DocumentRelationship>;
|
|
2939
|
+
DocumentRelationshipResultPage: ResolverTypeWrapper<DocumentRelationshipResultPage>;
|
|
2787
2940
|
DocumentWithChildren: ResolverTypeWrapper<DocumentWithChildren>;
|
|
2788
2941
|
Int: ResolverTypeWrapper<Scalars["Int"]["output"]>;
|
|
2789
2942
|
JSONObject: ResolverTypeWrapper<Scalars["JSONObject"]["output"]>;
|
|
@@ -2844,6 +2997,8 @@ type ResolversParentTypes = ResolversObject<{
|
|
|
2844
2997
|
DocumentModelGlobalState: DocumentModelGlobalState;
|
|
2845
2998
|
DocumentModelResultPage: DocumentModelResultPage;
|
|
2846
2999
|
DocumentOperationsFilterInput: DocumentOperationsFilterInput;
|
|
3000
|
+
DocumentRelationship: DocumentRelationship;
|
|
3001
|
+
DocumentRelationshipResultPage: DocumentRelationshipResultPage;
|
|
2847
3002
|
DocumentWithChildren: DocumentWithChildren;
|
|
2848
3003
|
Int: Scalars["Int"]["output"];
|
|
2849
3004
|
JSONObject: Scalars["JSONObject"]["output"];
|
|
@@ -2943,6 +3098,21 @@ type DocumentModelResultPageResolvers<ContextType = Context, ParentType extends
|
|
|
2943
3098
|
items?: Resolver<ReadonlyArray<ResolversTypes["DocumentModelGlobalState"]>, ParentType, ContextType>;
|
|
2944
3099
|
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
2945
3100
|
}>;
|
|
3101
|
+
type DocumentRelationshipResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationship"] = ResolversParentTypes["DocumentRelationship"]> = ResolversObject<{
|
|
3102
|
+
createdAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3103
|
+
metadata?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
|
|
3104
|
+
relationshipType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3105
|
+
sourceId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3106
|
+
targetId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
3107
|
+
updatedAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
|
|
3108
|
+
}>;
|
|
3109
|
+
type DocumentRelationshipResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationshipResultPage"] = ResolversParentTypes["DocumentRelationshipResultPage"]> = ResolversObject<{
|
|
3110
|
+
cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
3111
|
+
hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3112
|
+
hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
3113
|
+
items?: Resolver<ReadonlyArray<ResolversTypes["DocumentRelationship"]>, ParentType, ContextType>;
|
|
3114
|
+
totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
|
|
3115
|
+
}>;
|
|
2946
3116
|
type DocumentWithChildrenResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentWithChildren"] = ResolversParentTypes["DocumentWithChildren"]> = ResolversObject<{
|
|
2947
3117
|
childIds?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
2948
3118
|
document?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType>;
|
|
@@ -2953,7 +3123,7 @@ interface JsonObjectScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes[
|
|
|
2953
3123
|
type JobChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobChangeEvent"] = ResolversParentTypes["JobChangeEvent"]> = ResolversObject<{
|
|
2954
3124
|
error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
2955
3125
|
jobId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
2956
|
-
result?: Resolver<ResolversTypes["JSONObject"]
|
|
3126
|
+
result?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
|
|
2957
3127
|
status?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
2958
3128
|
}>;
|
|
2959
3129
|
type JobInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobInfo"] = ResolversParentTypes["JobInfo"]> = ResolversObject<{
|
|
@@ -2984,6 +3154,7 @@ type MutationResolvers<ContextType = Context, ParentType extends ResolversParent
|
|
|
2984
3154
|
renameDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRenameDocumentArgs, "documentIdentifier" | "name">>;
|
|
2985
3155
|
setPreferredEditor?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationSetPreferredEditorArgs, "documentIdentifier">>;
|
|
2986
3156
|
touchChannel?: Resolver<ResolversTypes["TouchChannelResult"], ParentType, ContextType, RequireFields<MutationTouchChannelArgs, "input">>;
|
|
3157
|
+
updateRelationship?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationUpdateRelationshipArgs, "relationshipType" | "sourceIdentifier" | "targetIdentifier">>;
|
|
2987
3158
|
}>;
|
|
2988
3159
|
type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
|
|
2989
3160
|
branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
@@ -3023,9 +3194,11 @@ type PollSyncEnvelopesResultResolvers<ContextType = Context, ParentType extends
|
|
|
3023
3194
|
}>;
|
|
3024
3195
|
type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Query"] = ResolversParentTypes["Query"]> = ResolversObject<{
|
|
3025
3196
|
document?: Resolver<Maybe<ResolversTypes["DocumentWithChildren"]>, ParentType, ContextType, RequireFields<QueryDocumentArgs, "identifier">>;
|
|
3197
|
+
documentIncomingRelationshipEdges?: Resolver<ResolversTypes["DocumentRelationshipResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipEdgesArgs, "targetIdentifier">>;
|
|
3026
3198
|
documentIncomingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipsArgs, "relationshipType" | "targetIdentifier">>;
|
|
3027
3199
|
documentModels?: Resolver<ResolversTypes["DocumentModelResultPage"], ParentType, ContextType, Partial<QueryDocumentModelsArgs>>;
|
|
3028
3200
|
documentOperations?: Resolver<ResolversTypes["ReactorOperationResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOperationsArgs, "filter">>;
|
|
3201
|
+
documentOutgoingRelationshipEdges?: Resolver<ResolversTypes["DocumentRelationshipResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOutgoingRelationshipEdgesArgs, "sourceIdentifier">>;
|
|
3029
3202
|
documentOutgoingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOutgoingRelationshipsArgs, "relationshipType" | "sourceIdentifier">>;
|
|
3030
3203
|
evaluateActions?: Resolver<ResolversTypes["ActionEvaluations"], ParentType, ContextType, RequireFields<QueryEvaluateActionsArgs, "candidates" | "documentIdentifier">>;
|
|
3031
3204
|
findDocuments?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, Partial<QueryFindDocumentsArgs>>;
|
|
@@ -3100,6 +3273,8 @@ type Resolvers<ContextType = Context> = ResolversObject<{
|
|
|
3100
3273
|
DocumentChangeEvent?: DocumentChangeEventResolvers<ContextType>;
|
|
3101
3274
|
DocumentModelGlobalState?: DocumentModelGlobalStateResolvers<ContextType>;
|
|
3102
3275
|
DocumentModelResultPage?: DocumentModelResultPageResolvers<ContextType>;
|
|
3276
|
+
DocumentRelationship?: DocumentRelationshipResolvers<ContextType>;
|
|
3277
|
+
DocumentRelationshipResultPage?: DocumentRelationshipResultPageResolvers<ContextType>;
|
|
3103
3278
|
DocumentWithChildren?: DocumentWithChildrenResolvers<ContextType>;
|
|
3104
3279
|
JSONObject?: GraphQLScalarType;
|
|
3105
3280
|
JobChangeEvent?: JobChangeEventResolvers<ContextType>;
|
|
@@ -3151,11 +3326,14 @@ declare function SyncEnvelopeInputSchema(): z$1.ZodObject<Properties<SyncEnvelop
|
|
|
3151
3326
|
declare function TouchChannelInputSchema(): z$1.ZodObject<Properties<TouchChannelInput>>;
|
|
3152
3327
|
declare function ViewFilterInputSchema(): z$1.ZodObject<Properties<ViewFilterInput>>;
|
|
3153
3328
|
declare const PhDocumentFieldsFragmentDoc: DocumentNode;
|
|
3329
|
+
declare const DocumentRelationshipFieldsFragmentDoc: DocumentNode;
|
|
3154
3330
|
declare const GetDocumentModelsDocument: DocumentNode;
|
|
3155
3331
|
declare const GetDocumentDocument: DocumentNode;
|
|
3156
3332
|
declare const GetDocumentWithOperationsDocument: DocumentNode;
|
|
3157
3333
|
declare const GetDocumentOutgoingRelationshipsDocument: DocumentNode;
|
|
3158
3334
|
declare const GetDocumentIncomingRelationshipsDocument: DocumentNode;
|
|
3335
|
+
declare const GetDocumentOutgoingRelationshipEdgesDocument: DocumentNode;
|
|
3336
|
+
declare const GetDocumentIncomingRelationshipEdgesDocument: DocumentNode;
|
|
3159
3337
|
declare const FindDocumentsDocument: DocumentNode;
|
|
3160
3338
|
declare const GetDocumentOperationsDocument: DocumentNode;
|
|
3161
3339
|
declare const GetJobStatusDocument: DocumentNode;
|
|
@@ -3167,6 +3345,7 @@ declare const MutateDocumentAsyncDocument: DocumentNode;
|
|
|
3167
3345
|
declare const RenameDocumentDocument: DocumentNode;
|
|
3168
3346
|
declare const SetPreferredEditorDocument: DocumentNode;
|
|
3169
3347
|
declare const AddRelationshipDocument: DocumentNode;
|
|
3348
|
+
declare const UpdateRelationshipDocument: DocumentNode;
|
|
3170
3349
|
declare const RemoveRelationshipDocument: DocumentNode;
|
|
3171
3350
|
declare const MoveRelationshipDocument: DocumentNode;
|
|
3172
3351
|
declare const DeleteDocumentDocument: DocumentNode;
|
|
@@ -3183,6 +3362,8 @@ declare function getSdk<C>(requester: Requester<C>): {
|
|
|
3183
3362
|
GetDocumentWithOperations(variables: GetDocumentWithOperationsQueryVariables, options?: C): Promise<GetDocumentWithOperationsQuery>;
|
|
3184
3363
|
GetDocumentOutgoingRelationships(variables: GetDocumentOutgoingRelationshipsQueryVariables, options?: C): Promise<GetDocumentOutgoingRelationshipsQuery>;
|
|
3185
3364
|
GetDocumentIncomingRelationships(variables: GetDocumentIncomingRelationshipsQueryVariables, options?: C): Promise<GetDocumentIncomingRelationshipsQuery>;
|
|
3365
|
+
GetDocumentOutgoingRelationshipEdges(variables: GetDocumentOutgoingRelationshipEdgesQueryVariables, options?: C): Promise<GetDocumentOutgoingRelationshipEdgesQuery>;
|
|
3366
|
+
GetDocumentIncomingRelationshipEdges(variables: GetDocumentIncomingRelationshipEdgesQueryVariables, options?: C): Promise<GetDocumentIncomingRelationshipEdgesQuery>;
|
|
3186
3367
|
FindDocuments(variables?: FindDocumentsQueryVariables, options?: C): Promise<FindDocumentsQuery>;
|
|
3187
3368
|
GetDocumentOperations(variables: GetDocumentOperationsQueryVariables, options?: C): Promise<GetDocumentOperationsQuery>;
|
|
3188
3369
|
GetJobStatus(variables: GetJobStatusQueryVariables, options?: C): Promise<GetJobStatusQuery>;
|
|
@@ -3194,6 +3375,7 @@ declare function getSdk<C>(requester: Requester<C>): {
|
|
|
3194
3375
|
RenameDocument(variables: RenameDocumentMutationVariables, options?: C): Promise<RenameDocumentMutation>;
|
|
3195
3376
|
SetPreferredEditor(variables: SetPreferredEditorMutationVariables, options?: C): Promise<SetPreferredEditorMutation>;
|
|
3196
3377
|
AddRelationship(variables: AddRelationshipMutationVariables, options?: C): Promise<AddRelationshipMutation>;
|
|
3378
|
+
UpdateRelationship(variables: UpdateRelationshipMutationVariables, options?: C): Promise<UpdateRelationshipMutation>;
|
|
3197
3379
|
RemoveRelationship(variables: RemoveRelationshipMutationVariables, options?: C): Promise<RemoveRelationshipMutation>;
|
|
3198
3380
|
MoveRelationship(variables: MoveRelationshipMutationVariables, options?: C): Promise<MoveRelationshipMutation>;
|
|
3199
3381
|
DeleteDocument(variables: DeleteDocumentMutationVariables, options?: C): Promise<DeleteDocumentMutation>;
|
|
@@ -3237,6 +3419,18 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
|
|
|
3237
3419
|
view?: InputMaybe<ViewFilterInput>;
|
|
3238
3420
|
paging?: InputMaybe<PagingInput>;
|
|
3239
3421
|
}>, options?: {} | undefined): Promise<GetDocumentIncomingRelationshipsQuery>;
|
|
3422
|
+
GetDocumentOutgoingRelationshipEdges(variables: Exact<{
|
|
3423
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
3424
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
3425
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
3426
|
+
paging?: InputMaybe<PagingInput>;
|
|
3427
|
+
}>, options?: {} | undefined): Promise<GetDocumentOutgoingRelationshipEdgesQuery>;
|
|
3428
|
+
GetDocumentIncomingRelationshipEdges(variables: Exact<{
|
|
3429
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
3430
|
+
relationshipType?: InputMaybe<Scalars["String"]["input"]>;
|
|
3431
|
+
view?: InputMaybe<ViewFilterInput>;
|
|
3432
|
+
paging?: InputMaybe<PagingInput>;
|
|
3433
|
+
}>, options?: {} | undefined): Promise<GetDocumentIncomingRelationshipEdgesQuery>;
|
|
3240
3434
|
FindDocuments(variables?: Exact<{
|
|
3241
3435
|
search?: InputMaybe<SearchFilterInput>;
|
|
3242
3436
|
view?: InputMaybe<ViewFilterInput>;
|
|
@@ -3286,8 +3480,16 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
|
|
|
3286
3480
|
sourceIdentifier: Scalars["String"]["input"];
|
|
3287
3481
|
targetIdentifier: Scalars["String"]["input"];
|
|
3288
3482
|
relationshipType: Scalars["String"]["input"];
|
|
3483
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
3289
3484
|
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
3290
3485
|
}>, options?: {} | undefined): Promise<AddRelationshipMutation>;
|
|
3486
|
+
UpdateRelationship(variables: Exact<{
|
|
3487
|
+
sourceIdentifier: Scalars["String"]["input"];
|
|
3488
|
+
targetIdentifier: Scalars["String"]["input"];
|
|
3489
|
+
relationshipType: Scalars["String"]["input"];
|
|
3490
|
+
metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
3491
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
3492
|
+
}>, options?: {} | undefined): Promise<UpdateRelationshipMutation>;
|
|
3291
3493
|
RemoveRelationship(variables: Exact<{
|
|
3292
3494
|
sourceIdentifier: Scalars["String"]["input"];
|
|
3293
3495
|
targetIdentifier: Scalars["String"]["input"];
|
|
@@ -3341,6 +3543,27 @@ declare class ReactorSubgraph extends BaseSubgraph {
|
|
|
3341
3543
|
* Delegates to base assertCanExecuteOperation for each action.
|
|
3342
3544
|
*/
|
|
3343
3545
|
private assertCanExecuteOperations;
|
|
3546
|
+
/**
|
|
3547
|
+
* Drops the relationship edges whose far-end document the caller cannot read.
|
|
3548
|
+
*
|
|
3549
|
+
* An edge names two documents, so returning it discloses the far end's id. The
|
|
3550
|
+
* document-shaped relationship queries already withhold far-end documents the
|
|
3551
|
+
* caller cannot read; the edge-shaped queries have to withhold the same ones,
|
|
3552
|
+
* or they become a way to enumerate around that check. Supreme admins read
|
|
3553
|
+
* everything, so the per-edge check is skipped for them.
|
|
3554
|
+
*
|
|
3555
|
+
* The counts describe what is served; the cursor describes where to resume in
|
|
3556
|
+
* the underlying unfiltered stream, so it is left as it came. A filtered page
|
|
3557
|
+
* is therefore often shorter than the requested limit, and that is the stream
|
|
3558
|
+
* continuing rather than a sign it ended.
|
|
3559
|
+
*/
|
|
3560
|
+
private filterRelationshipEdges;
|
|
3561
|
+
/**
|
|
3562
|
+
* Restates a page's totalCount over the items that survived a read filter, so
|
|
3563
|
+
* that the difference between the two cannot be read off as a count of what
|
|
3564
|
+
* the caller was not allowed to see.
|
|
3565
|
+
*/
|
|
3566
|
+
private servedPage;
|
|
3344
3567
|
typeDefs: graphql.DocumentNode;
|
|
3345
3568
|
resolvers: Resolvers;
|
|
3346
3569
|
onSetup(): Promise<void>;
|
|
@@ -3629,5 +3852,5 @@ interface DocumentModelSchemaOptions {
|
|
|
3629
3852
|
*/
|
|
3630
3853
|
declare function generateDocumentModelSchema(documentModel: DocumentModelGlobalState$1, options?: DocumentModelSchemaOptions): DocumentNode;
|
|
3631
3854
|
//#endregion
|
|
3632
|
-
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, AuthFetchMiddleware, AuthService, AuthSubgraph, 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, DocumentWithChildren, DocumentWithChildrenResolvers, EvaluateActionsDocument, EvaluateActionsQuery, EvaluateActionsQueryVariables, Exact, ExplorerUrlState, FetchHandler, FindDocumentsDocument, FindDocumentsQuery, FindDocumentsQueryVariables, GatewayAdapterType, GatewayContextFactory, GetDocumentDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentIncomingRelationshipsQuery, GetDocumentIncomingRelationshipsQueryVariables, GetDocumentModelsDocument, GetDocumentModelsQuery, GetDocumentModelsQueryVariables, GetDocumentOperationsDocument, GetDocumentOperationsQuery, GetDocumentOperationsQueryVariables, 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, 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, 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, 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, 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, QueryDocumentIncomingRelationshipsArgs, QueryDocumentModelsArgs, QueryDocumentOperationsArgs, 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, User, ViewFilterInput, ViewFilterInputSchema, WEBHOOK_SEGMENT, type WebhookEndpointInfo, type WebhookEndpointRow, type WebhookField, type WebhookHashAlgorithm, type WebhookPolicy, type WebhookReply, type WebhookRequest, type WebhookScheme, WebhookService, type WebhookSignatureEncoding, type WebhookSpec, type WebhookVerification, WithIndex, WsContextFactory, WsDisposer, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, 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 };
|
|
3855
|
+
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, AuthFetchMiddleware, AuthService, AuthSubgraph, 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, 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, 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, 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, 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 };
|
|
3633
3856
|
//# sourceMappingURL=index.d.mts.map
|