@powerhousedao/reactor-api 6.2.3-dev.101 → 6.2.3-dev.102
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.d.mts +68 -2
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +201 -9
- package/dist/index.mjs.map +1 -1
- package/dist/src/packages/vite-loader.mjs +1 -1
- package/dist/{subgraph-extraction-C_hFvSaS.mjs → subgraph-extraction-D5RG9I-y.mjs} +122 -7
- package/dist/subgraph-extraction-D5RG9I-y.mjs.map +1 -0
- package/package.json +13 -13
- package/dist/subgraph-extraction-C_hFvSaS.mjs.map +0 -1
package/dist/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
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]="
|
|
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]="577fbb83-65ea-558f-a795-e8fa41dfbb1a")}catch(e){}}();
|
|
3
3
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
4
|
-
import { A as
|
|
4
|
+
import { A as manifestDeclaredSubgraphs, B as applyReadableFilter, C as extractUpgradeManifests, D as loadProcessors, E as loadDocumentModels, F as createCredentialInvalidator, G as AuthorizationPolicy, H as readableDocumentsSubquery, I as DEFAULT_ROOT_TYPES, J as AuthEvaluationUnsupportedError, K as AuthorizedDocumentHandle, L as EVERYONE, M as callerSubject, N as RequestClientBinder, O as loadScalars, P as AuthService, Q as RefusalNotRecordedError, R as READABLE_DOCUMENTS_NAMESPACE, S as debounce, U as CanonicalDocumentIdResolutionError, V as isDocumentListed, W as createCanonicalDocumentIdResolver, X as ForbiddenError, Y as AuthenticationRequiredError, Z as MalformedStoredOperationError, _ as CodeFirstSubgraphError, a as PIECE_SOURCE_LIST, b as runDetached, c as piecesFromCdnList, d as buildGraphQlDocument, f as buildGraphQlDriveDocument, g as codeFirstCheck, h as isSubgraphClass, j as BaseSubgraph, k as loadSubgraphs, l as piecesFromListModule, m as buildGraphqlOperations, n as scalarExportsOf, p as buildGraphqlOperation, q as createAuthorizationService, s as pieceListLocation, t as extractSubgraphs, u as extractDocumentModels, v as compileSubgraphClass, w as failedLoadHeader, x as PACKAGE_MODULE_FAILED, y as reportFailure, z as ReadableDocumentsProjection } from "./subgraph-extraction-D5RG9I-y.mjs";
|
|
5
5
|
import { A as getDocumentModelTypeDefs, B as sameScalarRegistry, C as createMergedSchema, D as generateDocumentModelSchema, E as findSubgraphTypeCollisions, F as typeDefinitionNames, I as documentModelSchemaSource, L as selectDocumentModelSchemaSource, M as hasOperationSchemas, N as reservedTypeNames, O as generatedTypesOf, P as reservedTypeNamesTaken, R as getDocumentModelSchemaName, S as buildSubgraphSchemaModule, T as documentModelSubgraphTypes, V as schema_default$1, _ as describeOwnershipConflicts, a as inspectionAdminTypeDefs, b as assembleSubgraphTypeDefs, c as HOST_ORIGIN, d as byClaimPriority, f as decideAdmission, g as collectSubgraphClaims, h as supergraphClaimLosers, i as inspectionTypeDefs, j as getGeneratedDocumentModelTypes, k as getDocumentModelSubgraphName, l as RegistrationOrder, m as documentModelSubgraphSources, n as systemTypeDefs, o as CORE_ORIGIN, p as describeOrigin, r as schema_default$2, s as DOCUMENT_MODEL_ORIGIN, t as baseDocumentModels, u as admitDocumentModels, v as DocumentModelSchemaCache, w as createSchema, x as buildDocumentModelSchema, y as SubgraphTypeCollisionError, z as EMPTY_SCALAR_REGISTRY } from "./base-document-models-caJpqTLw.mjs";
|
|
6
6
|
import { n as createApolloFetchHandler } from "./adapter-gateway-apollo-D-EdZ4e-.mjs";
|
|
7
7
|
import { _ as PGLITE_UTC_PARSERS, a as resolvePgliteMaintenance, r as createDurableNodeFs } from "./error-info-Cr6oQACe.mjs";
|
|
8
8
|
import { h as preparePgliteDataDir, m as openCurrentPgliteForVerify } from "./pglite-node-CcX2YT-l.mjs";
|
|
9
9
|
import nodeModule, { isBuiltin } from "node:module";
|
|
10
10
|
import { AttachmentBuilder, AttachmentNotFound, AttachmentReferenceIndexBuilder, createRef, createS3AttachmentBackend, parseAttachmentStorageConfig, parseRef, validateReserveMetadata } from "@powerhousedao/reactor-attachments";
|
|
11
|
-
import { ConsoleLogger, childLogger } from "document-model";
|
|
11
|
+
import { ConsoleLogger, SUBGRAPH_PROTOCOL, childLogger } from "document-model";
|
|
12
12
|
import { AnalyticsQueryEngine } from "@powerhousedao/analytics-engine-core";
|
|
13
13
|
import { AnalyticsModel, AnalyticsResolvers, typedefs } from "@powerhousedao/analytics-engine-graphql";
|
|
14
14
|
import { gql } from "graphql-tag";
|
|
@@ -6415,6 +6415,7 @@ var GraphQLManager = class {
|
|
|
6415
6415
|
}
|
|
6416
6416
|
async #addSubgraphInstance(subgraphInstance, supergraph = "", core = false, origin = HOST_ORIGIN) {
|
|
6417
6417
|
if (core) origin = CORE_ORIGIN;
|
|
6418
|
+
codeFirstCheck(subgraphInstance, "construction");
|
|
6418
6419
|
const admission = this.#admit(subgraphInstance, origin);
|
|
6419
6420
|
if (admission.action === "reject") return void 0;
|
|
6420
6421
|
if (admission.action === "skip") {
|
|
@@ -6427,7 +6428,10 @@ var GraphQLManager = class {
|
|
|
6427
6428
|
const refused = this.#packageClasses.get(origin)?.refused;
|
|
6428
6429
|
if (refused?.get(subgraphInstance.name) === subgraphInstance) refused.delete(subgraphInstance.name);
|
|
6429
6430
|
}
|
|
6430
|
-
await this.#runHook(() =>
|
|
6431
|
+
await this.#runHook(async () => {
|
|
6432
|
+
await subgraphInstance.onSetup?.();
|
|
6433
|
+
codeFirstCheck(subgraphInstance, "setup");
|
|
6434
|
+
});
|
|
6431
6435
|
for (const evicted of evicts) {
|
|
6432
6436
|
this.logger.error("Evicting subgraph @name from @existing: @origin outranks it", subgraphInstance.name, describeOrigin(this.#originOf(evicted)), describeOrigin(origin));
|
|
6433
6437
|
await this.#removeSubgraphInstance(evicted);
|
|
@@ -6633,7 +6637,8 @@ var GraphQLManager = class {
|
|
|
6633
6637
|
}
|
|
6634
6638
|
}
|
|
6635
6639
|
#createSubgraphInstance(subgraph, packageName) {
|
|
6636
|
-
|
|
6640
|
+
codeFirstCheck(subgraph, "registration");
|
|
6641
|
+
const instance = new subgraph({
|
|
6637
6642
|
http: this.scopeForPackage(packageName ?? "@powerhousedao/reactor-api"),
|
|
6638
6643
|
relationalDb: this.relationalDb,
|
|
6639
6644
|
analyticsStore: this.analyticsStore,
|
|
@@ -6650,6 +6655,8 @@ var GraphQLManager = class {
|
|
|
6650
6655
|
inspection: this.inspection,
|
|
6651
6656
|
credentials: createCredentialInvalidator(this.authService)
|
|
6652
6657
|
});
|
|
6658
|
+
codeFirstCheck(instance, "construction");
|
|
6659
|
+
return instance;
|
|
6653
6660
|
}
|
|
6654
6661
|
/**
|
|
6655
6662
|
* Apply a package change: `packaged` holds every loaded package's subgraph
|
|
@@ -9184,10 +9191,10 @@ const ADMIN_USERS = new Proxy([], {
|
|
|
9184
9191
|
//#endregion
|
|
9185
9192
|
//#region src/graphql/system/version.ts
|
|
9186
9193
|
function getVersion() {
|
|
9187
|
-
return "6.2.3-dev.
|
|
9194
|
+
return "6.2.3-dev.102";
|
|
9188
9195
|
}
|
|
9189
9196
|
function getGitHash() {
|
|
9190
|
-
return "
|
|
9197
|
+
return "d1dbbb1eee95f0c9b013b5df885ec3d156afcd31";
|
|
9191
9198
|
}
|
|
9192
9199
|
function getGitUrl() {
|
|
9193
9200
|
return buildTreeUrl(getGitHash());
|
|
@@ -9205,6 +9212,191 @@ var SystemSubgraph = class extends BaseSubgraph {
|
|
|
9205
9212
|
}) } };
|
|
9206
9213
|
};
|
|
9207
9214
|
//#endregion
|
|
9215
|
+
//#region src/graphql/code-first/bind.ts
|
|
9216
|
+
function bindResolvers(bindings, subgraph) {
|
|
9217
|
+
const resolvers = /* @__PURE__ */ new Map();
|
|
9218
|
+
const on = (typeName) => {
|
|
9219
|
+
let bucket = resolvers.get(typeName);
|
|
9220
|
+
if (bucket === void 0) {
|
|
9221
|
+
bucket = /* @__PURE__ */ new Map();
|
|
9222
|
+
resolvers.set(typeName, bucket);
|
|
9223
|
+
}
|
|
9224
|
+
return bucket;
|
|
9225
|
+
};
|
|
9226
|
+
for (const binding of bindings.values()) switch (binding.kind) {
|
|
9227
|
+
case "query":
|
|
9228
|
+
case "mutation":
|
|
9229
|
+
on(binding.typeName).set(binding.fieldName, (_, args, request, info) => binding.resolve({
|
|
9230
|
+
parent: void 0,
|
|
9231
|
+
args,
|
|
9232
|
+
request,
|
|
9233
|
+
info,
|
|
9234
|
+
subgraph
|
|
9235
|
+
}));
|
|
9236
|
+
break;
|
|
9237
|
+
case "computed-field":
|
|
9238
|
+
on(binding.typeName).set(binding.fieldName, (parent, args, request, info) => binding.resolve({
|
|
9239
|
+
parent,
|
|
9240
|
+
args,
|
|
9241
|
+
request,
|
|
9242
|
+
info,
|
|
9243
|
+
subgraph
|
|
9244
|
+
}));
|
|
9245
|
+
break;
|
|
9246
|
+
case "subscription": {
|
|
9247
|
+
const { resolve } = binding;
|
|
9248
|
+
on(binding.typeName).set(binding.fieldName, {
|
|
9249
|
+
subscribe: (_, args, request, info) => binding.subscribe({
|
|
9250
|
+
parent: void 0,
|
|
9251
|
+
args,
|
|
9252
|
+
request,
|
|
9253
|
+
info,
|
|
9254
|
+
subgraph
|
|
9255
|
+
}),
|
|
9256
|
+
...resolve && { resolve: (event, args, request, info) => resolve({
|
|
9257
|
+
parent: event,
|
|
9258
|
+
args,
|
|
9259
|
+
request,
|
|
9260
|
+
info,
|
|
9261
|
+
subgraph
|
|
9262
|
+
}) }
|
|
9263
|
+
});
|
|
9264
|
+
break;
|
|
9265
|
+
}
|
|
9266
|
+
case "resolve-type": {
|
|
9267
|
+
const resolveType = (value, request, info) => binding.resolveType({
|
|
9268
|
+
value,
|
|
9269
|
+
request,
|
|
9270
|
+
info,
|
|
9271
|
+
subgraph
|
|
9272
|
+
});
|
|
9273
|
+
on(binding.typeName).set("__resolveType", resolveType);
|
|
9274
|
+
break;
|
|
9275
|
+
}
|
|
9276
|
+
}
|
|
9277
|
+
return Object.fromEntries([...resolvers].map(([typeName, fields]) => [typeName, Object.fromEntries(fields)]));
|
|
9278
|
+
}
|
|
9279
|
+
//#endregion
|
|
9280
|
+
//#region src/graphql/code-first/protocol.ts
|
|
9281
|
+
const assignedByInstance = /* @__PURE__ */ new WeakMap();
|
|
9282
|
+
const protocols = /* @__PURE__ */ new WeakMap();
|
|
9283
|
+
function recordAssigned(instance, sdl, fields) {
|
|
9284
|
+
assignedByInstance.set(instance, {
|
|
9285
|
+
...fields,
|
|
9286
|
+
functions: functionsOf(fields.resolvers),
|
|
9287
|
+
sdl
|
|
9288
|
+
});
|
|
9289
|
+
}
|
|
9290
|
+
/** The protocol of `cls`, which runs in the copy of reactor-api that defined it. */
|
|
9291
|
+
function subgraphProtocol(cls) {
|
|
9292
|
+
let protocol = protocols.get(cls);
|
|
9293
|
+
if (protocol === void 0) {
|
|
9294
|
+
protocol = Object.freeze({
|
|
9295
|
+
version: 1,
|
|
9296
|
+
describe() {
|
|
9297
|
+
const compilation = compileSubgraphClass(cls);
|
|
9298
|
+
const { name, diagnostics } = compilation;
|
|
9299
|
+
return {
|
|
9300
|
+
...name !== void 0 && { name },
|
|
9301
|
+
...compilation.kind === "compiled" && { definition: compilation.definition },
|
|
9302
|
+
diagnostics
|
|
9303
|
+
};
|
|
9304
|
+
},
|
|
9305
|
+
validate: validateInstance
|
|
9306
|
+
});
|
|
9307
|
+
protocols.set(cls, protocol);
|
|
9308
|
+
}
|
|
9309
|
+
return protocol;
|
|
9310
|
+
}
|
|
9311
|
+
function validateInstance(instance) {
|
|
9312
|
+
const assigned = typeof instance === "object" && instance !== null ? assignedByInstance.get(instance) : void 0;
|
|
9313
|
+
if (assigned === void 0) return {
|
|
9314
|
+
ok: false,
|
|
9315
|
+
message: "the instance was not constructed by this copy's Subgraph constructor"
|
|
9316
|
+
};
|
|
9317
|
+
const current = instance;
|
|
9318
|
+
const changed = [
|
|
9319
|
+
"name",
|
|
9320
|
+
"typeDefs",
|
|
9321
|
+
"resolvers",
|
|
9322
|
+
"hasSubscriptions"
|
|
9323
|
+
].find((field) => current[field] !== assigned[field]) ?? (print(assigned.typeDefs) === assigned.sdl ? void 0 : "typeDefs") ?? (sameFunctions(current.resolvers, assigned) ? void 0 : "resolvers");
|
|
9324
|
+
if (changed === void 0) return { ok: true };
|
|
9325
|
+
return {
|
|
9326
|
+
ok: false,
|
|
9327
|
+
message: `\`${changed}\` differs from what the Subgraph constructor assigned from getSchema. A code-first subgraph declares its schema in getSchema only; remove the field initializer, field declaration or assignment that sets \`${changed}\`.`
|
|
9328
|
+
};
|
|
9329
|
+
}
|
|
9330
|
+
function sameFunctions(resolvers, assigned) {
|
|
9331
|
+
const current = functionsOf(resolvers);
|
|
9332
|
+
return current.size === assigned.functions.size && [...current].every(([coordinate, value]) => assigned.functions.get(coordinate) === value);
|
|
9333
|
+
}
|
|
9334
|
+
function functionsOf(resolvers) {
|
|
9335
|
+
const functions = /* @__PURE__ */ new Map();
|
|
9336
|
+
for (const [typeName, fields] of Object.entries(resolvers)) for (const [fieldName, value] of Object.entries(fields)) {
|
|
9337
|
+
const coordinate = `${typeName}.${fieldName}`;
|
|
9338
|
+
if (typeof value === "object" && value !== null) for (const [step, fn] of Object.entries(value)) functions.set(`${coordinate}.${step}`, fn);
|
|
9339
|
+
else functions.set(coordinate, value);
|
|
9340
|
+
}
|
|
9341
|
+
return functions;
|
|
9342
|
+
}
|
|
9343
|
+
//#endregion
|
|
9344
|
+
//#region src/graphql/code-first/subgraph.ts
|
|
9345
|
+
/**
|
|
9346
|
+
* @experimental A subgraph whose schema and resolvers come from typed
|
|
9347
|
+
* entries. A subclass declares `static subgraphName` (lowercase kebab-case)
|
|
9348
|
+
* and `static getSchema(schema)`; the constructor assigns `name`,
|
|
9349
|
+
* `typeDefs`, `resolvers` and `hasSubscriptions` from them, and the host
|
|
9350
|
+
* refuses an instance that changes any of the four.
|
|
9351
|
+
*
|
|
9352
|
+
* A subclass without `subgraphName` is a base for other code-first
|
|
9353
|
+
* subgraphs and cannot be constructed.
|
|
9354
|
+
*
|
|
9355
|
+
* @example
|
|
9356
|
+
* ```ts
|
|
9357
|
+
* export class InvoicesSubgraph extends Subgraph {
|
|
9358
|
+
* static override readonly subgraphName = "invoices";
|
|
9359
|
+
* static override getSchema(
|
|
9360
|
+
* schema: SchemaBuilder<InvoicesSubgraph>,
|
|
9361
|
+
* ): readonly SubgraphSchemaEntry<InvoicesSubgraph>[] {
|
|
9362
|
+
* return [
|
|
9363
|
+
* schema.query("invoiceCount", {
|
|
9364
|
+
* type: ph.Int({ required: true }),
|
|
9365
|
+
* resolve: ({ subgraph }) => subgraph.count(),
|
|
9366
|
+
* }),
|
|
9367
|
+
* ];
|
|
9368
|
+
* }
|
|
9369
|
+
* }
|
|
9370
|
+
* ```
|
|
9371
|
+
*/
|
|
9372
|
+
var Subgraph = class extends BaseSubgraph {
|
|
9373
|
+
/**
|
|
9374
|
+
* The subgraph's entries. Every served subclass overrides it, typing
|
|
9375
|
+
* `schema` as `SchemaBuilder<TheSubclass>`.
|
|
9376
|
+
*/
|
|
9377
|
+
static getSchema(_schema) {
|
|
9378
|
+
return [];
|
|
9379
|
+
}
|
|
9380
|
+
static get [SUBGRAPH_PROTOCOL]() {
|
|
9381
|
+
return subgraphProtocol(this);
|
|
9382
|
+
}
|
|
9383
|
+
constructor(args) {
|
|
9384
|
+
super(args);
|
|
9385
|
+
const compilation = compileSubgraphClass(new.target);
|
|
9386
|
+
if (compilation.kind === "failed") throw new CodeFirstSubgraphError(`${new.target.name} cannot be constructed: ${compilation.reason}`);
|
|
9387
|
+
this.name = compilation.name;
|
|
9388
|
+
this.typeDefs = parse(compilation.sdl);
|
|
9389
|
+
this.resolvers = bindResolvers(compilation.bindings, this);
|
|
9390
|
+
this.hasSubscriptions = compilation.hasSubscriptions;
|
|
9391
|
+
recordAssigned(this, compilation.sdl, {
|
|
9392
|
+
name: this.name,
|
|
9393
|
+
typeDefs: this.typeDefs,
|
|
9394
|
+
resolvers: this.resolvers,
|
|
9395
|
+
hasSubscriptions: this.hasSubscriptions
|
|
9396
|
+
});
|
|
9397
|
+
}
|
|
9398
|
+
};
|
|
9399
|
+
//#endregion
|
|
9208
9400
|
//#region src/packages/registry-cache.ts
|
|
9209
9401
|
/** Entry files a registry package's node build is served from, CDN-relative. */
|
|
9210
9402
|
const PACKAGE_ENTRIES = {
|
|
@@ -13047,7 +13239,7 @@ var NodeMemorySampler = class {
|
|
|
13047
13239
|
}
|
|
13048
13240
|
};
|
|
13049
13241
|
//#endregion
|
|
13050
|
-
export { ADMIN_USERS, ActionCandidateInputSchema, ActionContextInputSchema, ActionInputSchema, AddRelationshipDocument, AnalyticsSubgraph, AttachmentAccessFailed, AttachmentAccessService, AttachmentAccessUnavailable, AttachmentClientProvider, AuthDecision, AuthDecisionSchema, AuthEvaluationUnsupportedError, AuthService, AuthSubgraph, AuthenticationRequiredError, AuthorizationPolicy, AuthorizedAttachmentService, AuthorizedDocumentHandle, BaseSubgraph, CORE_PACKAGE_NAME, CanonicalDocumentIdResolutionError, ChannelMetaInputSchema, ConsistencyCoordinateInputSchema, ConsistencyTokenInputSchema, CreateDocumentDocument, CreateEmptyDocumentDocument, DEFAULT_INSPECTION_THROTTLE, DEFAULT_PERMISSION_CACHE_OPTIONS, DEFAULT_PERMISSION_CACHE_TTL_MS, DEFAULT_ROOT_TYPES, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentModelSchemaCache, DocumentOperationsFilterInputSchema, DocumentPermissionService, DocumentPermissionSnapshot, DocumentRelationshipFieldsFragmentDoc, DriveNodeFieldsFragmentDoc, DriveNodeKind, DriveNodeKindSchema, EVERYONE, EvaluateActionsDocument, ExecuteBatchDocument, ExecutionJobInputSchema, FindDocumentsDocument, ForbiddenError, GetCreateDefaultsDocument, GetCreateProtocolVersionsDocument, GetDocumentDocument, GetDocumentIncomingRelationshipEdgesDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipEdgesDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentServedDocument, GetDocumentWithOperationsDocument, GetDriveDescendantsDocument, GetDriveNodeDocument, GetDriveNodesDocument, GetJobStatusDocument, GetUndoRedoTargetsDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, HttpRouteService, ImportPackageLoader, InMemoryPackageStorage, InspectionAdminSubgraph, InspectionSubgraph, InspectionThrottle, InspectionThrottledError, InvalidNamespaceError, JobChangesDocument, JobInfoFieldsFragmentDoc, JsonlFile, MalformedStoredOperationError, MemoryWebhookStore, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, NodeEventLoopDelay, NodeMemorySampler, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PACKAGE_ROUTE_SEGMENT, PGLITE_UTC_PARSERS, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PermissionCache, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PrivacyPermissionAdapter, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, READABLE_DOCUMENTS_NAMESPACE, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, ReadableDocumentsProjection, RefusalNotRecordedError, RelationalWebhookStore, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, RequestLoadRecorder, SearchFilterInputSchema, SetPreferredEditorDocument, SubgraphTypeCollisionError, SyncEnvelopeInputSchema, SyncEnvelopeType, SyncEnvelopeTypeSchema, SyncRefusalInputSchema, SystemSubgraph, TouchChannelDocument, TouchChannelInputSchema, UpdateRelationshipDocument, ViewFilterInputSchema, WEBHOOK_SEGMENT, WS_AUTH_CLOSE_REASONS, WS_CLOSE_REASON_AUTHENTICATION_REQUIRED, WS_CLOSE_REASON_BEARER_REJECTED, WS_CLOSE_REASON_CREDENTIAL_REVOKED, WebhookService, applyReadableFilter, assembleSubgraphTypeDefs, assertAttachmentPolicyReadsAllowed, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertIndexAccessComplete, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, baseDocumentModels, buildDocumentModelSchema, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildScalarRegistry, buildSubgraphSchemaModule, callerSubject, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createCredentialInvalidator, createGatewayAdapter, createHeapSnapshotWriter, createHttpAdapter, createInspectionResolvers, createMergedSchema, createReactorGraphQLClient, createReactorInspectionSource, createRenownCredentialVerifier, createSchema, createWsAuthHandlers, decodeExplorerUrlState, defineIndexSubgraph, definedNonNullAnySchema, documentModelSubgraphTypes, driveIdFromUrl, extractSubgraphs, extractSubgraphsFromModule, fileTimestamp, findSubgraphTypeCollisions, generateDocumentModelSchema, generatedTypesOf, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelSubgraphName, getDocumentModelTypeDefs, getExplorerPrefix, getGeneratedDocumentModelTypes, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, hasOperationSchemas, initAnalyticsStoreSql, initializeAndStartAPI, inspectionAdminTypeDefs, inspectionTypeDefs, isCountedRequest, isDefinedNonNullAny, isDocumentListed, isExpectedLoaderMiss, isListedAdmin, isPostgresConnectionString, isSubgraphClass, memoryFileSink, namespacePath, namespaceSegments, newWebhookToken, parseDriveUrl, parseWebhookBody, piecesBaseUrl, reactorApiConfigFromEnv, readableDocumentsSubquery, redactHeaders, renderGraphqlPlayground, reportFailure, reservedTypeNames, reservedTypeNamesTaken, resolveCredentialCacheTtlMs, resolvePackageName, resolvePermissionCacheTtlMs, resolveRenownConfig, runDetached, scalarExportsOf, setAuthContext, telemetryDir, typeDefinitionNames, validateDocumentModelsForHost, verifyWebhook };
|
|
13242
|
+
export { ADMIN_USERS, ActionCandidateInputSchema, ActionContextInputSchema, ActionInputSchema, AddRelationshipDocument, AnalyticsSubgraph, AttachmentAccessFailed, AttachmentAccessService, AttachmentAccessUnavailable, AttachmentClientProvider, AuthDecision, AuthDecisionSchema, AuthEvaluationUnsupportedError, AuthService, AuthSubgraph, AuthenticationRequiredError, AuthorizationPolicy, AuthorizedAttachmentService, AuthorizedDocumentHandle, BaseSubgraph, CORE_PACKAGE_NAME, CanonicalDocumentIdResolutionError, ChannelMetaInputSchema, CodeFirstSubgraphError, ConsistencyCoordinateInputSchema, ConsistencyTokenInputSchema, CreateDocumentDocument, CreateEmptyDocumentDocument, DEFAULT_INSPECTION_THROTTLE, DEFAULT_PERMISSION_CACHE_OPTIONS, DEFAULT_PERMISSION_CACHE_TTL_MS, DEFAULT_ROOT_TYPES, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentModelSchemaCache, DocumentOperationsFilterInputSchema, DocumentPermissionService, DocumentPermissionSnapshot, DocumentRelationshipFieldsFragmentDoc, DriveNodeFieldsFragmentDoc, DriveNodeKind, DriveNodeKindSchema, EVERYONE, EvaluateActionsDocument, ExecuteBatchDocument, ExecutionJobInputSchema, FindDocumentsDocument, ForbiddenError, GetCreateDefaultsDocument, GetCreateProtocolVersionsDocument, GetDocumentDocument, GetDocumentIncomingRelationshipEdgesDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipEdgesDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentServedDocument, GetDocumentWithOperationsDocument, GetDriveDescendantsDocument, GetDriveNodeDocument, GetDriveNodesDocument, GetJobStatusDocument, GetUndoRedoTargetsDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, HttpRouteService, ImportPackageLoader, InMemoryPackageStorage, InspectionAdminSubgraph, InspectionSubgraph, InspectionThrottle, InspectionThrottledError, InvalidNamespaceError, JobChangesDocument, JobInfoFieldsFragmentDoc, JsonlFile, MalformedStoredOperationError, MemoryWebhookStore, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, NodeEventLoopDelay, NodeMemorySampler, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PACKAGE_ROUTE_SEGMENT, PGLITE_UTC_PARSERS, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PermissionCache, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PrivacyPermissionAdapter, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, READABLE_DOCUMENTS_NAMESPACE, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, ReadableDocumentsProjection, RefusalNotRecordedError, RelationalWebhookStore, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, RequestLoadRecorder, SearchFilterInputSchema, SetPreferredEditorDocument, Subgraph, SubgraphTypeCollisionError, SyncEnvelopeInputSchema, SyncEnvelopeType, SyncEnvelopeTypeSchema, SyncRefusalInputSchema, SystemSubgraph, TouchChannelDocument, TouchChannelInputSchema, UpdateRelationshipDocument, ViewFilterInputSchema, WEBHOOK_SEGMENT, WS_AUTH_CLOSE_REASONS, WS_CLOSE_REASON_AUTHENTICATION_REQUIRED, WS_CLOSE_REASON_BEARER_REJECTED, WS_CLOSE_REASON_CREDENTIAL_REVOKED, WebhookService, applyReadableFilter, assembleSubgraphTypeDefs, assertAttachmentPolicyReadsAllowed, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertIndexAccessComplete, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, baseDocumentModels, buildDocumentModelSchema, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildScalarRegistry, buildSubgraphSchemaModule, callerSubject, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createCredentialInvalidator, createGatewayAdapter, createHeapSnapshotWriter, createHttpAdapter, createInspectionResolvers, createMergedSchema, createReactorGraphQLClient, createReactorInspectionSource, createRenownCredentialVerifier, createSchema, createWsAuthHandlers, decodeExplorerUrlState, defineIndexSubgraph, definedNonNullAnySchema, documentModelSubgraphTypes, driveIdFromUrl, extractSubgraphs, extractSubgraphsFromModule, fileTimestamp, findSubgraphTypeCollisions, generateDocumentModelSchema, generatedTypesOf, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelSubgraphName, getDocumentModelTypeDefs, getExplorerPrefix, getGeneratedDocumentModelTypes, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, hasOperationSchemas, initAnalyticsStoreSql, initializeAndStartAPI, inspectionAdminTypeDefs, inspectionTypeDefs, isCountedRequest, isDefinedNonNullAny, isDocumentListed, isExpectedLoaderMiss, isListedAdmin, isPostgresConnectionString, isSubgraphClass, memoryFileSink, namespacePath, namespaceSegments, newWebhookToken, parseDriveUrl, parseWebhookBody, piecesBaseUrl, reactorApiConfigFromEnv, readableDocumentsSubquery, redactHeaders, renderGraphqlPlayground, reportFailure, reservedTypeNames, reservedTypeNamesTaken, resolveCredentialCacheTtlMs, resolvePackageName, resolvePermissionCacheTtlMs, resolveRenownConfig, runDetached, scalarExportsOf, setAuthContext, telemetryDir, typeDefinitionNames, validateDocumentModelsForHost, verifyWebhook };
|
|
13051
13243
|
|
|
13052
13244
|
//# sourceMappingURL=index.mjs.map
|
|
13053
|
-
//# debugId=
|
|
13245
|
+
//# debugId=577fbb83-65ea-558f-a795-e8fa41dfbb1a
|