@powerhousedao/reactor-api 6.2.3-dev.44 → 6.2.3-dev.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-http-express-CWqziB1p.mjs → adapter-http-express-P0t-mdMV.mjs} +6 -6
- package/dist/{adapter-http-express-CWqziB1p.mjs.map → adapter-http-express-P0t-mdMV.mjs.map} +1 -1
- package/dist/{adapter-http-fastify-CYZQ6FFv.mjs → adapter-http-fastify-D0OP5q9K.mjs} +6 -6
- package/dist/{adapter-http-fastify-CYZQ6FFv.mjs.map → adapter-http-fastify-D0OP5q9K.mjs.map} +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +46 -51
- package/dist/index.mjs.map +1 -1
- package/dist/pglite-node-Ow9i5Rb4.mjs +573 -0
- package/dist/pglite-node-Ow9i5Rb4.mjs.map +1 -0
- package/dist/src/pglite/pglite-node.d.mts +130 -0
- package/dist/src/pglite/pglite-node.d.mts.map +1 -0
- package/dist/src/pglite/pglite-node.mjs +4 -0
- package/package.json +18 -14
package/dist/index.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
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]="e3951045-d29d-5cf1-b068-0ee1e9b26631")}catch(e){}}();
|
|
3
3
|
import { t as __exportAll } from "./rolldown-runtime-8H4AJuhK.mjs";
|
|
4
4
|
import { A as AuthenticationRequiredError, C as callerSubject, D as AuthorizedDocumentHandle, E as AuthorizationPolicy, M as MalformedStoredOperationError, N as RefusalNotRecordedError, O as createAuthorizationService, S as BaseSubgraph, T as createCanonicalDocumentIdResolver, b as loadSubgraphs, c as piecesFromListModule, d as buildGraphQlDriveDocument, f as buildGraphqlOperation, g as extractUpgradeManifests, h as debounce, i as PIECE_SOURCE_LIST, j as ForbiddenError, k as AuthEvaluationUnsupportedError, l as extractDocumentModels, m as isSubgraphClass, o as pieceListLocation, p as buildGraphqlOperations, s as piecesFromCdnList, t as extractSubgraphs, u as buildGraphQlDocument, v as loadDocumentModels, w as CanonicalDocumentIdResolutionError, x as manifestDeclaredSubgraphs, y as loadProcessors } from "./subgraph-extraction-DTFoN_bS.mjs";
|
|
5
|
+
import { l as createDurableNodeFs, n as openCurrentPgliteForVerify, r as preparePgliteDataDir, u as resolvePgliteFsync } from "./pglite-node-Ow9i5Rb4.mjs";
|
|
5
6
|
import { findPackageJSON, isBuiltin } from "node:module";
|
|
6
7
|
import { AnalyticsQueryEngine } from "@powerhousedao/analytics-engine-core";
|
|
7
8
|
import { AnalyticsModel, AnalyticsResolvers, typedefs } from "@powerhousedao/analytics-engine-graphql";
|
|
@@ -14,7 +15,7 @@ import path, { isAbsolute, join } from "node:path";
|
|
|
14
15
|
import { match } from "path-to-regexp";
|
|
15
16
|
import posix from "node:path/posix";
|
|
16
17
|
import { Readable } from "node:stream";
|
|
17
|
-
import
|
|
18
|
+
import nodeFs, { existsSync, readFileSync, watchFile } from "node:fs";
|
|
18
19
|
import { pipeline } from "node:stream/promises";
|
|
19
20
|
import { createHash, createHmac, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
|
|
20
21
|
import { pathToFileURL } from "node:url";
|
|
@@ -46,7 +47,7 @@ import { createRelationalDb } from "@powerhousedao/shared/processors";
|
|
|
46
47
|
import { Kysely, Migrator, sql } from "kysely";
|
|
47
48
|
import { fetchDelegationCredential, resolveSwitchboardEndpoint, verifyAuthBearerToken } from "@renown/sdk";
|
|
48
49
|
import { PGlite } from "@electric-sql/pglite";
|
|
49
|
-
import {
|
|
50
|
+
import { NodeFS } from "@electric-sql/pglite/nodefs";
|
|
50
51
|
import knex from "knex";
|
|
51
52
|
import ClientPgLite from "knex-pglite";
|
|
52
53
|
import { KyselyKnexDialect, PGColdDialect } from "kysely-knex";
|
|
@@ -373,11 +374,11 @@ async function createGatewayAdapter(type, logger) {
|
|
|
373
374
|
async function createHttpAdapter(type) {
|
|
374
375
|
switch (type) {
|
|
375
376
|
case "express": {
|
|
376
|
-
const { createExpressHttpAdapter } = await import("./adapter-http-express-
|
|
377
|
+
const { createExpressHttpAdapter } = await import("./adapter-http-express-P0t-mdMV.mjs");
|
|
377
378
|
return createExpressHttpAdapter();
|
|
378
379
|
}
|
|
379
380
|
case "fastify": {
|
|
380
|
-
const { createFastifyHttpAdapter } = await import("./adapter-http-fastify-
|
|
381
|
+
const { createFastifyHttpAdapter } = await import("./adapter-http-fastify-D0OP5q9K.mjs");
|
|
381
382
|
return createFastifyHttpAdapter();
|
|
382
383
|
}
|
|
383
384
|
}
|
|
@@ -622,7 +623,7 @@ function writeError(res, status, message) {
|
|
|
622
623
|
}
|
|
623
624
|
//#endregion
|
|
624
625
|
//#region src/http/route-service.ts
|
|
625
|
-
const logger$
|
|
626
|
+
const logger$3 = childLogger(["reactor-api", "http-routes"]);
|
|
626
627
|
/** The segment package routes live under, inside the host's base path. */
|
|
627
628
|
const PACKAGE_ROUTE_SEGMENT = "api";
|
|
628
629
|
/** The namespace core's own subgraphs and services register under. */
|
|
@@ -717,7 +718,7 @@ var HttpRouteService = class {
|
|
|
717
718
|
return this.scopeFor(packageKey);
|
|
718
719
|
} catch (error) {
|
|
719
720
|
if (!(error instanceof InvalidNamespaceError)) throw error;
|
|
720
|
-
logger$
|
|
721
|
+
logger$3.warn("Package \"@package\" cannot host HTTP routes: @reason", packageKey, error.message);
|
|
721
722
|
return new UnroutableScope(packageKey, error.message);
|
|
722
723
|
}
|
|
723
724
|
}
|
|
@@ -824,7 +825,7 @@ var HttpScope = class {
|
|
|
824
825
|
path: routePath,
|
|
825
826
|
handles
|
|
826
827
|
});
|
|
827
|
-
logger$
|
|
828
|
+
logger$3.debug("Registered @route for @package", key, this.owner);
|
|
828
829
|
return {
|
|
829
830
|
url: `${this.#publicUrl}${routePath}`,
|
|
830
831
|
dispose: () => {
|
|
@@ -847,7 +848,7 @@ var HttpScope = class {
|
|
|
847
848
|
transport: resolveTransport(req, this.#trustProxy)
|
|
848
849
|
});
|
|
849
850
|
} catch (error) {
|
|
850
|
-
logger$
|
|
851
|
+
logger$3.error("Route handler failed for @package", this.owner, error);
|
|
851
852
|
writeError(res, 500, "Internal server error");
|
|
852
853
|
}
|
|
853
854
|
}
|
|
@@ -1127,7 +1128,7 @@ function parseWebhookBody(raw, contentType) {
|
|
|
1127
1128
|
}
|
|
1128
1129
|
//#endregion
|
|
1129
1130
|
//#region src/http/webhook-service.ts
|
|
1130
|
-
const logger$
|
|
1131
|
+
const logger$2 = childLogger(["reactor-api", "webhooks"]);
|
|
1131
1132
|
/** The flat, token-addressed path family. */
|
|
1132
1133
|
const WEBHOOK_SEGMENT = "webhooks";
|
|
1133
1134
|
const DEFAULT_MAX_BODY_BYTES = 1048576;
|
|
@@ -1272,7 +1273,7 @@ var WebhookService = class {
|
|
|
1272
1273
|
raw
|
|
1273
1274
|
});
|
|
1274
1275
|
if (!result.ok) {
|
|
1275
|
-
logger$
|
|
1276
|
+
logger$2.warn("Rejected webhook delivery for @package/@endpoint: @reason", row.namespace, row.endpoint, result.reason);
|
|
1276
1277
|
writeError(res, 401, "Signature verification failed");
|
|
1277
1278
|
return;
|
|
1278
1279
|
}
|
|
@@ -1312,7 +1313,7 @@ var WebhookService = class {
|
|
|
1312
1313
|
res.end(reply.body);
|
|
1313
1314
|
} else res.end();
|
|
1314
1315
|
} catch (error) {
|
|
1315
|
-
logger$
|
|
1316
|
+
logger$2.error("Webhook delivery failed for @method", req.method, error);
|
|
1316
1317
|
writeError(res, 500, "Internal server error");
|
|
1317
1318
|
}
|
|
1318
1319
|
}
|
|
@@ -1491,7 +1492,7 @@ var MemoryWebhookStore = class {
|
|
|
1491
1492
|
};
|
|
1492
1493
|
//#endregion
|
|
1493
1494
|
//#region src/utils/create-schema.ts
|
|
1494
|
-
const logger = childLogger(["reactor-api", "create-schema"]);
|
|
1495
|
+
const logger$1 = childLogger(["reactor-api", "create-schema"]);
|
|
1495
1496
|
/**
|
|
1496
1497
|
* Revision type - matches the definition in reactor/schema.graphql.
|
|
1497
1498
|
* Used by PHDocument and document mutation results.
|
|
@@ -1545,7 +1546,7 @@ const dedupeTypeDefinitions = (doc) => {
|
|
|
1545
1546
|
const name = def.name?.value;
|
|
1546
1547
|
if (!name) return true;
|
|
1547
1548
|
if (seen.has(name)) {
|
|
1548
|
-
logger.debug(`Dropping duplicate type definition: ${name}`);
|
|
1549
|
+
logger$1.debug(`Dropping duplicate type definition: ${name}`);
|
|
1549
1550
|
return false;
|
|
1550
1551
|
}
|
|
1551
1552
|
seen.add(name);
|
|
@@ -1679,7 +1680,7 @@ const getDocumentModelTypeDefs = (documentModels, typeDefs$1) => {
|
|
|
1679
1680
|
documentModels.forEach(({ documentModel }) => {
|
|
1680
1681
|
const dmSchemaName = getDocumentModelSchemaName(documentModel.global);
|
|
1681
1682
|
if (addedDocumentModels.has(dmSchemaName)) {
|
|
1682
|
-
logger.debug(`Skipping document model with duplicate name: ${dmSchemaName}`);
|
|
1683
|
+
logger$1.debug(`Skipping document model with duplicate name: ${dmSchemaName}`);
|
|
1683
1684
|
return;
|
|
1684
1685
|
}
|
|
1685
1686
|
addedDocumentModels.add(dmSchemaName);
|
|
@@ -1794,7 +1795,7 @@ function extractTypeNames(schema) {
|
|
|
1794
1795
|
try {
|
|
1795
1796
|
return definedTypeNames(parseSdl(schema), ALL_PREFIX_KINDS);
|
|
1796
1797
|
} catch (error) {
|
|
1797
|
-
logger.debug(`Skipping unparseable schema: ${String(error)}`);
|
|
1798
|
+
logger$1.debug(`Skipping unparseable schema: ${String(error)}`);
|
|
1798
1799
|
return [];
|
|
1799
1800
|
}
|
|
1800
1801
|
}
|
|
@@ -6826,10 +6827,10 @@ const ADMIN_USERS = getAdminUsers();
|
|
|
6826
6827
|
//#endregion
|
|
6827
6828
|
//#region src/graphql/system/version.ts
|
|
6828
6829
|
function getVersion() {
|
|
6829
|
-
return "6.2.3-dev.
|
|
6830
|
+
return "6.2.3-dev.46";
|
|
6830
6831
|
}
|
|
6831
6832
|
function getGitHash() {
|
|
6832
|
-
return "
|
|
6833
|
+
return "cc06855b5a141e5f5717265940da4b87b5910541";
|
|
6833
6834
|
}
|
|
6834
6835
|
function getGitUrl() {
|
|
6835
6836
|
return buildTreeUrl(getGitHash());
|
|
@@ -9164,45 +9165,30 @@ function resolveRenownSource(value, logger) {
|
|
|
9164
9165
|
}
|
|
9165
9166
|
//#endregion
|
|
9166
9167
|
//#region src/utils/db.ts
|
|
9168
|
+
const logger = childLogger(["reactor-api", "db"]);
|
|
9167
9169
|
const PGLITE_UTC_PARSERS = { 1114: (value) => /* @__PURE__ */ new Date(`${value.replace(" ", "T")}Z`) };
|
|
9168
|
-
function
|
|
9169
|
-
|
|
9170
|
-
return false;
|
|
9170
|
+
function isPostgresConnectionString(connectionString) {
|
|
9171
|
+
return connectionString.startsWith("postgresql://") || connectionString.startsWith("postgres://");
|
|
9171
9172
|
}
|
|
9172
|
-
/**
|
|
9173
|
-
* Cache of DB clients keyed by connection string. Reactor-api's read-model
|
|
9174
|
-
* layer wires analytics, attachments, and document-permissions as separate
|
|
9175
|
-
* consumers but they all target the same logical database (one postgres
|
|
9176
|
-
* instance, many schemas). Without caching:
|
|
9177
|
-
* - PGlite: two `new PGlite(samePath)` calls mean two embedded postgres
|
|
9178
|
-
* processes contending for the same data dir, racing shutdown syncs
|
|
9179
|
-
* and silently losing writes — a correctness bug.
|
|
9180
|
-
* - Postgres: each consumer opens an independent pool against the same
|
|
9181
|
-
* backend — wasteful but correct.
|
|
9182
|
-
* Caching by connection string returns the same knex/PGlite pair to every
|
|
9183
|
-
* consumer so writes coexist in one MemoryFS and one atomic snapshot, and
|
|
9184
|
-
* postgres callers get connection-pool dedup for free.
|
|
9185
|
-
*
|
|
9186
|
-
* Entries are evicted from inside the wrapped `knex.destroy()` below, so a
|
|
9187
|
-
* teardown + re-init in the same process (tests, hot-reloads) constructs
|
|
9188
|
-
* a fresh client instead of returning a closed pool.
|
|
9189
|
-
*/
|
|
9190
9173
|
const IN_MEMORY_CACHE_KEY = Symbol("getDbClient:in-memory");
|
|
9191
9174
|
const dbClientCache = /* @__PURE__ */ new Map();
|
|
9192
9175
|
function getDbClient(connectionString = void 0, pgliteFactory) {
|
|
9193
9176
|
const cacheKey = connectionString ?? IN_MEMORY_CACHE_KEY;
|
|
9194
9177
|
const cached = dbClientCache.get(cacheKey);
|
|
9195
9178
|
if (cached) return cached;
|
|
9196
|
-
const isPg = connectionString &&
|
|
9179
|
+
const isPg = connectionString && isPostgresConnectionString(connectionString);
|
|
9197
9180
|
const client = isPg ? "pg" : ClientPgLite;
|
|
9198
9181
|
const pgliteInstance = isPg ? void 0 : pgliteFactory ? pgliteFactory(connectionString) : connectionString ? new PGlite({
|
|
9199
|
-
fs:
|
|
9182
|
+
fs: createDurableNodeFs(NodeFS, connectionString, {
|
|
9183
|
+
fsync: resolvePgliteFsync(process.env),
|
|
9184
|
+
logger
|
|
9185
|
+
}),
|
|
9200
9186
|
parsers: PGLITE_UTC_PARSERS
|
|
9201
9187
|
}) : new PGlite({ parsers: PGLITE_UTC_PARSERS });
|
|
9202
9188
|
const connection = isPg ? { connectionString } : { pglite: pgliteInstance };
|
|
9203
9189
|
if (connectionString && !isPg) {
|
|
9204
9190
|
const dirPath = path.resolve(connectionString, "..");
|
|
9205
|
-
if (!
|
|
9191
|
+
if (!nodeFs.existsSync(dirPath)) nodeFs.mkdirSync(dirPath, { recursive: true });
|
|
9206
9192
|
}
|
|
9207
9193
|
const knexInstance = knex({
|
|
9208
9194
|
client,
|
|
@@ -9376,7 +9362,11 @@ function resolveAttachmentStoragePath(options) {
|
|
|
9376
9362
|
* (when on-disk PGlite is in use); callers are expected to run them as part
|
|
9377
9363
|
* of API teardown so PGlite WAL is flushed and the data-dir lock is released.
|
|
9378
9364
|
*/
|
|
9379
|
-
async function initializeDatabaseAndAnalytics(dbPath, pgliteFactory) {
|
|
9365
|
+
async function initializeDatabaseAndAnalytics(dbPath, pgliteFactory, logger) {
|
|
9366
|
+
if (!pgliteFactory && dbPath && !isPostgresConnectionString(dbPath)) await preparePgliteDataDir(dbPath, {
|
|
9367
|
+
openForVerify: openCurrentPgliteForVerify,
|
|
9368
|
+
logger
|
|
9369
|
+
});
|
|
9380
9370
|
const { db, knex, pglite } = getDbClient(dbPath, pgliteFactory);
|
|
9381
9371
|
const relationalDb = createRelationalDb(db);
|
|
9382
9372
|
const analyticsStore = new PostgresAnalyticsStore({ knex });
|
|
@@ -9384,7 +9374,7 @@ async function initializeDatabaseAndAnalytics(dbPath, pgliteFactory) {
|
|
|
9384
9374
|
return {
|
|
9385
9375
|
relationalDb,
|
|
9386
9376
|
analyticsStore,
|
|
9387
|
-
closers: makeDbClosers(knex, pglite)
|
|
9377
|
+
closers: makeDbClosers(knex, pglite, logger)
|
|
9388
9378
|
};
|
|
9389
9379
|
}
|
|
9390
9380
|
/**
|
|
@@ -9393,10 +9383,15 @@ async function initializeDatabaseAndAnalytics(dbPath, pgliteFactory) {
|
|
|
9393
9383
|
* (which is what the application talks to), then PGlite flushes WAL and
|
|
9394
9384
|
* unlocks the data dir.
|
|
9395
9385
|
*/
|
|
9396
|
-
function makeDbClosers(knexInstance, pglite) {
|
|
9386
|
+
function makeDbClosers(knexInstance, pglite, logger) {
|
|
9397
9387
|
const closers = [() => knexInstance.destroy()];
|
|
9398
9388
|
if (pglite) closers.push(async () => {
|
|
9399
|
-
if (
|
|
9389
|
+
if (pglite.closed) return;
|
|
9390
|
+
try {
|
|
9391
|
+
await pglite.close();
|
|
9392
|
+
} catch (err) {
|
|
9393
|
+
logger.warn(`PGlite close failed: ${String(err)}`);
|
|
9394
|
+
}
|
|
9400
9395
|
});
|
|
9401
9396
|
return closers;
|
|
9402
9397
|
}
|
|
@@ -9661,12 +9656,12 @@ async function _setupCommonInfrastructure(options) {
|
|
|
9661
9656
|
} else logger.warn("Anonymous callers are admitted on every transport, including WebSocket subscriptions: REQUIRE_AUTHENTICATED_CALLER is not set. The authorization policy gates the reactor's own documents, but a package-provided subgraph authorizes nothing on its own. Set REQUIRE_AUTHENTICATED_CALLER=true to refuse anonymous callers before any subgraph sees them.");
|
|
9662
9657
|
}
|
|
9663
9658
|
const dbClosers = [];
|
|
9664
|
-
const { relationalDb, analyticsStore, closers: analyticsClosers } = await initializeDatabaseAndAnalytics(options.dbPath, options.pgliteFactory);
|
|
9659
|
+
const { relationalDb, analyticsStore, closers: analyticsClosers } = await initializeDatabaseAndAnalytics(options.dbPath, options.pgliteFactory, logger);
|
|
9665
9660
|
dbClosers.push(...analyticsClosers);
|
|
9666
9661
|
let documentPermissionService = options.documentPermissionService;
|
|
9667
9662
|
if (!documentPermissionService && DOCUMENT_PERMISSIONS_ENABLED === "true") {
|
|
9668
9663
|
const { db, knex, pglite } = getDbClient(options.dbPath, options.pgliteFactory);
|
|
9669
|
-
dbClosers.push(...makeDbClosers(knex, pglite));
|
|
9664
|
+
dbClosers.push(...makeDbClosers(knex, pglite, logger));
|
|
9670
9665
|
await runMigrations(db);
|
|
9671
9666
|
logger.info("Document permission migrations completed");
|
|
9672
9667
|
documentPermissionService = new DocumentPermissionService(db, { defaultProtection });
|
|
@@ -9681,7 +9676,7 @@ async function _setupCommonInfrastructure(options) {
|
|
|
9681
9676
|
const attachmentStoragePath = resolveAttachmentStoragePath(options);
|
|
9682
9677
|
await mkdir(attachmentStoragePath, { recursive: true });
|
|
9683
9678
|
const { db: attachmentDb, knex: attachmentKnex, pglite: attachmentPglite } = getDbClient(options.dbPath, options.pgliteFactory);
|
|
9684
|
-
dbClosers.push(...makeDbClosers(attachmentKnex, attachmentPglite));
|
|
9679
|
+
dbClosers.push(...makeDbClosers(attachmentKnex, attachmentPglite, logger));
|
|
9685
9680
|
const ATTACHMENT_SWEEP_INTERVAL_MS = 36e5;
|
|
9686
9681
|
const attachmentBackend = await createStartupAttachmentBackend({ db: attachmentDb });
|
|
9687
9682
|
const attachmentBuilder = new AttachmentBuilder(attachmentDb, attachmentStoragePath).withReservationSweepMs(ATTACHMENT_SWEEP_INTERVAL_MS);
|
|
@@ -10091,7 +10086,7 @@ var PackageManagementService = class {
|
|
|
10091
10086
|
}
|
|
10092
10087
|
};
|
|
10093
10088
|
//#endregion
|
|
10094
|
-
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, CreateDocumentDocument, CreateEmptyDocumentDocument, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentOperationsFilterInputSchema, DocumentPermissionService, DocumentRelationshipFieldsFragmentDoc, EvaluateActionsDocument, FindDocumentsDocument, ForbiddenError, GetDocumentDocument, GetDocumentIncomingRelationshipEdgesDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipEdgesDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentWithOperationsDocument, GetJobStatusDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, HttpRouteService, ImportPackageLoader, InMemoryPackageStorage, InvalidNamespaceError, JobChangesDocument, MalformedStoredOperationError, MemoryWebhookStore, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PACKAGE_ROUTE_SEGMENT, PGLITE_UTC_PARSERS, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PrivacyPermissionAdapter, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, RefusalNotRecordedError, RelationalWebhookStore, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, SearchFilterInputSchema, SetPreferredEditorDocument, 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, WebhookService, assertAttachmentPolicyReadsAllowed, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, callerSubject, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, createWsAuthHandlers, decodeExplorerUrlState, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphs, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getExplorerPrefix, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isSubgraphClass, namespacePath, namespaceSegments, newWebhookToken, parseDriveUrl, parseWebhookBody, piecesBaseUrl, redactHeaders, renderGraphqlPlayground, resolvePackageName, resolveRenownConfig, verifyWebhook };
|
|
10089
|
+
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, CreateDocumentDocument, CreateEmptyDocumentDocument, DeleteDocumentDocument, DeleteDocumentsDocument, DocumentChangeType, DocumentChangeTypeSchema, DocumentChangesDocument, DocumentOperationsFilterInputSchema, DocumentPermissionService, DocumentRelationshipFieldsFragmentDoc, EvaluateActionsDocument, FindDocumentsDocument, ForbiddenError, GetDocumentDocument, GetDocumentIncomingRelationshipEdgesDocument, GetDocumentIncomingRelationshipsDocument, GetDocumentModelsDocument, GetDocumentOperationsDocument, GetDocumentOutgoingRelationshipEdgesDocument, GetDocumentOutgoingRelationshipsDocument, GetDocumentWithOperationsDocument, GetJobStatusDocument, GraphQLManager, HttpDocumentModelLoader, HttpPackageLoader, HttpRouteService, ImportPackageLoader, InMemoryPackageStorage, InvalidNamespaceError, JobChangesDocument, MalformedStoredOperationError, MemoryWebhookStore, MoveRelationshipDocument, MutateDocumentAsyncDocument, MutateDocumentDocument, OperationContextInputSchema, OperationInputSchema, OperationWithContextInputSchema, OperationsFilterInputSchema, PACKAGE_ROUTE_SEGMENT, PGLITE_UTC_PARSERS, PackageManagementService, PackageManager, PackagesSubgraph, PagingInputSchema, PhDocumentFieldsFragmentDoc, PollSyncEnvelopesDocument, PrivacyPermissionAdapter, PropagationMode, PropagationModeSchema, PushSyncEnvelopesDocument, ReactorSignerAppInputSchema, ReactorSignerInputSchema, ReactorSignerUserInputSchema, ReactorSubgraph, RefusalNotRecordedError, RelationalWebhookStore, RemoteCursorInputSchema, RemoteFilterInputSchema, RemoveRelationshipDocument, RenameDocumentDocument, SearchFilterInputSchema, SetPreferredEditorDocument, 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, WebhookService, assertAttachmentPolicyReadsAllowed, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertHostMountPath, assertRequireAuthenticatedCallerAllowed, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, callerSubject, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, createWsAuthHandlers, decodeExplorerUrlState, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphs, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getExplorerPrefix, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isPostgresConnectionString, isSubgraphClass, namespacePath, namespaceSegments, newWebhookToken, parseDriveUrl, parseWebhookBody, piecesBaseUrl, redactHeaders, renderGraphqlPlayground, resolvePackageName, resolveRenownConfig, verifyWebhook };
|
|
10095
10090
|
|
|
10096
10091
|
//# sourceMappingURL=index.mjs.map
|
|
10097
|
-
//# debugId=
|
|
10092
|
+
//# debugId=e3951045-d29d-5cf1-b068-0ee1e9b26631
|