@powerhousedao/reactor-api 6.2.3-dev.2 → 6.2.3-dev.21

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.
Files changed (30) hide show
  1. package/dist/{adapter-gateway-apollo-DdamNLPT.mjs → adapter-gateway-apollo-CxJNBVyD.mjs} +7 -8
  2. package/dist/adapter-gateway-apollo-CxJNBVyD.mjs.map +1 -0
  3. package/dist/adapter-gateway-apollo-DowrX6E_.mjs +4 -0
  4. package/dist/{adapter-gateway-mercurius-CLmTtNJC.mjs → adapter-gateway-mercurius-CZVy88Za.mjs} +6 -5
  5. package/dist/adapter-gateway-mercurius-CZVy88Za.mjs.map +1 -0
  6. package/dist/adapter-gateway-stitching-CaZjvRzx.mjs +316 -0
  7. package/dist/adapter-gateway-stitching-CaZjvRzx.mjs.map +1 -0
  8. package/dist/{adapter-http-express-54gdI9bu.mjs → adapter-http-express-B39rPhqH.mjs} +4 -4
  9. package/dist/{adapter-http-express-54gdI9bu.mjs.map → adapter-http-express-B39rPhqH.mjs.map} +1 -1
  10. package/dist/{adapter-http-fastify-DmccBVOe.mjs → adapter-http-fastify-BwXO6rqE.mjs} +4 -4
  11. package/dist/{adapter-http-fastify-DmccBVOe.mjs.map → adapter-http-fastify-BwXO6rqE.mjs.map} +1 -1
  12. package/dist/index.d.mts +303 -18
  13. package/dist/index.d.mts.map +1 -1
  14. package/dist/index.mjs +523 -60
  15. package/dist/index.mjs.map +1 -1
  16. package/dist/{path-normalize-DWWFLiy6.mjs → path-normalize-BOQwY9wR.mjs} +3 -3
  17. package/dist/{path-normalize-DWWFLiy6.mjs.map → path-normalize-BOQwY9wR.mjs.map} +1 -1
  18. package/dist/{utils-XWVecaNn.mjs → pieces-eqj2RKgd.mjs} +95 -5
  19. package/dist/pieces-eqj2RKgd.mjs.map +1 -0
  20. package/dist/src/packages/vite-loader.d.mts +6 -1
  21. package/dist/src/packages/vite-loader.d.mts.map +1 -1
  22. package/dist/src/packages/vite-loader.mjs +65 -6
  23. package/dist/src/packages/vite-loader.mjs.map +1 -1
  24. package/dist/{types-Bz2niABC.d.mts → types-BXjLvTe3.d.mts} +25 -2
  25. package/dist/types-BXjLvTe3.d.mts.map +1 -0
  26. package/package.json +17 -14
  27. package/dist/adapter-gateway-apollo-DdamNLPT.mjs.map +0 -1
  28. package/dist/adapter-gateway-mercurius-CLmTtNJC.mjs.map +0 -1
  29. package/dist/types-Bz2niABC.d.mts.map +0 -1
  30. package/dist/utils-XWVecaNn.mjs.map +0 -1
package/dist/index.d.mts CHANGED
@@ -1,8 +1,8 @@
1
- import { i as IPackageManagerOptions, n as IPackageLoaderOptions, r as IPackageManager, s as PackageManagerResult, t as IPackageLoader } from "./types-Bz2niABC.mjs";
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-BXjLvTe3.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";
5
- import { DocumentNode, GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig, GraphQLSchema } from "graphql";
5
+ import { DocumentNode, GraphQLError, GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig, GraphQLSchema } from "graphql";
6
6
  import { AttachmentRef, IDocumentModelLoader, IDocumentModelRegistry, IDriveClient, IReactorClient, IReactorProcessorHostModuleBase, IRelationalDb, ISyncManager, InProcessReactorClientModule, ParsedDriveUrl, ProcessorFactoryBuilder as ProcessorFactoryBuilder$1, SyncScopeGate, driveIdFromUrl, parseDriveUrl } from "@powerhousedao/reactor";
7
7
  import { ILogger } from "document-model";
8
8
  import { GraphQLResolverMap, GraphQLSchemaModule } from "@apollo/subgraph";
@@ -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
- type WsContextFactory<TContext = unknown> = (connectionParams: Record<string, unknown>) => Promise<TContext>;
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 a federated subgraph service.
324
- * Used by IGatewayAdapter.createSupergraphHandler() to compose the supergraph SDL.
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 federation gateway handler that composes all subgraphs into a supergraph.
341
- * getSubgraphs is called eagerly (during setup) and again on every updateSupergraph() call.
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 SDL from the current subgraph list and push the update
346
- * to the running federation gateway. No-op if createSupergraphHandler() has not
347
- * been called yet.
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
- /** Attach WebSocket subscriptions. Returns a disposer. */
351
- attachWebSocket(wsServer: WebSocketServer, schema: GraphQLSchema, contextFactory: WsContextFactory<TContext>): WsDisposer;
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;
@@ -1341,6 +1374,12 @@ type API = {
1341
1374
  attachmentReferenceIndex: AttachmentReferenceIndexBuildResult; /** Document-authorized attachment read decisions; see AttachmentAccessService. */
1342
1375
  attachmentAccess: IAttachmentAccessService;
1343
1376
  authService: AuthService | undefined;
1377
+ /** The service the subgraphs decide with, for a component the host composes
1378
+ * after boot: it must authorize with this one, not one of its own. */
1379
+ authorizationService: IAuthorizationService;
1380
+ /** The read-model relational store, for the same host-composed component:
1381
+ * its tables belong in this database and nothing else hands one over. */
1382
+ relationalDb: IRelationalDb$1;
1344
1383
  /**
1345
1384
  * Releases resources owned by the API: shuts down the GraphQL gateway,
1346
1385
  * closes WebSocket and HTTP servers, destroys knex pools, and closes any
@@ -1407,6 +1446,7 @@ declare class HttpPackageLoader implements IPackageLoader {
1407
1446
  loadUpgradeManifests(packageSpec: string): Promise<UpgradeManifest<readonly number[]>[]>;
1408
1447
  loadSubgraphs(packageSpec: string): Promise<SubgraphClass$1[]>;
1409
1448
  loadProcessors(packageSpec: string): Promise<ProcessorFactoryBuilder | null>;
1449
+ loadPieces(packageSpec: string): Promise<PackagePieceEntry[]>;
1410
1450
  /**
1411
1451
  * Load document models from multiple packages.
1412
1452
  * Continues loading even if some packages fail.
@@ -1729,6 +1769,21 @@ type DocumentOperationsFilterInput = {
1729
1769
  readonly timestampFrom?: InputMaybe<Scalars["String"]["input"]>;
1730
1770
  readonly timestampTo?: InputMaybe<Scalars["String"]["input"]>;
1731
1771
  };
1772
+ type DocumentRelationship = {
1773
+ readonly createdAt: Scalars["DateTime"]["output"];
1774
+ readonly metadata?: Maybe<Scalars["JSONObject"]["output"]>;
1775
+ readonly relationshipType: Scalars["String"]["output"];
1776
+ readonly sourceId: Scalars["String"]["output"];
1777
+ readonly targetId: Scalars["String"]["output"];
1778
+ readonly updatedAt: Scalars["DateTime"]["output"];
1779
+ };
1780
+ type DocumentRelationshipResultPage = {
1781
+ readonly cursor?: Maybe<Scalars["String"]["output"]>;
1782
+ readonly hasNextPage: Scalars["Boolean"]["output"];
1783
+ readonly hasPreviousPage: Scalars["Boolean"]["output"];
1784
+ readonly items: ReadonlyArray<DocumentRelationship>;
1785
+ readonly totalCount: Scalars["Int"]["output"];
1786
+ };
1732
1787
  type DocumentWithChildren = {
1733
1788
  readonly childIds: ReadonlyArray<Scalars["String"]["output"]>;
1734
1789
  readonly document: PhDocument;
@@ -1736,7 +1791,12 @@ type DocumentWithChildren = {
1736
1791
  type JobChangeEvent = {
1737
1792
  readonly error?: Maybe<Scalars["String"]["output"]>;
1738
1793
  readonly jobId: Scalars["String"]["output"];
1739
- readonly result: Scalars["JSONObject"]["output"];
1794
+ /**
1795
+ * What the job produced, once it has produced anything. Nullable for the same
1796
+ * reason as `JobInfo.result`: a job that has not written yet has produced
1797
+ * nothing, and an empty object would claim otherwise.
1798
+ */
1799
+ readonly result?: Maybe<Scalars["JSONObject"]["output"]>;
1740
1800
  readonly status: Scalars["String"]["output"];
1741
1801
  };
1742
1802
  type JobInfo = {
@@ -1791,9 +1851,11 @@ type Mutation = {
1791
1851
  readonly renameDocument: PhDocument;
1792
1852
  readonly setPreferredEditor: PhDocument;
1793
1853
  readonly touchChannel: TouchChannelResult;
1854
+ readonly updateRelationship: PhDocument;
1794
1855
  };
1795
1856
  type MutationAddRelationshipArgs = {
1796
1857
  branch?: InputMaybe<Scalars["String"]["input"]>;
1858
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
1797
1859
  relationshipType: Scalars["String"]["input"];
1798
1860
  sourceIdentifier: Scalars["String"]["input"];
1799
1861
  targetIdentifier: Scalars["String"]["input"];
@@ -1863,6 +1925,13 @@ type MutationSetPreferredEditorArgs = {
1863
1925
  type MutationTouchChannelArgs = {
1864
1926
  input: TouchChannelInput;
1865
1927
  };
1928
+ type MutationUpdateRelationshipArgs = {
1929
+ branch?: InputMaybe<Scalars["String"]["input"]>;
1930
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
1931
+ relationshipType: Scalars["String"]["input"];
1932
+ sourceIdentifier: Scalars["String"]["input"];
1933
+ targetIdentifier: Scalars["String"]["input"];
1934
+ };
1866
1935
  type OperationContext = {
1867
1936
  readonly branch: Scalars["String"]["output"];
1868
1937
  readonly documentId: Scalars["String"]["output"];
@@ -1944,9 +2013,11 @@ declare enum PropagationMode {
1944
2013
  }
1945
2014
  type Query = {
1946
2015
  readonly document?: Maybe<DocumentWithChildren>;
2016
+ readonly documentIncomingRelationshipEdges: DocumentRelationshipResultPage;
1947
2017
  readonly documentIncomingRelationships: PhDocumentResultPage;
1948
2018
  readonly documentModels: DocumentModelResultPage;
1949
2019
  readonly documentOperations: ReactorOperationResultPage;
2020
+ readonly documentOutgoingRelationshipEdges: DocumentRelationshipResultPage;
1950
2021
  readonly documentOutgoingRelationships: PhDocumentResultPage;
1951
2022
  /**
1952
2023
  * Predicts whether the calling subject would be admitted to execute each of a
@@ -1995,6 +2066,12 @@ type QueryDocumentArgs = {
1995
2066
  identifier: Scalars["String"]["input"];
1996
2067
  view?: InputMaybe<ViewFilterInput>;
1997
2068
  };
2069
+ type QueryDocumentIncomingRelationshipEdgesArgs = {
2070
+ paging?: InputMaybe<PagingInput>;
2071
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
2072
+ targetIdentifier: Scalars["String"]["input"];
2073
+ view?: InputMaybe<ViewFilterInput>;
2074
+ };
1998
2075
  type QueryDocumentIncomingRelationshipsArgs = {
1999
2076
  paging?: InputMaybe<PagingInput>;
2000
2077
  relationshipType: Scalars["String"]["input"];
@@ -2009,6 +2086,12 @@ type QueryDocumentOperationsArgs = {
2009
2086
  filter: OperationsFilterInput;
2010
2087
  paging?: InputMaybe<PagingInput>;
2011
2088
  };
2089
+ type QueryDocumentOutgoingRelationshipEdgesArgs = {
2090
+ paging?: InputMaybe<PagingInput>;
2091
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
2092
+ sourceIdentifier: Scalars["String"]["input"];
2093
+ view?: InputMaybe<ViewFilterInput>;
2094
+ };
2012
2095
  type QueryDocumentOutgoingRelationshipsArgs = {
2013
2096
  paging?: InputMaybe<PagingInput>;
2014
2097
  relationshipType: Scalars["String"]["input"];
@@ -2161,6 +2244,14 @@ type PhDocumentFieldsFragment = {
2161
2244
  readonly revision: number;
2162
2245
  }>;
2163
2246
  };
2247
+ type DocumentRelationshipFieldsFragment = {
2248
+ readonly sourceId: string;
2249
+ readonly targetId: string;
2250
+ readonly relationshipType: string;
2251
+ readonly metadata?: NonNullable<unknown> | null | undefined;
2252
+ readonly createdAt: string | Date;
2253
+ readonly updatedAt: string | Date;
2254
+ };
2164
2255
  type GetDocumentModelsQueryVariables = Exact<{
2165
2256
  namespace?: InputMaybe<Scalars["String"]["input"]>;
2166
2257
  paging?: InputMaybe<PagingInput>;
@@ -2316,6 +2407,50 @@ type GetDocumentIncomingRelationshipsQuery = {
2316
2407
  }>;
2317
2408
  };
2318
2409
  };
2410
+ type GetDocumentOutgoingRelationshipEdgesQueryVariables = Exact<{
2411
+ sourceIdentifier: Scalars["String"]["input"];
2412
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
2413
+ view?: InputMaybe<ViewFilterInput>;
2414
+ paging?: InputMaybe<PagingInput>;
2415
+ }>;
2416
+ type GetDocumentOutgoingRelationshipEdgesQuery = {
2417
+ readonly documentOutgoingRelationshipEdges: {
2418
+ readonly totalCount: number;
2419
+ readonly hasNextPage: boolean;
2420
+ readonly hasPreviousPage: boolean;
2421
+ readonly cursor?: string | null | undefined;
2422
+ readonly items: ReadonlyArray<{
2423
+ readonly sourceId: string;
2424
+ readonly targetId: string;
2425
+ readonly relationshipType: string;
2426
+ readonly metadata?: NonNullable<unknown> | null | undefined;
2427
+ readonly createdAt: string | Date;
2428
+ readonly updatedAt: string | Date;
2429
+ }>;
2430
+ };
2431
+ };
2432
+ type GetDocumentIncomingRelationshipEdgesQueryVariables = Exact<{
2433
+ targetIdentifier: Scalars["String"]["input"];
2434
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
2435
+ view?: InputMaybe<ViewFilterInput>;
2436
+ paging?: InputMaybe<PagingInput>;
2437
+ }>;
2438
+ type GetDocumentIncomingRelationshipEdgesQuery = {
2439
+ readonly documentIncomingRelationshipEdges: {
2440
+ readonly totalCount: number;
2441
+ readonly hasNextPage: boolean;
2442
+ readonly hasPreviousPage: boolean;
2443
+ readonly cursor?: string | null | undefined;
2444
+ readonly items: ReadonlyArray<{
2445
+ readonly sourceId: string;
2446
+ readonly targetId: string;
2447
+ readonly relationshipType: string;
2448
+ readonly metadata?: NonNullable<unknown> | null | undefined;
2449
+ readonly createdAt: string | Date;
2450
+ readonly updatedAt: string | Date;
2451
+ }>;
2452
+ };
2453
+ };
2319
2454
  type FindDocumentsQueryVariables = Exact<{
2320
2455
  search?: InputMaybe<SearchFilterInput>;
2321
2456
  view?: InputMaybe<ViewFilterInput>;
@@ -2531,6 +2666,7 @@ type AddRelationshipMutationVariables = Exact<{
2531
2666
  sourceIdentifier: Scalars["String"]["input"];
2532
2667
  targetIdentifier: Scalars["String"]["input"];
2533
2668
  relationshipType: Scalars["String"]["input"];
2669
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
2534
2670
  branch?: InputMaybe<Scalars["String"]["input"]>;
2535
2671
  }>;
2536
2672
  type AddRelationshipMutation = {
@@ -2548,6 +2684,28 @@ type AddRelationshipMutation = {
2548
2684
  }>;
2549
2685
  };
2550
2686
  };
2687
+ type UpdateRelationshipMutationVariables = Exact<{
2688
+ sourceIdentifier: Scalars["String"]["input"];
2689
+ targetIdentifier: Scalars["String"]["input"];
2690
+ relationshipType: Scalars["String"]["input"];
2691
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
2692
+ branch?: InputMaybe<Scalars["String"]["input"]>;
2693
+ }>;
2694
+ type UpdateRelationshipMutation = {
2695
+ readonly updateRelationship: {
2696
+ readonly id: string;
2697
+ readonly slug?: string | null | undefined;
2698
+ readonly name: string;
2699
+ readonly documentType: string;
2700
+ readonly state: NonNullable<unknown>;
2701
+ readonly createdAtUtcIso: string | Date;
2702
+ readonly lastModifiedAtUtcIso: string | Date;
2703
+ readonly revisionsList: ReadonlyArray<{
2704
+ readonly scope: string;
2705
+ readonly revision: number;
2706
+ }>;
2707
+ };
2708
+ };
2551
2709
  type RemoveRelationshipMutationVariables = Exact<{
2552
2710
  sourceIdentifier: Scalars["String"]["input"];
2553
2711
  targetIdentifier: Scalars["String"]["input"];
@@ -2653,7 +2811,7 @@ type JobChangesSubscription = {
2653
2811
  readonly jobChanges: {
2654
2812
  readonly jobId: string;
2655
2813
  readonly status: string;
2656
- readonly result: NonNullable<unknown>;
2814
+ readonly result?: NonNullable<unknown> | null | undefined;
2657
2815
  readonly error?: string | null | undefined;
2658
2816
  };
2659
2817
  };
@@ -2784,6 +2942,8 @@ type ResolversTypes = ResolversObject<{
2784
2942
  DocumentModelGlobalState: ResolverTypeWrapper<DocumentModelGlobalState>;
2785
2943
  DocumentModelResultPage: ResolverTypeWrapper<DocumentModelResultPage>;
2786
2944
  DocumentOperationsFilterInput: DocumentOperationsFilterInput;
2945
+ DocumentRelationship: ResolverTypeWrapper<DocumentRelationship>;
2946
+ DocumentRelationshipResultPage: ResolverTypeWrapper<DocumentRelationshipResultPage>;
2787
2947
  DocumentWithChildren: ResolverTypeWrapper<DocumentWithChildren>;
2788
2948
  Int: ResolverTypeWrapper<Scalars["Int"]["output"]>;
2789
2949
  JSONObject: ResolverTypeWrapper<Scalars["JSONObject"]["output"]>;
@@ -2844,6 +3004,8 @@ type ResolversParentTypes = ResolversObject<{
2844
3004
  DocumentModelGlobalState: DocumentModelGlobalState;
2845
3005
  DocumentModelResultPage: DocumentModelResultPage;
2846
3006
  DocumentOperationsFilterInput: DocumentOperationsFilterInput;
3007
+ DocumentRelationship: DocumentRelationship;
3008
+ DocumentRelationshipResultPage: DocumentRelationshipResultPage;
2847
3009
  DocumentWithChildren: DocumentWithChildren;
2848
3010
  Int: Scalars["Int"]["output"];
2849
3011
  JSONObject: Scalars["JSONObject"]["output"];
@@ -2943,6 +3105,21 @@ type DocumentModelResultPageResolvers<ContextType = Context, ParentType extends
2943
3105
  items?: Resolver<ReadonlyArray<ResolversTypes["DocumentModelGlobalState"]>, ParentType, ContextType>;
2944
3106
  totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
2945
3107
  }>;
3108
+ type DocumentRelationshipResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationship"] = ResolversParentTypes["DocumentRelationship"]> = ResolversObject<{
3109
+ createdAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
3110
+ metadata?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
3111
+ relationshipType?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
3112
+ sourceId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
3113
+ targetId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
3114
+ updatedAt?: Resolver<ResolversTypes["DateTime"], ParentType, ContextType>;
3115
+ }>;
3116
+ type DocumentRelationshipResultPageResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentRelationshipResultPage"] = ResolversParentTypes["DocumentRelationshipResultPage"]> = ResolversObject<{
3117
+ cursor?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
3118
+ hasNextPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
3119
+ hasPreviousPage?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
3120
+ items?: Resolver<ReadonlyArray<ResolversTypes["DocumentRelationship"]>, ParentType, ContextType>;
3121
+ totalCount?: Resolver<ResolversTypes["Int"], ParentType, ContextType>;
3122
+ }>;
2946
3123
  type DocumentWithChildrenResolvers<ContextType = Context, ParentType extends ResolversParentTypes["DocumentWithChildren"] = ResolversParentTypes["DocumentWithChildren"]> = ResolversObject<{
2947
3124
  childIds?: Resolver<ReadonlyArray<ResolversTypes["String"]>, ParentType, ContextType>;
2948
3125
  document?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType>;
@@ -2953,7 +3130,7 @@ interface JsonObjectScalarConfig extends GraphQLScalarTypeConfig<ResolversTypes[
2953
3130
  type JobChangeEventResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobChangeEvent"] = ResolversParentTypes["JobChangeEvent"]> = ResolversObject<{
2954
3131
  error?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
2955
3132
  jobId?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
2956
- result?: Resolver<ResolversTypes["JSONObject"], ParentType, ContextType>;
3133
+ result?: Resolver<Maybe<ResolversTypes["JSONObject"]>, ParentType, ContextType>;
2957
3134
  status?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
2958
3135
  }>;
2959
3136
  type JobInfoResolvers<ContextType = Context, ParentType extends ResolversParentTypes["JobInfo"] = ResolversParentTypes["JobInfo"]> = ResolversObject<{
@@ -2984,6 +3161,7 @@ type MutationResolvers<ContextType = Context, ParentType extends ResolversParent
2984
3161
  renameDocument?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationRenameDocumentArgs, "documentIdentifier" | "name">>;
2985
3162
  setPreferredEditor?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationSetPreferredEditorArgs, "documentIdentifier">>;
2986
3163
  touchChannel?: Resolver<ResolversTypes["TouchChannelResult"], ParentType, ContextType, RequireFields<MutationTouchChannelArgs, "input">>;
3164
+ updateRelationship?: Resolver<ResolversTypes["PHDocument"], ParentType, ContextType, RequireFields<MutationUpdateRelationshipArgs, "relationshipType" | "sourceIdentifier" | "targetIdentifier">>;
2987
3165
  }>;
2988
3166
  type OperationContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["OperationContext"] = ResolversParentTypes["OperationContext"]> = ResolversObject<{
2989
3167
  branch?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
@@ -3023,9 +3201,11 @@ type PollSyncEnvelopesResultResolvers<ContextType = Context, ParentType extends
3023
3201
  }>;
3024
3202
  type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTypes["Query"] = ResolversParentTypes["Query"]> = ResolversObject<{
3025
3203
  document?: Resolver<Maybe<ResolversTypes["DocumentWithChildren"]>, ParentType, ContextType, RequireFields<QueryDocumentArgs, "identifier">>;
3204
+ documentIncomingRelationshipEdges?: Resolver<ResolversTypes["DocumentRelationshipResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipEdgesArgs, "targetIdentifier">>;
3026
3205
  documentIncomingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentIncomingRelationshipsArgs, "relationshipType" | "targetIdentifier">>;
3027
3206
  documentModels?: Resolver<ResolversTypes["DocumentModelResultPage"], ParentType, ContextType, Partial<QueryDocumentModelsArgs>>;
3028
3207
  documentOperations?: Resolver<ResolversTypes["ReactorOperationResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOperationsArgs, "filter">>;
3208
+ documentOutgoingRelationshipEdges?: Resolver<ResolversTypes["DocumentRelationshipResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOutgoingRelationshipEdgesArgs, "sourceIdentifier">>;
3029
3209
  documentOutgoingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOutgoingRelationshipsArgs, "relationshipType" | "sourceIdentifier">>;
3030
3210
  evaluateActions?: Resolver<ResolversTypes["ActionEvaluations"], ParentType, ContextType, RequireFields<QueryEvaluateActionsArgs, "candidates" | "documentIdentifier">>;
3031
3211
  findDocuments?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, Partial<QueryFindDocumentsArgs>>;
@@ -3100,6 +3280,8 @@ type Resolvers<ContextType = Context> = ResolversObject<{
3100
3280
  DocumentChangeEvent?: DocumentChangeEventResolvers<ContextType>;
3101
3281
  DocumentModelGlobalState?: DocumentModelGlobalStateResolvers<ContextType>;
3102
3282
  DocumentModelResultPage?: DocumentModelResultPageResolvers<ContextType>;
3283
+ DocumentRelationship?: DocumentRelationshipResolvers<ContextType>;
3284
+ DocumentRelationshipResultPage?: DocumentRelationshipResultPageResolvers<ContextType>;
3103
3285
  DocumentWithChildren?: DocumentWithChildrenResolvers<ContextType>;
3104
3286
  JSONObject?: GraphQLScalarType;
3105
3287
  JobChangeEvent?: JobChangeEventResolvers<ContextType>;
@@ -3151,11 +3333,14 @@ declare function SyncEnvelopeInputSchema(): z$1.ZodObject<Properties<SyncEnvelop
3151
3333
  declare function TouchChannelInputSchema(): z$1.ZodObject<Properties<TouchChannelInput>>;
3152
3334
  declare function ViewFilterInputSchema(): z$1.ZodObject<Properties<ViewFilterInput>>;
3153
3335
  declare const PhDocumentFieldsFragmentDoc: DocumentNode;
3336
+ declare const DocumentRelationshipFieldsFragmentDoc: DocumentNode;
3154
3337
  declare const GetDocumentModelsDocument: DocumentNode;
3155
3338
  declare const GetDocumentDocument: DocumentNode;
3156
3339
  declare const GetDocumentWithOperationsDocument: DocumentNode;
3157
3340
  declare const GetDocumentOutgoingRelationshipsDocument: DocumentNode;
3158
3341
  declare const GetDocumentIncomingRelationshipsDocument: DocumentNode;
3342
+ declare const GetDocumentOutgoingRelationshipEdgesDocument: DocumentNode;
3343
+ declare const GetDocumentIncomingRelationshipEdgesDocument: DocumentNode;
3159
3344
  declare const FindDocumentsDocument: DocumentNode;
3160
3345
  declare const GetDocumentOperationsDocument: DocumentNode;
3161
3346
  declare const GetJobStatusDocument: DocumentNode;
@@ -3167,6 +3352,7 @@ declare const MutateDocumentAsyncDocument: DocumentNode;
3167
3352
  declare const RenameDocumentDocument: DocumentNode;
3168
3353
  declare const SetPreferredEditorDocument: DocumentNode;
3169
3354
  declare const AddRelationshipDocument: DocumentNode;
3355
+ declare const UpdateRelationshipDocument: DocumentNode;
3170
3356
  declare const RemoveRelationshipDocument: DocumentNode;
3171
3357
  declare const MoveRelationshipDocument: DocumentNode;
3172
3358
  declare const DeleteDocumentDocument: DocumentNode;
@@ -3183,6 +3369,8 @@ declare function getSdk<C>(requester: Requester<C>): {
3183
3369
  GetDocumentWithOperations(variables: GetDocumentWithOperationsQueryVariables, options?: C): Promise<GetDocumentWithOperationsQuery>;
3184
3370
  GetDocumentOutgoingRelationships(variables: GetDocumentOutgoingRelationshipsQueryVariables, options?: C): Promise<GetDocumentOutgoingRelationshipsQuery>;
3185
3371
  GetDocumentIncomingRelationships(variables: GetDocumentIncomingRelationshipsQueryVariables, options?: C): Promise<GetDocumentIncomingRelationshipsQuery>;
3372
+ GetDocumentOutgoingRelationshipEdges(variables: GetDocumentOutgoingRelationshipEdgesQueryVariables, options?: C): Promise<GetDocumentOutgoingRelationshipEdgesQuery>;
3373
+ GetDocumentIncomingRelationshipEdges(variables: GetDocumentIncomingRelationshipEdgesQueryVariables, options?: C): Promise<GetDocumentIncomingRelationshipEdgesQuery>;
3186
3374
  FindDocuments(variables?: FindDocumentsQueryVariables, options?: C): Promise<FindDocumentsQuery>;
3187
3375
  GetDocumentOperations(variables: GetDocumentOperationsQueryVariables, options?: C): Promise<GetDocumentOperationsQuery>;
3188
3376
  GetJobStatus(variables: GetJobStatusQueryVariables, options?: C): Promise<GetJobStatusQuery>;
@@ -3194,6 +3382,7 @@ declare function getSdk<C>(requester: Requester<C>): {
3194
3382
  RenameDocument(variables: RenameDocumentMutationVariables, options?: C): Promise<RenameDocumentMutation>;
3195
3383
  SetPreferredEditor(variables: SetPreferredEditorMutationVariables, options?: C): Promise<SetPreferredEditorMutation>;
3196
3384
  AddRelationship(variables: AddRelationshipMutationVariables, options?: C): Promise<AddRelationshipMutation>;
3385
+ UpdateRelationship(variables: UpdateRelationshipMutationVariables, options?: C): Promise<UpdateRelationshipMutation>;
3197
3386
  RemoveRelationship(variables: RemoveRelationshipMutationVariables, options?: C): Promise<RemoveRelationshipMutation>;
3198
3387
  MoveRelationship(variables: MoveRelationshipMutationVariables, options?: C): Promise<MoveRelationshipMutation>;
3199
3388
  DeleteDocument(variables: DeleteDocumentMutationVariables, options?: C): Promise<DeleteDocumentMutation>;
@@ -3237,6 +3426,18 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
3237
3426
  view?: InputMaybe<ViewFilterInput>;
3238
3427
  paging?: InputMaybe<PagingInput>;
3239
3428
  }>, options?: {} | undefined): Promise<GetDocumentIncomingRelationshipsQuery>;
3429
+ GetDocumentOutgoingRelationshipEdges(variables: Exact<{
3430
+ sourceIdentifier: Scalars["String"]["input"];
3431
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
3432
+ view?: InputMaybe<ViewFilterInput>;
3433
+ paging?: InputMaybe<PagingInput>;
3434
+ }>, options?: {} | undefined): Promise<GetDocumentOutgoingRelationshipEdgesQuery>;
3435
+ GetDocumentIncomingRelationshipEdges(variables: Exact<{
3436
+ targetIdentifier: Scalars["String"]["input"];
3437
+ relationshipType?: InputMaybe<Scalars["String"]["input"]>;
3438
+ view?: InputMaybe<ViewFilterInput>;
3439
+ paging?: InputMaybe<PagingInput>;
3440
+ }>, options?: {} | undefined): Promise<GetDocumentIncomingRelationshipEdgesQuery>;
3240
3441
  FindDocuments(variables?: Exact<{
3241
3442
  search?: InputMaybe<SearchFilterInput>;
3242
3443
  view?: InputMaybe<ViewFilterInput>;
@@ -3286,8 +3487,16 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
3286
3487
  sourceIdentifier: Scalars["String"]["input"];
3287
3488
  targetIdentifier: Scalars["String"]["input"];
3288
3489
  relationshipType: Scalars["String"]["input"];
3490
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
3289
3491
  branch?: InputMaybe<Scalars["String"]["input"]>;
3290
3492
  }>, options?: {} | undefined): Promise<AddRelationshipMutation>;
3493
+ UpdateRelationship(variables: Exact<{
3494
+ sourceIdentifier: Scalars["String"]["input"];
3495
+ targetIdentifier: Scalars["String"]["input"];
3496
+ relationshipType: Scalars["String"]["input"];
3497
+ metadata?: InputMaybe<Scalars["JSONObject"]["input"]>;
3498
+ branch?: InputMaybe<Scalars["String"]["input"]>;
3499
+ }>, options?: {} | undefined): Promise<UpdateRelationshipMutation>;
3291
3500
  RemoveRelationship(variables: Exact<{
3292
3501
  sourceIdentifier: Scalars["String"]["input"];
3293
3502
  targetIdentifier: Scalars["String"]["input"];
@@ -3341,6 +3550,27 @@ declare class ReactorSubgraph extends BaseSubgraph {
3341
3550
  * Delegates to base assertCanExecuteOperation for each action.
3342
3551
  */
3343
3552
  private assertCanExecuteOperations;
3553
+ /**
3554
+ * Drops the relationship edges whose far-end document the caller cannot read.
3555
+ *
3556
+ * An edge names two documents, so returning it discloses the far end's id. The
3557
+ * document-shaped relationship queries already withhold far-end documents the
3558
+ * caller cannot read; the edge-shaped queries have to withhold the same ones,
3559
+ * or they become a way to enumerate around that check. Supreme admins read
3560
+ * everything, so the per-edge check is skipped for them.
3561
+ *
3562
+ * The counts describe what is served; the cursor describes where to resume in
3563
+ * the underlying unfiltered stream, so it is left as it came. A filtered page
3564
+ * is therefore often shorter than the requested limit, and that is the stream
3565
+ * continuing rather than a sign it ended.
3566
+ */
3567
+ private filterRelationshipEdges;
3568
+ /**
3569
+ * Restates a page's totalCount over the items that survived a read filter, so
3570
+ * that the difference between the two cannot be read off as a count of what
3571
+ * the caller was not allowed to see.
3572
+ */
3573
+ private servedPage;
3344
3574
  typeDefs: graphql.DocumentNode;
3345
3575
  resolvers: Resolvers;
3346
3576
  onSetup(): Promise<void>;
@@ -3377,6 +3607,51 @@ declare function buildGraphqlOperation(operation: Operation): GqlOperation$1;
3377
3607
  declare function buildGraphQlDocument(doc: PHDocument): GqlDocument$1;
3378
3608
  declare function buildGraphQlDriveDocument(doc: DocumentDriveDocument): GqlDriveDocument$1;
3379
3609
  //#endregion
3610
+ //#region src/graphql/errors.d.ts
3611
+ /** Caller (authenticated or anonymous) lacks permission for the document. */
3612
+ declare class ForbiddenError extends GraphQLError {
3613
+ constructor(detail?: string);
3614
+ }
3615
+ /** Anonymous caller on an action that requires logging in. */
3616
+ declare class AuthenticationRequiredError extends GraphQLError {
3617
+ constructor(detail?: string);
3618
+ }
3619
+ /**
3620
+ * The reactor holds no decision model, so no authorization preflight can be
3621
+ * answered.
3622
+ *
3623
+ * Distinct from a denial, and deliberately so: a caller that cannot get a
3624
+ * prediction should render its controls as it did before it asked and let the
3625
+ * submit path refuse. Reading this as a denial would disable every control on a
3626
+ * switchboard running without authEnforcement. The code is what a client
3627
+ * branches on, since the message is not a contract.
3628
+ */
3629
+ declare class AuthEvaluationUnsupportedError extends GraphQLError {
3630
+ constructor();
3631
+ }
3632
+ /**
3633
+ * A stored operation cannot be represented in the schema, so it is reported
3634
+ * rather than served.
3635
+ *
3636
+ * The schema declares an action's id, type, timestamp, input and scope
3637
+ * non-null; an operation written before the API rejected an action without an
3638
+ * id violates that. Left to the executor, the missing value nullifies the
3639
+ * action, which bubbles up through the non-null chain until it nullifies the
3640
+ * envelope's whole operation list, and the caller receives a partial response
3641
+ * beside "Cannot return null for non-nullable field Action.id" - which says
3642
+ * nothing about which operation, and which a sync client can only read as a
3643
+ * permanent GraphQL rejection, stopping its poll timer for good.
3644
+ *
3645
+ * Thrown instead, with a code that says the failure is worth polling through:
3646
+ * the document holding the operation needs repairing, but the channel serves
3647
+ * every other document, and a peer that stopped polling would stop receiving
3648
+ * those too. The code is what a client branches on, since the message is not a
3649
+ * contract.
3650
+ */
3651
+ declare class MalformedStoredOperationError extends GraphQLError {
3652
+ constructor(detail: string);
3653
+ }
3654
+ //#endregion
3380
3655
  //#region src/packages/import-loader.d.ts
3381
3656
  /**
3382
3657
  * This class is used to load packages using the import keyword.
@@ -3384,10 +3659,13 @@ declare function buildGraphQlDriveDocument(doc: DocumentDriveDocument): GqlDrive
3384
3659
  declare class ImportPackageLoader implements IPackageLoader {
3385
3660
  private readonly logger;
3386
3661
  readonly name = "ImportPackageLoader";
3662
+ private readonly reportedUnbuilt;
3387
3663
  loadDocumentModels(identifier: string): Promise<DocumentModelModule[]>;
3388
3664
  loadUpgradeManifests(identifier: string): Promise<UpgradeManifest<readonly number[]>[]>;
3389
3665
  loadSubgraphs(identifier: string): Promise<SubgraphClass$1[]>;
3390
3666
  loadProcessors(identifier: string): Promise<ProcessorFactoryBuilder | null>;
3667
+ loadPieces(identifier: string): Promise<PackagePieceEntry[]>;
3668
+ private reportUnbuilt;
3391
3669
  }
3392
3670
  //#endregion
3393
3671
  //#region src/packages/package-manager.d.ts
@@ -3403,7 +3681,7 @@ declare class ImportPackageLoader implements IPackageLoader {
3403
3681
  * either bare (`'pkg'`) or as a subpath (`'pkg/subgraphs'`), since loaders
3404
3682
  * import sub-entries like `${pkg}/subgraphs` / `${pkg}/document-models`.
3405
3683
  */
3406
- declare function isExpectedLoaderMiss(error: unknown, pkg: string): boolean;
3684
+ declare function isExpectedLoaderMiss(error: unknown, pkg: string, subPath?: string): boolean;
3407
3685
  declare function getUniqueDocumentModels(...documentModels: readonly (readonly DocumentModelModule<any>[])[]): DocumentModelModule[];
3408
3686
  declare function getUniqueUpgradeManifests(...upgradeManifests: readonly (readonly UpgradeManifest<readonly number[]>[])[]): UpgradeManifest<readonly number[]>[];
3409
3687
  declare class PackageManager implements IPackageManager {
@@ -3414,6 +3692,7 @@ declare class PackageManager implements IPackageManager {
3414
3692
  private upgradeManifestsMap;
3415
3693
  private subgraphsMap;
3416
3694
  private processorMap;
3695
+ private piecesMap;
3417
3696
  private configWatcher;
3418
3697
  private debouncedUpdateCallbacks;
3419
3698
  private eventEmitter;
@@ -3426,10 +3705,12 @@ declare class PackageManager implements IPackageManager {
3426
3705
  private loadUpgradeManifests;
3427
3706
  private loadSubgraphs;
3428
3707
  private loadProcessors;
3708
+ private loadPieces;
3429
3709
  private maybeWarnAllLoadersFailed;
3430
3710
  private updateDocumentModelsForPackage;
3431
3711
  private updateSubgraphsForPackage;
3432
3712
  private updateProcessorsForPackage;
3713
+ private updatePiecesForPackage;
3433
3714
  /** Debounced per key so repeated subscribePackages calls reuse one timer. */
3434
3715
  private getDebouncedUpdateCallback;
3435
3716
  private subscribePackages;
@@ -3439,6 +3720,9 @@ declare class PackageManager implements IPackageManager {
3439
3720
  private updatePackagesMap;
3440
3721
  private updateSubgraphsMap;
3441
3722
  private updateProcessorsMap;
3723
+ private updatePiecesMap;
3724
+ /** The pieces every loaded package ships, keyed by the package. */
3725
+ getPieces(): Map<string, PackagePieceEntry[]>;
3442
3726
  /**
3443
3727
  * Remove `pkg` from all package maps and emit the change events, tearing
3444
3728
  * down everything the package registered (subgraphs, processors, document
@@ -3449,6 +3733,7 @@ declare class PackageManager implements IPackageManager {
3449
3733
  onDocumentModelsChange(handler: (documentModels: Record<string, DocumentModelModule[]>) => void): void;
3450
3734
  onSubgraphsChange(handler: (subgraphs: Map<string, SubgraphClass$1[]>) => void): void;
3451
3735
  onProcessorsChange(handler: (processors: Map<string, Processor$1>) => void): void;
3736
+ onPiecesChange(handler: (pieces: Map<string, PackagePieceEntry[]>) => void): void;
3452
3737
  }
3453
3738
  //#endregion
3454
3739
  //#region src/services/renown-config.d.ts
@@ -3629,5 +3914,5 @@ interface DocumentModelSchemaOptions {
3629
3914
  */
3630
3915
  declare function generateDocumentModelSchema(documentModel: DocumentModelGlobalState$1, options?: DocumentModelSchemaOptions): DocumentNode;
3631
3916
  //#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 };
3917
+ 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 };
3633
3918
  //# sourceMappingURL=index.d.mts.map