@powerhousedao/reactor-api 6.1.0-staging.0 → 6.2.0-dev.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,5 +1,5 @@
1
1
 
2
- !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="54de2de8-0918-5f80-961f-f2a72e390510")}catch(e){}}();
2
+ !function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="30eaf1c5-796a-5cab-8266-cfe233f9e901")}catch(e){}}();
3
3
  import { a as isSubgraphClass, c as loadDocumentModels, d as BaseSubgraph, i as buildGraphqlOperations, l as loadProcessors, n as buildGraphQlDriveDocument, o as debounce, r as buildGraphqlOperation, t as buildGraphQlDocument, u as loadSubgraphs } from "./utils-BFkbSO_H.mjs";
4
4
  import { AnalyticsQueryEngine } from "@powerhousedao/analytics-engine-core";
5
5
  import { AnalyticsModel, AnalyticsResolvers, typedefs } from "@powerhousedao/analytics-engine-graphql";
@@ -28,6 +28,7 @@ import EventEmitter from "node:events";
28
28
  import fs, { watchFile } from "node:fs";
29
29
  import { PostgresAnalyticsStore } from "@powerhousedao/analytics-engine-pg";
30
30
  import { AttachmentBuilder } from "@powerhousedao/reactor-attachments";
31
+ import { createAttachmentClient } from "@powerhousedao/reactor-attachments/client";
31
32
  import { setupMcpServer } from "@powerhousedao/reactor-mcp";
32
33
  import { mkdir } from "node:fs/promises";
33
34
  import { tmpdir } from "node:os";
@@ -522,7 +523,7 @@ async function createGatewayAdapter(type, logger) {
522
523
  async function createHttpAdapter(type) {
523
524
  switch (type) {
524
525
  case "express": {
525
- const { createExpressHttpAdapter } = await import("./adapter-http-express-DO4ui7AV.mjs");
526
+ const { createExpressHttpAdapter } = await import("./adapter-http-express-D5OpUIbV.mjs");
526
527
  return createExpressHttpAdapter();
527
528
  }
528
529
  case "fastify": {
@@ -4413,10 +4414,10 @@ const ADMIN_USERS = getAdminUsers();
4413
4414
  //#endregion
4414
4415
  //#region src/graphql/system/version.ts
4415
4416
  function getVersion() {
4416
- return "6.1.0-staging.0";
4417
+ return "6.2.0-dev.0";
4417
4418
  }
4418
4419
  function getGitHash() {
4419
- return "0d24fc6cf7535480366d00b1655c11a1699c19c3";
4420
+ return "0a0c29afd527dc79d61590ee62f6d102a7ff9dad";
4420
4421
  }
4421
4422
  function getGitUrl() {
4422
4423
  return buildTreeUrl(getGitHash());
@@ -4446,6 +4447,19 @@ var SystemSubgraph = class extends BaseSubgraph {
4446
4447
  //#endregion
4447
4448
  //#region src/packages/http-loader.ts
4448
4449
  /**
4450
+ * Extract subgraph classes from the imported subgraphs/index.mjs module shape.
4451
+ *
4452
+ * The published bundle uses `export * as Foo from "./file"`, which Node turns
4453
+ * into `{ Foo: <namespace>, … }`. The inner namespace's keys come from the
4454
+ * source file's named exports — typically `Subgraph` / `default` / the class
4455
+ * name itself — so the shape varies. Flatten one level and keep callables.
4456
+ *
4457
+ * Exported for direct unit testing against synthetic module shapes.
4458
+ */
4459
+ function extractSubgraphsFromModule(module) {
4460
+ return Object.values(module).flatMap((namespace) => Object.values(namespace)).filter((s) => typeof s === "function");
4461
+ }
4462
+ /**
4449
4463
  * Loads document models, subgraphs, and processors from an HTTP registry.
4450
4464
  * Uses Node.js module loader hooks to import directly from HTTP URLs.
4451
4465
  *
@@ -4506,12 +4520,7 @@ var HttpPackageLoader = class {
4506
4520
  if (!this.isValidPackageName(packageName)) throw new Error(`Invalid package name: ${packageName}`);
4507
4521
  const url = `${this.registryUrl}-/cdn/${packageSpec}/node/subgraphs/index.mjs`;
4508
4522
  this.logger.verbose(`Importing subgraphs from: ${url}`);
4509
- const module = await import(url);
4510
- const subgraphs = new Array();
4511
- for (const [key, value] of Object.entries(module)) {
4512
- const subgraph = value[key];
4513
- if (subgraph && typeof subgraph === "function") subgraphs.push(subgraph);
4514
- }
4523
+ const subgraphs = extractSubgraphsFromModule(await import(url));
4515
4524
  this.logger.verbose(`Loaded ${subgraphs.length} subgraphs from ${packageName}`);
4516
4525
  return subgraphs;
4517
4526
  }
@@ -4659,6 +4668,26 @@ var ImportPackageLoader = class {
4659
4668
  };
4660
4669
  //#endregion
4661
4670
  //#region src/packages/package-manager.ts
4671
+ /**
4672
+ * A loader throwing "this package isn't mine to load" is normal — loaders are
4673
+ * fallbacks for each other. These shapes mean "not found here", not "broken".
4674
+ *
4675
+ * `ERR_MODULE_NOT_FOUND` is ambiguous: it can mean either (a) the loader's own
4676
+ * entry import for `pkg` failed (expected — the package isn't installed
4677
+ * locally), or (b) the entry loaded successfully but a *transitive* bare
4678
+ * import inside it couldn't resolve (real error — the bundle is broken). We
4679
+ * distinguish by checking whether the error names the package we asked for —
4680
+ * either bare (`'pkg'`) or as a subpath (`'pkg/subgraphs'`), since loaders
4681
+ * import sub-entries like `${pkg}/subgraphs` / `${pkg}/document-models`.
4682
+ */
4683
+ function isExpectedLoaderMiss(error, pkg) {
4684
+ if (!(error instanceof Error)) return false;
4685
+ const code = error.code;
4686
+ if (code === "ERR_UNSUPPORTED_DIR_IMPORT") return true;
4687
+ if (error.message.startsWith("Invalid package name:")) return true;
4688
+ if (code === "ERR_MODULE_NOT_FOUND") return error.message.includes(`'${pkg}'`) || error.message.includes(`"${pkg}"`) || error.message.includes(`'${pkg}/`) || error.message.includes(`"${pkg}/`);
4689
+ return false;
4690
+ }
4662
4691
  function getUniqueDocumentModels(...documentModels) {
4663
4692
  const uniqueModels = /* @__PURE__ */ new Map();
4664
4693
  for (const models of documentModels) for (const model of models) uniqueModels.set(model.documentModel.global.id, model);
@@ -4709,14 +4738,22 @@ var PackageManager = class {
4709
4738
  documentModelModuleMap.set("reactor-drive", [reactorDriveDocumentModelModule]);
4710
4739
  for (const pkg of packages) {
4711
4740
  const allDocumentModels = [];
4741
+ const failures = [];
4742
+ let succeeded = false;
4712
4743
  for (const loader of this.loaders) try {
4713
4744
  const documentModels = await loader.loadDocumentModels(pkg);
4714
4745
  allDocumentModels.push(...documentModels);
4715
4746
  this.logger.info(`[${loader.name}] Loaded document models from package @pkg: @documentModels`, pkg, documentModels.map((dm) => dm.documentModel.global.id));
4747
+ succeeded = true;
4716
4748
  break;
4717
4749
  } catch (error) {
4750
+ failures.push({
4751
+ loader: loader.name,
4752
+ error
4753
+ });
4718
4754
  this.logger.debug(`[${loader.name}] Failed to load document models from package @pkg: @error`, pkg, error);
4719
4755
  }
4756
+ this.maybeWarnAllLoadersFailed("document models", pkg, succeeded, failures);
4720
4757
  documentModelModuleMap.set(pkg, allDocumentModels);
4721
4758
  }
4722
4759
  return documentModelModuleMap;
@@ -4726,13 +4763,21 @@ var PackageManager = class {
4726
4763
  const subgraphsMap = /* @__PURE__ */ new Map();
4727
4764
  for (const pkg of packages) {
4728
4765
  const allSubgraphs = [];
4766
+ const failures = [];
4767
+ let succeeded = false;
4729
4768
  for (const loader of this.loaders) try {
4730
4769
  const subgraphs = await loader.loadSubgraphs(pkg);
4731
4770
  allSubgraphs.push(...subgraphs);
4771
+ succeeded = true;
4732
4772
  break;
4733
4773
  } catch (error) {
4774
+ failures.push({
4775
+ loader: loader.name,
4776
+ error
4777
+ });
4734
4778
  this.logger.debug(`[${loader.name}] Failed to load subgraphs from package ${pkg}`, error);
4735
4779
  }
4780
+ this.maybeWarnAllLoadersFailed("subgraphs", pkg, succeeded, failures);
4736
4781
  subgraphsMap.set(pkg, allSubgraphs);
4737
4782
  }
4738
4783
  return subgraphsMap;
@@ -4742,18 +4787,35 @@ var PackageManager = class {
4742
4787
  const processorsMap = /* @__PURE__ */ new Map();
4743
4788
  for (const pkg of packages) {
4744
4789
  const allProcessors = [];
4790
+ const failures = [];
4791
+ let succeeded = false;
4745
4792
  for (const loader of this.loaders) try {
4746
4793
  const processors = await loader.loadProcessors(pkg);
4747
4794
  if (processors) allProcessors.push(processors);
4795
+ succeeded = true;
4748
4796
  break;
4749
4797
  } catch (error) {
4798
+ failures.push({
4799
+ loader: loader.name,
4800
+ error
4801
+ });
4750
4802
  this.logger.debug(`[${loader.name}] Failed to load processors from package ${pkg}`, error);
4751
4803
  }
4804
+ this.maybeWarnAllLoadersFailed("processors", pkg, succeeded, failures);
4752
4805
  processorsMap.set(pkg, allProcessors);
4753
4806
  }
4754
4807
  this.updateProcessorsMap(processorsMap);
4755
4808
  return processorsMap;
4756
4809
  }
4810
+ maybeWarnAllLoadersFailed(kind, pkg, succeeded, failures) {
4811
+ if (succeeded || failures.length === 0) return;
4812
+ const realFailures = failures.filter(({ error }) => !isExpectedLoaderMiss(error, pkg));
4813
+ if (realFailures.length === 0) return;
4814
+ const details = realFailures.map(({ loader, error }) => {
4815
+ return ` [${loader}] ${error instanceof Error ? error.message : String(error)}`;
4816
+ }).join("\n");
4817
+ this.logger.warn(`All package loaders failed to load ${kind} from @pkg:\n@details`, pkg, details);
4818
+ }
4757
4819
  async updateDocumentModelsForPackage(pkg) {
4758
4820
  this.logger.debug(`Updating document models for package: ${pkg}`);
4759
4821
  const documentModels = await this.loadDocumentModels([pkg]);
@@ -4764,7 +4826,12 @@ var PackageManager = class {
4764
4826
  subscribePackages(packages) {
4765
4827
  const unsubs = [];
4766
4828
  for (const pkg of packages) {
4767
- if (!this.debouncedUpdateCallbacks.has(pkg)) this.debouncedUpdateCallbacks.set(pkg, debounce(() => this.updateDocumentModelsForPackage(pkg), 1e3));
4829
+ if (!this.debouncedUpdateCallbacks.has(pkg)) {
4830
+ const debouncedFn = debounce(() => this.updateDocumentModelsForPackage(pkg), 1e3);
4831
+ this.debouncedUpdateCallbacks.set(pkg, () => {
4832
+ debouncedFn();
4833
+ });
4834
+ }
4768
4835
  const debouncedCallback = this.debouncedUpdateCallbacks.get(pkg);
4769
4836
  for (const loader of this.loaders) if (loader.onDocumentModelsChange) {
4770
4837
  const unsub = loader.onDocumentModelsChange(pkg, debouncedCallback);
@@ -4946,11 +5013,11 @@ async function down(db) {
4946
5013
  * Custom migration provider that loads migrations from imported modules
4947
5014
  */
4948
5015
  var StaticMigrationProvider = class {
4949
- async getMigrations() {
4950
- return {
5016
+ getMigrations() {
5017
+ return Promise.resolve({
4951
5018
  "001_create_document_permissions": _001_create_document_permissions_exports,
4952
5019
  "002_add_document_protection": _002_add_document_protection_exports
4953
- };
5020
+ });
4954
5021
  }
4955
5022
  };
4956
5023
  /**
@@ -5042,7 +5109,7 @@ var AuthorizationService = class {
5042
5109
  * - Owner → yes
5043
5110
  * - Has ADMIN grant → yes
5044
5111
  */
5045
- async canManage(documentId, userAddress, getParentIds) {
5112
+ async canManage(documentId, userAddress, _getParentIds) {
5046
5113
  if (this.isSupremeAdmin(userAddress)) return true;
5047
5114
  if (!userAddress) return false;
5048
5115
  const owner = await this.documentPermissionService.getDocumentOwner(documentId);
@@ -5773,24 +5840,28 @@ function setupEventListeners(pkgManager, graphqlManager, reactorProcessorManager
5773
5840
  }
5774
5841
  graphqlManager.regenerateDocumentModelSubgraphs();
5775
5842
  });
5776
- pkgManager.onSubgraphsChange(async (packagedSubgraphs) => {
5777
- for (const [, subgraphs] of packagedSubgraphs) for (const subgraph of subgraphs) await graphqlManager.registerSubgraph(subgraph, "graphql");
5778
- await graphqlManager.updateRouter();
5843
+ pkgManager.onSubgraphsChange((packagedSubgraphs) => {
5844
+ (async () => {
5845
+ for (const [, subgraphs] of packagedSubgraphs) for (const subgraph of subgraphs) await graphqlManager.registerSubgraph(subgraph, "graphql");
5846
+ await graphqlManager.updateRouter();
5847
+ })();
5779
5848
  });
5780
- pkgManager.onProcessorsChange(async (processors) => {
5781
- for (const [packageName, fns] of processors) {
5782
- await reactorProcessorManager.unregisterFactory(packageName);
5783
- const validBuilders = fns.map((fn) => fn(module)).filter((factory) => factory !== null && typeof factory === "function");
5784
- if (!validBuilders.length) continue;
5785
- await reactorProcessorManager.registerFactory(packageName, async (driveHeader) => (await Promise.all(validBuilders.map(async (driveFactory) => {
5786
- try {
5787
- return await driveFactory(driveHeader);
5788
- } catch (e) {
5789
- defaultLogger.error(`Error creating processor for drive ${driveHeader.id}:`, e);
5790
- return [];
5791
- }
5792
- }))).flat());
5793
- }
5849
+ pkgManager.onProcessorsChange((processors) => {
5850
+ (async () => {
5851
+ for (const [packageName, fns] of processors) {
5852
+ await reactorProcessorManager.unregisterFactory(packageName);
5853
+ const validBuilders = fns.map((fn) => fn(module)).filter((factory) => typeof factory === "function");
5854
+ if (!validBuilders.length) continue;
5855
+ await reactorProcessorManager.registerFactory(packageName, async (driveHeader) => (await Promise.all(validBuilders.map(async (driveFactory) => {
5856
+ try {
5857
+ return await driveFactory(driveHeader);
5858
+ } catch (e) {
5859
+ defaultLogger.error(`Error creating processor for drive ${driveHeader.id}:`, e);
5860
+ return [];
5861
+ }
5862
+ }))).flat());
5863
+ }
5864
+ })();
5794
5865
  });
5795
5866
  }
5796
5867
  /**
@@ -5823,11 +5894,11 @@ async function _setupCommonInfrastructure(options) {
5823
5894
  let authEnabled = false;
5824
5895
  if (options.configFile) {
5825
5896
  const config = getConfig(options.configFile);
5826
- admins = config.auth?.admins?.map((a) => a.toLowerCase()) ?? [];
5897
+ admins = config.auth?.admins.map((a) => a.toLowerCase()) ?? [];
5827
5898
  authEnabled = config.auth?.enabled ?? false;
5828
5899
  } else if (options.auth) {
5829
- admins = options.auth?.admins?.map((a) => a.toLowerCase()) ?? [];
5830
- authEnabled = options.auth?.enabled ?? false;
5900
+ admins = options.auth.admins.map((a) => a.toLowerCase());
5901
+ authEnabled = options.auth.enabled;
5831
5902
  }
5832
5903
  const { AUTH_ENABLED, ADMINS, DEFAULT_PROTECTION, DOCUMENT_PERMISSIONS_ENABLED, SKIP_CREDENTIAL_VERIFICATION } = process.env;
5833
5904
  if (AUTH_ENABLED !== void 0) authEnabled = AUTH_ENABLED === "true";
@@ -5883,7 +5954,11 @@ async function _setupCommonInfrastructure(options) {
5883
5954
  await mkdir(attachmentStoragePath, { recursive: true });
5884
5955
  const { db: attachmentDb, knex: attachmentKnex, pglite: attachmentPglite } = getDbClient(options.dbPath, options.pgliteFactory);
5885
5956
  dbClosers.push(...makeDbClosers(attachmentKnex, attachmentPglite));
5886
- const attachments = await new AttachmentBuilder(attachmentDb, attachmentStoragePath).build();
5957
+ const attachments = await new AttachmentBuilder(attachmentDb, attachmentStoragePath).withReservationSweepMs(3600 * 1e3).build();
5958
+ dbClosers.push(() => {
5959
+ attachments.destroy();
5960
+ return Promise.resolve();
5961
+ });
5887
5962
  logger.info("Attachment service initialized");
5888
5963
  const packages = new PackageManager(options.packageLoaders ?? [new ImportPackageLoader()], {
5889
5964
  configFile: options.configFile,
@@ -5916,6 +5991,8 @@ async function _setupAPI(reactorClient, syncManager, reactorProcessorManager, ht
5916
5991
  analyticsStore,
5917
5992
  processorApp,
5918
5993
  config: options.processorConfig,
5994
+ client: reactorClient,
5995
+ attachments: createAttachmentClient(attachments.service),
5919
5996
  dispatch: { async execute(docId, branch, actions, signal) {
5920
5997
  const jobInfo = await reactorClient.executeAsync(docId, branch, actions, signal);
5921
5998
  return {
@@ -6045,20 +6122,21 @@ async function initializeAndStartAPI(clientInitializer, options, processorApp) {
6045
6122
  //#region src/services/package-storage.ts
6046
6123
  var InMemoryPackageStorage = class {
6047
6124
  packages = /* @__PURE__ */ new Map();
6048
- async get(name) {
6049
- return this.packages.get(name);
6125
+ get(name) {
6126
+ return Promise.resolve(this.packages.get(name));
6050
6127
  }
6051
- async getAll() {
6052
- return Array.from(this.packages.values());
6128
+ getAll() {
6129
+ return Promise.resolve(Array.from(this.packages.values()));
6053
6130
  }
6054
- async set(name, info) {
6131
+ set(name, info) {
6055
6132
  this.packages.set(name, info);
6133
+ return Promise.resolve();
6056
6134
  }
6057
- async delete(name) {
6058
- return this.packages.delete(name);
6135
+ delete(name) {
6136
+ return Promise.resolve(this.packages.delete(name));
6059
6137
  }
6060
- async has(name) {
6061
- return this.packages.has(name);
6138
+ has(name) {
6139
+ return Promise.resolve(this.packages.has(name));
6062
6140
  }
6063
6141
  };
6064
6142
  //#endregion
@@ -6141,7 +6219,7 @@ var PackageManagementService = class {
6141
6219
  }
6142
6220
  };
6143
6221
  //#endregion
6144
- export { ADMIN_USERS, ActionContextInputSchema, ActionInputSchema, AddRelationshipDocument, AnalyticsSubgraph, AttachmentInputSchema, AuthService, AuthSubgraph, BaseSubgraph, ChannelMetaInputSchema, CreateDocumentDocument, CreateEmptyDocumentDocument, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentOperationsFilterInputSchema, DocumentPermissionService, FindDocumentsDocument, GetDocumentDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentWithOperationsDocument, GetJobStatusDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, ImportPackageLoader, InMemoryPackageStorage, JobChangesDocument, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, SearchFilterInputSchema, SetPreferredEditorDocument, SyncEnvelopeInputSchema, SyncEnvelopeType, SyncEnvelopeTypeSchema, SystemSubgraph, TouchChannelDocument, TouchChannelInputSchema, ViewFilterInputSchema, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createSchema, definedNonNullAnySchema, driveIdFromUrl, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isSubgraphClass, parseDriveUrl, renderGraphqlPlayground };
6222
+ export { ADMIN_USERS, ActionContextInputSchema, ActionInputSchema, AddRelationshipDocument, AnalyticsSubgraph, AttachmentInputSchema, AuthService, AuthSubgraph, BaseSubgraph, ChannelMetaInputSchema, CreateDocumentDocument, CreateEmptyDocumentDocument, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentOperationsFilterInputSchema, DocumentPermissionService, FindDocumentsDocument, GetDocumentDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentWithOperationsDocument, GetJobStatusDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, ImportPackageLoader, InMemoryPackageStorage, JobChangesDocument, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, SearchFilterInputSchema, SetPreferredEditorDocument, SyncEnvelopeInputSchema, SyncEnvelopeType, SyncEnvelopeTypeSchema, SystemSubgraph, TouchChannelDocument, TouchChannelInputSchema, ViewFilterInputSchema, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createSchema, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isSubgraphClass, parseDriveUrl, renderGraphqlPlayground };
6145
6223
 
6146
6224
  //# sourceMappingURL=index.mjs.map
6147
- //# debugId=54de2de8-0918-5f80-961f-f2a72e390510
6225
+ //# debugId=30eaf1c5-796a-5cab-8266-cfe233f9e901