@nicia-ai/typegraph 0.55.0 → 0.56.0
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/CHANGELOG.md +14 -0
- package/dist/backend/index.cjs +86 -86
- package/dist/backend/index.js +7 -7
- package/dist/backend/postgres/index.cjs +22 -22
- package/dist/backend/postgres/index.js +8 -8
- package/dist/backend/postgres/pglite-store.cjs +1 -1
- package/dist/backend/postgres/pglite-store.d.cts +2 -2
- package/dist/backend/postgres/pglite-store.d.ts +2 -2
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/pglite.cjs +10 -10
- package/dist/backend/postgres/pglite.js +9 -9
- package/dist/backend/sqlite/index.cjs +21 -21
- package/dist/backend/sqlite/index.js +8 -8
- package/dist/backend/sqlite/libsql.cjs +12 -12
- package/dist/backend/sqlite/libsql.js +8 -8
- package/dist/backend/sqlite/local-store.cjs +1 -1
- package/dist/backend/sqlite/local-store.d.cts +2 -2
- package/dist/backend/sqlite/local-store.d.ts +2 -2
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/backend/sqlite/local.cjs +10 -10
- package/dist/backend/sqlite/local.js +9 -9
- package/dist/{chunk-S5WG5AFG.cjs → chunk-2XUAUSMI.cjs} +12 -12
- package/dist/{chunk-S5WG5AFG.cjs.map → chunk-2XUAUSMI.cjs.map} +1 -1
- package/dist/{chunk-MTE255N3.cjs → chunk-36XLQHZA.cjs} +4 -4
- package/dist/{chunk-MTE255N3.cjs.map → chunk-36XLQHZA.cjs.map} +1 -1
- package/dist/{chunk-FWSGKOBN.js → chunk-6LTRZOUU.js} +6 -6
- package/dist/{chunk-FWSGKOBN.js.map → chunk-6LTRZOUU.js.map} +1 -1
- package/dist/{chunk-YVKPUSHS.js → chunk-75KH6Y2W.js} +16 -7
- package/dist/chunk-75KH6Y2W.js.map +1 -0
- package/dist/{chunk-MJXEO7YA.js → chunk-762VPGHN.js} +5 -5
- package/dist/{chunk-MJXEO7YA.js.map → chunk-762VPGHN.js.map} +1 -1
- package/dist/{chunk-GGDTMBNA.cjs → chunk-7CCVR2QF.cjs} +54 -54
- package/dist/{chunk-GGDTMBNA.cjs.map → chunk-7CCVR2QF.cjs.map} +1 -1
- package/dist/{chunk-7EOJO6QB.js → chunk-7MHENVRG.js} +3 -3
- package/dist/{chunk-7EOJO6QB.js.map → chunk-7MHENVRG.js.map} +1 -1
- package/dist/{chunk-7B3DSFX3.cjs → chunk-AUTRK6WM.cjs} +4 -4
- package/dist/{chunk-7B3DSFX3.cjs.map → chunk-AUTRK6WM.cjs.map} +1 -1
- package/dist/{chunk-SIQ4BFL5.js → chunk-AZP5CCHL.js} +4 -4
- package/dist/{chunk-SIQ4BFL5.js.map → chunk-AZP5CCHL.js.map} +1 -1
- package/dist/{chunk-WTW7RWAG.cjs → chunk-BYUIOM4L.cjs} +6 -6
- package/dist/{chunk-WTW7RWAG.cjs.map → chunk-BYUIOM4L.cjs.map} +1 -1
- package/dist/{chunk-74FNI3PT.js → chunk-C3TJU4KQ.js} +6 -6
- package/dist/chunk-C3TJU4KQ.js.map +1 -0
- package/dist/{chunk-7V2R4MH6.js → chunk-CEQOTZGB.js} +5 -5
- package/dist/{chunk-7V2R4MH6.js.map → chunk-CEQOTZGB.js.map} +1 -1
- package/dist/{chunk-TKFQLKH2.cjs → chunk-CYKHSH5O.cjs} +36 -36
- package/dist/{chunk-TKFQLKH2.cjs.map → chunk-CYKHSH5O.cjs.map} +1 -1
- package/dist/{chunk-D5TCKAQT.cjs → chunk-DGIA64DM.cjs} +4 -4
- package/dist/{chunk-D5TCKAQT.cjs.map → chunk-DGIA64DM.cjs.map} +1 -1
- package/dist/{chunk-FFR3YUY2.js → chunk-E4QYEWVH.js} +5 -5
- package/dist/{chunk-FFR3YUY2.js.map → chunk-E4QYEWVH.js.map} +1 -1
- package/dist/{chunk-467YITD4.cjs → chunk-ETU5IILQ.cjs} +13 -13
- package/dist/{chunk-467YITD4.cjs.map → chunk-ETU5IILQ.cjs.map} +1 -1
- package/dist/{chunk-HW3IX2RF.js → chunk-EWRLWI7W.js} +4 -4
- package/dist/{chunk-HW3IX2RF.js.map → chunk-EWRLWI7W.js.map} +1 -1
- package/dist/{chunk-KZ6OHFDV.js → chunk-F2S5JWCT.js} +3 -3
- package/dist/{chunk-KZ6OHFDV.js.map → chunk-F2S5JWCT.js.map} +1 -1
- package/dist/{chunk-45WPPI64.js → chunk-FMCPKMQI.js} +3 -3
- package/dist/{chunk-45WPPI64.js.map → chunk-FMCPKMQI.js.map} +1 -1
- package/dist/{chunk-QM6IQW7B.js → chunk-ILHVYKXJ.js} +7 -7
- package/dist/{chunk-QM6IQW7B.js.map → chunk-ILHVYKXJ.js.map} +1 -1
- package/dist/{chunk-ECYEWFEH.cjs → chunk-J34FSPSC.cjs} +16 -6
- package/dist/chunk-J34FSPSC.cjs.map +1 -0
- package/dist/{chunk-GFYCLCGU.cjs → chunk-KM3CLHDB.cjs} +9 -9
- package/dist/{chunk-GFYCLCGU.cjs.map → chunk-KM3CLHDB.cjs.map} +1 -1
- package/dist/{chunk-SLNH62T3.js → chunk-KQYUKOGX.js} +3 -3
- package/dist/{chunk-SLNH62T3.js.map → chunk-KQYUKOGX.js.map} +1 -1
- package/dist/{chunk-7I2PYI4U.cjs → chunk-KR3N6Y7O.cjs} +67 -67
- package/dist/{chunk-7I2PYI4U.cjs.map → chunk-KR3N6Y7O.cjs.map} +1 -1
- package/dist/{chunk-HZCOCNIX.cjs → chunk-L2REUAJB.cjs} +24 -24
- package/dist/{chunk-HZCOCNIX.cjs.map → chunk-L2REUAJB.cjs.map} +1 -1
- package/dist/{chunk-VU65FXEG.js → chunk-LFXBFPI2.js} +66 -29
- package/dist/chunk-LFXBFPI2.js.map +1 -0
- package/dist/{chunk-NXRSR6QG.js → chunk-MHM6OGZR.js} +9 -9
- package/dist/{chunk-NXRSR6QG.js.map → chunk-MHM6OGZR.js.map} +1 -1
- package/dist/{chunk-FCUSVSYX.js → chunk-MRGWM5LE.js} +10 -10
- package/dist/{chunk-FCUSVSYX.js.map → chunk-MRGWM5LE.js.map} +1 -1
- package/dist/{chunk-WXGMDROJ.js → chunk-QDNEXTON.js} +7 -7
- package/dist/{chunk-WXGMDROJ.js.map → chunk-QDNEXTON.js.map} +1 -1
- package/dist/{chunk-VYU5H4FO.js → chunk-RXA2D3UR.js} +3 -3
- package/dist/{chunk-VYU5H4FO.js.map → chunk-RXA2D3UR.js.map} +1 -1
- package/dist/{chunk-XODNY4QI.js → chunk-TIBSLFHR.js} +6 -6
- package/dist/{chunk-XODNY4QI.js.map → chunk-TIBSLFHR.js.map} +1 -1
- package/dist/{chunk-KZG7HQSN.cjs → chunk-UVMSWO6X.cjs} +173 -173
- package/dist/{chunk-KZG7HQSN.cjs.map → chunk-UVMSWO6X.cjs.map} +1 -1
- package/dist/{chunk-ORPT5EQW.cjs → chunk-UZ6CJUC5.cjs} +27 -27
- package/dist/chunk-UZ6CJUC5.cjs.map +1 -0
- package/dist/{chunk-GNF3PHEQ.cjs → chunk-VF2IMMZT.cjs} +17 -17
- package/dist/{chunk-GNF3PHEQ.cjs.map → chunk-VF2IMMZT.cjs.map} +1 -1
- package/dist/{chunk-PGZV3E3I.cjs → chunk-VXEHEPC4.cjs} +4 -4
- package/dist/{chunk-PGZV3E3I.cjs.map → chunk-VXEHEPC4.cjs.map} +1 -1
- package/dist/{chunk-OJ47LMOB.cjs → chunk-WIUHN6SZ.cjs} +669 -628
- package/dist/chunk-WIUHN6SZ.cjs.map +1 -0
- package/dist/{chunk-HNW5IDB3.js → chunk-WIZB5U6N.js} +7 -7
- package/dist/{chunk-HNW5IDB3.js.map → chunk-WIZB5U6N.js.map} +1 -1
- package/dist/{chunk-IDQZI6GL.js → chunk-XH75W3O5.js} +3 -3
- package/dist/{chunk-IDQZI6GL.js.map → chunk-XH75W3O5.js.map} +1 -1
- package/dist/{chunk-T7LSSV7J.cjs → chunk-XXEFDJHY.cjs} +45 -45
- package/dist/{chunk-T7LSSV7J.cjs.map → chunk-XXEFDJHY.cjs.map} +1 -1
- package/dist/{chunk-GORCU2GR.cjs → chunk-Z4NU4MYB.cjs} +123 -123
- package/dist/{chunk-GORCU2GR.cjs.map → chunk-Z4NU4MYB.cjs.map} +1 -1
- package/dist/{chunk-KFC3OUV4.cjs → chunk-ZHK3HEZ2.cjs} +130 -130
- package/dist/{chunk-KFC3OUV4.cjs.map → chunk-ZHK3HEZ2.cjs.map} +1 -1
- package/dist/{chunk-FYMYLZGX.cjs → chunk-ZXXGMQC3.cjs} +10 -10
- package/dist/{chunk-FYMYLZGX.cjs.map → chunk-ZXXGMQC3.cjs.map} +1 -1
- package/dist/graph-merge/index.cjs +577 -99
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +108 -4
- package/dist/graph-merge/index.d.ts +108 -4
- package/dist/graph-merge/index.js +495 -21
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{graph-templates-qraW63Ry.d.ts → graph-templates-BSA9VU_O.d.ts} +1 -1
- package/dist/{graph-templates--hp2U4kn.d.cts → graph-templates-Cg7DpEOF.d.cts} +1 -1
- package/dist/index.cjs +95 -95
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +16 -16
- package/dist/interchange/index.cjs +33 -33
- package/dist/interchange/index.d.cts +1 -1
- package/dist/interchange/index.d.ts +1 -1
- package/dist/interchange/index.js +10 -10
- package/dist/{local-store-impl-HXBO3VF4.js → local-store-impl-77DCLAAY.js} +18 -18
- package/dist/{local-store-impl-HXBO3VF4.js.map → local-store-impl-77DCLAAY.js.map} +1 -1
- package/dist/{local-store-impl-CUQKHHOZ.cjs → local-store-impl-NJCWM3KR.cjs} +22 -22
- package/dist/{local-store-impl-CUQKHHOZ.cjs.map → local-store-impl-NJCWM3KR.cjs.map} +1 -1
- package/dist/{pglite-store-impl-BD3AVOUH.js → pglite-store-impl-3VFSYLAJ.js} +18 -18
- package/dist/{pglite-store-impl-BD3AVOUH.js.map → pglite-store-impl-3VFSYLAJ.js.map} +1 -1
- package/dist/{pglite-store-impl-C3MQ72LT.cjs → pglite-store-impl-LHLJ3GBQ.cjs} +22 -22
- package/dist/{pglite-store-impl-C3MQ72LT.cjs.map → pglite-store-impl-LHLJ3GBQ.cjs.map} +1 -1
- package/dist/profiler/index.d.cts +1 -1
- package/dist/profiler/index.d.ts +1 -1
- package/dist/provenance/index.cjs +21 -21
- package/dist/provenance/index.d.cts +1 -1
- package/dist/provenance/index.d.ts +1 -1
- package/dist/provenance/index.js +5 -5
- package/dist/schema/index.cjs +36 -36
- package/dist/schema/index.d.cts +3 -3
- package/dist/schema/index.d.ts +3 -3
- package/dist/schema/index.js +6 -6
- package/dist/{store-stw2AEB4.d.ts → store-CQ3uzXla.d.ts} +58 -27
- package/dist/{store-DTEkUQ0k.d.cts → store-DbHAgVMH.d.cts} +58 -27
- package/package.json +1 -1
- package/dist/chunk-74FNI3PT.js.map +0 -1
- package/dist/chunk-ECYEWFEH.cjs.map +0 -1
- package/dist/chunk-OJ47LMOB.cjs.map +0 -1
- package/dist/chunk-ORPT5EQW.cjs.map +0 -1
- package/dist/chunk-VU65FXEG.js.map +0 -1
- package/dist/chunk-YVKPUSHS.js.map +0 -1
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as GraphDef, Q as QueryAst } from '../types-vg7PwMjm.js';
|
|
2
2
|
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.js';
|
|
3
|
-
import { b as Store } from '../store-
|
|
3
|
+
import { b as Store } from '../store-CQ3uzXla.js';
|
|
4
4
|
import { P as ProfilerOptions, a as ProfileReport } from '../types-CQcSzOm8.js';
|
|
5
5
|
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-CQcSzOm8.js';
|
|
6
6
|
import 'zod';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
var
|
|
3
|
+
var chunkUZ6CJUC5_cjs = require('../chunk-UZ6CJUC5.cjs');
|
|
4
|
+
require('../chunk-36XLQHZA.cjs');
|
|
5
|
+
var chunkCYKHSH5O_cjs = require('../chunk-CYKHSH5O.cjs');
|
|
6
6
|
require('../chunk-6OWTUEUL.cjs');
|
|
7
7
|
require('../chunk-5X46XWNH.cjs');
|
|
8
|
-
var
|
|
9
|
-
var
|
|
8
|
+
var chunkZXXGMQC3_cjs = require('../chunk-ZXXGMQC3.cjs');
|
|
9
|
+
var chunkJ34FSPSC_cjs = require('../chunk-J34FSPSC.cjs');
|
|
10
10
|
var chunkOJHFXL7Y_cjs = require('../chunk-OJHFXL7Y.cjs');
|
|
11
11
|
require('../chunk-F2HGOZJR.cjs');
|
|
12
12
|
var chunkNI2XPJQ2_cjs = require('../chunk-NI2XPJQ2.cjs');
|
|
@@ -54,7 +54,7 @@ function sortedReferences(keys) {
|
|
|
54
54
|
return [...keys].toSorted((left, right) => chunkNYWU6CBZ_cjs.compareStrings(left, right)).map((key) => keyToRef(key));
|
|
55
55
|
}
|
|
56
56
|
function parseNodeProps(row) {
|
|
57
|
-
const parsed =
|
|
57
|
+
const parsed = chunkJ34FSPSC_cjs.rowPropsToObject(row.props);
|
|
58
58
|
if (!chunkBXHAPCQG_cjs.isPlainObject(parsed)) {
|
|
59
59
|
throw new chunkASKXTVK5_cjs.ConfigurationError(
|
|
60
60
|
`Node ${row.kind}/${row.id} props are not an object.`,
|
|
@@ -432,14 +432,14 @@ async function synchronizeFactCurrency(backend, store, runHooks, snapshot, affec
|
|
|
432
432
|
snapshot,
|
|
433
433
|
affected,
|
|
434
434
|
(key) => !snapshot.supportedFactKeys.has(key),
|
|
435
|
-
|
|
435
|
+
chunkJ34FSPSC_cjs.isLiveNodeRow,
|
|
436
436
|
(row) => closeFactCurrency(backend, store, runHooks, row, lock)
|
|
437
437
|
);
|
|
438
438
|
await forEachAffectedFact(
|
|
439
439
|
snapshot,
|
|
440
440
|
affected,
|
|
441
441
|
(key) => snapshot.supportedFactKeys.has(key),
|
|
442
|
-
|
|
442
|
+
chunkJ34FSPSC_cjs.isTombstonedNodeRow,
|
|
443
443
|
(row) => reopenFactCurrency(backend, store, runHooks, row, lock)
|
|
444
444
|
);
|
|
445
445
|
}
|
|
@@ -454,13 +454,13 @@ function getFactRegistration(store, row) {
|
|
|
454
454
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
455
455
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
456
456
|
const registration = getFactRegistration(store, row);
|
|
457
|
-
await
|
|
458
|
-
|
|
457
|
+
await chunkUZ6CJUC5_cjs.applyNodeSoftDelete(
|
|
458
|
+
chunkUZ6CJUC5_cjs.createNodeWriteContext(
|
|
459
459
|
store.graphId,
|
|
460
460
|
store.registry,
|
|
461
461
|
lock,
|
|
462
|
-
|
|
463
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
462
|
+
chunkZXXGMQC3_cjs.createClaimsVerdictThunk(chunkUZ6CJUC5_cjs.storeBackend(store)),
|
|
463
|
+
chunkBXHAPCQG_cjs.requireDefined(chunkUZ6CJUC5_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
464
464
|
),
|
|
465
465
|
{
|
|
466
466
|
existing: row,
|
|
@@ -476,13 +476,13 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
476
476
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
477
477
|
await runHooks("update", row.kind, row.id, async () => {
|
|
478
478
|
const registration = getFactRegistration(store, row);
|
|
479
|
-
await
|
|
480
|
-
|
|
479
|
+
await chunkUZ6CJUC5_cjs.applyNodeResurrect(
|
|
480
|
+
chunkUZ6CJUC5_cjs.createNodeWriteContext(
|
|
481
481
|
store.graphId,
|
|
482
482
|
store.registry,
|
|
483
483
|
lock,
|
|
484
|
-
|
|
485
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
484
|
+
chunkZXXGMQC3_cjs.createClaimsVerdictThunk(chunkUZ6CJUC5_cjs.storeBackend(store)),
|
|
485
|
+
chunkBXHAPCQG_cjs.requireDefined(chunkUZ6CJUC5_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
486
486
|
),
|
|
487
487
|
{
|
|
488
488
|
existing: row,
|
|
@@ -515,8 +515,8 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
515
515
|
);
|
|
516
516
|
}
|
|
517
517
|
return store.transaction(async (tx) => {
|
|
518
|
-
const backend =
|
|
519
|
-
const lock = await
|
|
518
|
+
const backend = chunkUZ6CJUC5_cjs.transactionBackend(tx);
|
|
519
|
+
const lock = await chunkCYKHSH5O_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
520
520
|
const rows = await Promise.all(
|
|
521
521
|
uniqueSources.map(
|
|
522
522
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -552,7 +552,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
552
552
|
await synchronizeFactCurrency(
|
|
553
553
|
backend,
|
|
554
554
|
store,
|
|
555
|
-
|
|
555
|
+
chunkUZ6CJUC5_cjs.transactionNodeOperationHookRunner(tx),
|
|
556
556
|
after,
|
|
557
557
|
affected,
|
|
558
558
|
lock
|
|
@@ -578,8 +578,8 @@ function createRetractionCapability(store, config) {
|
|
|
578
578
|
unRetractMany: (sources) => transition(sources, false),
|
|
579
579
|
async holding() {
|
|
580
580
|
return store.transaction(async (tx) => {
|
|
581
|
-
const backend =
|
|
582
|
-
await
|
|
581
|
+
const backend = chunkUZ6CJUC5_cjs.transactionBackend(tx);
|
|
582
|
+
await chunkCYKHSH5O_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
583
583
|
const snapshot = await computeSupport(
|
|
584
584
|
backend,
|
|
585
585
|
store.graphId,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as GraphDef } from '../types-vg7PwMjm.cjs';
|
|
2
2
|
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.cjs';
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
3
|
+
import { c as HistoryStore } from '../store-DbHAgVMH.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../temporal-ljhXRasd.cjs';
|
|
6
6
|
import '../searchable-CpK80Wld.cjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { d as GraphDef } from '../types-vg7PwMjm.js';
|
|
2
2
|
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-vg7PwMjm.js';
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
3
|
+
import { c as HistoryStore } from '../store-CQ3uzXla.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
import '../temporal-CFrB9A1u.js';
|
|
6
6
|
import '../searchable-CZjq8iIQ.js';
|
package/dist/provenance/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { transactionBackend, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, storeBackend, storeRuntime, applyNodeResurrect } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
3
|
-
import { lockRecordedGraphWrite } from '../chunk-
|
|
1
|
+
import { transactionBackend, transactionNodeOperationHookRunner, applyNodeSoftDelete, createNodeWriteContext, storeBackend, storeRuntime, applyNodeResurrect } from '../chunk-C3TJU4KQ.js';
|
|
2
|
+
import '../chunk-7MHENVRG.js';
|
|
3
|
+
import { lockRecordedGraphWrite } from '../chunk-AZP5CCHL.js';
|
|
4
4
|
import '../chunk-JYY2EB5K.js';
|
|
5
5
|
import '../chunk-U4SGJQKQ.js';
|
|
6
|
-
import { createClaimsVerdictThunk } from '../chunk-
|
|
7
|
-
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-
|
|
6
|
+
import { createClaimsVerdictThunk } from '../chunk-XH75W3O5.js';
|
|
7
|
+
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-75KH6Y2W.js';
|
|
8
8
|
import { projectTargetKinds } from '../chunk-HFZWYHYC.js';
|
|
9
9
|
import '../chunk-EMORF4PV.js';
|
|
10
10
|
import { nowIso, validityWindowContainsInstant } from '../chunk-AJBVLTIP.js';
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkKM3CLHDB_cjs = require('../chunk-KM3CLHDB.cjs');
|
|
4
|
+
var chunkL2REUAJB_cjs = require('../chunk-L2REUAJB.cjs');
|
|
5
5
|
require('../chunk-6YKISECL.cjs');
|
|
6
6
|
require('../chunk-OGZA7IS4.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
var
|
|
7
|
+
require('../chunk-XXEFDJHY.cjs');
|
|
8
|
+
var chunkCYKHSH5O_cjs = require('../chunk-CYKHSH5O.cjs');
|
|
9
9
|
require('../chunk-6OWTUEUL.cjs');
|
|
10
10
|
require('../chunk-5X46XWNH.cjs');
|
|
11
|
-
require('../chunk-
|
|
12
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-ZXXGMQC3.cjs');
|
|
12
|
+
require('../chunk-J34FSPSC.cjs');
|
|
13
13
|
require('../chunk-V32ES2Q2.cjs');
|
|
14
14
|
require('../chunk-OJHFXL7Y.cjs');
|
|
15
15
|
require('../chunk-F2HGOZJR.cjs');
|
|
@@ -36,123 +36,123 @@ require('../chunk-BXHAPCQG.cjs');
|
|
|
36
36
|
|
|
37
37
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunkKM3CLHDB_cjs.deserializeSchema; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "instantiateGraph", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunkKM3CLHDB_cjs.instantiateGraph; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "instantiateGraphTemplate", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunkKM3CLHDB_cjs.instantiateGraphTemplate; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "registerGraphTemplate", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunkKM3CLHDB_cjs.registerGraphTemplate; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunkL2REUAJB_cjs.applyDeprecatedKinds; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunkL2REUAJB_cjs.assertSchemaCurrent; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunkL2REUAJB_cjs.classifySchemaChanges; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunkL2REUAJB_cjs.computeSchemaDiff; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunkL2REUAJB_cjs.computeSchemaHash; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunkL2REUAJB_cjs.deserializeWherePredicate; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "ensureSchema", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkL2REUAJB_cjs.ensureSchema; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkL2REUAJB_cjs.getActiveSchema; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkL2REUAJB_cjs.getCommittedSchemaVersion; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkL2REUAJB_cjs.getMigrationActions; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkL2REUAJB_cjs.getSchemaChanges; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "initializeSchema", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkL2REUAJB_cjs.initializeSchema; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkL2REUAJB_cjs.isBackwardsCompatible; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkL2REUAJB_cjs.isSchemaInitialized; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkL2REUAJB_cjs.loadActiveSchemaWithBootstrap; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkL2REUAJB_cjs.loadAndMergeGraphExtensionDocument; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "migrateSchema", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkL2REUAJB_cjs.migrateSchema; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkL2REUAJB_cjs.parseSerializedSchema; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "requiresMigration", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkL2REUAJB_cjs.requiresMigration; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkL2REUAJB_cjs.rollbackSchema; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "serializeSchema", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkL2REUAJB_cjs.serializeSchema; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "createValidationError", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkCYKHSH5O_cjs.createValidationError; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkCYKHSH5O_cjs.validateEdgeProps; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkCYKHSH5O_cjs.validateNodeProps; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "validateProps", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkCYKHSH5O_cjs.validateProps; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "wrapZodError", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkCYKHSH5O_cjs.wrapZodError; }
|
|
156
156
|
});
|
|
157
157
|
//# sourceMappingURL=index.cjs.map
|
|
158
158
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as SerializedNodeDef, H as SerializedEdgeDef, L as SerializedMetaEdge, M as SerializedOntologyRelation, O as SerializedClosures, P as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity, X as ValidationIssue, Y as ValidationError } from '../types-vg7PwMjm.cjs';
|
|
2
2
|
export { Z as ChangeSeverity, _ as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, $ as DeprecatedKindsChange, a0 as EdgeChange, a1 as ExtensionChange, a2 as GraphAnnotationsChange, G as GraphIdentityConfig, a3 as IdentityChange, a4 as IndexChange, a5 as JsonSchema, a6 as NodeChange, a7 as OntologyChange, a8 as SchemaChangeClassification, a9 as SchemaDiff, aa as SerializedOntology, ab as SerializedUniqueConstraint, ac as classifySchemaChanges, ad as computeSchemaDiff, ae as getMigrationActions, af as isBackwardsCompatible } from '../types-vg7PwMjm.cjs';
|
|
3
|
-
import { K as KindRegistry } from '../store-
|
|
4
|
-
export { M as MigrateSchemaOptions, o as MigrationHookContext, a as SchemaManagerOptions, p as SchemaValidationResult, q as applyDeprecatedKinds, r as assertSchemaCurrent, s as ensureSchema, t as getActiveSchema, u as getCommittedSchemaVersion, v as getSchemaChanges, w as initializeSchema, x as isSchemaInitialized, y as loadActiveSchemaWithBootstrap, z as loadAndMergeGraphExtensionDocument, A as migrateSchema, B as parseSerializedSchema, C as requiresMigration, D as rollbackSchema } from '../store-
|
|
5
|
-
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates
|
|
3
|
+
import { K as KindRegistry } from '../store-DbHAgVMH.cjs';
|
|
4
|
+
export { M as MigrateSchemaOptions, o as MigrationHookContext, a as SchemaManagerOptions, p as SchemaValidationResult, q as applyDeprecatedKinds, r as assertSchemaCurrent, s as ensureSchema, t as getActiveSchema, u as getCommittedSchemaVersion, v as getSchemaChanges, w as initializeSchema, x as isSchemaInitialized, y as loadActiveSchemaWithBootstrap, z as loadAndMergeGraphExtensionDocument, A as migrateSchema, B as parseSerializedSchema, C as requiresMigration, D as rollbackSchema } from '../store-DbHAgVMH.cjs';
|
|
5
|
+
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-Cg7DpEOF.cjs';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
7
|
import '../temporal-ljhXRasd.cjs';
|
|
8
8
|
import '../searchable-CpK80Wld.cjs';
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { D as SerializedNodeDef, H as SerializedEdgeDef, L as SerializedMetaEdge, M as SerializedOntologyRelation, O as SerializedClosures, P as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity, X as ValidationIssue, Y as ValidationError } from '../types-vg7PwMjm.js';
|
|
2
2
|
export { Z as ChangeSeverity, _ as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, $ as DeprecatedKindsChange, a0 as EdgeChange, a1 as ExtensionChange, a2 as GraphAnnotationsChange, G as GraphIdentityConfig, a3 as IdentityChange, a4 as IndexChange, a5 as JsonSchema, a6 as NodeChange, a7 as OntologyChange, a8 as SchemaChangeClassification, a9 as SchemaDiff, aa as SerializedOntology, ab as SerializedUniqueConstraint, ac as classifySchemaChanges, ad as computeSchemaDiff, ae as getMigrationActions, af as isBackwardsCompatible } from '../types-vg7PwMjm.js';
|
|
3
|
-
import { K as KindRegistry } from '../store-
|
|
4
|
-
export { M as MigrateSchemaOptions, o as MigrationHookContext, a as SchemaManagerOptions, p as SchemaValidationResult, q as applyDeprecatedKinds, r as assertSchemaCurrent, s as ensureSchema, t as getActiveSchema, u as getCommittedSchemaVersion, v as getSchemaChanges, w as initializeSchema, x as isSchemaInitialized, y as loadActiveSchemaWithBootstrap, z as loadAndMergeGraphExtensionDocument, A as migrateSchema, B as parseSerializedSchema, C as requiresMigration, D as rollbackSchema } from '../store-
|
|
5
|
-
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-
|
|
3
|
+
import { K as KindRegistry } from '../store-CQ3uzXla.js';
|
|
4
|
+
export { M as MigrateSchemaOptions, o as MigrationHookContext, a as SchemaManagerOptions, p as SchemaValidationResult, q as applyDeprecatedKinds, r as assertSchemaCurrent, s as ensureSchema, t as getActiveSchema, u as getCommittedSchemaVersion, v as getSchemaChanges, w as initializeSchema, x as isSchemaInitialized, y as loadActiveSchemaWithBootstrap, z as loadAndMergeGraphExtensionDocument, A as migrateSchema, B as parseSerializedSchema, C as requiresMigration, D as rollbackSchema } from '../store-CQ3uzXla.js';
|
|
5
|
+
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-BSA9VU_O.js';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
7
|
import '../temporal-CFrB9A1u.js';
|
|
8
8
|
import '../searchable-CZjq8iIQ.js';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-
|
|
1
|
+
export { deserializeSchema, instantiateGraph, instantiateGraphTemplate, registerGraphTemplate } from '../chunk-F2S5JWCT.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-E4QYEWVH.js';
|
|
3
3
|
import '../chunk-RFMSZ7CF.js';
|
|
4
4
|
import '../chunk-P5J256Q7.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
5
|
+
import '../chunk-762VPGHN.js';
|
|
6
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-AZP5CCHL.js';
|
|
7
7
|
import '../chunk-JYY2EB5K.js';
|
|
8
8
|
import '../chunk-U4SGJQKQ.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-XH75W3O5.js';
|
|
10
|
+
import '../chunk-75KH6Y2W.js';
|
|
11
11
|
import '../chunk-4PNRH5BO.js';
|
|
12
12
|
import '../chunk-HFZWYHYC.js';
|
|
13
13
|
import '../chunk-EMORF4PV.js';
|