graphddb 0.8.1 → 0.9.1
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/behaviors-DDltNivc.d.ts +217 -0
- package/dist/cdc/index.d.ts +5 -4
- package/dist/cdc/index.js +3 -3
- package/dist/{chunk-HNY2EJPV.js → chunk-7OCXY4R6.js} +1 -1
- package/dist/{chunk-L2NEDS7U.js → chunk-GWWRXIHF.js} +260 -12
- package/dist/{chunk-T44OB5GU.js → chunk-HLFNCKFV.js} +105 -11
- package/dist/{chunk-LAT64YCZ.js → chunk-MBJ4JVRM.js} +680 -25
- package/dist/{chunk-S2NI4PBW.js → chunk-PHXUFAY2.js} +7 -5
- package/dist/{chunk-GS4C5VGO.js → chunk-VECUS35D.js} +2 -2
- package/dist/{chunk-L4QRCHRQ.js → chunk-WOFRHRXY.js} +6 -25
- package/dist/cli.js +366 -80
- package/dist/index.d.ts +131 -5
- package/dist/index.js +121 -5
- package/dist/internal/index.d.ts +6 -5
- package/dist/internal/index.js +7 -7
- package/dist/{key-DZtjAQDh.d.ts → key-CWytoEaE.d.ts} +93 -5
- package/dist/linter/index.d.ts +6 -5
- package/dist/{linter-DQY7gUEk.d.ts → linter-jEwmZotm.d.ts} +1 -1
- package/dist/{prepared-artifact-HFealr1q.d.ts → prepared-artifact-CwH5ezFq.d.ts} +4 -4
- package/dist/spec/index.d.ts +225 -24
- package/dist/spec/index.js +17 -9
- package/dist/testing/index.d.ts +3 -2
- package/dist/testing/index.js +32 -5
- package/dist/transform/index.d.ts +2 -1
- package/dist/transform/index.js +2 -2
- package/dist/{types-2PMXEn5x.d.ts → types-CgXS-4Ox.d.ts} +299 -28
- package/dist/{types-DW__-Icc.d.ts → types-nk5okD7d.d.ts} +1 -1
- package/docs/python-bridge.md +33 -49
- package/package.json +11 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
evaluateKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HLFNCKFV.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
SPEC_VERSION_KEY_EXPR
|
|
6
|
+
} from "./chunk-WOFRHRXY.js";
|
|
7
7
|
import {
|
|
8
8
|
MetadataRegistry
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-GWWRXIHF.js";
|
|
10
10
|
import {
|
|
11
11
|
TableMapping
|
|
12
12
|
} from "./chunk-XTWXMOHD.js";
|
|
@@ -136,7 +136,9 @@ function buildManifest(registry = MetadataRegistry) {
|
|
|
136
136
|
}
|
|
137
137
|
}
|
|
138
138
|
return {
|
|
139
|
-
|
|
139
|
+
// #289 Phase 2: the IR SSoT is version 2.0 (major bump); the manifest tracks
|
|
140
|
+
// the same major so validateEnvelope's major-match passes (see Manifest.version).
|
|
141
|
+
version: SPEC_VERSION_KEY_EXPR,
|
|
140
142
|
tables: sortedRecord(tables),
|
|
141
143
|
entities
|
|
142
144
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildMaintenanceGraph
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7OCXY4R6.js";
|
|
4
4
|
import {
|
|
5
5
|
ChangeCaptureRegistry,
|
|
6
6
|
ClientManager,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
buildDeleteInput,
|
|
10
10
|
buildPutInput,
|
|
11
11
|
resolveModelClass
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-GWWRXIHF.js";
|
|
13
13
|
|
|
14
14
|
// src/cdc/prng.ts
|
|
15
15
|
var SeededRandom = class {
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
// src/spec/types.ts
|
|
2
2
|
var SPEC_VERSION = "1.1";
|
|
3
3
|
var SPEC_VERSION_SCP = "1.2";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var SPEC_VERSION_KEY_EXPR = "2.0";
|
|
5
|
+
var SPEC_VERSION_SUPPORTED = SPEC_VERSION_KEY_EXPR;
|
|
6
|
+
var EXPR_VERSION = 2;
|
|
6
7
|
var MARKER_ROW_ENTITY = "__marker__";
|
|
7
8
|
|
|
8
9
|
// src/define/transaction.ts
|
|
@@ -236,33 +237,14 @@ function canonicalizeExpressionSpec(input, context) {
|
|
|
236
237
|
function isScpExprConditionInput(condition) {
|
|
237
238
|
return "scpExpr" in condition;
|
|
238
239
|
}
|
|
239
|
-
function
|
|
240
|
-
return
|
|
241
|
-
}
|
|
242
|
-
function operationsContainScpNodes(doc) {
|
|
243
|
-
for (const command of Object.values(doc.commands)) {
|
|
244
|
-
if (conditionHasScp(command.condition)) return true;
|
|
245
|
-
}
|
|
246
|
-
for (const transaction of Object.values(doc.transactions ?? {})) {
|
|
247
|
-
for (const item of transaction.items) {
|
|
248
|
-
if (item.guard !== void 0 || conditionHasScp(item.condition)) return true;
|
|
249
|
-
}
|
|
250
|
-
}
|
|
251
|
-
for (const contract of Object.values(doc.contracts ?? {})) {
|
|
252
|
-
if (contract.kind !== "command") continue;
|
|
253
|
-
for (const method of Object.values(contract.methods)) {
|
|
254
|
-
if (method.guard !== void 0) return true;
|
|
255
|
-
}
|
|
256
|
-
}
|
|
257
|
-
return false;
|
|
258
|
-
}
|
|
259
|
-
function operationsSpecVersion(doc) {
|
|
260
|
-
return operationsContainScpNodes(doc) ? SPEC_VERSION_SCP : SPEC_VERSION;
|
|
240
|
+
function operationsSpecVersion(_doc) {
|
|
241
|
+
return SPEC_VERSION_KEY_EXPR;
|
|
261
242
|
}
|
|
262
243
|
|
|
263
244
|
export {
|
|
264
245
|
SPEC_VERSION,
|
|
265
246
|
SPEC_VERSION_SCP,
|
|
247
|
+
SPEC_VERSION_KEY_EXPR,
|
|
266
248
|
SPEC_VERSION_SUPPORTED,
|
|
267
249
|
EXPR_VERSION,
|
|
268
250
|
MARKER_ROW_ENTITY,
|
|
@@ -273,6 +255,5 @@ export {
|
|
|
273
255
|
SCP_LOWERED_MARKER,
|
|
274
256
|
canonicalizeExpressionSpec,
|
|
275
257
|
isScpExprConditionInput,
|
|
276
|
-
operationsContainScpNodes,
|
|
277
258
|
operationsSpecVersion
|
|
278
259
|
};
|