@powerhousedao/reactor-api 6.2.2-dev.50 → 6.2.2-dev.52
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 +191 -3
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +231 -18
- package/dist/index.mjs.map +1 -1
- package/dist/src/packages/vite-loader.mjs +1 -1
- package/dist/{utils-bcfC5Kc1.mjs → utils-Tw4hVMpc.mjs} +33 -5
- package/dist/utils-Tw4hVMpc.mjs.map +1 -0
- package/package.json +14 -14
- package/dist/utils-bcfC5Kc1.mjs.map +0 -1
package/dist/index.d.mts
CHANGED
|
@@ -21,6 +21,7 @@ import { GraphQLResolverMap, GraphQLSchemaModule } from "@apollo/subgraph/dist/s
|
|
|
21
21
|
import { Context as Context$1, GqlDocument as GqlDocument$1, GqlDriveDocument as GqlDriveDocument$1, GqlOperation as GqlOperation$1, GraphQLManager as GraphQLManager$1, ISubgraph as ISubgraph$1, Processor as Processor$1, SubgraphArgs as SubgraphArgs$1, SubgraphClass as SubgraphClass$1 } from "@powerhousedao/reactor-api";
|
|
22
22
|
import { IncomingHttpHeaders } from "http";
|
|
23
23
|
import { Pool } from "pg";
|
|
24
|
+
import { PHReactorRenown } from "@powerhousedao/shared/clis";
|
|
24
25
|
|
|
25
26
|
//#region src/utils/db.d.ts
|
|
26
27
|
/**
|
|
@@ -63,6 +64,9 @@ interface OperationUserPermissionTable {
|
|
|
63
64
|
createdAt: Date;
|
|
64
65
|
}
|
|
65
66
|
type Db = Kysely<any>;
|
|
67
|
+
declare const PGLITE_UTC_PARSERS: {
|
|
68
|
+
readonly 1114: (value: string) => Date;
|
|
69
|
+
};
|
|
66
70
|
/**
|
|
67
71
|
* Optional factory used by callers (e.g. Switchboard) to inject a
|
|
68
72
|
* version-specific PGLite instance — e.g. `pglite-legacy-02` when an existing
|
|
@@ -293,7 +297,8 @@ type Context = {
|
|
|
293
297
|
user?: {
|
|
294
298
|
address: string;
|
|
295
299
|
chainId: number;
|
|
296
|
-
networkId: string;
|
|
300
|
+
networkId: string; /** The did:key of the app instance that issued this request's token. */
|
|
301
|
+
appKey: string;
|
|
297
302
|
};
|
|
298
303
|
};
|
|
299
304
|
type ISubgraph = {
|
|
@@ -411,6 +416,16 @@ declare class BaseSubgraph implements ISubgraph$1 {
|
|
|
411
416
|
* layer, such as a fetched document's id). Performs no slug resolution.
|
|
412
417
|
*/
|
|
413
418
|
canReadDocument(documentId: CanonicalDocumentId, ctx: Context): Promise<boolean>;
|
|
419
|
+
/**
|
|
420
|
+
* The principal a request decides as: the authenticated caller's address, and
|
|
421
|
+
* the did:key of the app instance whose token authenticated it.
|
|
422
|
+
*
|
|
423
|
+
* Both, because a policy can name either. The key is what a document records
|
|
424
|
+
* as its creator, so a subject built without one cannot match the creator's
|
|
425
|
+
* standing permission over the auth scope -- the document's own creator would
|
|
426
|
+
* be refused an operation the write path accepts, since a signed action
|
|
427
|
+
* carries the same key. Anonymous callers supply neither.
|
|
428
|
+
*/
|
|
414
429
|
protected viewSubject(ctx: Context): AuthSubject;
|
|
415
430
|
/**
|
|
416
431
|
* Asserts read access, resolving a slug first. Returns a handle whose
|
|
@@ -611,6 +626,19 @@ interface User {
|
|
|
611
626
|
address: string;
|
|
612
627
|
chainId: number;
|
|
613
628
|
networkId: string;
|
|
629
|
+
/**
|
|
630
|
+
* The did:key of the app instance that issued this request's token, taken
|
|
631
|
+
* from the verified credential's issuer.
|
|
632
|
+
*
|
|
633
|
+
* It is the same value a signer presents as its app key when it signs an
|
|
634
|
+
* action, which is what a document records as its creator. Carrying it here
|
|
635
|
+
* is what lets a request decide as the same principal the write path
|
|
636
|
+
* presents, rather than as an address with no key.
|
|
637
|
+
*
|
|
638
|
+
* Authenticated, not asserted: the token is verified by resolving this very
|
|
639
|
+
* DID, so a caller cannot name someone else's.
|
|
640
|
+
*/
|
|
641
|
+
appKey: string;
|
|
614
642
|
}
|
|
615
643
|
interface AuthContext {
|
|
616
644
|
user?: User;
|
|
@@ -633,7 +661,12 @@ declare class AuthService {
|
|
|
633
661
|
*/
|
|
634
662
|
private verifyToken;
|
|
635
663
|
/**
|
|
636
|
-
* Extract user information from verification result
|
|
664
|
+
* Extract user information from verification result.
|
|
665
|
+
*
|
|
666
|
+
* The issuer is required along with the credential subject. A credential that
|
|
667
|
+
* verified must carry one -- resolving it is how the signature was checked --
|
|
668
|
+
* so this rejects a shape that cannot have come from verification rather than
|
|
669
|
+
* admitting a keyless principal.
|
|
637
670
|
*/
|
|
638
671
|
private extractUserFromVerification;
|
|
639
672
|
/**
|
|
@@ -849,6 +882,14 @@ declare class GraphQLManager {
|
|
|
849
882
|
*/
|
|
850
883
|
getAuthorizationService(): IAuthorizationService;
|
|
851
884
|
registerSubgraph(subgraph: SubgraphClass$1, supergraph?: string, core?: boolean): Promise<ISubgraph$1>;
|
|
885
|
+
/** Find a registered subgraph by name, core or package-contributed. */
|
|
886
|
+
getSubgraphByName(name: string): ISubgraph$1 | undefined;
|
|
887
|
+
/** Whether a registered subgraph has a live handler, i.e. whether
|
|
888
|
+
* {@link executeSubgraphQuery} can reach it right now. */
|
|
889
|
+
hasSubgraphHandler(name: string): boolean;
|
|
890
|
+
/** Run a query against one registered subgraph in-process: the subgraph's own
|
|
891
|
+
* handler, without a socket or the auth/drive middleware. Trusted callers. */
|
|
892
|
+
executeSubgraphQuery<T>(subgraphName: string, query: string, variables: Record<string, unknown>): Promise<T>;
|
|
852
893
|
updateRouter: (immediate?: boolean) => Promise<void>;
|
|
853
894
|
private _updateRouter;
|
|
854
895
|
getAdditionalContextFields: () => Record<string, any>;
|
|
@@ -1210,12 +1251,48 @@ type Action = {
|
|
|
1210
1251
|
readonly timestampUtcMs: Scalars["String"]["output"];
|
|
1211
1252
|
readonly type: Scalars["String"]["output"];
|
|
1212
1253
|
};
|
|
1254
|
+
/**
|
|
1255
|
+
* One operation an authorization preflight predicts a verdict for.
|
|
1256
|
+
*
|
|
1257
|
+
* `input` is what a conditional grant reads, so a candidate standing for a
|
|
1258
|
+
* filled-in form carries that form's input. Omitting it predicts the verdict an
|
|
1259
|
+
* empty input earns, not the verdict the filled-in form will get.
|
|
1260
|
+
*/
|
|
1261
|
+
type ActionCandidateInput = {
|
|
1262
|
+
readonly input?: InputMaybe<Scalars["JSONObject"]["input"]>;
|
|
1263
|
+
readonly scope: Scalars["String"]["input"];
|
|
1264
|
+
readonly type: Scalars["String"]["input"];
|
|
1265
|
+
};
|
|
1213
1266
|
type ActionContext = {
|
|
1214
1267
|
readonly signer?: Maybe<ReactorSigner>;
|
|
1215
1268
|
};
|
|
1216
1269
|
type ActionContextInput = {
|
|
1217
1270
|
readonly signer?: InputMaybe<ReactorSignerInput>;
|
|
1218
1271
|
};
|
|
1272
|
+
/**
|
|
1273
|
+
* One candidate's predicted verdict. `reason` carries the refusal a DENY is
|
|
1274
|
+
* recorded with, and is null on an ALLOW.
|
|
1275
|
+
*/
|
|
1276
|
+
type ActionEvaluation = {
|
|
1277
|
+
readonly decision: AuthDecision;
|
|
1278
|
+
readonly reason?: Maybe<Scalars["String"]["output"]>;
|
|
1279
|
+
};
|
|
1280
|
+
/**
|
|
1281
|
+
* The predicted verdicts for a set of candidates, in the order they were given,
|
|
1282
|
+
* with the aggregates a caller branches on.
|
|
1283
|
+
*
|
|
1284
|
+
* The aggregates are redundant -- a verdict is binary -- and all four are returned
|
|
1285
|
+
* so a caller reads the one its question is phrased in rather than negating
|
|
1286
|
+
* another. Over no candidates every aggregate is false: nothing is allowed and
|
|
1287
|
+
* nothing is denied.
|
|
1288
|
+
*/
|
|
1289
|
+
type ActionEvaluations = {
|
|
1290
|
+
readonly allAllowed: Scalars["Boolean"]["output"];
|
|
1291
|
+
readonly allDenied: Scalars["Boolean"]["output"];
|
|
1292
|
+
readonly anyAllowed: Scalars["Boolean"]["output"];
|
|
1293
|
+
readonly anyDenied: Scalars["Boolean"]["output"];
|
|
1294
|
+
readonly evaluations: ReadonlyArray<ActionEvaluation>;
|
|
1295
|
+
};
|
|
1219
1296
|
type ActionInput = {
|
|
1220
1297
|
readonly context?: InputMaybe<ActionContextInput>;
|
|
1221
1298
|
readonly id: Scalars["String"]["input"];
|
|
@@ -1224,6 +1301,10 @@ type ActionInput = {
|
|
|
1224
1301
|
readonly timestampUtcMs: Scalars["String"]["input"];
|
|
1225
1302
|
readonly type: Scalars["String"]["input"];
|
|
1226
1303
|
};
|
|
1304
|
+
declare enum AuthDecision {
|
|
1305
|
+
Allow = "ALLOW",
|
|
1306
|
+
Deny = "DENY"
|
|
1307
|
+
}
|
|
1227
1308
|
type ChannelMeta = {
|
|
1228
1309
|
readonly id: Scalars["String"]["output"];
|
|
1229
1310
|
};
|
|
@@ -1467,6 +1548,34 @@ type Query = {
|
|
|
1467
1548
|
readonly documentModels: DocumentModelResultPage;
|
|
1468
1549
|
readonly documentOperations: ReactorOperationResultPage;
|
|
1469
1550
|
readonly documentOutgoingRelationships: PhDocumentResultPage;
|
|
1551
|
+
/**
|
|
1552
|
+
* Predicts whether the calling subject would be admitted to execute each of a
|
|
1553
|
+
* set of candidate operations, without submitting any of them. A UI asks this to
|
|
1554
|
+
* disable a control rather than offer an action that fails on submit.
|
|
1555
|
+
*
|
|
1556
|
+
* The answer is a prediction, not a promise:
|
|
1557
|
+
*
|
|
1558
|
+
* - Real admission compiles an append condition over everything it read and the
|
|
1559
|
+
* store enforces it at write time. A preflight reads no future, so a policy
|
|
1560
|
+
* change landing between this answer and the submit changes the verdict. The
|
|
1561
|
+
* submit path stays the only authority.
|
|
1562
|
+
* - The verdict is evaluated at the stream heads, so it is correct for a
|
|
1563
|
+
* candidate about to be submitted. A backdated submission is out of contract;
|
|
1564
|
+
* the reactor decides that one by position.
|
|
1565
|
+
* - A candidate whose verdict depends on its input has to carry that input, since
|
|
1566
|
+
* a conditional grant reads it.
|
|
1567
|
+
*
|
|
1568
|
+
* The subject is the authenticated caller and cannot be named in the request:
|
|
1569
|
+
* answering for an arbitrary subject would disclose what a policy grants
|
|
1570
|
+
* somebody else. It carries both the caller's address and the did:key of the app
|
|
1571
|
+
* instance whose token authenticated the request, so a policy naming either
|
|
1572
|
+
* matches the same principal the write path presents.
|
|
1573
|
+
*
|
|
1574
|
+
* Requires the reactor's authEnforcement feature flag. Without it the reactor
|
|
1575
|
+
* holds no decision model, so this fails with extensions.code
|
|
1576
|
+
* AUTH_EVALUATION_UNSUPPORTED rather than guessing.
|
|
1577
|
+
*/
|
|
1578
|
+
readonly evaluateActions: ActionEvaluations;
|
|
1470
1579
|
readonly findDocuments: PhDocumentResultPage;
|
|
1471
1580
|
readonly jobStatus?: Maybe<JobInfo>;
|
|
1472
1581
|
readonly pollSyncEnvelopes: PollSyncEnvelopesResult;
|
|
@@ -1495,6 +1604,11 @@ type QueryDocumentOutgoingRelationshipsArgs = {
|
|
|
1495
1604
|
sourceIdentifier: Scalars["String"]["input"];
|
|
1496
1605
|
view?: InputMaybe<ViewFilterInput>;
|
|
1497
1606
|
};
|
|
1607
|
+
type QueryEvaluateActionsArgs = {
|
|
1608
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1609
|
+
candidates: ReadonlyArray<ActionCandidateInput>;
|
|
1610
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
1611
|
+
};
|
|
1498
1612
|
type QueryFindDocumentsArgs = {
|
|
1499
1613
|
paging?: InputMaybe<PagingInput>;
|
|
1500
1614
|
search?: InputMaybe<SearchFilterInput>;
|
|
@@ -1872,6 +1986,23 @@ type GetJobStatusQuery = {
|
|
|
1872
1986
|
readonly completedAt?: string | Date | null | undefined;
|
|
1873
1987
|
} | null | undefined;
|
|
1874
1988
|
};
|
|
1989
|
+
type EvaluateActionsQueryVariables = Exact<{
|
|
1990
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
1991
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
1992
|
+
candidates: ReadonlyArray<ActionCandidateInput>;
|
|
1993
|
+
}>;
|
|
1994
|
+
type EvaluateActionsQuery = {
|
|
1995
|
+
readonly evaluateActions: {
|
|
1996
|
+
readonly allAllowed: boolean;
|
|
1997
|
+
readonly anyAllowed: boolean;
|
|
1998
|
+
readonly allDenied: boolean;
|
|
1999
|
+
readonly anyDenied: boolean;
|
|
2000
|
+
readonly evaluations: ReadonlyArray<{
|
|
2001
|
+
readonly decision: AuthDecision;
|
|
2002
|
+
readonly reason?: string | null | undefined;
|
|
2003
|
+
}>;
|
|
2004
|
+
};
|
|
2005
|
+
};
|
|
1875
2006
|
type CreateDocumentMutationVariables = Exact<{
|
|
1876
2007
|
document: Scalars["JSONObject"]["input"];
|
|
1877
2008
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2217,9 +2348,13 @@ type DirectiveResolverFn<TResult = Record<PropertyKey, never>, TParent = Record<
|
|
|
2217
2348
|
/** Mapping between all available schema types and the resolvers types */
|
|
2218
2349
|
type ResolversTypes = ResolversObject<{
|
|
2219
2350
|
Action: ResolverTypeWrapper<Action>;
|
|
2351
|
+
ActionCandidateInput: ActionCandidateInput;
|
|
2220
2352
|
ActionContext: ResolverTypeWrapper<ActionContext>;
|
|
2221
2353
|
ActionContextInput: ActionContextInput;
|
|
2354
|
+
ActionEvaluation: ResolverTypeWrapper<ActionEvaluation>;
|
|
2355
|
+
ActionEvaluations: ResolverTypeWrapper<ActionEvaluations>;
|
|
2222
2356
|
ActionInput: ActionInput;
|
|
2357
|
+
AuthDecision: AuthDecision;
|
|
2223
2358
|
Boolean: ResolverTypeWrapper<Scalars["Boolean"]["output"]>;
|
|
2224
2359
|
ChannelMeta: ResolverTypeWrapper<ChannelMeta>;
|
|
2225
2360
|
ChannelMetaInput: ChannelMetaInput;
|
|
@@ -2275,8 +2410,11 @@ type ResolversTypes = ResolversObject<{
|
|
|
2275
2410
|
/** Mapping between all available schema types and the resolvers parents */
|
|
2276
2411
|
type ResolversParentTypes = ResolversObject<{
|
|
2277
2412
|
Action: Action;
|
|
2413
|
+
ActionCandidateInput: ActionCandidateInput;
|
|
2278
2414
|
ActionContext: ActionContext;
|
|
2279
2415
|
ActionContextInput: ActionContextInput;
|
|
2416
|
+
ActionEvaluation: ActionEvaluation;
|
|
2417
|
+
ActionEvaluations: ActionEvaluations;
|
|
2280
2418
|
ActionInput: ActionInput;
|
|
2281
2419
|
Boolean: Scalars["Boolean"]["output"];
|
|
2282
2420
|
ChannelMeta: ChannelMeta;
|
|
@@ -2338,6 +2476,17 @@ type ActionResolvers<ContextType = Context, ParentType extends ResolversParentTy
|
|
|
2338
2476
|
type ActionContextResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionContext"] = ResolversParentTypes["ActionContext"]> = ResolversObject<{
|
|
2339
2477
|
signer?: Resolver<Maybe<ResolversTypes["ReactorSigner"]>, ParentType, ContextType>;
|
|
2340
2478
|
}>;
|
|
2479
|
+
type ActionEvaluationResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluation"] = ResolversParentTypes["ActionEvaluation"]> = ResolversObject<{
|
|
2480
|
+
decision?: Resolver<ResolversTypes["AuthDecision"], ParentType, ContextType>;
|
|
2481
|
+
reason?: Resolver<Maybe<ResolversTypes["String"]>, ParentType, ContextType>;
|
|
2482
|
+
}>;
|
|
2483
|
+
type ActionEvaluationsResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ActionEvaluations"] = ResolversParentTypes["ActionEvaluations"]> = ResolversObject<{
|
|
2484
|
+
allAllowed?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
2485
|
+
allDenied?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
2486
|
+
anyAllowed?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
2487
|
+
anyDenied?: Resolver<ResolversTypes["Boolean"], ParentType, ContextType>;
|
|
2488
|
+
evaluations?: Resolver<ReadonlyArray<ResolversTypes["ActionEvaluation"]>, ParentType, ContextType>;
|
|
2489
|
+
}>;
|
|
2341
2490
|
type ChannelMetaResolvers<ContextType = Context, ParentType extends ResolversParentTypes["ChannelMeta"] = ResolversParentTypes["ChannelMeta"]> = ResolversObject<{
|
|
2342
2491
|
id?: Resolver<ResolversTypes["String"], ParentType, ContextType>;
|
|
2343
2492
|
}>;
|
|
@@ -2458,6 +2607,7 @@ type QueryResolvers<ContextType = Context, ParentType extends ResolversParentTyp
|
|
|
2458
2607
|
documentModels?: Resolver<ResolversTypes["DocumentModelResultPage"], ParentType, ContextType, Partial<QueryDocumentModelsArgs>>;
|
|
2459
2608
|
documentOperations?: Resolver<ResolversTypes["ReactorOperationResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOperationsArgs, "filter">>;
|
|
2460
2609
|
documentOutgoingRelationships?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, RequireFields<QueryDocumentOutgoingRelationshipsArgs, "relationshipType" | "sourceIdentifier">>;
|
|
2610
|
+
evaluateActions?: Resolver<ResolversTypes["ActionEvaluations"], ParentType, ContextType, RequireFields<QueryEvaluateActionsArgs, "candidates" | "documentIdentifier">>;
|
|
2461
2611
|
findDocuments?: Resolver<ResolversTypes["PHDocumentResultPage"], ParentType, ContextType, Partial<QueryFindDocumentsArgs>>;
|
|
2462
2612
|
jobStatus?: Resolver<Maybe<ResolversTypes["JobInfo"]>, ParentType, ContextType, RequireFields<QueryJobStatusArgs, "jobId">>;
|
|
2463
2613
|
pollSyncEnvelopes?: Resolver<ResolversTypes["PollSyncEnvelopesResult"], ParentType, ContextType, RequireFields<QueryPollSyncEnvelopesArgs, "channelId" | "outboxAck" | "outboxLatest">>;
|
|
@@ -2521,6 +2671,8 @@ type TouchChannelResultResolvers<ContextType = Context, ParentType extends Resol
|
|
|
2521
2671
|
type Resolvers<ContextType = Context> = ResolversObject<{
|
|
2522
2672
|
Action?: ActionResolvers<ContextType>;
|
|
2523
2673
|
ActionContext?: ActionContextResolvers<ContextType>;
|
|
2674
|
+
ActionEvaluation?: ActionEvaluationResolvers<ContextType>;
|
|
2675
|
+
ActionEvaluations?: ActionEvaluationsResolvers<ContextType>;
|
|
2524
2676
|
ChannelMeta?: ChannelMetaResolvers<ContextType>;
|
|
2525
2677
|
DateTime?: GraphQLScalarType;
|
|
2526
2678
|
DeadLetterInfo?: DeadLetterInfoResolvers<ContextType>;
|
|
@@ -2555,9 +2707,11 @@ type Properties<T> = Required<{ [K in keyof T]: z$1.ZodType<T[K]> }>;
|
|
|
2555
2707
|
type definedNonNullAny = {};
|
|
2556
2708
|
declare const isDefinedNonNullAny: (v: any) => v is definedNonNullAny;
|
|
2557
2709
|
declare const definedNonNullAnySchema: z$1.ZodAny & z$1.ZodType<definedNonNullAny, any, z$1.core.$ZodTypeInternals<definedNonNullAny, any>>;
|
|
2710
|
+
declare const AuthDecisionSchema: z$1.ZodEnum<typeof AuthDecision>;
|
|
2558
2711
|
declare const DocumentChangeTypeSchema: z$1.ZodEnum<typeof DocumentChangeType>;
|
|
2559
2712
|
declare const PropagationModeSchema: z$1.ZodEnum<typeof PropagationMode>;
|
|
2560
2713
|
declare const SyncEnvelopeTypeSchema: z$1.ZodEnum<typeof SyncEnvelopeType>;
|
|
2714
|
+
declare function ActionCandidateInputSchema(): z$1.ZodObject<Properties<ActionCandidateInput>>;
|
|
2561
2715
|
declare function ActionContextInputSchema(): z$1.ZodObject<Properties<ActionContextInput>>;
|
|
2562
2716
|
declare function ActionInputSchema(): z$1.ZodObject<Properties<ActionInput>>;
|
|
2563
2717
|
declare function ChannelMetaInputSchema(): z$1.ZodObject<Properties<ChannelMetaInput>>;
|
|
@@ -2585,6 +2739,7 @@ declare const GetDocumentIncomingRelationshipsDocument: DocumentNode;
|
|
|
2585
2739
|
declare const FindDocumentsDocument: DocumentNode;
|
|
2586
2740
|
declare const GetDocumentOperationsDocument: DocumentNode;
|
|
2587
2741
|
declare const GetJobStatusDocument: DocumentNode;
|
|
2742
|
+
declare const EvaluateActionsDocument: DocumentNode;
|
|
2588
2743
|
declare const CreateDocumentDocument: DocumentNode;
|
|
2589
2744
|
declare const CreateEmptyDocumentDocument: DocumentNode;
|
|
2590
2745
|
declare const MutateDocumentDocument: DocumentNode;
|
|
@@ -2611,6 +2766,7 @@ declare function getSdk<C>(requester: Requester<C>): {
|
|
|
2611
2766
|
FindDocuments(variables?: FindDocumentsQueryVariables, options?: C): Promise<FindDocumentsQuery>;
|
|
2612
2767
|
GetDocumentOperations(variables: GetDocumentOperationsQueryVariables, options?: C): Promise<GetDocumentOperationsQuery>;
|
|
2613
2768
|
GetJobStatus(variables: GetJobStatusQueryVariables, options?: C): Promise<GetJobStatusQuery>;
|
|
2769
|
+
EvaluateActions(variables: EvaluateActionsQueryVariables, options?: C): Promise<EvaluateActionsQuery>;
|
|
2614
2770
|
CreateDocument(variables: CreateDocumentMutationVariables, options?: C): Promise<CreateDocumentMutation>;
|
|
2615
2771
|
CreateEmptyDocument(variables: CreateEmptyDocumentMutationVariables, options?: C): Promise<CreateEmptyDocumentMutation>;
|
|
2616
2772
|
MutateDocument(variables: MutateDocumentMutationVariables, options?: C): Promise<MutateDocumentMutation>;
|
|
@@ -2673,6 +2829,11 @@ declare function createReactorGraphQLClient(url: string, fetchImpl?: FetchLike,
|
|
|
2673
2829
|
GetJobStatus(variables: Exact<{
|
|
2674
2830
|
jobId: Scalars["String"]["input"];
|
|
2675
2831
|
}>, options?: {} | undefined): Promise<GetJobStatusQuery>;
|
|
2832
|
+
EvaluateActions(variables: Exact<{
|
|
2833
|
+
documentIdentifier: Scalars["String"]["input"];
|
|
2834
|
+
branch?: InputMaybe<Scalars["String"]["input"]>;
|
|
2835
|
+
candidates: ReadonlyArray<ActionCandidateInput>;
|
|
2836
|
+
}>, options?: {} | undefined): Promise<EvaluateActionsQuery>;
|
|
2676
2837
|
CreateDocument(variables: Exact<{
|
|
2677
2838
|
document: Scalars["JSONObject"]["input"];
|
|
2678
2839
|
parentIdentifier?: InputMaybe<Scalars["String"]["input"]>;
|
|
@@ -2859,6 +3020,27 @@ declare class PackageManager implements IPackageManager {
|
|
|
2859
3020
|
onProcessorsChange(handler: (processors: Map<string, Processor$1>) => void): void;
|
|
2860
3021
|
}
|
|
2861
3022
|
//#endregion
|
|
3023
|
+
//#region src/services/renown-config.d.ts
|
|
3024
|
+
/** Where the credential check reads from: a remote Renown or Switchboard
|
|
3025
|
+
* instance, or this switchboard's own renown read model. */
|
|
3026
|
+
type RenownSource = NonNullable<PHReactorRenown["source"]>;
|
|
3027
|
+
/** The `auth.renown` config block: which Renown instance to authenticate
|
|
3028
|
+
* against, before env overrides are applied. */
|
|
3029
|
+
type RenownConfig = PHReactorRenown;
|
|
3030
|
+
/** Resolved renown coordinates. `url` also drives this reactor's own identity,
|
|
3031
|
+
* so it stays meaningful when `source` is "self". */
|
|
3032
|
+
type ResolvedRenownConfig = {
|
|
3033
|
+
source: RenownSource;
|
|
3034
|
+
url: string | undefined;
|
|
3035
|
+
switchboardUrl: string | undefined;
|
|
3036
|
+
};
|
|
3037
|
+
/** Reading credentials from this reactor's own read model needs a host-supplied
|
|
3038
|
+
* verifier: core has no idea which subgraph serves that read model. */
|
|
3039
|
+
declare function assertCredentialVerifierForSource(source: RenownSource, hasVerifier: boolean): void;
|
|
3040
|
+
/** Resolve `auth.renown`; RENOWN_SOURCE / RENOWN_URL / SWITCHBOARD_URL win
|
|
3041
|
+
* over the config file, which wins over the SDK defaults. */
|
|
3042
|
+
declare function resolveRenownConfig(configured: RenownConfig | undefined, env: NodeJS.ProcessEnv, logger: ILogger): ResolvedRenownConfig;
|
|
3043
|
+
//#endregion
|
|
2862
3044
|
//#region src/server.d.ts
|
|
2863
3045
|
type Options = {
|
|
2864
3046
|
port?: number;
|
|
@@ -2877,6 +3059,12 @@ type Options = {
|
|
|
2877
3059
|
enabled: boolean;
|
|
2878
3060
|
admins: string[];
|
|
2879
3061
|
};
|
|
3062
|
+
/** Renown coordinates the host already resolved, used verbatim instead of
|
|
3063
|
+
* resolving `auth.renown` and the env again (which would warn twice). */
|
|
3064
|
+
renown?: ResolvedRenownConfig;
|
|
3065
|
+
/** Credential check replacing the built-in remote Renown one; required when
|
|
3066
|
+
* the resolved source is "self" (see assertCredentialVerifierForSource). */
|
|
3067
|
+
verifyCredential?: CredentialVerifier;
|
|
2880
3068
|
https?: {
|
|
2881
3069
|
keyPath: string;
|
|
2882
3070
|
certPath: string;
|
|
@@ -2987,5 +3175,5 @@ interface DocumentModelSchemaOptions {
|
|
|
2987
3175
|
*/
|
|
2988
3176
|
declare function generateDocumentModelSchema(documentModel: DocumentModelGlobalState$1, options?: DocumentModelSchemaOptions): DocumentNode;
|
|
2989
3177
|
//#endregion
|
|
2990
|
-
export { ADMIN_USERS, API, Action, ActionContext, ActionContextInput, ActionContextInputSchema, ActionContextResolvers, ActionInput, ActionInputSchema, ActionResolvers, AddRelationshipDocument, AddRelationshipMutation, AddRelationshipMutationVariables, AnalyticsSubgraph, AttachmentAccessRequest, AttachmentAccessResult, AttachmentAccessService, type AttachmentReferenceProjectionCapability, AuthConfig, AuthContext, AuthFetchMiddleware, AuthService, AuthSubgraph, type AuthorizationConfig, AuthorizationPolicy, AuthorizedDocumentHandle, BaseSubgraph, 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, Exact, 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, HttpPackageLoader, HttpPackageLoaderLogger, HttpPackageLoaderOptions, IAttachmentAccessService, type IAuthorizationService, IGatewayAdapter, IHttpAdapter, type IPackageLoader, type IPackageLoaderOptions, IPackageStorage, IReactorProcessorHostModule, ISubgraph, ImportPackageLoader, InMemoryPackageStorage, Incremental, InputMaybe, InstallPackageResult, InstalledPackageInfo, IsTypeOfResolverFn, JobChangeEvent, JobChangeEventResolvers, JobChangesDocument, JobChangesSubscription, JobChangesSubscriptionVariables, JobInfo, JobInfoResolvers, JsonObjectScalarConfig, MakeEmpty, MakeMaybe, MakeOptional, Maybe, MoveRelationshipDocument, MoveRelationshipMutation, MoveRelationshipMutationVariables, MoveRelationshipResult, MoveRelationshipResultResolvers, MutateDocumentAsyncDocument, MutateDocumentAsyncMutation, MutateDocumentAsyncMutationVariables, MutateDocumentDocument, MutateDocumentMutation, MutateDocumentMutationVariables, Mutation, MutationAddRelationshipArgs, MutationCreateDocumentArgs, MutationCreateEmptyDocumentArgs, MutationDeleteDocumentArgs, MutationDeleteDocumentsArgs, MutationMoveRelationshipArgs, MutationMutateDocumentArgs, MutationMutateDocumentAsyncArgs, MutationPushSyncEnvelopesArgs, MutationRemoveRelationshipArgs, MutationRenameDocumentArgs, MutationResolvers, MutationSetPreferredEditorArgs, MutationTouchChannelArgs, NextResolverFn, OperationContext, OperationContextInput, OperationContextInputSchema, OperationContextResolvers, OperationInput, OperationInputSchema, OperationUserPermissionEntry, OperationUserPermissionTable, OperationWithContext, OperationWithContextInput, OperationWithContextInputSchema, OperationWithContextResolvers, OperationsFilterInput, OperationsFilterInputSchema, 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, QueryFindDocumentsArgs, QueryJobStatusArgs, QueryPollSyncEnvelopesArgs, QueryResolvers, ReactorModule, ReactorOperation, ReactorOperationResolvers, ReactorOperationResultPage, ReactorOperationResultPageResolvers, ReactorSigner, ReactorSignerApp, ReactorSignerAppInput, ReactorSignerAppInputSchema, ReactorSignerAppResolvers, ReactorSignerInput, ReactorSignerInputSchema, ReactorSignerResolvers, ReactorSignerUser, ReactorSignerUserInput, ReactorSignerUserInputSchema, ReactorSignerUserResolvers, ReactorSubgraph, ReadinessGate, RemoteCursor, RemoteCursorInput, RemoteCursorInputSchema, RemoteCursorResolvers, RemoteFilterInput, RemoteFilterInputSchema, RemoveRelationshipDocument, RemoveRelationshipMutation, RemoveRelationshipMutationVariables, RenameDocumentDocument, RenameDocumentMutation, RenameDocumentMutationVariables, RenownCredentialVerifierConfig, Requester, RequireFields, Resolver, ResolverFn, ResolverTypeWrapper, ResolverWithResolve, Resolvers, ResolversObject, ResolversParentTypes, ResolversTypes, Revision, RevisionResolvers, Scalars, 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, WithIndex, WsContextFactory, WsDisposer, assertAuthRequiredForDocumentPermissions, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isSubgraphClass, parseDriveUrl, renderGraphqlPlayground };
|
|
3178
|
+
export { ADMIN_USERS, API, Action, ActionCandidateInput, ActionCandidateInputSchema, ActionContext, ActionContextInput, ActionContextInputSchema, ActionContextResolvers, ActionEvaluation, ActionEvaluationResolvers, ActionEvaluations, ActionEvaluationsResolvers, ActionInput, ActionInputSchema, ActionResolvers, AddRelationshipDocument, AddRelationshipMutation, AddRelationshipMutationVariables, AnalyticsSubgraph, AttachmentAccessRequest, AttachmentAccessResult, AttachmentAccessService, type AttachmentReferenceProjectionCapability, AuthConfig, AuthContext, AuthDecision, AuthDecisionSchema, AuthFetchMiddleware, AuthService, AuthSubgraph, type AuthorizationConfig, AuthorizationPolicy, AuthorizedDocumentHandle, BaseSubgraph, 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, 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, HttpPackageLoader, HttpPackageLoaderLogger, HttpPackageLoaderOptions, IAttachmentAccessService, type IAuthorizationService, IGatewayAdapter, IHttpAdapter, type IPackageLoader, type IPackageLoaderOptions, IPackageStorage, IReactorProcessorHostModule, ISubgraph, ImportPackageLoader, InMemoryPackageStorage, Incremental, InputMaybe, InstallPackageResult, InstalledPackageInfo, IsTypeOfResolverFn, JobChangeEvent, JobChangeEventResolvers, JobChangesDocument, JobChangesSubscription, JobChangesSubscriptionVariables, JobInfo, JobInfoResolvers, JsonObjectScalarConfig, MakeEmpty, MakeMaybe, MakeOptional, Maybe, MoveRelationshipDocument, MoveRelationshipMutation, MoveRelationshipMutationVariables, MoveRelationshipResult, MoveRelationshipResultResolvers, MutateDocumentAsyncDocument, MutateDocumentAsyncMutation, MutateDocumentAsyncMutationVariables, MutateDocumentDocument, MutateDocumentMutation, MutateDocumentMutationVariables, Mutation, MutationAddRelationshipArgs, MutationCreateDocumentArgs, MutationCreateEmptyDocumentArgs, MutationDeleteDocumentArgs, MutationDeleteDocumentsArgs, MutationMoveRelationshipArgs, MutationMutateDocumentArgs, MutationMutateDocumentAsyncArgs, MutationPushSyncEnvelopesArgs, MutationRemoveRelationshipArgs, MutationRenameDocumentArgs, MutationResolvers, MutationSetPreferredEditorArgs, MutationTouchChannelArgs, NextResolverFn, OperationContext, OperationContextInput, OperationContextInputSchema, OperationContextResolvers, OperationInput, OperationInputSchema, OperationUserPermissionEntry, OperationUserPermissionTable, OperationWithContext, OperationWithContextInput, OperationWithContextInputSchema, OperationWithContextResolvers, OperationsFilterInput, OperationsFilterInputSchema, 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, 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, Scalars, 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, WithIndex, WsContextFactory, WsDisposer, assertAuthRequiredForDocumentPermissions, assertCredentialVerifierForSource, assertSkipCredentialVerificationAllowed, buildGraphQlDocument, buildGraphQlDriveDocument, buildGraphqlOperation, buildGraphqlOperations, buildSubgraphSchemaModule, createAuthFetchMiddleware, createCanonicalDocumentIdResolver, createGatewayAdapter, createHttpAdapter, createMergedSchema, createReactorGraphQLClient, createRenownCredentialVerifier, createSchema, definedNonNullAnySchema, driveIdFromUrl, extractSubgraphsFromModule, generateDocumentModelSchema, getAuthContext, getDbClient, getDocumentModelSchemaName, getDocumentModelTypeDefs, getGitHash, getGitUrl, getSdk, getUniqueDocumentModels, getUniqueUpgradeManifests, getVersion, initAnalyticsStoreSql, initializeAndStartAPI, isDefinedNonNullAny, isExpectedLoaderMiss, isSubgraphClass, parseDriveUrl, renderGraphqlPlayground, resolveRenownConfig };
|
|
2991
3179
|
//# sourceMappingURL=index.d.mts.map
|