@powerhousedao/reactor-api 6.2.3-dev.73 → 6.2.3-dev.75
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/{base-document-models-D3aAUB7E.mjs → base-document-models-BGt__Ctn.mjs} +47 -3
- package/dist/{base-document-models-D3aAUB7E.mjs.map → base-document-models-BGt__Ctn.mjs.map} +1 -1
- package/dist/error-info-CCQcLAcW.mjs +424 -0
- package/dist/error-info-CCQcLAcW.mjs.map +1 -0
- package/dist/index.d.mts +54 -9
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +155 -13
- package/dist/index.mjs.map +1 -1
- package/dist/{package-subgraph-check-C0hGBt4N.mjs → package-subgraph-check-C5S8yvBI.mjs} +4 -4
- package/dist/{package-subgraph-check-C0hGBt4N.mjs.map → package-subgraph-check-C5S8yvBI.mjs.map} +1 -1
- package/dist/pglite-like-CKQEL_Q0.d.mts +27 -0
- package/dist/pglite-like-CKQEL_Q0.d.mts.map +1 -0
- package/dist/pglite-node-BOFT_yUj.mjs +702 -0
- package/dist/pglite-node-BOFT_yUj.mjs.map +1 -0
- package/dist/src/graphql/subgraph-types.mjs +1 -1
- package/dist/src/packages/vite-loader.d.mts +7 -0
- package/dist/src/packages/vite-loader.d.mts.map +1 -1
- package/dist/src/packages/vite-loader.mjs +21 -4
- package/dist/src/packages/vite-loader.mjs.map +1 -1
- package/dist/src/pglite/pglite-node.d.mts +227 -2
- package/dist/src/pglite/pglite-node.d.mts.map +1 -1
- package/dist/src/pglite/pglite-node.mjs +5 -4
- package/dist/src/pglite/worker/entry.d.mts +2 -0
- package/dist/src/pglite/worker/entry.mjs +251 -0
- package/dist/src/pglite/worker/entry.mjs.map +1 -0
- package/package.json +13 -13
- package/dist/pglite-node-C-UQXrjU.mjs +0 -576
- package/dist/pglite-node-C-UQXrjU.mjs.map +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
|
|
2
|
-
!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="
|
|
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]="68e5aa70-7d82-53db-8115-abc1fb9d30a7")}catch(e){}}();
|
|
3
3
|
import { gql } from "graphql-tag";
|
|
4
4
|
import { Kind, Lexer, Source, TokenKind, isTypeDefinitionNode, isTypeExtensionNode, parse, print, visit } from "graphql";
|
|
5
5
|
import { childLogger, documentModelDocumentModelModule } from "document-model";
|
|
@@ -1166,6 +1166,8 @@ const inspectionAdminTypeDefs = gql`
|
|
|
1166
1166
|
type InspectionAdmin {
|
|
1167
1167
|
"Processor retry and rerun are served."
|
|
1168
1168
|
processors: Boolean!
|
|
1169
|
+
"The catch-up priority can be set."
|
|
1170
|
+
catchUpPriority: Boolean!
|
|
1169
1171
|
}
|
|
1170
1172
|
|
|
1171
1173
|
type Query {
|
|
@@ -1187,6 +1189,11 @@ const inspectionAdminTypeDefs = gql`
|
|
|
1187
1189
|
clear: Boolean!
|
|
1188
1190
|
fromOrdinal: Float!
|
|
1189
1191
|
): Boolean!
|
|
1192
|
+
"""
|
|
1193
|
+
Sets the pace of processor backfills: mode dynamic hands the level to the
|
|
1194
|
+
load controller (level must be absent); mode fixed holds level, 0-7.
|
|
1195
|
+
"""
|
|
1196
|
+
inspectionSetCatchUpPriority(mode: String!, level: Int): Boolean!
|
|
1190
1197
|
}
|
|
1191
1198
|
`;
|
|
1192
1199
|
//#endregion
|
|
@@ -1310,6 +1317,42 @@ const inspectionTypeDefs = gql`
|
|
|
1310
1317
|
lastErrorTimestampUtcMs: Float
|
|
1311
1318
|
floor: Float!
|
|
1312
1319
|
clearable: Boolean!
|
|
1320
|
+
runFrom: Float!
|
|
1321
|
+
phase: String!
|
|
1322
|
+
}
|
|
1323
|
+
|
|
1324
|
+
"""
|
|
1325
|
+
What one catch-up priority level sets. giveWay is stop (level 0: no page is
|
|
1326
|
+
read until the level rises), pause (pauseMs between pages), yield (one
|
|
1327
|
+
event-loop turn) or none.
|
|
1328
|
+
"""
|
|
1329
|
+
type InspectionCatchUpLevelSettings {
|
|
1330
|
+
slots: Int!
|
|
1331
|
+
pageSize: Int!
|
|
1332
|
+
pauseMs: Int!
|
|
1333
|
+
giveWay: String!
|
|
1334
|
+
}
|
|
1335
|
+
|
|
1336
|
+
"""
|
|
1337
|
+
The host's load over its last window, as the dynamic controller read it.
|
|
1338
|
+
"""
|
|
1339
|
+
type InspectionCatchUpLoadSample {
|
|
1340
|
+
requests: Int!
|
|
1341
|
+
p95LatencyMs: Float!
|
|
1342
|
+
eventLoopDelayMs: Float!
|
|
1343
|
+
idleForMs: Float!
|
|
1344
|
+
}
|
|
1345
|
+
|
|
1346
|
+
"""
|
|
1347
|
+
The pace of processor backfills. mode is fixed or dynamic; level is 0-7.
|
|
1348
|
+
sample is null until a dynamic tick has sampled the host's load.
|
|
1349
|
+
"""
|
|
1350
|
+
type InspectionCatchUpPriority {
|
|
1351
|
+
mode: String!
|
|
1352
|
+
level: Int!
|
|
1353
|
+
settings: InspectionCatchUpLevelSettings!
|
|
1354
|
+
reason: String!
|
|
1355
|
+
sample: InspectionCatchUpLoadSample
|
|
1313
1356
|
}
|
|
1314
1357
|
|
|
1315
1358
|
"""
|
|
@@ -1400,6 +1443,7 @@ const inspectionTypeDefs = gql`
|
|
|
1400
1443
|
queueState: InspectionQueueState!
|
|
1401
1444
|
processors: [InspectionProcessor!]!
|
|
1402
1445
|
catchUpStatus: JSONObject!
|
|
1446
|
+
catchUpPriority: InspectionCatchUpPriority!
|
|
1403
1447
|
storageHealth: InspectionStorageHealth!
|
|
1404
1448
|
"""
|
|
1405
1449
|
Replays the whole document; expensive. Throttled per caller.
|
|
@@ -1446,5 +1490,5 @@ const baseDocumentModels = [
|
|
|
1446
1490
|
//#endregion
|
|
1447
1491
|
export { getDocumentModelSubgraphName as A, createMergedSchema as C, generateDocumentModelSchema as D, findSubgraphTypeCollisions as E, reservedTypeNamesTaken as F, typeDefinitionNames as I, schema_default$1 as L, getGeneratedDocumentModelTypes as M, hasOperationSchemas as N, generatedTypesOf as O, reservedTypeNames as P, buildSubgraphSchemaModule as S, documentModelSubgraphTypes as T, describeOwnershipConflicts as _, inspectionAdminTypeDefs as a, assembleSubgraphTypeDefs as b, HOST_ORIGIN as c, byClaimPriority as d, decideAdmission as f, collectSubgraphClaims as g, supergraphClaimLosers as h, inspectionTypeDefs as i, getDocumentModelTypeDefs as j, getDocumentModelSchemaName as k, RegistrationOrder as l, documentModelSubgraphSources as m, systemTypeDefs as n, CORE_ORIGIN as o, describeOrigin as p, schema_default as r, DOCUMENT_MODEL_ORIGIN as s, baseDocumentModels as t, admitDocumentModels as u, DocumentModelSchemaCache as v, createSchema as w, buildDocumentModelSchema as x, SubgraphTypeCollisionError as y };
|
|
1448
1492
|
|
|
1449
|
-
//# sourceMappingURL=base-document-models-
|
|
1450
|
-
//# debugId=
|
|
1493
|
+
//# sourceMappingURL=base-document-models-BGt__Ctn.mjs.map
|
|
1494
|
+
//# debugId=68e5aa70-7d82-53db-8115-abc1fb9d30a7
|