@nicia-ai/typegraph 0.65.0 → 0.66.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/CHANGELOG.md +33 -0
- package/dist/{atomic-mutation-program-BznZQ06C.d.ts → atomic-mutation-program-BhP75Qn0.d.ts} +1 -1
- package/dist/{atomic-mutation-program-Bfu5z-je.d.cts → atomic-mutation-program-DMdmc4s0.d.cts} +1 -1
- package/dist/backend/drizzle/engine/index.cjs +13 -13
- package/dist/backend/drizzle/engine/index.d.cts +9 -9
- package/dist/backend/drizzle/engine/index.d.ts +9 -9
- package/dist/backend/drizzle/engine/index.js +8 -8
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/index.cjs +91 -91
- package/dist/backend/index.d.cts +7 -7
- package/dist/backend/index.d.ts +7 -7
- package/dist/backend/index.js +8 -8
- package/dist/backend/postgres/index.cjs +23 -23
- package/dist/backend/postgres/index.d.cts +8 -8
- package/dist/backend/postgres/index.d.ts +8 -8
- 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 +6 -6
- package/dist/backend/postgres/pglite-store.d.ts +6 -6
- package/dist/backend/postgres/pglite-store.js +1 -1
- package/dist/backend/postgres/pglite.cjs +10 -10
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +9 -9
- package/dist/backend/sqlite/index.cjs +21 -21
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +8 -8
- package/dist/backend/sqlite/libsql.cjs +14 -14
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- 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 +6 -6
- package/dist/backend/sqlite/local-store.d.ts +6 -6
- package/dist/backend/sqlite/local-store.js +1 -1
- package/dist/backend/sqlite/local.cjs +10 -10
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +9 -9
- package/dist/{chunk-PFXNQFFY.js → chunk-2DJKHZQ4.js} +75 -8
- package/dist/chunk-2DJKHZQ4.js.map +1 -0
- package/dist/{chunk-337ONI2I.js → chunk-3SUZXB5X.js} +146 -80
- package/dist/chunk-3SUZXB5X.js.map +1 -0
- package/dist/{chunk-4VTCIEK3.js → chunk-4TQOIBWH.js} +3 -3
- package/dist/{chunk-4VTCIEK3.js.map → chunk-4TQOIBWH.js.map} +1 -1
- package/dist/{chunk-JRWKRBI5.cjs → chunk-5JOCIMQ3.cjs} +6 -6
- package/dist/{chunk-JRWKRBI5.cjs.map → chunk-5JOCIMQ3.cjs.map} +1 -1
- package/dist/{chunk-BWQA3POT.cjs → chunk-6B3LQUYG.cjs} +206 -138
- package/dist/chunk-6B3LQUYG.cjs.map +1 -0
- package/dist/{chunk-RQPCUHIH.js → chunk-6ECNYQDW.js} +3 -3
- package/dist/{chunk-RQPCUHIH.js.map → chunk-6ECNYQDW.js.map} +1 -1
- package/dist/{chunk-OLB75LRQ.js → chunk-6GKKAQMW.js} +5 -5
- package/dist/{chunk-OLB75LRQ.js.map → chunk-6GKKAQMW.js.map} +1 -1
- package/dist/{chunk-OC5ROP7V.cjs → chunk-6JRVV2SS.cjs} +8 -2
- package/dist/chunk-6JRVV2SS.cjs.map +1 -0
- package/dist/{chunk-DSX3P4S5.cjs → chunk-76OB5RSH.cjs} +6 -6
- package/dist/{chunk-DSX3P4S5.cjs.map → chunk-76OB5RSH.cjs.map} +1 -1
- package/dist/{chunk-DHRLOQLQ.cjs → chunk-7LQTDGV5.cjs} +11 -11
- package/dist/{chunk-DHRLOQLQ.cjs.map → chunk-7LQTDGV5.cjs.map} +1 -1
- package/dist/{chunk-Q25QYSOH.js → chunk-7YJHUY4T.js} +9 -9
- package/dist/{chunk-Q25QYSOH.js.map → chunk-7YJHUY4T.js.map} +1 -1
- package/dist/{chunk-JERQGJKG.cjs → chunk-ANMCKLZQ.cjs} +18 -18
- package/dist/{chunk-JERQGJKG.cjs.map → chunk-ANMCKLZQ.cjs.map} +1 -1
- package/dist/{chunk-BBOMNH44.js → chunk-BABP4D5B.js} +3 -3
- package/dist/{chunk-BBOMNH44.js.map → chunk-BABP4D5B.js.map} +1 -1
- package/dist/{chunk-EVGZ2TRQ.js → chunk-BE75G3M5.js} +3 -3
- package/dist/{chunk-EVGZ2TRQ.js.map → chunk-BE75G3M5.js.map} +1 -1
- package/dist/{chunk-FXGZT3WO.cjs → chunk-BX42F7IJ.cjs} +41 -41
- package/dist/{chunk-FXGZT3WO.cjs.map → chunk-BX42F7IJ.cjs.map} +1 -1
- package/dist/{chunk-G6T23JU7.js → chunk-CDKNGCE7.js} +3 -3
- package/dist/{chunk-G6T23JU7.js.map → chunk-CDKNGCE7.js.map} +1 -1
- package/dist/{chunk-BNTJ5YFO.cjs → chunk-EACDHXJL.cjs} +4 -4
- package/dist/{chunk-BNTJ5YFO.cjs.map → chunk-EACDHXJL.cjs.map} +1 -1
- package/dist/{chunk-SNDJUTMB.cjs → chunk-EBQX7MYL.cjs} +72 -72
- package/dist/{chunk-SNDJUTMB.cjs.map → chunk-EBQX7MYL.cjs.map} +1 -1
- package/dist/{chunk-GKSAEUX6.js → chunk-FXOFJ4FS.js} +7 -7
- package/dist/{chunk-GKSAEUX6.js.map → chunk-FXOFJ4FS.js.map} +1 -1
- package/dist/{chunk-ZOWRACZQ.cjs → chunk-G7OKJDMG.cjs} +5 -5
- package/dist/{chunk-ZOWRACZQ.cjs.map → chunk-G7OKJDMG.cjs.map} +1 -1
- package/dist/{chunk-MKJPBSID.cjs → chunk-I7SBZJI2.cjs} +4 -4
- package/dist/{chunk-MKJPBSID.cjs.map → chunk-I7SBZJI2.cjs.map} +1 -1
- package/dist/{chunk-H346QK3V.cjs → chunk-K7YACILO.cjs} +9 -9
- package/dist/{chunk-H346QK3V.cjs.map → chunk-K7YACILO.cjs.map} +1 -1
- package/dist/{chunk-3KWF25MF.cjs → chunk-MN325MG4.cjs} +313 -246
- package/dist/chunk-MN325MG4.cjs.map +1 -0
- package/dist/{chunk-KDNRACRG.cjs → chunk-MRUOOAIQ.cjs} +4 -4
- package/dist/{chunk-KDNRACRG.cjs.map → chunk-MRUOOAIQ.cjs.map} +1 -1
- package/dist/{chunk-HTSJTWUT.js → chunk-OF63ZHSD.js} +4 -4
- package/dist/{chunk-HTSJTWUT.js.map → chunk-OF63ZHSD.js.map} +1 -1
- package/dist/{chunk-NGA3THGU.cjs → chunk-QR7W37HG.cjs} +14 -14
- package/dist/{chunk-NGA3THGU.cjs.map → chunk-QR7W37HG.cjs.map} +1 -1
- package/dist/{chunk-QFEO4M5W.js → chunk-RTPMG6LQ.js} +11 -11
- package/dist/{chunk-QFEO4M5W.js.map → chunk-RTPMG6LQ.js.map} +1 -1
- package/dist/{chunk-PFD4NUYV.js → chunk-SSDHR2C2.js} +3 -3
- package/dist/{chunk-PFD4NUYV.js.map → chunk-SSDHR2C2.js.map} +1 -1
- package/dist/{chunk-THK3SCQA.js → chunk-SYXTWPX6.js} +5 -5
- package/dist/{chunk-THK3SCQA.js.map → chunk-SYXTWPX6.js.map} +1 -1
- package/dist/{chunk-XSLQYGNR.cjs → chunk-T3VU3YRQ.cjs} +69 -69
- package/dist/{chunk-XSLQYGNR.cjs.map → chunk-T3VU3YRQ.cjs.map} +1 -1
- package/dist/{chunk-MIBWA6HX.js → chunk-TR7QTODF.js} +213 -33
- package/dist/chunk-TR7QTODF.js.map +1 -0
- package/dist/{chunk-AD3NLSV5.js → chunk-TU22BFMP.js} +8 -2
- package/dist/chunk-TU22BFMP.js.map +1 -0
- package/dist/{chunk-WTMSUIRO.js → chunk-UFKYMQJ5.js} +3 -3
- package/dist/{chunk-WTMSUIRO.js.map → chunk-UFKYMQJ5.js.map} +1 -1
- package/dist/{chunk-35LDKSMM.cjs → chunk-VNJMM2QQ.cjs} +30 -30
- package/dist/{chunk-35LDKSMM.cjs.map → chunk-VNJMM2QQ.cjs.map} +1 -1
- package/dist/{chunk-53ZEBIMD.js → chunk-WB55URNM.js} +6 -6
- package/dist/{chunk-53ZEBIMD.js.map → chunk-WB55URNM.js.map} +1 -1
- package/dist/{chunk-L2GBVYRU.cjs → chunk-WWSYGZED.cjs} +11 -11
- package/dist/{chunk-L2GBVYRU.cjs.map → chunk-WWSYGZED.cjs.map} +1 -1
- package/dist/{chunk-D2JPOFRZ.cjs → chunk-WY3IFEKV.cjs} +191 -191
- package/dist/{chunk-D2JPOFRZ.cjs.map → chunk-WY3IFEKV.cjs.map} +1 -1
- package/dist/{chunk-3RSFLZ7A.cjs → chunk-Y4X6ODVY.cjs} +943 -763
- package/dist/chunk-Y4X6ODVY.cjs.map +1 -0
- package/dist/{chunk-VZRXXABW.js → chunk-YHMXF7OZ.js} +5 -5
- package/dist/{chunk-VZRXXABW.js.map → chunk-YHMXF7OZ.js.map} +1 -1
- package/dist/{chunk-VROJKWZ7.js → chunk-ZONDBN6H.js} +5 -5
- package/dist/{chunk-VROJKWZ7.js.map → chunk-ZONDBN6H.js.map} +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/{ddl-DvW9aobX.d.ts → ddl-2q7xLM1X.d.ts} +3 -3
- package/dist/{ddl-BjuXbPfw.d.cts → ddl-D_09BfbN.d.cts} +3 -3
- package/dist/graph-extension/index.d.cts +2 -2
- package/dist/graph-extension/index.d.ts +2 -2
- package/dist/graph-merge/index.cjs +156 -156
- package/dist/graph-merge/index.d.cts +7 -7
- package/dist/graph-merge/index.d.ts +7 -7
- package/dist/graph-merge/index.js +14 -14
- package/dist/{graph-templates-1vMqlPsu.d.cts → graph-templates-B5Q7oYAA.d.cts} +2 -2
- package/dist/{graph-templates-Y52w16dH.d.ts → graph-templates-D9N-Z9kw.d.ts} +2 -2
- package/dist/index.cjs +99 -99
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +18 -18
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/{ingestion-import-target-CCKeXZbW.d.ts → ingestion-import-target-B8EU6ug2.d.ts} +1 -1
- package/dist/{ingestion-import-target-774QRgkF.d.cts → ingestion-import-target-C5sHNFJF.d.cts} +1 -1
- package/dist/interchange/index.cjs +34 -34
- package/dist/interchange/index.d.cts +7 -7
- package/dist/interchange/index.d.ts +7 -7
- package/dist/interchange/index.js +11 -11
- package/dist/{local-store-impl-DFKS7QTV.js → local-store-impl-ERPNYOCL.js} +18 -18
- package/dist/{local-store-impl-DFKS7QTV.js.map → local-store-impl-ERPNYOCL.js.map} +1 -1
- package/dist/{local-store-impl-3E4VLFCI.cjs → local-store-impl-OUINMCYI.cjs} +22 -22
- package/dist/{local-store-impl-3E4VLFCI.cjs.map → local-store-impl-OUINMCYI.cjs.map} +1 -1
- package/dist/{pglite-store-impl-N63GGBU2.js → pglite-store-impl-DUJBQZS5.js} +18 -18
- package/dist/{pglite-store-impl-N63GGBU2.js.map → pglite-store-impl-DUJBQZS5.js.map} +1 -1
- package/dist/{pglite-store-impl-T75O3LVQ.cjs → pglite-store-impl-Z3SOOP75.cjs} +22 -22
- package/dist/{pglite-store-impl-T75O3LVQ.cjs.map → pglite-store-impl-Z3SOOP75.cjs.map} +1 -1
- package/dist/{postgres-C9gitL71.d.ts → postgres-BbTYW3b_.d.ts} +3 -3
- package/dist/{postgres-BONrXHb4.d.cts → postgres-DOBXcZVg.d.cts} +1 -1
- package/dist/{postgres-DAFRdnTr.d.ts → postgres-DhZixg92.d.ts} +1 -1
- package/dist/{postgres-2FYdVYCm.d.cts → postgres-Dp3MpyJt.d.cts} +3 -3
- package/dist/{profile-CAD65CqS.d.ts → profile-Ch5SSewK.d.ts} +8 -8
- package/dist/{profile-Bmcg07Ki.d.cts → profile-DppApFgt.d.cts} +8 -8
- package/dist/profiler/index.d.cts +8 -8
- package/dist/profiler/index.d.ts +8 -8
- package/dist/provenance/index.cjs +22 -22
- package/dist/provenance/index.d.cts +6 -6
- package/dist/provenance/index.d.ts +6 -6
- package/dist/provenance/index.js +6 -6
- package/dist/{repair-validity-windows-CinP91t7.d.cts → repair-validity-windows-CpP_GpIx.d.cts} +1 -1
- package/dist/{repair-validity-windows-BJz4nffP.d.ts → repair-validity-windows-lfe275bY.d.ts} +1 -1
- package/dist/{resolve-DgOSlXx_.d.ts → resolve-CoYqHqno.d.cts} +7 -2
- package/dist/{resolve-DQXSEN_A.d.cts → resolve-DV0Iposp.d.ts} +7 -2
- package/dist/schema/index.cjs +37 -37
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +7 -7
- package/dist/{searchable-DMdCwkXO.d.cts → searchable-C7Xt6g45.d.cts} +1 -1
- package/dist/{searchable-BPRF0Bah.d.ts → searchable-KKXrPet3.d.ts} +1 -1
- package/dist/{sqlite-DgbYa-1Y.d.cts → sqlite-BkQM9ZeI.d.cts} +1 -1
- package/dist/{sqlite-Co_uIpfs.d.cts → sqlite-BpRtjC36.d.cts} +3 -3
- package/dist/{sqlite-DcDAAYow.d.ts → sqlite-CH0Zq0Qv.d.ts} +3 -3
- package/dist/{sqlite-UlG5prJQ.d.ts → sqlite-CcCSeXGg.d.ts} +1 -1
- package/dist/{store-HxoFyQMu.d.cts → store-3nfPQK5j.d.cts} +30 -7
- package/dist/{store-C9T1c9Az.d.ts → store-C8ZPl7OW.d.ts} +30 -7
- package/dist/{types-CRCyg1fJ.d.cts → types-BynPp5kU.d.cts} +18 -2
- package/dist/{types-CRCyg1fJ.d.ts → types-BynPp5kU.d.ts} +18 -2
- package/dist/{types-Dg_prBqC.d.ts → types-C9YwrkSe.d.ts} +1 -1
- package/dist/{types-B5AUesS1.d.cts → types-JG-4CG6P.d.cts} +1 -1
- package/dist/{where-gRyc3jj_.d.cts → where-D1gBDqQ_.d.cts} +1 -1
- package/dist/{where-D-NDKMPw.d.ts → where-D2GqMFp-.d.ts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-337ONI2I.js.map +0 -1
- package/dist/chunk-3KWF25MF.cjs.map +0 -1
- package/dist/chunk-3RSFLZ7A.cjs.map +0 -1
- package/dist/chunk-AD3NLSV5.js.map +0 -1
- package/dist/chunk-BWQA3POT.cjs.map +0 -1
- package/dist/chunk-MIBWA6HX.js.map +0 -1
- package/dist/chunk-OC5ROP7V.cjs.map +0 -1
- package/dist/chunk-PFXNQFFY.js.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
3
|
+
var chunkVNJMM2QQ_cjs = require('../chunk-VNJMM2QQ.cjs');
|
|
4
|
+
require('../chunk-G7OKJDMG.cjs');
|
|
5
5
|
require('../chunk-R255UE5U.cjs');
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
8
|
-
var
|
|
9
|
-
var
|
|
6
|
+
var chunk6B3LQUYG_cjs = require('../chunk-6B3LQUYG.cjs');
|
|
7
|
+
require('../chunk-5JOCIMQ3.cjs');
|
|
8
|
+
var chunk7LQTDGV5_cjs = require('../chunk-7LQTDGV5.cjs');
|
|
9
|
+
var chunk6JRVV2SS_cjs = require('../chunk-6JRVV2SS.cjs');
|
|
10
10
|
var chunk5ICDVLI3_cjs = require('../chunk-5ICDVLI3.cjs');
|
|
11
11
|
var chunkL4L4AV6F_cjs = require('../chunk-L4L4AV6F.cjs');
|
|
12
12
|
require('../chunk-AHUN2DLL.cjs');
|
|
@@ -55,7 +55,7 @@ function sortedReferences(keys) {
|
|
|
55
55
|
return [...keys].toSorted((left, right) => chunkNYWU6CBZ_cjs.compareStrings(left, right)).map((key) => keyToRef(key));
|
|
56
56
|
}
|
|
57
57
|
function parseNodeProps(row) {
|
|
58
|
-
const parsed =
|
|
58
|
+
const parsed = chunk6JRVV2SS_cjs.rowPropsToObject(row.props);
|
|
59
59
|
if (!chunkBXHAPCQG_cjs.isPlainObject(parsed)) {
|
|
60
60
|
throw new chunk7XYPLAPL_cjs.ConfigurationError(
|
|
61
61
|
`Node ${row.kind}/${row.id} props are not an object.`,
|
|
@@ -433,14 +433,14 @@ async function synchronizeFactCurrency(backend, store, runHooks, snapshot, affec
|
|
|
433
433
|
snapshot,
|
|
434
434
|
affected,
|
|
435
435
|
(key) => !snapshot.supportedFactKeys.has(key),
|
|
436
|
-
|
|
436
|
+
chunk6JRVV2SS_cjs.isLiveNodeRow,
|
|
437
437
|
(row) => closeFactCurrency(backend, store, runHooks, row, lock)
|
|
438
438
|
);
|
|
439
439
|
await forEachAffectedFact(
|
|
440
440
|
snapshot,
|
|
441
441
|
affected,
|
|
442
442
|
(key) => snapshot.supportedFactKeys.has(key),
|
|
443
|
-
|
|
443
|
+
chunk6JRVV2SS_cjs.isTombstonedNodeRow,
|
|
444
444
|
(row) => reopenFactCurrency(backend, store, runHooks, row, lock)
|
|
445
445
|
);
|
|
446
446
|
}
|
|
@@ -455,13 +455,13 @@ function getFactRegistration(store, row) {
|
|
|
455
455
|
async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
456
456
|
await runHooks("delete", row.kind, row.id, async () => {
|
|
457
457
|
const registration = getFactRegistration(store, row);
|
|
458
|
-
await
|
|
459
|
-
|
|
458
|
+
await chunkVNJMM2QQ_cjs.applyNodeSoftDelete(
|
|
459
|
+
chunkVNJMM2QQ_cjs.createNodeWriteContext(
|
|
460
460
|
store.graphId,
|
|
461
461
|
store.registry,
|
|
462
462
|
lock,
|
|
463
|
-
|
|
464
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
463
|
+
chunk7LQTDGV5_cjs.createClaimsVerdictThunk(chunk6B3LQUYG_cjs.storeBackend(store)),
|
|
464
|
+
chunkBXHAPCQG_cjs.requireDefined(chunk6B3LQUYG_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
465
465
|
),
|
|
466
466
|
{
|
|
467
467
|
existing: row,
|
|
@@ -477,13 +477,13 @@ async function closeFactCurrency(backend, store, runHooks, row, lock) {
|
|
|
477
477
|
async function reopenFactCurrency(backend, store, runHooks, row, lock) {
|
|
478
478
|
await runHooks("update", row.kind, row.id, async () => {
|
|
479
479
|
const registration = getFactRegistration(store, row);
|
|
480
|
-
await
|
|
481
|
-
|
|
480
|
+
await chunkVNJMM2QQ_cjs.applyNodeResurrect(
|
|
481
|
+
chunkVNJMM2QQ_cjs.createNodeWriteContext(
|
|
482
482
|
store.graphId,
|
|
483
483
|
store.registry,
|
|
484
484
|
lock,
|
|
485
|
-
|
|
486
|
-
chunkBXHAPCQG_cjs.requireDefined(
|
|
485
|
+
chunk7LQTDGV5_cjs.createClaimsVerdictThunk(chunk6B3LQUYG_cjs.storeBackend(store)),
|
|
486
|
+
chunkBXHAPCQG_cjs.requireDefined(chunk6B3LQUYG_cjs.storeRuntime(store).uniqueSidecarBatch)
|
|
487
487
|
),
|
|
488
488
|
{
|
|
489
489
|
existing: row,
|
|
@@ -516,8 +516,8 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
516
516
|
);
|
|
517
517
|
}
|
|
518
518
|
return store.transaction(async (tx) => {
|
|
519
|
-
const backend =
|
|
520
|
-
const lock = await
|
|
519
|
+
const backend = chunk6B3LQUYG_cjs.transactionBackend(tx);
|
|
520
|
+
const lock = await chunk6B3LQUYG_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
521
521
|
const rows = await Promise.all(
|
|
522
522
|
uniqueSources.map(
|
|
523
523
|
(source) => backend.getNode(store.graphId, source.kind, source.id)
|
|
@@ -553,7 +553,7 @@ async function runTransition(store, config, sources, retracted) {
|
|
|
553
553
|
await synchronizeFactCurrency(
|
|
554
554
|
backend,
|
|
555
555
|
store,
|
|
556
|
-
|
|
556
|
+
chunk6B3LQUYG_cjs.transactionNodeOperationHookRunner(tx),
|
|
557
557
|
after,
|
|
558
558
|
affected,
|
|
559
559
|
lock
|
|
@@ -579,8 +579,8 @@ function createRetractionCapability(store, config) {
|
|
|
579
579
|
unRetractMany: (sources) => transition(sources, false),
|
|
580
580
|
async holding() {
|
|
581
581
|
return store.transaction(async (tx) => {
|
|
582
|
-
const backend =
|
|
583
|
-
await
|
|
582
|
+
const backend = chunk6B3LQUYG_cjs.transactionBackend(tx);
|
|
583
|
+
await chunk6B3LQUYG_cjs.lockRecordedGraphWrite(backend, store.graphId);
|
|
584
584
|
const snapshot = await computeSupport(
|
|
585
585
|
backend,
|
|
586
586
|
store.graphId,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { e as GraphDef } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
1
|
+
import { e as GraphDef } from '../types-BynPp5kU.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-BynPp5kU.cjs';
|
|
3
|
+
import { c as HistoryStore } from '../store-3nfPQK5j.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-3nfPQK5j.cjs';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../searchable-
|
|
7
|
-
import '../resolve-
|
|
6
|
+
import '../searchable-C7Xt6g45.cjs';
|
|
7
|
+
import '../resolve-CoYqHqno.cjs';
|
|
8
8
|
|
|
9
9
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
10
10
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { e as GraphDef } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { c as HistoryStore } from '../store-
|
|
4
|
-
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-
|
|
1
|
+
import { e as GraphDef } from '../types-BynPp5kU.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-BynPp5kU.js';
|
|
3
|
+
import { c as HistoryStore } from '../store-C8ZPl7OW.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-C8ZPl7OW.js';
|
|
5
5
|
import 'zod';
|
|
6
|
-
import '../searchable-
|
|
7
|
-
import '../resolve-
|
|
6
|
+
import '../searchable-KKXrPet3.js';
|
|
7
|
+
import '../resolve-DV0Iposp.js';
|
|
8
8
|
|
|
9
9
|
type NodeKind<G extends GraphDef> = Extract<keyof G["nodes"], string>;
|
|
10
10
|
type EdgeKind<G extends GraphDef> = Extract<keyof G["edges"], string>;
|
package/dist/provenance/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-
|
|
2
|
-
import '../chunk-
|
|
1
|
+
import { applyNodeSoftDelete, createNodeWriteContext, applyNodeResurrect } from '../chunk-FXOFJ4FS.js';
|
|
2
|
+
import '../chunk-CDKNGCE7.js';
|
|
3
3
|
import '../chunk-N535PWMA.js';
|
|
4
|
-
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, storeBackend, storeRuntime } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import { createClaimsVerdictThunk } from '../chunk-
|
|
7
|
-
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-
|
|
4
|
+
import { transactionBackend, lockRecordedGraphWrite, transactionNodeOperationHookRunner, storeBackend, storeRuntime } from '../chunk-3SUZXB5X.js';
|
|
5
|
+
import '../chunk-4TQOIBWH.js';
|
|
6
|
+
import { createClaimsVerdictThunk } from '../chunk-BE75G3M5.js';
|
|
7
|
+
import { rowPropsToObject, isLiveNodeRow, isTombstonedNodeRow } from '../chunk-TU22BFMP.js';
|
|
8
8
|
import { projectTargetKinds } from '../chunk-OXJNL2PW.js';
|
|
9
9
|
import { nowIso, validityWindowContainsInstant } from '../chunk-CY657YYY.js';
|
|
10
10
|
import '../chunk-5PP537D7.js';
|
package/dist/{repair-validity-windows-CinP91t7.d.cts → repair-validity-windows-CpP_GpIx.d.cts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as GraphBackend, q as SqlTableNames, R as RecordedInstant } from './types-
|
|
1
|
+
import { g as GraphBackend, q as SqlTableNames, R as RecordedInstant } from './types-BynPp5kU.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* One-time offline migration from timestamp-only recorded relations to numeric
|
package/dist/{repair-validity-windows-BJz4nffP.d.ts → repair-validity-windows-lfe275bY.d.ts}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as GraphBackend, q as SqlTableNames, R as RecordedInstant } from './types-
|
|
1
|
+
import { g as GraphBackend, q as SqlTableNames, R as RecordedInstant } from './types-BynPp5kU.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* One-time offline migration from timestamp-only recorded relations to numeric
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as GraphBackend, s as SqlDialect, a2 as BackendCapabilities } from './types-
|
|
1
|
+
import { g as GraphBackend, s as SqlDialect, a2 as BackendCapabilities } from './types-BynPp5kU.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The PILOT capability-bundle registry — DATA ONLY, sibling in spirit to
|
|
@@ -1310,9 +1310,14 @@ type UnbundledOptionalMember = ReasonedUnbundledMember | DeferredUnbundledMember
|
|
|
1310
1310
|
* (`profile.provisioning.recordedTime` in `create-sql-backend.ts` and both
|
|
1311
1311
|
* dialects' transaction-scoped threading) is off `EngineProvisioning`, a
|
|
1312
1312
|
* type the receiver test's arm (b) does not recognize by name — still 93,
|
|
1313
|
-
* 16 +
|
|
1313
|
+
* 16 + 84 = 100 members total.
|
|
1314
1314
|
*/
|
|
1315
1315
|
declare const UNBUNDLED_OPTIONAL_MEMBERS: {
|
|
1316
|
+
readonly upsertHeterogeneousNodes: {
|
|
1317
|
+
readonly kind: "reasoned";
|
|
1318
|
+
readonly reason: "Exact-session PostgreSQL heterogeneous node upsert program.";
|
|
1319
|
+
readonly accesses: 6;
|
|
1320
|
+
};
|
|
1316
1321
|
readonly adoptBaseSchema: {
|
|
1317
1322
|
readonly kind: "reasoned";
|
|
1318
1323
|
readonly reason: "Privileged deployment-wide physical-schema adoption. Bundled backends implement the versioned marker lifecycle; custom backends may omit it when they provision their own base relations.";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { g as GraphBackend, s as SqlDialect, a2 as BackendCapabilities } from './types-
|
|
1
|
+
import { g as GraphBackend, s as SqlDialect, a2 as BackendCapabilities } from './types-BynPp5kU.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The PILOT capability-bundle registry — DATA ONLY, sibling in spirit to
|
|
@@ -1310,9 +1310,14 @@ type UnbundledOptionalMember = ReasonedUnbundledMember | DeferredUnbundledMember
|
|
|
1310
1310
|
* (`profile.provisioning.recordedTime` in `create-sql-backend.ts` and both
|
|
1311
1311
|
* dialects' transaction-scoped threading) is off `EngineProvisioning`, a
|
|
1312
1312
|
* type the receiver test's arm (b) does not recognize by name — still 93,
|
|
1313
|
-
* 16 +
|
|
1313
|
+
* 16 + 84 = 100 members total.
|
|
1314
1314
|
*/
|
|
1315
1315
|
declare const UNBUNDLED_OPTIONAL_MEMBERS: {
|
|
1316
|
+
readonly upsertHeterogeneousNodes: {
|
|
1317
|
+
readonly kind: "reasoned";
|
|
1318
|
+
readonly reason: "Exact-session PostgreSQL heterogeneous node upsert program.";
|
|
1319
|
+
readonly accesses: 6;
|
|
1320
|
+
};
|
|
1316
1321
|
readonly adoptBaseSchema: {
|
|
1317
1322
|
readonly kind: "reasoned";
|
|
1318
1323
|
readonly reason: "Privileged deployment-wide physical-schema adoption. Bundled backends implement the versioned marker lifecycle; custom backends may omit it when they provision their own base relations.";
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkK7YACILO_cjs = require('../chunk-K7YACILO.cjs');
|
|
4
|
+
var chunkBX42F7IJ_cjs = require('../chunk-BX42F7IJ.cjs');
|
|
5
5
|
require('../chunk-6YKISECL.cjs');
|
|
6
6
|
require('../chunk-ICOTLZBV.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
var
|
|
9
|
-
require('../chunk-
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-EBQX7MYL.cjs');
|
|
8
|
+
var chunk6B3LQUYG_cjs = require('../chunk-6B3LQUYG.cjs');
|
|
9
|
+
require('../chunk-5JOCIMQ3.cjs');
|
|
10
|
+
require('../chunk-7LQTDGV5.cjs');
|
|
11
|
+
require('../chunk-6JRVV2SS.cjs');
|
|
12
12
|
require('../chunk-7D2ZLF4O.cjs');
|
|
13
13
|
require('../chunk-5ICDVLI3.cjs');
|
|
14
14
|
require('../chunk-L4L4AV6F.cjs');
|
|
@@ -37,123 +37,123 @@ require('../chunk-7XYPLAPL.cjs');
|
|
|
37
37
|
|
|
38
38
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkK7YACILO_cjs.deserializeSchema; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "instantiateGraph", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkK7YACILO_cjs.instantiateGraph; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "instantiateGraphTemplate", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkK7YACILO_cjs.instantiateGraphTemplate; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "registerGraphTemplate", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkK7YACILO_cjs.registerGraphTemplate; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkBX42F7IJ_cjs.applyDeprecatedKinds; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkBX42F7IJ_cjs.assertSchemaCurrent; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkBX42F7IJ_cjs.classifySchemaChanges; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkBX42F7IJ_cjs.computeSchemaDiff; }
|
|
69
69
|
});
|
|
70
70
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
71
71
|
enumerable: true,
|
|
72
|
-
get: function () { return
|
|
72
|
+
get: function () { return chunkBX42F7IJ_cjs.computeSchemaHash; }
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
75
75
|
enumerable: true,
|
|
76
|
-
get: function () { return
|
|
76
|
+
get: function () { return chunkBX42F7IJ_cjs.deserializeWherePredicate; }
|
|
77
77
|
});
|
|
78
78
|
Object.defineProperty(exports, "ensureSchema", {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: function () { return
|
|
80
|
+
get: function () { return chunkBX42F7IJ_cjs.ensureSchema; }
|
|
81
81
|
});
|
|
82
82
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
83
83
|
enumerable: true,
|
|
84
|
-
get: function () { return
|
|
84
|
+
get: function () { return chunkBX42F7IJ_cjs.getActiveSchema; }
|
|
85
85
|
});
|
|
86
86
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
87
87
|
enumerable: true,
|
|
88
|
-
get: function () { return
|
|
88
|
+
get: function () { return chunkBX42F7IJ_cjs.getCommittedSchemaVersion; }
|
|
89
89
|
});
|
|
90
90
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: function () { return
|
|
92
|
+
get: function () { return chunkBX42F7IJ_cjs.getMigrationActions; }
|
|
93
93
|
});
|
|
94
94
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
95
95
|
enumerable: true,
|
|
96
|
-
get: function () { return
|
|
96
|
+
get: function () { return chunkBX42F7IJ_cjs.getSchemaChanges; }
|
|
97
97
|
});
|
|
98
98
|
Object.defineProperty(exports, "initializeSchema", {
|
|
99
99
|
enumerable: true,
|
|
100
|
-
get: function () { return
|
|
100
|
+
get: function () { return chunkBX42F7IJ_cjs.initializeSchema; }
|
|
101
101
|
});
|
|
102
102
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: function () { return
|
|
104
|
+
get: function () { return chunkBX42F7IJ_cjs.isBackwardsCompatible; }
|
|
105
105
|
});
|
|
106
106
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
107
107
|
enumerable: true,
|
|
108
|
-
get: function () { return
|
|
108
|
+
get: function () { return chunkBX42F7IJ_cjs.isSchemaInitialized; }
|
|
109
109
|
});
|
|
110
110
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
111
111
|
enumerable: true,
|
|
112
|
-
get: function () { return
|
|
112
|
+
get: function () { return chunkBX42F7IJ_cjs.loadActiveSchemaWithBootstrap; }
|
|
113
113
|
});
|
|
114
114
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: function () { return
|
|
116
|
+
get: function () { return chunkBX42F7IJ_cjs.loadAndMergeGraphExtensionDocument; }
|
|
117
117
|
});
|
|
118
118
|
Object.defineProperty(exports, "migrateSchema", {
|
|
119
119
|
enumerable: true,
|
|
120
|
-
get: function () { return
|
|
120
|
+
get: function () { return chunkBX42F7IJ_cjs.migrateSchema; }
|
|
121
121
|
});
|
|
122
122
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
123
123
|
enumerable: true,
|
|
124
|
-
get: function () { return
|
|
124
|
+
get: function () { return chunkBX42F7IJ_cjs.parseSerializedSchema; }
|
|
125
125
|
});
|
|
126
126
|
Object.defineProperty(exports, "requiresMigration", {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: function () { return
|
|
128
|
+
get: function () { return chunkBX42F7IJ_cjs.requiresMigration; }
|
|
129
129
|
});
|
|
130
130
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
131
131
|
enumerable: true,
|
|
132
|
-
get: function () { return
|
|
132
|
+
get: function () { return chunkBX42F7IJ_cjs.rollbackSchema; }
|
|
133
133
|
});
|
|
134
134
|
Object.defineProperty(exports, "serializeSchema", {
|
|
135
135
|
enumerable: true,
|
|
136
|
-
get: function () { return
|
|
136
|
+
get: function () { return chunkBX42F7IJ_cjs.serializeSchema; }
|
|
137
137
|
});
|
|
138
138
|
Object.defineProperty(exports, "createValidationError", {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: function () { return
|
|
140
|
+
get: function () { return chunk6B3LQUYG_cjs.createValidationError; }
|
|
141
141
|
});
|
|
142
142
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
143
143
|
enumerable: true,
|
|
144
|
-
get: function () { return
|
|
144
|
+
get: function () { return chunk6B3LQUYG_cjs.validateEdgeProps; }
|
|
145
145
|
});
|
|
146
146
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
147
147
|
enumerable: true,
|
|
148
|
-
get: function () { return
|
|
148
|
+
get: function () { return chunk6B3LQUYG_cjs.validateNodeProps; }
|
|
149
149
|
});
|
|
150
150
|
Object.defineProperty(exports, "validateProps", {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: function () { return
|
|
152
|
+
get: function () { return chunk6B3LQUYG_cjs.validateProps; }
|
|
153
153
|
});
|
|
154
154
|
Object.defineProperty(exports, "wrapZodError", {
|
|
155
155
|
enumerable: true,
|
|
156
|
-
get: function () { return
|
|
156
|
+
get: function () { return chunk6B3LQUYG_cjs.wrapZodError; }
|
|
157
157
|
});
|
|
158
158
|
//# sourceMappingURL=index.cjs.map
|
|
159
159
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a6 as SerializedNodeDef, a7 as SerializedEdgeDef, a8 as SerializedMetaEdge, a9 as SerializedOntologyRelation, aa as SerializedClosures, ab as SerializedSchema, ac as SchemaHash, ad as NullCheckOp, e as GraphDef, K as KindEntity, ae as ValidationIssue, af as ValidationError } from '../types-
|
|
2
|
-
export { ag as ChangeSeverity, ah as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, ai as DeprecatedKindsChange, aj as EdgeChange, ak as ExtensionChange, al as GraphAnnotationsChange, G as GraphIdentityConfig, am as IdentityChange, an as IndexChange, ao as JsonSchema, ap as NodeChange, aq as OntologyChange, ar as SchemaChangeClassification, as as SchemaDiff, at as SchemaIdentity, au as SerializedOntology, av as SerializedUniqueConstraint, aw as classifySchemaChanges, ax as computeSchemaDiff, ay as getMigrationActions, az as isBackwardsCompatible } from '../types-
|
|
3
|
-
import { K as KindRegistry } from '../store-
|
|
4
|
-
export { E as EvolutionPlan, o as EvolutionRequirement, p as EvolutionRequirements, M as MigrateSchemaOptions, q as MigrationHookContext, a as SchemaManagerOptions, r as SchemaValidationResult, s as applyDeprecatedKinds, t as assertSchemaCurrent, u as ensureSchema, v as getActiveSchema, w as getCommittedSchemaVersion, x as getSchemaChanges, y as initializeSchema, z as isSchemaInitialized, A as loadActiveSchemaWithBootstrap, D as loadAndMergeGraphExtensionDocument, F as migrateSchema, G as parseSerializedSchema, J as requiresMigration, N as rollbackSchema } from '../store-
|
|
5
|
-
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-
|
|
1
|
+
import { a6 as SerializedNodeDef, a7 as SerializedEdgeDef, a8 as SerializedMetaEdge, a9 as SerializedOntologyRelation, aa as SerializedClosures, ab as SerializedSchema, ac as SchemaHash, ad as NullCheckOp, e as GraphDef, K as KindEntity, ae as ValidationIssue, af as ValidationError } from '../types-BynPp5kU.cjs';
|
|
2
|
+
export { ag as ChangeSeverity, ah as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, ai as DeprecatedKindsChange, aj as EdgeChange, ak as ExtensionChange, al as GraphAnnotationsChange, G as GraphIdentityConfig, am as IdentityChange, an as IndexChange, ao as JsonSchema, ap as NodeChange, aq as OntologyChange, ar as SchemaChangeClassification, as as SchemaDiff, at as SchemaIdentity, au as SerializedOntology, av as SerializedUniqueConstraint, aw as classifySchemaChanges, ax as computeSchemaDiff, ay as getMigrationActions, az as isBackwardsCompatible } from '../types-BynPp5kU.cjs';
|
|
3
|
+
import { K as KindRegistry } from '../store-3nfPQK5j.cjs';
|
|
4
|
+
export { E as EvolutionPlan, o as EvolutionRequirement, p as EvolutionRequirements, M as MigrateSchemaOptions, q as MigrationHookContext, a as SchemaManagerOptions, r as SchemaValidationResult, s as applyDeprecatedKinds, t as assertSchemaCurrent, u as ensureSchema, v as getActiveSchema, w as getCommittedSchemaVersion, x as getSchemaChanges, y as initializeSchema, z as isSchemaInitialized, A as loadActiveSchemaWithBootstrap, D as loadAndMergeGraphExtensionDocument, F as migrateSchema, G as parseSerializedSchema, J as requiresMigration, N as rollbackSchema } from '../store-3nfPQK5j.cjs';
|
|
5
|
+
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-B5Q7oYAA.cjs';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import '../searchable-
|
|
8
|
-
import '../resolve-
|
|
7
|
+
import '../searchable-C7Xt6g45.cjs';
|
|
8
|
+
import '../resolve-CoYqHqno.cjs';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { a6 as SerializedNodeDef, a7 as SerializedEdgeDef, a8 as SerializedMetaEdge, a9 as SerializedOntologyRelation, aa as SerializedClosures, ab as SerializedSchema, ac as SchemaHash, ad as NullCheckOp, e as GraphDef, K as KindEntity, ae as ValidationIssue, af as ValidationError } from '../types-
|
|
2
|
-
export { ag as ChangeSeverity, ah as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, ai as DeprecatedKindsChange, aj as EdgeChange, ak as ExtensionChange, al as GraphAnnotationsChange, G as GraphIdentityConfig, am as IdentityChange, an as IndexChange, ao as JsonSchema, ap as NodeChange, aq as OntologyChange, ar as SchemaChangeClassification, as as SchemaDiff, at as SchemaIdentity, au as SerializedOntology, av as SerializedUniqueConstraint, aw as classifySchemaChanges, ax as computeSchemaDiff, ay as getMigrationActions, az as isBackwardsCompatible } from '../types-
|
|
3
|
-
import { K as KindRegistry } from '../store-
|
|
4
|
-
export { E as EvolutionPlan, o as EvolutionRequirement, p as EvolutionRequirements, M as MigrateSchemaOptions, q as MigrationHookContext, a as SchemaManagerOptions, r as SchemaValidationResult, s as applyDeprecatedKinds, t as assertSchemaCurrent, u as ensureSchema, v as getActiveSchema, w as getCommittedSchemaVersion, x as getSchemaChanges, y as initializeSchema, z as isSchemaInitialized, A as loadActiveSchemaWithBootstrap, D as loadAndMergeGraphExtensionDocument, F as migrateSchema, G as parseSerializedSchema, J as requiresMigration, N as rollbackSchema } from '../store-
|
|
5
|
-
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-
|
|
1
|
+
import { a6 as SerializedNodeDef, a7 as SerializedEdgeDef, a8 as SerializedMetaEdge, a9 as SerializedOntologyRelation, aa as SerializedClosures, ab as SerializedSchema, ac as SchemaHash, ad as NullCheckOp, e as GraphDef, K as KindEntity, ae as ValidationIssue, af as ValidationError } from '../types-BynPp5kU.js';
|
|
2
|
+
export { ag as ChangeSeverity, ah as ChangeType, C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, ai as DeprecatedKindsChange, aj as EdgeChange, ak as ExtensionChange, al as GraphAnnotationsChange, G as GraphIdentityConfig, am as IdentityChange, an as IndexChange, ao as JsonSchema, ap as NodeChange, aq as OntologyChange, ar as SchemaChangeClassification, as as SchemaDiff, at as SchemaIdentity, au as SerializedOntology, av as SerializedUniqueConstraint, aw as classifySchemaChanges, ax as computeSchemaDiff, ay as getMigrationActions, az as isBackwardsCompatible } from '../types-BynPp5kU.js';
|
|
3
|
+
import { K as KindRegistry } from '../store-C8ZPl7OW.js';
|
|
4
|
+
export { E as EvolutionPlan, o as EvolutionRequirement, p as EvolutionRequirements, M as MigrateSchemaOptions, q as MigrationHookContext, a as SchemaManagerOptions, r as SchemaValidationResult, s as applyDeprecatedKinds, t as assertSchemaCurrent, u as ensureSchema, v as getActiveSchema, w as getCommittedSchemaVersion, x as getSchemaChanges, y as initializeSchema, z as isSchemaInitialized, A as loadActiveSchemaWithBootstrap, D as loadAndMergeGraphExtensionDocument, F as migrateSchema, G as parseSerializedSchema, J as requiresMigration, N as rollbackSchema } from '../store-C8ZPl7OW.js';
|
|
5
|
+
export { G as GraphTemplate, I as InstantiateGraphTemplateResult, i as instantiateGraph, a as instantiateGraphTemplate, r as registerGraphTemplate } from '../graph-templates-D9N-Z9kw.js';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import '../searchable-
|
|
8
|
-
import '../resolve-
|
|
7
|
+
import '../searchable-KKXrPet3.js';
|
|
8
|
+
import '../resolve-DV0Iposp.js';
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
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-SSDHR2C2.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-WB55URNM.js';
|
|
3
3
|
import '../chunk-RFMSZ7CF.js';
|
|
4
4
|
import '../chunk-Q2SPDS3B.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
7
|
-
import '../chunk-
|
|
8
|
-
import '../chunk-
|
|
9
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-SYXTWPX6.js';
|
|
6
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-3SUZXB5X.js';
|
|
7
|
+
import '../chunk-4TQOIBWH.js';
|
|
8
|
+
import '../chunk-BE75G3M5.js';
|
|
9
|
+
import '../chunk-TU22BFMP.js';
|
|
10
10
|
import '../chunk-NMRLVAVN.js';
|
|
11
11
|
import '../chunk-OXJNL2PW.js';
|
|
12
12
|
import '../chunk-CY657YYY.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-
|
|
1
|
+
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.cjs';
|
|
2
2
|
import { A as AnySqliteDatabase, a as SqliteExecutionProfileHints } from './sqlite-execution-DHenxnsc.cjs';
|
|
3
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
4
|
-
import { a as SqliteTables } from './sqlite-
|
|
3
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-DppApFgt.cjs';
|
|
4
|
+
import { a as SqliteTables } from './sqlite-BkQM9ZeI.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Options for creating a SQLite backend.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-
|
|
1
|
+
import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.js';
|
|
2
2
|
import { A as AnySqliteDatabase, a as SqliteExecutionProfileHints } from './sqlite-execution-DHenxnsc.js';
|
|
3
|
-
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-
|
|
4
|
-
import { a as SqliteTables } from './sqlite-
|
|
3
|
+
import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-Ch5SSewK.js';
|
|
4
|
+
import { a as SqliteTables } from './sqlite-CcCSeXGg.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Options for creating a SQLite backend.
|