@nicia-ai/typegraph 0.25.0 → 0.26.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/dist/backend/postgres/index.cjs +167 -71
- package/dist/backend/postgres/index.cjs.map +1 -1
- package/dist/backend/postgres/index.d.cts +6 -8
- package/dist/backend/postgres/index.d.ts +6 -8
- package/dist/backend/postgres/index.js +119 -27
- package/dist/backend/postgres/index.js.map +1 -1
- package/dist/backend/sqlite/index.cjs +16 -15
- package/dist/backend/sqlite/index.d.cts +11 -26
- package/dist/backend/sqlite/index.d.ts +11 -26
- package/dist/backend/sqlite/index.js +6 -5
- package/dist/backend/sqlite/libsql.cjs +9 -8
- package/dist/backend/sqlite/libsql.cjs.map +1 -1
- package/dist/backend/sqlite/libsql.d.cts +4 -3
- package/dist/backend/sqlite/libsql.d.ts +4 -3
- package/dist/backend/sqlite/libsql.js +6 -5
- package/dist/backend/sqlite/libsql.js.map +1 -1
- package/dist/backend/sqlite/local.cjs +11 -10
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +4 -3
- package/dist/backend/sqlite/local.d.ts +4 -3
- package/dist/backend/sqlite/local.js +6 -5
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-LVCSL6A3.js → chunk-3W6AIFT2.js} +11 -34
- package/dist/chunk-3W6AIFT2.js.map +1 -0
- package/dist/chunk-4FJVSF3K.cjs +12 -0
- package/dist/{chunk-D2GO3RBL.cjs.map → chunk-4FJVSF3K.cjs.map} +1 -1
- package/dist/{chunk-7W3KAMVQ.cjs → chunk-4TJI44WP.cjs} +94 -119
- package/dist/chunk-4TJI44WP.cjs.map +1 -0
- package/dist/chunk-5H3BAMTB.js +32 -0
- package/dist/chunk-5H3BAMTB.js.map +1 -0
- package/dist/{chunk-OJ6IQVZG.js → chunk-DDVA4QBA.js} +177 -37
- package/dist/chunk-DDVA4QBA.js.map +1 -0
- package/dist/{chunk-7CDXX3QZ.cjs → chunk-DN4RUDF3.cjs} +2 -2
- package/dist/chunk-DN4RUDF3.cjs.map +1 -0
- package/dist/{chunk-NHQWXSTS.js → chunk-E5ROA3MN.js} +3 -3
- package/dist/{chunk-NHQWXSTS.js.map → chunk-E5ROA3MN.js.map} +1 -1
- package/dist/{chunk-FPCOUJSL.js → chunk-ENXJLDRK.js} +2 -2
- package/dist/chunk-ENXJLDRK.js.map +1 -0
- package/dist/chunk-IUIWCFG3.cjs +36 -0
- package/dist/chunk-IUIWCFG3.cjs.map +1 -0
- package/dist/{chunk-EG6TJ3I5.js → chunk-OYLF3IC7.js} +3 -3
- package/dist/{chunk-EG6TJ3I5.js.map → chunk-OYLF3IC7.js.map} +1 -1
- package/dist/{chunk-JTI5WT4P.cjs → chunk-PN37HVAV.cjs} +32 -10
- package/dist/chunk-PN37HVAV.cjs.map +1 -0
- package/dist/{chunk-RCAJZG67.cjs → chunk-PYJOBZR3.cjs} +10 -10
- package/dist/{chunk-RCAJZG67.cjs.map → chunk-PYJOBZR3.cjs.map} +1 -1
- package/dist/{chunk-WI5VRP3X.js → chunk-RF5EUQWS.js} +371 -47
- package/dist/chunk-RF5EUQWS.js.map +1 -0
- package/dist/{chunk-ZEMNF3QK.cjs → chunk-RVT2N4RF.cjs} +209 -69
- package/dist/chunk-RVT2N4RF.cjs.map +1 -0
- package/dist/{chunk-4BOWVUGQ.js → chunk-TSGBRPNE.js} +3 -3
- package/dist/{chunk-4BOWVUGQ.js.map → chunk-TSGBRPNE.js.map} +1 -1
- package/dist/{chunk-O2P3KAUT.cjs → chunk-TVUARC7S.cjs} +445 -110
- package/dist/chunk-TVUARC7S.cjs.map +1 -0
- package/dist/{chunk-DOTEN2FG.js → chunk-U5ROKVRF.js} +26 -3
- package/dist/chunk-U5ROKVRF.js.map +1 -0
- package/dist/{chunk-E5JZSEGJ.cjs → chunk-WFUN6DCM.cjs} +8 -8
- package/dist/{chunk-E5JZSEGJ.cjs.map → chunk-WFUN6DCM.cjs.map} +1 -1
- package/dist/{chunk-W5MTHMTE.cjs → chunk-YEDQLNVE.cjs} +26 -2
- package/dist/chunk-YEDQLNVE.cjs.map +1 -0
- package/dist/{chunk-YZZBDCLV.js → chunk-ZTREJOGB.js} +32 -11
- package/dist/chunk-ZTREJOGB.js.map +1 -0
- package/dist/{ddl-B2jjLjpR.d.cts → ddl-9kw8UADK.d.ts} +697 -29
- package/dist/{ddl-DpaeAKPp.d.ts → ddl-Cw82BPM4.d.cts} +697 -29
- package/dist/{extension-types-D07e_NTw.d.cts → extension-types-B78CZfA5.d.cts} +1 -1
- package/dist/{extension-types-D07e_NTw.d.ts → extension-types-B78CZfA5.d.ts} +1 -1
- package/dist/graph-extension/index.cjs +18 -18
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-extension/index.js +3 -3
- package/dist/{index-CT6nvtxL.d.cts → index-Bilw0pYm.d.cts} +34 -3
- package/dist/{index-DQheiVQV.d.ts → index-CWdBFWbI.d.ts} +34 -3
- package/dist/index.cjs +460 -361
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +13 -11
- package/dist/index.d.ts +13 -11
- package/dist/index.js +131 -36
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +13 -13
- package/dist/indexes/index.d.cts +5 -5
- package/dist/indexes/index.d.ts +5 -5
- package/dist/indexes/index.js +1 -1
- package/dist/interchange/index.cjs +7 -7
- package/dist/interchange/index.d.cts +7 -5
- package/dist/interchange/index.d.ts +7 -5
- package/dist/interchange/index.js +2 -2
- package/dist/{manager-BpjBW1JK.d.cts → manager-Aqzmztkb.d.cts} +11 -3
- package/dist/{manager-BKaPQbns.d.ts → manager-C3LxzPcX.d.ts} +11 -3
- package/dist/{materialize-indexes-BB9N5uQl.d.cts → materialize-indexes-BQfaAZKA.d.cts} +1 -1
- package/dist/{materialize-indexes-BYpU2RKh.d.ts → materialize-indexes-DFavFQah.d.ts} +1 -1
- package/dist/profiler/index.d.cts +9 -7
- package/dist/profiler/index.d.ts +9 -7
- package/dist/schema/index.cjs +28 -27
- package/dist/schema/index.cjs.map +1 -1
- package/dist/schema/index.d.cts +9 -7
- package/dist/schema/index.d.ts +9 -7
- package/dist/schema/index.js +6 -5
- package/dist/schema/index.js.map +1 -1
- package/dist/{sqlite-Myo8e3Lr.d.cts → sqlite-BvSEbybu.d.cts} +320 -1
- package/dist/{sqlite-CU3j6rc7.d.ts → sqlite-GKvcDPVn.d.ts} +320 -1
- package/dist/{store-BAGuOHDh.d.cts → store-CiS_AGNH.d.ts} +112 -4
- package/dist/{store-De98Lod4.d.ts → store-DbQLsSor.d.cts} +112 -4
- package/dist/{types-CYga3lZp.d.cts → types-CF7nDH3q.d.cts} +2 -2
- package/dist/{types-BLmJq4wI.d.ts → types-Cars4JZ1.d.ts} +2 -2
- package/dist/{types--0EslBx5.d.cts → types-DZPBXZOK.d.cts} +275 -8
- package/dist/{types-BNWYZ-0-.d.ts → types-Dzkr0Eqi.d.ts} +275 -8
- package/dist/{where-m1uWsdua.d.cts → where-BmtjfWuS.d.cts} +2 -2
- package/dist/{where-CluR73rs.d.ts → where-kk1Zz2En.d.ts} +2 -2
- package/package.json +3 -1
- package/dist/chunk-7CDXX3QZ.cjs.map +0 -1
- package/dist/chunk-7W3KAMVQ.cjs.map +0 -1
- package/dist/chunk-D2GO3RBL.cjs +0 -12
- package/dist/chunk-DOTEN2FG.js.map +0 -1
- package/dist/chunk-FPCOUJSL.js.map +0 -1
- package/dist/chunk-JTI5WT4P.cjs.map +0 -1
- package/dist/chunk-LVCSL6A3.js.map +0 -1
- package/dist/chunk-O2P3KAUT.cjs.map +0 -1
- package/dist/chunk-OJ6IQVZG.js.map +0 -1
- package/dist/chunk-W5MTHMTE.cjs.map +0 -1
- package/dist/chunk-WI5VRP3X.js.map +0 -1
- package/dist/chunk-YZZBDCLV.js.map +0 -1
- package/dist/chunk-ZEMNF3QK.cjs.map +0 -1
|
@@ -540,4 +540,4 @@ type GraphExtension = Readonly<{
|
|
|
540
540
|
declare const GRAPH_EXTENSION_TOP_LEVEL_KEYS: readonly ["version", "nodes", "edges", "ontology", "indexes"];
|
|
541
541
|
type GraphExtensionTopLevelKey = (typeof GRAPH_EXTENSION_TOP_LEVEL_KEYS)[number];
|
|
542
542
|
|
|
543
|
-
export { type AnyEdgeType as A, type ExtensionIndexWhere as B,
|
|
543
|
+
export { type AnyEdgeType as A, type ExtensionIndexWhere as B, CURRENT_GRAPH_EXTENSION_VERSION as C, type DeleteBehavior as D, type EdgeRegistration as E, type ExtensionNodeDef as F, type GraphExtension as G, type ExtensionNodeIndex as H, type IndexEntity as I, type JsonValue as J, type KindEntity as K, LEGACY_GRAPH_EXTENSION_VERSION as L, type ExtensionNumberProperty as M, type NodeType as N, type ExtensionObjectFieldProperty as O, type ExtensionObjectProperty as P, type ExtensionOntologyRelation as Q, type ExtensionPropertyType as R, type ExtensionSearchableModifier as S, type TemporalMode as T, type UniqueConstraint as U, type ExtensionStringProperty as V, type ExtensionUniqueConstraint as W, type ExtensionUniqueWhere as X, GRAPH_EXTENSION_TOP_LEVEL_KEYS as Y, type GraphExtensionTopLevelKey as Z, type NullCheckOp as a, type NodeRegistration as b, type GraphDefaults as c, type KindAnnotations as d, type EdgeType as e, type Cardinality as f, type Collation as g, type EdgeId as h, type EdgeProps as i, type EdgeTypeWithEndpoints as j, type EndpointExistence as k, type GraphExtensionVersion as l, type NodeId as m, type NodeProps as n, type UniquenessScope as o, isEdgeType as p, isEdgeTypeWithEndpoints as q, isNodeType as r, type ExtensionArrayItemType as s, type ExtensionArrayProperty as t, type ExtensionBooleanProperty as u, type ExtensionEdgeDef as v, type ExtensionEdgeIndex as w, type ExtensionEmbeddingModifier as x, type ExtensionEnumProperty as y, type ExtensionIndex as z };
|
|
@@ -540,4 +540,4 @@ type GraphExtension = Readonly<{
|
|
|
540
540
|
declare const GRAPH_EXTENSION_TOP_LEVEL_KEYS: readonly ["version", "nodes", "edges", "ontology", "indexes"];
|
|
541
541
|
type GraphExtensionTopLevelKey = (typeof GRAPH_EXTENSION_TOP_LEVEL_KEYS)[number];
|
|
542
542
|
|
|
543
|
-
export { type AnyEdgeType as A, type ExtensionIndexWhere as B,
|
|
543
|
+
export { type AnyEdgeType as A, type ExtensionIndexWhere as B, CURRENT_GRAPH_EXTENSION_VERSION as C, type DeleteBehavior as D, type EdgeRegistration as E, type ExtensionNodeDef as F, type GraphExtension as G, type ExtensionNodeIndex as H, type IndexEntity as I, type JsonValue as J, type KindEntity as K, LEGACY_GRAPH_EXTENSION_VERSION as L, type ExtensionNumberProperty as M, type NodeType as N, type ExtensionObjectFieldProperty as O, type ExtensionObjectProperty as P, type ExtensionOntologyRelation as Q, type ExtensionPropertyType as R, type ExtensionSearchableModifier as S, type TemporalMode as T, type UniqueConstraint as U, type ExtensionStringProperty as V, type ExtensionUniqueConstraint as W, type ExtensionUniqueWhere as X, GRAPH_EXTENSION_TOP_LEVEL_KEYS as Y, type GraphExtensionTopLevelKey as Z, type NullCheckOp as a, type NodeRegistration as b, type GraphDefaults as c, type KindAnnotations as d, type EdgeType as e, type Cardinality as f, type Collation as g, type EdgeId as h, type EdgeProps as i, type EdgeTypeWithEndpoints as j, type EndpointExistence as k, type GraphExtensionVersion as l, type NodeId as m, type NodeProps as n, type UniquenessScope as o, isEdgeType as p, isEdgeTypeWithEndpoints as q, isNodeType as r, type ExtensionArrayItemType as s, type ExtensionArrayProperty as t, type ExtensionBooleanProperty as u, type ExtensionEdgeDef as v, type ExtensionEdgeIndex as w, type ExtensionEmbeddingModifier as x, type ExtensionEnumProperty as y, type ExtensionIndex as z };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunk4FJVSF3K_cjs = require('../chunk-4FJVSF3K.cjs');
|
|
4
|
+
var chunkPYJOBZR3_cjs = require('../chunk-PYJOBZR3.cjs');
|
|
5
|
+
require('../chunk-YEDQLNVE.cjs');
|
|
6
6
|
require('../chunk-7V335GHG.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "defineGraphExtension", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunk4FJVSF3K_cjs.defineGraphExtension; }
|
|
13
13
|
});
|
|
14
14
|
Object.defineProperty(exports, "CURRENT_GRAPH_EXTENSION_VERSION", {
|
|
15
15
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
16
|
+
get: function () { return chunkPYJOBZR3_cjs.CURRENT_GRAPH_EXTENSION_VERSION; }
|
|
17
17
|
});
|
|
18
18
|
Object.defineProperty(exports, "GRAPH_EXTENSION_ISSUE_CODES", {
|
|
19
19
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
20
|
+
get: function () { return chunkPYJOBZR3_cjs.GRAPH_EXTENSION_ISSUE_CODES; }
|
|
21
21
|
});
|
|
22
22
|
Object.defineProperty(exports, "GRAPH_EXTENSION_TOP_LEVEL_KEYS", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkPYJOBZR3_cjs.GRAPH_EXTENSION_TOP_LEVEL_KEYS; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "GraphExtensionError", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkPYJOBZR3_cjs.GraphExtensionError; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "GraphExtensionUnresolvedEndpointError", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkPYJOBZR3_cjs.GraphExtensionUnresolvedEndpointError; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "GraphExtensionValidationError", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkPYJOBZR3_cjs.GraphExtensionValidationError; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "GraphExtensionVersionUnsupportedError", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkPYJOBZR3_cjs.GraphExtensionVersionUnsupportedError; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "INCOMPATIBLE_CHANGE_TYPES", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkPYJOBZR3_cjs.INCOMPATIBLE_CHANGE_TYPES; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "IncompatibleChangeError", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkPYJOBZR3_cjs.IncompatibleChangeError; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "KindCollisionError", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkPYJOBZR3_cjs.KindCollisionError; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "KindHasReferentsError", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkPYJOBZR3_cjs.KindHasReferentsError; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "LEGACY_GRAPH_EXTENSION_VERSION", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkPYJOBZR3_cjs.LEGACY_GRAPH_EXTENSION_VERSION; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "RemoveCompileTimeKindError", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkPYJOBZR3_cjs.RemoveCompileTimeKindError; }
|
|
65
65
|
});
|
|
66
66
|
Object.defineProperty(exports, "validateGraphExtension", {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: function () { return
|
|
68
|
+
get: function () { return chunkPYJOBZR3_cjs.validateGraphExtension; }
|
|
69
69
|
});
|
|
70
70
|
//# sourceMappingURL=index.cjs.map
|
|
71
71
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export {
|
|
3
|
-
import { T as TypeGraphError, h as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-B78CZfA5.cjs';
|
|
2
|
+
export { C as CURRENT_GRAPH_EXTENSION_VERSION, s as ExtensionArrayItemType, t as ExtensionArrayProperty, u as ExtensionBooleanProperty, v as ExtensionEdgeDef, w as ExtensionEdgeIndex, x as ExtensionEmbeddingModifier, y as ExtensionEnumProperty, z as ExtensionIndex, B as ExtensionIndexWhere, F as ExtensionNodeDef, H as ExtensionNodeIndex, M as ExtensionNumberProperty, O as ExtensionObjectFieldProperty, P as ExtensionObjectProperty, Q as ExtensionOntologyRelation, R as ExtensionPropertyType, S as ExtensionSearchableModifier, V as ExtensionStringProperty, W as ExtensionUniqueConstraint, X as ExtensionUniqueWhere, Y as GRAPH_EXTENSION_TOP_LEVEL_KEYS, Z as GraphExtensionTopLevelKey, l as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-B78CZfA5.cjs';
|
|
3
|
+
import { T as TypeGraphError, h as ErrorCategory } from '../index-Bilw0pYm.cjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../materialize-indexes-
|
|
5
|
+
import '../materialize-indexes-BQfaAZKA.cjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Validates and freezes a graph-extension document.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as GraphExtension, K as KindEntity } from '../extension-types-
|
|
2
|
-
export {
|
|
3
|
-
import { T as TypeGraphError, h as ErrorCategory } from '../index-
|
|
1
|
+
import { G as GraphExtension, K as KindEntity } from '../extension-types-B78CZfA5.js';
|
|
2
|
+
export { C as CURRENT_GRAPH_EXTENSION_VERSION, s as ExtensionArrayItemType, t as ExtensionArrayProperty, u as ExtensionBooleanProperty, v as ExtensionEdgeDef, w as ExtensionEdgeIndex, x as ExtensionEmbeddingModifier, y as ExtensionEnumProperty, z as ExtensionIndex, B as ExtensionIndexWhere, F as ExtensionNodeDef, H as ExtensionNodeIndex, M as ExtensionNumberProperty, O as ExtensionObjectFieldProperty, P as ExtensionObjectProperty, Q as ExtensionOntologyRelation, R as ExtensionPropertyType, S as ExtensionSearchableModifier, V as ExtensionStringProperty, W as ExtensionUniqueConstraint, X as ExtensionUniqueWhere, Y as GRAPH_EXTENSION_TOP_LEVEL_KEYS, Z as GraphExtensionTopLevelKey, l as GraphExtensionVersion, L as LEGACY_GRAPH_EXTENSION_VERSION } from '../extension-types-B78CZfA5.js';
|
|
3
|
+
import { T as TypeGraphError, h as ErrorCategory } from '../index-CWdBFWbI.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import '../materialize-indexes-
|
|
5
|
+
import '../materialize-indexes-DFavFQah.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Validates and freezes a graph-extension document.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { defineGraphExtension } from '../chunk-
|
|
2
|
-
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { defineGraphExtension } from '../chunk-E5ROA3MN.js';
|
|
2
|
+
export { CURRENT_GRAPH_EXTENSION_VERSION, GRAPH_EXTENSION_ISSUE_CODES, GRAPH_EXTENSION_TOP_LEVEL_KEYS, GraphExtensionError, GraphExtensionUnresolvedEndpointError, GraphExtensionValidationError, GraphExtensionVersionUnsupportedError, INCOMPATIBLE_CHANGE_TYPES, IncompatibleChangeError, KindCollisionError, KindHasReferentsError, LEGACY_GRAPH_EXTENSION_VERSION, RemoveCompileTimeKindError, validateGraphExtension } from '../chunk-TSGBRPNE.js';
|
|
3
|
+
import '../chunk-U5ROKVRF.js';
|
|
4
4
|
import '../chunk-NZ5PMBTG.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as KindEntity } from './extension-types-
|
|
2
|
-
import { M as MaterializeIndexesResult } from './materialize-indexes-
|
|
1
|
+
import { K as KindEntity } from './extension-types-B78CZfA5.cjs';
|
|
2
|
+
import { M as MaterializeIndexesResult } from './materialize-indexes-BQfaAZKA.cjs';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* TypeGraph Error Hierarchy
|
|
@@ -402,6 +402,37 @@ declare class ConfigurationError extends TypeGraphError {
|
|
|
402
402
|
suggestion?: string;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Why a store's strategy-owned storage is not usable on the current
|
|
407
|
+
* connection. Drives the {@link StoreNotInitializedError} message and
|
|
408
|
+
* is surfaced in `details.reason` for programmatic handling.
|
|
409
|
+
*
|
|
410
|
+
* - `missing`: no durable materialization marker exists — the database
|
|
411
|
+
* was never initialized for this graph's runtime contributions.
|
|
412
|
+
* - `stale`: a marker exists but its recorded signature no longer
|
|
413
|
+
* matches the resolved contribution DDL (strategy swap or DDL drift).
|
|
414
|
+
* The hot path refuses rather than silently re-materializing.
|
|
415
|
+
* - `failed`: the most recent boot-time materialization attempt
|
|
416
|
+
* recorded an error. Boot may retry; the hot path refuses.
|
|
417
|
+
*/
|
|
418
|
+
type StoreNotInitializedReason = "missing" | "stale" | "failed";
|
|
419
|
+
/**
|
|
420
|
+
* Thrown when a fulltext-dependent operation runs against a connection
|
|
421
|
+
* whose strategy-owned storage has not been durably materialized.
|
|
422
|
+
*
|
|
423
|
+
* `createStore()` is a synchronous, zero-I/O attach: it never creates
|
|
424
|
+
* tables, repairs DDL, or writes materialization markers. The durable
|
|
425
|
+
* marker is written exclusively by the async boot path
|
|
426
|
+
* (`createStoreWithSchema`). When a fulltext read/write — or an
|
|
427
|
+
* adopted/business transaction — observes no valid marker, it refuses
|
|
428
|
+
* loudly here instead of lazily emitting DDL on the hot path.
|
|
429
|
+
*/
|
|
430
|
+
declare class StoreNotInitializedError extends TypeGraphError {
|
|
431
|
+
constructor(graphId: string, reason: StoreNotInitializedReason, options?: {
|
|
432
|
+
cause?: unknown;
|
|
433
|
+
details?: Record<string, unknown>;
|
|
434
|
+
});
|
|
435
|
+
}
|
|
405
436
|
/**
|
|
406
437
|
* Thrown when a database operation fails unexpectedly.
|
|
407
438
|
*
|
|
@@ -499,4 +530,4 @@ declare function isConstraintError(error: unknown): boolean;
|
|
|
499
530
|
*/
|
|
500
531
|
declare function getErrorSuggestion(error: unknown): string | undefined;
|
|
501
532
|
|
|
502
|
-
export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a, CompilerInvariantError as b, ConfigurationError as c, DisjointError as d, EdgeNotFoundError as e, EndpointError as f, EndpointNotFoundError as g, type ErrorCategory as h, NodeNotFoundError as i, SchemaMismatchError as j, StaleVersionError as k, type TypeGraphErrorOptions as
|
|
533
|
+
export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a, CompilerInvariantError as b, ConfigurationError as c, DisjointError as d, EdgeNotFoundError as e, EndpointError as f, EndpointNotFoundError as g, type ErrorCategory as h, NodeNotFoundError as i, SchemaMismatchError as j, StaleVersionError as k, StoreNotInitializedError as l, type StoreNotInitializedReason as m, type TypeGraphErrorOptions as n, UnsupportedPredicateError as o, type ValidationErrorDetails as p, VersionConflictError as q, getErrorSuggestion as r, isConstraintError as s, isSystemError as t, isTypeGraphError as u, isUserRecoverable as v };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { K as KindEntity } from './extension-types-
|
|
2
|
-
import { M as MaterializeIndexesResult } from './materialize-indexes-
|
|
1
|
+
import { K as KindEntity } from './extension-types-B78CZfA5.js';
|
|
2
|
+
import { M as MaterializeIndexesResult } from './materialize-indexes-DFavFQah.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* TypeGraph Error Hierarchy
|
|
@@ -402,6 +402,37 @@ declare class ConfigurationError extends TypeGraphError {
|
|
|
402
402
|
suggestion?: string;
|
|
403
403
|
});
|
|
404
404
|
}
|
|
405
|
+
/**
|
|
406
|
+
* Why a store's strategy-owned storage is not usable on the current
|
|
407
|
+
* connection. Drives the {@link StoreNotInitializedError} message and
|
|
408
|
+
* is surfaced in `details.reason` for programmatic handling.
|
|
409
|
+
*
|
|
410
|
+
* - `missing`: no durable materialization marker exists — the database
|
|
411
|
+
* was never initialized for this graph's runtime contributions.
|
|
412
|
+
* - `stale`: a marker exists but its recorded signature no longer
|
|
413
|
+
* matches the resolved contribution DDL (strategy swap or DDL drift).
|
|
414
|
+
* The hot path refuses rather than silently re-materializing.
|
|
415
|
+
* - `failed`: the most recent boot-time materialization attempt
|
|
416
|
+
* recorded an error. Boot may retry; the hot path refuses.
|
|
417
|
+
*/
|
|
418
|
+
type StoreNotInitializedReason = "missing" | "stale" | "failed";
|
|
419
|
+
/**
|
|
420
|
+
* Thrown when a fulltext-dependent operation runs against a connection
|
|
421
|
+
* whose strategy-owned storage has not been durably materialized.
|
|
422
|
+
*
|
|
423
|
+
* `createStore()` is a synchronous, zero-I/O attach: it never creates
|
|
424
|
+
* tables, repairs DDL, or writes materialization markers. The durable
|
|
425
|
+
* marker is written exclusively by the async boot path
|
|
426
|
+
* (`createStoreWithSchema`). When a fulltext read/write — or an
|
|
427
|
+
* adopted/business transaction — observes no valid marker, it refuses
|
|
428
|
+
* loudly here instead of lazily emitting DDL on the hot path.
|
|
429
|
+
*/
|
|
430
|
+
declare class StoreNotInitializedError extends TypeGraphError {
|
|
431
|
+
constructor(graphId: string, reason: StoreNotInitializedReason, options?: {
|
|
432
|
+
cause?: unknown;
|
|
433
|
+
details?: Record<string, unknown>;
|
|
434
|
+
});
|
|
435
|
+
}
|
|
405
436
|
/**
|
|
406
437
|
* Thrown when a database operation fails unexpectedly.
|
|
407
438
|
*
|
|
@@ -499,4 +530,4 @@ declare function isConstraintError(error: unknown): boolean;
|
|
|
499
530
|
*/
|
|
500
531
|
declare function getErrorSuggestion(error: unknown): string | undefined;
|
|
501
532
|
|
|
502
|
-
export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a, CompilerInvariantError as b, ConfigurationError as c, DisjointError as d, EdgeNotFoundError as e, EndpointError as f, EndpointNotFoundError as g, type ErrorCategory as h, NodeNotFoundError as i, SchemaMismatchError as j, StaleVersionError as k, type TypeGraphErrorOptions as
|
|
533
|
+
export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a, CompilerInvariantError as b, ConfigurationError as c, DisjointError as d, EdgeNotFoundError as e, EndpointError as f, EndpointNotFoundError as g, type ErrorCategory as h, NodeNotFoundError as i, SchemaMismatchError as j, StaleVersionError as k, StoreNotInitializedError as l, type StoreNotInitializedReason as m, type TypeGraphErrorOptions as n, UnsupportedPredicateError as o, type ValidationErrorDetails as p, VersionConflictError as q, getErrorSuggestion as r, isConstraintError as s, isSystemError as t, isTypeGraphError as u, isUserRecoverable as v };
|