@nicia-ai/typegraph 0.58.0 → 0.59.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 +22 -0
- package/README.md +12 -0
- package/dist/{atomic-mutation-program-CPcn0ZPu.d.ts → atomic-mutation-program-BNvJ13bq.d.ts} +1 -1
- package/dist/{atomic-mutation-program-AqOe51XD.d.cts → atomic-mutation-program-DOVE147J.d.cts} +1 -1
- package/dist/backend/drizzle/engine/index.cjs +8 -8
- 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 +3 -3
- package/dist/backend/drizzle/indexes.cjs +6 -6
- package/dist/backend/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/drizzle/indexes.js +2 -2
- package/dist/backend/index.d.cts +7 -7
- package/dist/backend/index.d.ts +7 -7
- package/dist/backend/postgres/index.cjs +17 -17
- package/dist/backend/postgres/index.d.cts +8 -8
- package/dist/backend/postgres/index.d.ts +8 -8
- package/dist/backend/postgres/index.js +3 -3
- 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 +5 -5
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +4 -4
- package/dist/backend/sqlite/index.cjs +16 -16
- package/dist/backend/sqlite/index.d.cts +7 -7
- package/dist/backend/sqlite/index.d.ts +7 -7
- package/dist/backend/sqlite/index.js +3 -3
- package/dist/backend/sqlite/libsql.cjs +7 -7
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +3 -3
- 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 +5 -5
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +4 -4
- package/dist/{chunk-QR6V2BXA.cjs → chunk-26CL47SW.cjs} +13 -13
- package/dist/{chunk-QR6V2BXA.cjs.map → chunk-26CL47SW.cjs.map} +1 -1
- package/dist/{chunk-U53HFE4L.cjs → chunk-2GZL5ED3.cjs} +16 -16
- package/dist/{chunk-U53HFE4L.cjs.map → chunk-2GZL5ED3.cjs.map} +1 -1
- package/dist/{chunk-QIKO6DL5.js → chunk-2QNFFAMF.js} +3 -3
- package/dist/{chunk-QIKO6DL5.js.map → chunk-2QNFFAMF.js.map} +1 -1
- package/dist/{chunk-M7TRJXFE.js → chunk-3GX5HTPP.js} +3 -3
- package/dist/{chunk-M7TRJXFE.js.map → chunk-3GX5HTPP.js.map} +1 -1
- package/dist/{chunk-US3BLFWM.js → chunk-7GNPCBS2.js} +3 -3
- package/dist/{chunk-US3BLFWM.js.map → chunk-7GNPCBS2.js.map} +1 -1
- package/dist/{chunk-FHFPUORN.cjs → chunk-CA76FVJB.cjs} +1234 -306
- package/dist/chunk-CA76FVJB.cjs.map +1 -0
- package/dist/{chunk-4MZQVVPX.cjs → chunk-D5CHUSW7.cjs} +33 -2
- package/dist/chunk-D5CHUSW7.cjs.map +1 -0
- package/dist/{chunk-TKEJR2UL.cjs → chunk-DWO6WZP5.cjs} +6 -6
- package/dist/{chunk-TKEJR2UL.cjs.map → chunk-DWO6WZP5.cjs.map} +1 -1
- package/dist/{chunk-5C4OYYDD.js → chunk-DZ3ETMXF.js} +4 -4
- package/dist/{chunk-5C4OYYDD.js.map → chunk-DZ3ETMXF.js.map} +1 -1
- package/dist/{chunk-IV3FENV2.js → chunk-E6PU35DE.js} +4 -4
- package/dist/{chunk-IV3FENV2.js.map → chunk-E6PU35DE.js.map} +1 -1
- package/dist/{chunk-GUMNJJFP.cjs → chunk-EN67I47R.cjs} +9 -9
- package/dist/{chunk-GUMNJJFP.cjs.map → chunk-EN67I47R.cjs.map} +1 -1
- package/dist/{chunk-BYBMDK6X.js → chunk-GYOQAV6R.js} +3 -3
- package/dist/{chunk-BYBMDK6X.js.map → chunk-GYOQAV6R.js.map} +1 -1
- package/dist/{chunk-GTW5YKFV.js → chunk-HCNC53MU.js} +3 -3
- package/dist/{chunk-GTW5YKFV.js.map → chunk-HCNC53MU.js.map} +1 -1
- package/dist/{chunk-BMATB57B.cjs → chunk-KW3ON5IU.cjs} +11 -11
- package/dist/{chunk-BMATB57B.cjs.map → chunk-KW3ON5IU.cjs.map} +1 -1
- package/dist/{chunk-GK62U3S5.js → chunk-LOFUF6L7.js} +3 -3
- package/dist/{chunk-GK62U3S5.js.map → chunk-LOFUF6L7.js.map} +1 -1
- package/dist/{chunk-7JUD57B4.js → chunk-MKQY4ZLZ.js} +996 -68
- package/dist/chunk-MKQY4ZLZ.js.map +1 -0
- package/dist/{chunk-YTYB5KCQ.js → chunk-OH7QRGPQ.js} +33 -2
- package/dist/chunk-OH7QRGPQ.js.map +1 -0
- package/dist/{chunk-WAG3NVD7.cjs → chunk-QBQ465OX.cjs} +12 -12
- package/dist/{chunk-WAG3NVD7.cjs.map → chunk-QBQ465OX.cjs.map} +1 -1
- package/dist/{chunk-CRROO6PK.cjs → chunk-QHP2BCBJ.cjs} +4 -4
- package/dist/{chunk-CRROO6PK.cjs.map → chunk-QHP2BCBJ.cjs.map} +1 -1
- package/dist/{chunk-ZHLWPHNT.cjs → chunk-RJ3GVX73.cjs} +6 -6
- package/dist/{chunk-ZHLWPHNT.cjs.map → chunk-RJ3GVX73.cjs.map} +1 -1
- package/dist/{chunk-SYKR6MVR.cjs → chunk-T2M2S5YZ.cjs} +59 -59
- package/dist/{chunk-SYKR6MVR.cjs.map → chunk-T2M2S5YZ.cjs.map} +1 -1
- package/dist/{chunk-OESX3T5K.js → chunk-TNNDNSNH.js} +4 -4
- package/dist/{chunk-OESX3T5K.js.map → chunk-TNNDNSNH.js.map} +1 -1
- package/dist/{chunk-C3CN2C2T.cjs → chunk-UOHFBYYH.cjs} +4 -4
- package/dist/{chunk-C3CN2C2T.cjs.map → chunk-UOHFBYYH.cjs.map} +1 -1
- package/dist/{chunk-DV24YZHG.js → chunk-V3JKR2CN.js} +4 -4
- package/dist/{chunk-DV24YZHG.js.map → chunk-V3JKR2CN.js.map} +1 -1
- package/dist/{chunk-CVO2ZPW5.js → chunk-W4NT4IMI.js} +3 -3
- package/dist/{chunk-CVO2ZPW5.js.map → chunk-W4NT4IMI.js.map} +1 -1
- package/dist/{chunk-FGKWXSHF.cjs → chunk-XGYUUUHY.cjs} +22 -22
- package/dist/{chunk-FGKWXSHF.cjs.map → chunk-XGYUUUHY.cjs.map} +1 -1
- package/dist/core/index.d.cts +3 -3
- package/dist/core/index.d.ts +3 -3
- package/dist/{ddl-wlEdaCQK.d.cts → ddl-B9lzB8Zi.d.cts} +3 -3
- package/dist/{ddl-DkFrUTn_.d.ts → ddl-DuZWvxBb.d.ts} +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 +31 -31
- package/dist/graph-merge/index.d.cts +7 -6
- package/dist/graph-merge/index.d.ts +7 -6
- package/dist/graph-merge/index.js +8 -8
- package/dist/{graph-templates-6zTU7bNe.d.cts → graph-templates-Buh-RlmQ.d.cts} +2 -2
- package/dist/{graph-templates-B4gkXVqg.d.ts → graph-templates-DQnmCPkd.d.ts} +2 -2
- package/dist/index.cjs +68 -68
- package/dist/index.d.cts +10 -10
- package/dist/index.d.ts +10 -10
- package/dist/index.js +8 -8
- package/dist/indexes/index.cjs +8 -8
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +3 -3
- package/dist/{ingestion-import-target-im9wEB00.d.cts → ingestion-import-target-BSgJagqI.d.cts} +1 -1
- package/dist/{ingestion-import-target-SopMSm-T.d.ts → ingestion-import-target-PNw10V4T.d.ts} +1 -1
- package/dist/interchange/index.cjs +27 -27
- package/dist/interchange/index.d.cts +7 -6
- package/dist/interchange/index.d.ts +7 -6
- package/dist/interchange/index.js +4 -4
- package/dist/{local-store-impl-FTGRP2V7.js → local-store-impl-EPUMDNQJ.js} +12 -12
- package/dist/{local-store-impl-FTGRP2V7.js.map → local-store-impl-EPUMDNQJ.js.map} +1 -1
- package/dist/{local-store-impl-ARNXBBSF.cjs → local-store-impl-GFBZBCTN.cjs} +15 -15
- package/dist/{local-store-impl-ARNXBBSF.cjs.map → local-store-impl-GFBZBCTN.cjs.map} +1 -1
- package/dist/{pglite-store-impl-CNQZYRBC.cjs → pglite-store-impl-DB4RRLB7.cjs} +15 -15
- package/dist/{pglite-store-impl-CNQZYRBC.cjs.map → pglite-store-impl-DB4RRLB7.cjs.map} +1 -1
- package/dist/{pglite-store-impl-NULC2IHH.js → pglite-store-impl-M5PWKN7Z.js} +12 -12
- package/dist/{pglite-store-impl-NULC2IHH.js.map → pglite-store-impl-M5PWKN7Z.js.map} +1 -1
- package/dist/{postgres-Dd3TrFku.d.ts → postgres-2FBMdOE_.d.ts} +3 -3
- package/dist/{postgres-CLPfTNYN.d.ts → postgres-BR3AeXm9.d.ts} +1 -1
- package/dist/{postgres-cLQPlKtp.d.cts → postgres-CRatyTVL.d.cts} +1 -1
- package/dist/{postgres-B4VD_rVy.d.cts → postgres-lbZf0zyg.d.cts} +3 -3
- package/dist/{profile-Co154QBx.d.ts → profile-BipG05-8.d.ts} +2 -2
- package/dist/{profile-BqThShR_.d.cts → profile-DKtvxVyA.d.cts} +2 -2
- package/dist/profiler/index.d.cts +8 -7
- package/dist/profiler/index.d.ts +8 -7
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +6 -5
- package/dist/provenance/index.d.ts +6 -5
- package/dist/provenance/index.js.map +1 -1
- package/dist/{repair-validity-windows-BLoClfCq.d.cts → repair-validity-windows-BnSHFIsR.d.cts} +1 -1
- package/dist/{repair-validity-windows-C__28ckL.d.ts → repair-validity-windows-DfRb4gZm.d.ts} +1 -1
- package/dist/{resolve-DgFSIK99.d.ts → resolve-BbjZDYTw.d.ts} +1 -1
- package/dist/{resolve-DSUxNIqw.d.cts → resolve-mLksuBg2.d.cts} +1 -1
- package/dist/schema/index.cjs +30 -30
- package/dist/schema/index.d.cts +7 -7
- package/dist/schema/index.d.ts +7 -7
- package/dist/schema/index.js +5 -5
- package/dist/{searchable-CZKn12eY.d.cts → searchable-BEAN91Ce.d.cts} +1 -1
- package/dist/{searchable-CUWWphQI.d.ts → searchable-Bg2lMPRm.d.ts} +1 -1
- package/dist/{sqlite-mSd_eVk4.d.ts → sqlite-Cal3rHgZ.d.ts} +3 -3
- package/dist/{sqlite-CoBmhiFd.d.ts → sqlite-CvajLABd.d.cts} +1 -1
- package/dist/{sqlite-qXLIybR2.d.cts → sqlite-DQxKoWAH.d.cts} +3 -3
- package/dist/{sqlite-RdH7w-ix.d.cts → sqlite-jH5J-Jb8.d.ts} +1 -1
- package/dist/{store-BzmMsCcw.d.ts → store-CvtRQ8Nb.d.cts} +136 -10
- package/dist/{store-CL6uTm_W.d.cts → store-sLu0hcRm.d.ts} +136 -10
- package/dist/{types-BUoh7cc3.d.cts → types-BUA3dZ99.d.cts} +1 -1
- package/dist/{types-ClC0IFIS.d.ts → types-CPtb7KNf.d.ts} +1 -1
- package/dist/{types-Blq8PG_N.d.ts → types-Dky3sCFz.d.cts} +9 -0
- package/dist/{types-Blq8PG_N.d.cts → types-Dky3sCFz.d.ts} +9 -0
- package/dist/{where-61C-QoM8.d.ts → where-BReEkAiy.d.ts} +1 -1
- package/dist/{where-o3Me5iJx.d.cts → where-Cz11nPRu.d.cts} +1 -1
- package/package.json +2 -2
- package/dist/chunk-4MZQVVPX.cjs.map +0 -1
- package/dist/chunk-7JUD57B4.js.map +0 -1
- package/dist/chunk-FHFPUORN.cjs.map +0 -1
- package/dist/chunk-YTYB5KCQ.js.map +0 -1
package/dist/core/index.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cS as KindAnnotations, $ as NodeType, fo as EdgeTargets, fp as EdgeType, cM as InferenceType, g8 as MetaEdge, fn as EdgeTargetMap } from '../types-
|
|
3
|
-
export { eU as AllEdgeTypes, eV as AllNodeTypes, hK as AnyEdgeRegistration, _ as AnyEdgeType, aR as Cardinality, aY as Collation, br as DeleteBehavior, ff as EdgeId, fg as EdgeKinds, fh as EdgeMatchIdentity, fl as EdgeProps, fm as EdgeRegistration, fq as EdgeTypeWithEndpoints, bN as EndpointExistence, fD as GetEdgeType, fE as GetNodeType, fG as GraphAnnotations, e as GraphDef, fH as GraphDefaults, G as GraphIdentityConfig, cF as IndexEntity, cQ as JsonScalar, cR as JsonValue, K as KindEntity, gf as NodeId, gi as NodeKinds, gl as NodeProps, gm as NodeRegistration, a7 as NullCheckOp, R as RecordedInstant, dS as TemporalMode, gU as UniqueConstraint, d_ as UniquenessScope, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, h3 as compareRecordedInstants, h5 as defineGraph, h6 as getEdgeKinds, h8 as getNodeKinds, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, he as isNodeType, hn as recordedInstantRevision, ho as recordedInstantWallTime } from '../types-
|
|
4
|
-
export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from '../searchable-
|
|
2
|
+
import { cS as KindAnnotations, $ as NodeType, fo as EdgeTargets, fp as EdgeType, cM as InferenceType, g8 as MetaEdge, fn as EdgeTargetMap } from '../types-Dky3sCFz.cjs';
|
|
3
|
+
export { eU as AllEdgeTypes, eV as AllNodeTypes, hK as AnyEdgeRegistration, _ as AnyEdgeType, aR as Cardinality, aY as Collation, br as DeleteBehavior, ff as EdgeId, fg as EdgeKinds, fh as EdgeMatchIdentity, fl as EdgeProps, fm as EdgeRegistration, fq as EdgeTypeWithEndpoints, bN as EndpointExistence, fD as GetEdgeType, fE as GetNodeType, fG as GraphAnnotations, e as GraphDef, fH as GraphDefaults, G as GraphIdentityConfig, cF as IndexEntity, cQ as JsonScalar, cR as JsonValue, K as KindEntity, gf as NodeId, gi as NodeKinds, gl as NodeProps, gm as NodeRegistration, a7 as NullCheckOp, R as RecordedInstant, dS as TemporalMode, gU as UniqueConstraint, d_ as UniquenessScope, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, h3 as compareRecordedInstants, h5 as defineGraph, h6 as getEdgeKinds, h8 as getNodeKinds, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, he as isNodeType, hn as recordedInstantRevision, ho as recordedInstantWallTime } from '../types-Dky3sCFz.cjs';
|
|
4
|
+
export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from '../searchable-BEAN91Ce.cjs';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Options for defining a node type.
|
package/dist/core/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { cS as KindAnnotations, $ as NodeType, fo as EdgeTargets, fp as EdgeType, cM as InferenceType, g8 as MetaEdge, fn as EdgeTargetMap } from '../types-
|
|
3
|
-
export { eU as AllEdgeTypes, eV as AllNodeTypes, hK as AnyEdgeRegistration, _ as AnyEdgeType, aR as Cardinality, aY as Collation, br as DeleteBehavior, ff as EdgeId, fg as EdgeKinds, fh as EdgeMatchIdentity, fl as EdgeProps, fm as EdgeRegistration, fq as EdgeTypeWithEndpoints, bN as EndpointExistence, fD as GetEdgeType, fE as GetNodeType, fG as GraphAnnotations, e as GraphDef, fH as GraphDefaults, G as GraphIdentityConfig, cF as IndexEntity, cQ as JsonScalar, cR as JsonValue, K as KindEntity, gf as NodeId, gi as NodeKinds, gl as NodeProps, gm as NodeRegistration, a7 as NullCheckOp, R as RecordedInstant, dS as TemporalMode, gU as UniqueConstraint, d_ as UniquenessScope, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, h3 as compareRecordedInstants, h5 as defineGraph, h6 as getEdgeKinds, h8 as getNodeKinds, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, he as isNodeType, hn as recordedInstantRevision, ho as recordedInstantWallTime } from '../types-
|
|
4
|
-
export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from '../searchable-
|
|
2
|
+
import { cS as KindAnnotations, $ as NodeType, fo as EdgeTargets, fp as EdgeType, cM as InferenceType, g8 as MetaEdge, fn as EdgeTargetMap } from '../types-Dky3sCFz.js';
|
|
3
|
+
export { eU as AllEdgeTypes, eV as AllNodeTypes, hK as AnyEdgeRegistration, _ as AnyEdgeType, aR as Cardinality, aY as Collation, br as DeleteBehavior, ff as EdgeId, fg as EdgeKinds, fh as EdgeMatchIdentity, fl as EdgeProps, fm as EdgeRegistration, fq as EdgeTypeWithEndpoints, bN as EndpointExistence, fD as GetEdgeType, fE as GetNodeType, fG as GraphAnnotations, e as GraphDef, fH as GraphDefaults, G as GraphIdentityConfig, cF as IndexEntity, cQ as JsonScalar, cR as JsonValue, K as KindEntity, gf as NodeId, gi as NodeKinds, gl as NodeProps, gm as NodeRegistration, a7 as NullCheckOp, R as RecordedInstant, dS as TemporalMode, gU as UniqueConstraint, d_ as UniquenessScope, h0 as asEdgeId, h1 as asNodeId, h2 as asRecordedInstant, h3 as compareRecordedInstants, h5 as defineGraph, h6 as getEdgeKinds, h8 as getNodeKinds, ha as isEdgeType, hb as isEdgeTypeWithEndpoints, hc as isGraphDef, he as isNodeType, hn as recordedInstantRevision, ho as recordedInstantWallTime } from '../types-Dky3sCFz.js';
|
|
4
|
+
export { D as DEFAULT_SEARCHABLE_LANGUAGE, b as EmbeddingSchema, c as EmbeddingValue, S as SearchableMetadata, d as SearchableOptions, e as SearchableSchema, f as embedding, g as getEmbeddingDimensions, h as getSearchableMetadata, i as isEmbeddingSchema, j as isSearchableSchema, r as resolveGraphVectorSlots, s as searchable } from '../searchable-Bg2lMPRm.js';
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Options for defining a node type.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as FulltextStrategy } from './types-
|
|
2
|
-
import { a as PostgresTables } from './postgres-
|
|
3
|
-
import { a as SqliteTables } from './sqlite-
|
|
1
|
+
import { d as FulltextStrategy } from './types-Dky3sCFz.cjs';
|
|
2
|
+
import { a as PostgresTables } from './postgres-CRatyTVL.cjs';
|
|
3
|
+
import { a as SqliteTables } from './sqlite-CvajLABd.cjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Generates all DDL statements for the given SQLite tables.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as FulltextStrategy } from './types-
|
|
2
|
-
import { a as PostgresTables } from './postgres-
|
|
3
|
-
import { a as SqliteTables } from './sqlite-
|
|
1
|
+
import { d as FulltextStrategy } from './types-Dky3sCFz.js';
|
|
2
|
+
import { a as PostgresTables } from './postgres-BR3AeXm9.js';
|
|
3
|
+
import { a as SqliteTables } from './sqlite-jH5J-Jb8.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
* Generates all DDL statements for the given SQLite tables.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cs as GraphExtension, aG as TypeGraphError, fz as ErrorCategory, K as KindEntity } from '../types-
|
|
2
|
-
export { eZ as CURRENT_GRAPH_EXTENSION_VERSION, bS as ExtensionArrayItemType, bT as ExtensionArrayProperty, bU as ExtensionBooleanProperty, bV as ExtensionEdgeDef, bW as ExtensionEdgeIndex, hJ as ExtensionEdgeProperties, bX as ExtensionEmbeddingModifier, bY as ExtensionEnumProperty, bZ as ExtensionIndex, b_ as ExtensionIndexWhere, b$ as ExtensionNodeDef, c0 as ExtensionNodeIndex, c1 as ExtensionNumberProperty, c2 as ExtensionObjectFieldProperty, hL as ExtensionObjectOutput, c3 as ExtensionObjectProperty, hI as ExtensionObjectSchema, c4 as ExtensionOntologyRelation, hM as ExtensionPropertyOutput, c6 as ExtensionPropertyType, c7 as ExtensionSearchableModifier, c8 as ExtensionStringProperty, c9 as ExtensionUniqueConstraint, ca as ExtensionUniqueWhere, hN as GRAPH_EXTENSION_TOP_LEVEL_KEYS, hO as GraphExtensionTopLevelKey, ct as GraphExtensionVersion, g1 as LEGACY_GRAPH_EXTENSION_VERSION } from '../types-
|
|
1
|
+
import { cs as GraphExtension, aG as TypeGraphError, fz as ErrorCategory, K as KindEntity } from '../types-Dky3sCFz.cjs';
|
|
2
|
+
export { eZ as CURRENT_GRAPH_EXTENSION_VERSION, bS as ExtensionArrayItemType, bT as ExtensionArrayProperty, bU as ExtensionBooleanProperty, bV as ExtensionEdgeDef, bW as ExtensionEdgeIndex, hJ as ExtensionEdgeProperties, bX as ExtensionEmbeddingModifier, bY as ExtensionEnumProperty, bZ as ExtensionIndex, b_ as ExtensionIndexWhere, b$ as ExtensionNodeDef, c0 as ExtensionNodeIndex, c1 as ExtensionNumberProperty, c2 as ExtensionObjectFieldProperty, hL as ExtensionObjectOutput, c3 as ExtensionObjectProperty, hI as ExtensionObjectSchema, c4 as ExtensionOntologyRelation, hM as ExtensionPropertyOutput, c6 as ExtensionPropertyType, c7 as ExtensionSearchableModifier, c8 as ExtensionStringProperty, c9 as ExtensionUniqueConstraint, ca as ExtensionUniqueWhere, hN as GRAPH_EXTENSION_TOP_LEVEL_KEYS, hO as GraphExtensionTopLevelKey, ct as GraphExtensionVersion, g1 as LEGACY_GRAPH_EXTENSION_VERSION } from '../types-Dky3sCFz.cjs';
|
|
3
3
|
import { R as Result } from '../result-DWo6mUVz.cjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { cs as GraphExtension, aG as TypeGraphError, fz as ErrorCategory, K as KindEntity } from '../types-
|
|
2
|
-
export { eZ as CURRENT_GRAPH_EXTENSION_VERSION, bS as ExtensionArrayItemType, bT as ExtensionArrayProperty, bU as ExtensionBooleanProperty, bV as ExtensionEdgeDef, bW as ExtensionEdgeIndex, hJ as ExtensionEdgeProperties, bX as ExtensionEmbeddingModifier, bY as ExtensionEnumProperty, bZ as ExtensionIndex, b_ as ExtensionIndexWhere, b$ as ExtensionNodeDef, c0 as ExtensionNodeIndex, c1 as ExtensionNumberProperty, c2 as ExtensionObjectFieldProperty, hL as ExtensionObjectOutput, c3 as ExtensionObjectProperty, hI as ExtensionObjectSchema, c4 as ExtensionOntologyRelation, hM as ExtensionPropertyOutput, c6 as ExtensionPropertyType, c7 as ExtensionSearchableModifier, c8 as ExtensionStringProperty, c9 as ExtensionUniqueConstraint, ca as ExtensionUniqueWhere, hN as GRAPH_EXTENSION_TOP_LEVEL_KEYS, hO as GraphExtensionTopLevelKey, ct as GraphExtensionVersion, g1 as LEGACY_GRAPH_EXTENSION_VERSION } from '../types-
|
|
1
|
+
import { cs as GraphExtension, aG as TypeGraphError, fz as ErrorCategory, K as KindEntity } from '../types-Dky3sCFz.js';
|
|
2
|
+
export { eZ as CURRENT_GRAPH_EXTENSION_VERSION, bS as ExtensionArrayItemType, bT as ExtensionArrayProperty, bU as ExtensionBooleanProperty, bV as ExtensionEdgeDef, bW as ExtensionEdgeIndex, hJ as ExtensionEdgeProperties, bX as ExtensionEmbeddingModifier, bY as ExtensionEnumProperty, bZ as ExtensionIndex, b_ as ExtensionIndexWhere, b$ as ExtensionNodeDef, c0 as ExtensionNodeIndex, c1 as ExtensionNumberProperty, c2 as ExtensionObjectFieldProperty, hL as ExtensionObjectOutput, c3 as ExtensionObjectProperty, hI as ExtensionObjectSchema, c4 as ExtensionOntologyRelation, hM as ExtensionPropertyOutput, c6 as ExtensionPropertyType, c7 as ExtensionSearchableModifier, c8 as ExtensionStringProperty, c9 as ExtensionUniqueConstraint, ca as ExtensionUniqueWhere, hN as GRAPH_EXTENSION_TOP_LEVEL_KEYS, hO as GraphExtensionTopLevelKey, ct as GraphExtensionVersion, g1 as LEGACY_GRAPH_EXTENSION_VERSION } from '../types-Dky3sCFz.js';
|
|
3
3
|
import { R as Result } from '../result-DWo6mUVz.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkCA76FVJB_cjs = require('../chunk-CA76FVJB.cjs');
|
|
4
4
|
require('../chunk-7BHUIAZR.cjs');
|
|
5
5
|
var chunkYE6JZ25V_cjs = require('../chunk-YE6JZ25V.cjs');
|
|
6
6
|
require('../chunk-JFLJVLNU.cjs');
|
|
7
|
-
var
|
|
8
|
-
require('../chunk-
|
|
7
|
+
var chunkXGYUUUHY_cjs = require('../chunk-XGYUUUHY.cjs');
|
|
8
|
+
require('../chunk-26CL47SW.cjs');
|
|
9
9
|
require('../chunk-BPYZUJX5.cjs');
|
|
10
10
|
require('../chunk-Y6M5BFRJ.cjs');
|
|
11
11
|
require('../chunk-GD7IWK36.cjs');
|
|
12
12
|
require('../chunk-R255UE5U.cjs');
|
|
13
13
|
require('../chunk-XUCVGEJT.cjs');
|
|
14
|
-
var
|
|
14
|
+
var chunk2GZL5ED3_cjs = require('../chunk-2GZL5ED3.cjs');
|
|
15
15
|
require('../chunk-6YKISECL.cjs');
|
|
16
16
|
var chunkUVVDQGOY_cjs = require('../chunk-UVVDQGOY.cjs');
|
|
17
|
-
var
|
|
17
|
+
var chunkUOHFBYYH_cjs = require('../chunk-UOHFBYYH.cjs');
|
|
18
18
|
var chunkIV5W7LKW_cjs = require('../chunk-IV5W7LKW.cjs');
|
|
19
19
|
var chunkWEXAMJTA_cjs = require('../chunk-WEXAMJTA.cjs');
|
|
20
20
|
var chunkOGK7F2J3_cjs = require('../chunk-OGK7F2J3.cjs');
|
|
@@ -22,11 +22,11 @@ var chunkEOLNL35G_cjs = require('../chunk-EOLNL35G.cjs');
|
|
|
22
22
|
var chunk6ODVH5SA_cjs = require('../chunk-6ODVH5SA.cjs');
|
|
23
23
|
var chunkFSSQ4YNU_cjs = require('../chunk-FSSQ4YNU.cjs');
|
|
24
24
|
var chunkNWJV4UVW_cjs = require('../chunk-NWJV4UVW.cjs');
|
|
25
|
-
require('../chunk-
|
|
25
|
+
require('../chunk-RJ3GVX73.cjs');
|
|
26
26
|
require('../chunk-GDTWUVSN.cjs');
|
|
27
|
-
require('../chunk-
|
|
27
|
+
require('../chunk-QHP2BCBJ.cjs');
|
|
28
28
|
var chunkZY4GXIVN_cjs = require('../chunk-ZY4GXIVN.cjs');
|
|
29
|
-
require('../chunk-
|
|
29
|
+
require('../chunk-D5CHUSW7.cjs');
|
|
30
30
|
require('../chunk-BZZ2ZGWE.cjs');
|
|
31
31
|
require('../chunk-NAUA4PW5.cjs');
|
|
32
32
|
require('../chunk-4FB7REYC.cjs');
|
|
@@ -755,7 +755,7 @@ function identityEndpointKey(assertion) {
|
|
|
755
755
|
return chunkFSSQ4YNU_cjs.encodeTupleKey(endpointTuple(assertion));
|
|
756
756
|
}
|
|
757
757
|
function identitySemanticKey(assertion) {
|
|
758
|
-
return
|
|
758
|
+
return chunkUOHFBYYH_cjs.identityAssertionSemanticKey(
|
|
759
759
|
assertion.relation,
|
|
760
760
|
assertion.a,
|
|
761
761
|
assertion.b
|
|
@@ -819,7 +819,7 @@ function assertNoOpposingIdentityRelations(assertions) {
|
|
|
819
819
|
);
|
|
820
820
|
for (const sameAssertion of same) {
|
|
821
821
|
for (const differentAssertion of different) {
|
|
822
|
-
if (!
|
|
822
|
+
if (!chunkUOHFBYYH_cjs.identityValidityWindowsOverlap(sameAssertion, differentAssertion)) {
|
|
823
823
|
continue;
|
|
824
824
|
}
|
|
825
825
|
throw new IdentityMergeConflictError(
|
|
@@ -979,7 +979,7 @@ function remapIdentityAssertionEndpoints(assertions, canonicalOf, retypeMap, sto
|
|
|
979
979
|
);
|
|
980
980
|
continue;
|
|
981
981
|
}
|
|
982
|
-
const [a, b] =
|
|
982
|
+
const [a, b] = chunkUOHFBYYH_cjs.normalizeIdentityPair(remappedA, remappedB);
|
|
983
983
|
const endpointWindowA = endpointWindows.get(mergeKeyOf(a));
|
|
984
984
|
const endpointWindowB = endpointWindows.get(mergeKeyOf(b));
|
|
985
985
|
const validFrom = [
|
|
@@ -1163,7 +1163,7 @@ async function snapshotIdentityClasses(target, seeds, liveKeys, plannedDeletions
|
|
|
1163
1163
|
const groups = [];
|
|
1164
1164
|
for (const seed of seeds) {
|
|
1165
1165
|
const key = mergeKey(seed.kind, seed.id);
|
|
1166
|
-
const members = (classes.get(
|
|
1166
|
+
const members = (classes.get(chunkUOHFBYYH_cjs.identityReferenceKey(seed)) ?? [seed]).filter(
|
|
1167
1167
|
(member) => !plannedDeletions.has(mergeKey(member.kind, member.id))
|
|
1168
1168
|
);
|
|
1169
1169
|
groups.push(members);
|
|
@@ -1863,7 +1863,7 @@ async function computeSchemaComponent(store) {
|
|
|
1863
1863
|
chunkIV5W7LKW_cjs.storeBackend(store),
|
|
1864
1864
|
store.graphId
|
|
1865
1865
|
);
|
|
1866
|
-
return
|
|
1866
|
+
return chunk2GZL5ED3_cjs.computeSchemaHash(chunk2GZL5ED3_cjs.serializeSchema(store.graph, version));
|
|
1867
1867
|
}
|
|
1868
1868
|
function byDigestEntry(left, right) {
|
|
1869
1869
|
const byKind = chunkNYWU6CBZ_cjs.compareStrings(left.kind, right.kind);
|
|
@@ -2097,7 +2097,7 @@ function cloneWorkingCopyWithGraphStrategy(makeBackend, graphForClone) {
|
|
|
2097
2097
|
create: async (baseStore) => {
|
|
2098
2098
|
const backend = await makeBackend();
|
|
2099
2099
|
try {
|
|
2100
|
-
const [freshStore] = await
|
|
2100
|
+
const [freshStore] = await chunkCA76FVJB_cjs.createStoreWithSchema(
|
|
2101
2101
|
graphForClone(baseStore),
|
|
2102
2102
|
backend,
|
|
2103
2103
|
{
|
|
@@ -2135,13 +2135,13 @@ function cloneWorkingCopyWithGraphStrategy(makeBackend, graphForClone) {
|
|
|
2135
2135
|
const result = chunkEOLNL35G_cjs.snapshotExportContention(
|
|
2136
2136
|
chunkIV5W7LKW_cjs.storeBackend(baseStore),
|
|
2137
2137
|
chunkIV5W7LKW_cjs.storeBackend(freshStore)
|
|
2138
|
-
) === void 0 ? await
|
|
2138
|
+
) === void 0 ? await chunkXGYUUUHY_cjs.importGraphStream(
|
|
2139
2139
|
freshStore,
|
|
2140
|
-
|
|
2140
|
+
chunkXGYUUUHY_cjs.exportGraphStream(baseStore, exportOptions),
|
|
2141
2141
|
importOptions
|
|
2142
|
-
) : await
|
|
2142
|
+
) : await chunkXGYUUUHY_cjs.importGraph(
|
|
2143
2143
|
freshStore,
|
|
2144
|
-
await
|
|
2144
|
+
await chunkXGYUUUHY_cjs.exportGraph(baseStore, exportOptions),
|
|
2145
2145
|
importOptions
|
|
2146
2146
|
);
|
|
2147
2147
|
if (!result.success) {
|
|
@@ -2231,7 +2231,7 @@ function forkedWorkingCopyStrategy(options) {
|
|
|
2231
2231
|
{ details: { inheritedTables, connectedTables } }
|
|
2232
2232
|
);
|
|
2233
2233
|
}
|
|
2234
|
-
const forkStore =
|
|
2234
|
+
const forkStore = chunkCA76FVJB_cjs.createStore(baseStore.graph, backend, forkOptions);
|
|
2235
2235
|
const forkVersion = await computeBaseVersion(forkStore);
|
|
2236
2236
|
if (forkVersion !== base) {
|
|
2237
2237
|
throw new BranchError(
|
|
@@ -2364,7 +2364,7 @@ async function ingestionBranch(baseStore, makeBackend, options) {
|
|
|
2364
2364
|
close: coalescedWorkingCopyClose(store)
|
|
2365
2365
|
});
|
|
2366
2366
|
PRIVATE_BRANCHES.set(handle, privateBranch);
|
|
2367
|
-
|
|
2367
|
+
chunkXGYUUUHY_cjs.registerIngestionImportTarget(handle, store);
|
|
2368
2368
|
return chunkVF42UUBN_cjs.ok(handle);
|
|
2369
2369
|
} catch (error) {
|
|
2370
2370
|
return chunkVF42UUBN_cjs.err(
|
|
@@ -2387,8 +2387,8 @@ function unwrapMergeBranches(inputs) {
|
|
|
2387
2387
|
|
|
2388
2388
|
// src/graph-merge/apply-callbacks.ts
|
|
2389
2389
|
var NODE_READ_NAMES = [
|
|
2390
|
-
...
|
|
2391
|
-
...
|
|
2390
|
+
...chunkCA76FVJB_cjs.NODE_TEMPORAL_READ_NAMES,
|
|
2391
|
+
...chunkCA76FVJB_cjs.CURRENT_ONLY_READ_NAMES
|
|
2392
2392
|
];
|
|
2393
2393
|
function pickReadMethods(source, names) {
|
|
2394
2394
|
return Object.fromEntries(names.map((name) => [name, source[name]]));
|
|
@@ -2406,12 +2406,12 @@ function mergePlanReadContext(tx, graph) {
|
|
|
2406
2406
|
kind,
|
|
2407
2407
|
pickReadMethods(
|
|
2408
2408
|
chunkBXHAPCQG_cjs.requireDefined(tx.edges[kind]),
|
|
2409
|
-
|
|
2409
|
+
chunkCA76FVJB_cjs.EDGE_TEMPORAL_READ_NAMES
|
|
2410
2410
|
)
|
|
2411
2411
|
])
|
|
2412
2412
|
),
|
|
2413
2413
|
..."identity" in tx ? {
|
|
2414
|
-
identity: pickReadMethods(tx.identity,
|
|
2414
|
+
identity: pickReadMethods(tx.identity, chunkCA76FVJB_cjs.IDENTITY_READ_NAMES)
|
|
2415
2415
|
} : {}
|
|
2416
2416
|
};
|
|
2417
2417
|
}
|
|
@@ -5241,7 +5241,7 @@ async function openProvenanceStore(...args) {
|
|
|
5241
5241
|
throw provenanceGraphIdCollision(graph.id, targetGraphId, claim.reason);
|
|
5242
5242
|
}
|
|
5243
5243
|
}
|
|
5244
|
-
const [store] = await
|
|
5244
|
+
const [store] = await chunkCA76FVJB_cjs.createStoreWithSchema(graph, backend);
|
|
5245
5245
|
return store;
|
|
5246
5246
|
}
|
|
5247
5247
|
async function claimSidecarOwnership(backend, graph, targetGraphId) {
|
|
@@ -5311,14 +5311,14 @@ async function inspectSidecarGraphId(port, graph, targetGraphId) {
|
|
|
5311
5311
|
if (activeSchema === void 0) {
|
|
5312
5312
|
return { state: "refuse", reason: "application-graph" };
|
|
5313
5313
|
}
|
|
5314
|
-
const ownedHash = await
|
|
5315
|
-
|
|
5314
|
+
const ownedHash = await chunk2GZL5ED3_cjs.computeSchemaHash(
|
|
5315
|
+
chunk2GZL5ED3_cjs.serializeSchema(graph, activeSchema.version)
|
|
5316
5316
|
);
|
|
5317
5317
|
if (activeSchema.schema_hash === ownedHash) {
|
|
5318
5318
|
return { state: "refuse", reason: "unowned-exact-schema-graph" };
|
|
5319
5319
|
}
|
|
5320
|
-
const legacyHash = await
|
|
5321
|
-
|
|
5320
|
+
const legacyHash = await chunk2GZL5ED3_cjs.computeSchemaHash(
|
|
5321
|
+
chunk2GZL5ED3_cjs.serializeSchema(buildProvenanceGraph(targetGraphId), activeSchema.version)
|
|
5322
5322
|
);
|
|
5323
5323
|
if (activeSchema.schema_hash !== legacyHash) {
|
|
5324
5324
|
return { state: "refuse", reason: "application-graph" };
|
|
@@ -9362,7 +9362,7 @@ var CandidateWriteSetSchema = zod.z.object({
|
|
|
9362
9362
|
target: CandidateWriteSetTargetSchema,
|
|
9363
9363
|
nodes: zod.z.array(candidateNodeSchema),
|
|
9364
9364
|
edges: zod.z.array(candidateEdgeSchema),
|
|
9365
|
-
identity:
|
|
9365
|
+
identity: chunkXGYUUUHY_cjs.InterchangeIdentitySchema.optional()
|
|
9366
9366
|
});
|
|
9367
9367
|
async function captureCandidateWriteSetTarget(target) {
|
|
9368
9368
|
const activeSchema = await chunkIV5W7LKW_cjs.storeBackend(target).getActiveSchema(
|
|
@@ -9444,7 +9444,7 @@ async function planCandidateWriteSet(args) {
|
|
|
9444
9444
|
}
|
|
9445
9445
|
const candidate = created.data;
|
|
9446
9446
|
try {
|
|
9447
|
-
const imported = await
|
|
9447
|
+
const imported = await chunkXGYUUUHY_cjs.importGraph(
|
|
9448
9448
|
candidate,
|
|
9449
9449
|
interchangeDocument(writeSet),
|
|
9450
9450
|
{
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { gf as NodeId, $ as NodeType, cR as JsonValue, ff as EdgeId, e as GraphDef, bQ as EngineRevision, gi as NodeKinds, fE as GetNodeType, G as GraphIdentityConfig, aG as TypeGraphError, gT as TypeGraphErrorOptions, f as GraphBackend, fG as GraphAnnotations, cS as KindAnnotations, g8 as MetaEdge, _ as AnyEdgeType, br as DeleteBehavior, dS as TemporalMode, I as IndexDeclaration, ct as GraphExtensionVersion, b$ as ExtensionNodeDef, bV as ExtensionEdgeDef, c4 as ExtensionOntologyRelation, bZ as ExtensionIndex } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as Store,
|
|
4
|
-
|
|
1
|
+
import { gf as NodeId, $ as NodeType, cR as JsonValue, ff as EdgeId, e as GraphDef, bQ as EngineRevision, gi as NodeKinds, fE as GetNodeType, G as GraphIdentityConfig, aG as TypeGraphError, gT as TypeGraphErrorOptions, f as GraphBackend, fG as GraphAnnotations, cS as KindAnnotations, g8 as MetaEdge, _ as AnyEdgeType, br as DeleteBehavior, dS as TemporalMode, I as IndexDeclaration, ct as GraphExtensionVersion, b$ as ExtensionNodeDef, bV as ExtensionEdgeDef, c4 as ExtensionOntologyRelation, bZ as ExtensionIndex } from '../types-Dky3sCFz.cjs';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.cjs';
|
|
3
|
+
import { b as Store, b8 as IdentityAssertionWriteFacade, bv as Node, d8 as TransactionContext, dK as EDGE_TEMPORAL_READ_NAMES, g as IdentityFacade, dL as IDENTITY_READ_NAMES, dg as UniqueIntrospection } from '../store-CvtRQ8Nb.cjs';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-CvtRQ8Nb.cjs';
|
|
5
|
+
import { I as IngestionImportTarget } from '../ingestion-import-target-BSgJagqI.cjs';
|
|
5
6
|
import { R as Result } from '../result-DWo6mUVz.cjs';
|
|
6
7
|
export { i as isErr, a as isOk, u as unwrap } from '../result-DWo6mUVz.cjs';
|
|
7
8
|
import { z } from 'zod';
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../resolve-
|
|
9
|
+
import '../searchable-BEAN91Ce.cjs';
|
|
10
|
+
import '../resolve-mLksuBg2.cjs';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* The composite MERGE IDENTITY key for a node: the pair `(kind, id)`.
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
import { gf as NodeId, $ as NodeType, cR as JsonValue, ff as EdgeId, e as GraphDef, bQ as EngineRevision, gi as NodeKinds, fE as GetNodeType, G as GraphIdentityConfig, aG as TypeGraphError, gT as TypeGraphErrorOptions, f as GraphBackend, fG as GraphAnnotations, cS as KindAnnotations, g8 as MetaEdge, _ as AnyEdgeType, br as DeleteBehavior, dS as TemporalMode, I as IndexDeclaration, ct as GraphExtensionVersion, b$ as ExtensionNodeDef, bV as ExtensionEdgeDef, c4 as ExtensionOntologyRelation, bZ as ExtensionIndex } from '../types-
|
|
2
|
-
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-
|
|
3
|
-
import { b as Store,
|
|
4
|
-
|
|
1
|
+
import { gf as NodeId, $ as NodeType, cR as JsonValue, ff as EdgeId, e as GraphDef, bQ as EngineRevision, gi as NodeKinds, fE as GetNodeType, G as GraphIdentityConfig, aG as TypeGraphError, gT as TypeGraphErrorOptions, f as GraphBackend, fG as GraphAnnotations, cS as KindAnnotations, g8 as MetaEdge, _ as AnyEdgeType, br as DeleteBehavior, dS as TemporalMode, I as IndexDeclaration, ct as GraphExtensionVersion, b$ as ExtensionNodeDef, bV as ExtensionEdgeDef, c4 as ExtensionOntologyRelation, bZ as ExtensionIndex } from '../types-Dky3sCFz.js';
|
|
2
|
+
export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-Dky3sCFz.js';
|
|
3
|
+
import { b as Store, b8 as IdentityAssertionWriteFacade, bv as Node, d8 as TransactionContext, dK as EDGE_TEMPORAL_READ_NAMES, g as IdentityFacade, dL as IDENTITY_READ_NAMES, dg as UniqueIntrospection } from '../store-sLu0hcRm.js';
|
|
4
|
+
export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-sLu0hcRm.js';
|
|
5
|
+
import { I as IngestionImportTarget } from '../ingestion-import-target-PNw10V4T.js';
|
|
5
6
|
import { R as Result } from '../result-DWo6mUVz.js';
|
|
6
7
|
export { i as isErr, a as isOk, u as unwrap } from '../result-DWo6mUVz.js';
|
|
7
8
|
import { z } from 'zod';
|
|
8
|
-
import '../searchable-
|
|
9
|
-
import '../resolve-
|
|
9
|
+
import '../searchable-Bg2lMPRm.js';
|
|
10
|
+
import '../resolve-BbjZDYTw.js';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* The composite MERGE IDENTITY key for a node: the pair `(kind, id)`.
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { NODE_TEMPORAL_READ_NAMES, CURRENT_ONLY_READ_NAMES, createStoreWithSchema, createStore, IDENTITY_READ_NAMES, EDGE_TEMPORAL_READ_NAMES } from '../chunk-
|
|
1
|
+
import { NODE_TEMPORAL_READ_NAMES, CURRENT_ONLY_READ_NAMES, createStoreWithSchema, createStore, IDENTITY_READ_NAMES, EDGE_TEMPORAL_READ_NAMES } from '../chunk-MKQY4ZLZ.js';
|
|
2
2
|
import '../chunk-EFTVYPGQ.js';
|
|
3
3
|
import { requireLineage } from '../chunk-3YPUGV4P.js';
|
|
4
4
|
import '../chunk-7GZJ36LN.js';
|
|
5
|
-
import { InterchangeIdentitySchema, importGraphStream, exportGraphStream, importGraph, exportGraph, registerIngestionImportTarget } from '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import { InterchangeIdentitySchema, importGraphStream, exportGraphStream, importGraph, exportGraph, registerIngestionImportTarget } from '../chunk-DZ3ETMXF.js';
|
|
6
|
+
import '../chunk-V3JKR2CN.js';
|
|
7
7
|
import '../chunk-6BVZHDAZ.js';
|
|
8
8
|
import '../chunk-AHRNKPEV.js';
|
|
9
9
|
import '../chunk-IM4X2ZOR.js';
|
|
10
10
|
import '../chunk-N535PWMA.js';
|
|
11
11
|
import '../chunk-2DNUADXX.js';
|
|
12
|
-
import { computeSchemaHash, serializeSchema } from '../chunk-
|
|
12
|
+
import { computeSchemaHash, serializeSchema } from '../chunk-E6PU35DE.js';
|
|
13
13
|
import '../chunk-RFMSZ7CF.js';
|
|
14
14
|
import { defineNode } from '../chunk-YXT3CCTR.js';
|
|
15
|
-
import { normalizeIdentityPair, identityReferenceKey, identityValidityWindowsOverlap, identityAssertionSemanticKey } from '../chunk-
|
|
15
|
+
import { normalizeIdentityPair, identityReferenceKey, identityValidityWindowsOverlap, identityAssertionSemanticKey } from '../chunk-W4NT4IMI.js';
|
|
16
16
|
import { storeBackend, resolveLineage, ensureRevisionOrigin, storeRuntime, generateId, transactionBackend, storeCaptureEnabled, readRevisionOrigin, readRecordedClock, forceRecordedGraphRevision, forceWriteTransactionRevision, advanceRevisionClock, lockSchemaVersionForStoreWrite, lockRecordedGraphWrite, getNodeRowsByIds, getEdgeRowsByIds, recordedRelationsLineage, encodeRecordedLineageRevision } from '../chunk-HWWPL2YL.js';
|
|
17
17
|
import { sortedReplacer, runRetriedUnit } from '../chunk-XWMB3AFN.js';
|
|
18
18
|
import { recordedRevisionOriginsVerdict, batchPointReadVerdict } from '../chunk-ZQIDQHDR.js';
|
|
@@ -20,11 +20,11 @@ import { snapshotExportContention, wrapWithManagedClose, createSqlSchema, resolv
|
|
|
20
20
|
import { getNodeKinds, getEdgeKinds, defineInternalGraph } from '../chunk-CYSXF3PS.js';
|
|
21
21
|
import { encodeTupleKey, validateEdgeEndpoints, computeUniqueKey } from '../chunk-WUNSJGP6.js';
|
|
22
22
|
import { isCanonicalIsoDate, canonicalizeDatabaseTimestamp } from '../chunk-6TIDSIPH.js';
|
|
23
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-LOFUF6L7.js';
|
|
24
24
|
import '../chunk-JANTPNIZ.js';
|
|
25
|
-
import '../chunk-
|
|
25
|
+
import '../chunk-2QNFFAMF.js';
|
|
26
26
|
import { sha256Hex } from '../chunk-K34OPSJK.js';
|
|
27
|
-
import '../chunk-
|
|
27
|
+
import '../chunk-OH7QRGPQ.js';
|
|
28
28
|
import '../chunk-RZ474NIQ.js';
|
|
29
29
|
import '../chunk-2EBMPJBO.js';
|
|
30
30
|
import '../chunk-3MZTAXYX.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GraphDef, S as SchemaVersionRow, f as GraphBackend } from './types-
|
|
2
|
-
import { n as ReconciledSchema } from './store-
|
|
1
|
+
import { e as GraphDef, S as SchemaVersionRow, f as GraphBackend } from './types-Dky3sCFz.cjs';
|
|
2
|
+
import { n as ReconciledSchema } from './store-CvtRQ8Nb.cjs';
|
|
3
3
|
|
|
4
4
|
/** A locally held handle for a durable server-side graph template. */
|
|
5
5
|
type GraphTemplate<G extends GraphDef> = Readonly<{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { e as GraphDef, S as SchemaVersionRow, f as GraphBackend } from './types-
|
|
2
|
-
import { n as ReconciledSchema } from './store-
|
|
1
|
+
import { e as GraphDef, S as SchemaVersionRow, f as GraphBackend } from './types-Dky3sCFz.js';
|
|
2
|
+
import { n as ReconciledSchema } from './store-sLu0hcRm.js';
|
|
3
3
|
|
|
4
4
|
/** A locally held handle for a durable server-side graph template. */
|
|
5
5
|
type GraphTemplate<G extends GraphDef> = Readonly<{
|