@nicia-ai/typegraph 0.29.0 → 0.30.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 +19 -19
- package/dist/backend/postgres/index.d.cts +5 -5
- package/dist/backend/postgres/index.d.ts +5 -5
- package/dist/backend/postgres/index.js +9 -9
- package/dist/backend/postgres/pglite.cjs +14 -14
- package/dist/backend/postgres/pglite.d.cts +2 -2
- package/dist/backend/postgres/pglite.d.ts +2 -2
- package/dist/backend/postgres/pglite.js +9 -9
- package/dist/backend/sqlite/index.cjs +17 -17
- package/dist/backend/sqlite/index.d.cts +11 -6
- package/dist/backend/sqlite/index.d.ts +11 -6
- package/dist/backend/sqlite/index.js +8 -8
- package/dist/backend/sqlite/libsql.cjs +13 -13
- package/dist/backend/sqlite/libsql.d.cts +2 -2
- package/dist/backend/sqlite/libsql.d.ts +2 -2
- package/dist/backend/sqlite/libsql.js +9 -9
- package/dist/backend/sqlite/local.cjs +16 -15
- package/dist/backend/sqlite/local.cjs.map +1 -1
- package/dist/backend/sqlite/local.d.cts +8 -2
- package/dist/backend/sqlite/local.d.ts +8 -2
- package/dist/backend/sqlite/local.js +11 -10
- package/dist/backend/sqlite/local.js.map +1 -1
- package/dist/{chunk-UP4QAJND.cjs → chunk-26HWIIVS.cjs} +65 -65
- package/dist/{chunk-UP4QAJND.cjs.map → chunk-26HWIIVS.cjs.map} +1 -1
- package/dist/{chunk-GPUNAJFH.js → chunk-2QA5EHEN.js} +3 -3
- package/dist/{chunk-GPUNAJFH.js.map → chunk-2QA5EHEN.js.map} +1 -1
- package/dist/{chunk-CUZGBWFT.js → chunk-3IRMLJEK.js} +3 -3
- package/dist/{chunk-CUZGBWFT.js.map → chunk-3IRMLJEK.js.map} +1 -1
- package/dist/{chunk-MRMD7S7E.js → chunk-3JLRHQ67.js} +7 -7
- package/dist/{chunk-MRMD7S7E.js.map → chunk-3JLRHQ67.js.map} +1 -1
- package/dist/{chunk-UPBXUOW7.cjs → chunk-4BXHVEFB.cjs} +15 -15
- package/dist/{chunk-UPBXUOW7.cjs.map → chunk-4BXHVEFB.cjs.map} +1 -1
- package/dist/{chunk-RU5BBUU2.cjs → chunk-4LBO6KIF.cjs} +70 -67
- package/dist/chunk-4LBO6KIF.cjs.map +1 -0
- package/dist/{chunk-HKN622O4.js → chunk-633N7DSE.js} +9 -5
- package/dist/chunk-633N7DSE.js.map +1 -0
- package/dist/{chunk-R2LA6MKR.cjs → chunk-7JGLPAFV.cjs} +8 -8
- package/dist/{chunk-R2LA6MKR.cjs.map → chunk-7JGLPAFV.cjs.map} +1 -1
- package/dist/{chunk-7KLVFWXR.js → chunk-AI3RNREM.js} +30 -4
- package/dist/chunk-AI3RNREM.js.map +1 -0
- package/dist/{chunk-SFNUHFON.js → chunk-ENDUY2CD.js} +4 -4
- package/dist/{chunk-SFNUHFON.js.map → chunk-ENDUY2CD.js.map} +1 -1
- package/dist/{chunk-7V335GHG.cjs → chunk-FLRCVI2G.cjs} +12 -2
- package/dist/chunk-FLRCVI2G.cjs.map +1 -0
- package/dist/{chunk-IE2TPFBT.js → chunk-FVIGJTS7.js} +3 -3
- package/dist/{chunk-IE2TPFBT.js.map → chunk-FVIGJTS7.js.map} +1 -1
- package/dist/{chunk-Q5ASTPM4.cjs → chunk-FWBVPATK.cjs} +19 -19
- package/dist/{chunk-Q5ASTPM4.cjs.map → chunk-FWBVPATK.cjs.map} +1 -1
- package/dist/{chunk-KGAJ5HFO.cjs → chunk-IE6GN7L3.cjs} +17 -17
- package/dist/{chunk-KGAJ5HFO.cjs.map → chunk-IE6GN7L3.cjs.map} +1 -1
- package/dist/{chunk-A4H6QMV4.js → chunk-IUIJJYPI.js} +14 -11
- package/dist/chunk-IUIJJYPI.js.map +1 -0
- package/dist/{chunk-BMDF2S7S.js → chunk-IX7RE7CG.js} +3 -3
- package/dist/{chunk-BMDF2S7S.js.map → chunk-IX7RE7CG.js.map} +1 -1
- package/dist/{chunk-G6P3OVDY.cjs → chunk-JIEJCTDS.cjs} +18 -2
- package/dist/chunk-JIEJCTDS.cjs.map +1 -0
- package/dist/{chunk-XTQHSOIC.cjs → chunk-K4N35E7B.cjs} +86 -86
- package/dist/{chunk-XTQHSOIC.cjs.map → chunk-K4N35E7B.cjs.map} +1 -1
- package/dist/{chunk-NZ5PMBTG.js → chunk-K5P5OZXS.js} +12 -3
- package/dist/chunk-K5P5OZXS.js.map +1 -0
- package/dist/{chunk-Y52UNT66.js → chunk-K5VREXMZ.js} +7 -7
- package/dist/{chunk-Y52UNT66.js.map → chunk-K5VREXMZ.js.map} +1 -1
- package/dist/chunk-LUHU4T2F.cjs +12 -0
- package/dist/{chunk-Q3ZZLU3O.cjs.map → chunk-LUHU4T2F.cjs.map} +1 -1
- package/dist/{chunk-Z36W5WUM.js → chunk-MAQJYNJR.js} +3 -3
- package/dist/{chunk-Z36W5WUM.js.map → chunk-MAQJYNJR.js.map} +1 -1
- package/dist/{chunk-N3VVQDMA.js → chunk-MXE2U3EX.js} +3 -3
- package/dist/{chunk-N3VVQDMA.js.map → chunk-MXE2U3EX.js.map} +1 -1
- package/dist/{chunk-3DTLDGIM.js → chunk-N2OEOGBB.js} +6 -6
- package/dist/{chunk-3DTLDGIM.js.map → chunk-N2OEOGBB.js.map} +1 -1
- package/dist/{chunk-OGUH56BB.js → chunk-R4JOBEJU.js} +4 -4
- package/dist/{chunk-OGUH56BB.js.map → chunk-R4JOBEJU.js.map} +1 -1
- package/dist/{chunk-HM6XMR3E.cjs → chunk-SGPXKJ4A.cjs} +18 -18
- package/dist/{chunk-HM6XMR3E.cjs.map → chunk-SGPXKJ4A.cjs.map} +1 -1
- package/dist/{chunk-MB363HT5.js → chunk-TQOYM4LN.js} +18 -3
- package/dist/chunk-TQOYM4LN.js.map +1 -0
- package/dist/{chunk-C2RWFIYP.cjs → chunk-UESTHN47.cjs} +34 -6
- package/dist/chunk-UESTHN47.cjs.map +1 -0
- package/dist/{chunk-4K6IHUW6.cjs → chunk-VFX3LC76.cjs} +14 -14
- package/dist/{chunk-4K6IHUW6.cjs.map → chunk-VFX3LC76.cjs.map} +1 -1
- package/dist/{chunk-F2Q76CQ4.cjs → chunk-WEMZM7J7.cjs} +11 -7
- package/dist/chunk-WEMZM7J7.cjs.map +1 -0
- package/dist/{chunk-ZYQEXGYC.cjs → chunk-WFCECD6Q.cjs} +84 -84
- package/dist/{chunk-ZYQEXGYC.cjs.map → chunk-WFCECD6Q.cjs.map} +1 -1
- package/dist/{chunk-VGU26WIU.cjs → chunk-YQGLVWB2.cjs} +4 -4
- package/dist/{chunk-VGU26WIU.cjs.map → chunk-YQGLVWB2.cjs.map} +1 -1
- package/dist/{ddl-D3o-RmsV.d.cts → ddl-BSFlbGQF.d.cts} +3 -3
- package/dist/{ddl-BwH00BB6.d.ts → ddl-EdkIiFVU.d.ts} +3 -3
- package/dist/graph-extension/index.cjs +19 -19
- package/dist/graph-extension/index.d.cts +1 -1
- package/dist/graph-extension/index.d.ts +1 -1
- package/dist/graph-extension/index.js +4 -4
- package/dist/{index-CapHwi1a.d.ts → index-DzeIiMO3.d.ts} +9 -1
- package/dist/{index-jPPexxM5.d.cts → index-Ln_KHTGA.d.cts} +9 -1
- package/dist/index.cjs +780 -515
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.ts +8 -8
- package/dist/index.js +314 -53
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.cjs +18 -18
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/indexes/index.js +4 -4
- package/dist/interchange/index.cjs +7 -7
- package/dist/interchange/index.d.cts +3 -3
- package/dist/interchange/index.d.ts +3 -3
- package/dist/interchange/index.js +2 -2
- package/dist/{manager-BUugwCYz.d.ts → manager-BbdyNhkv.d.ts} +1 -1
- package/dist/{manager-DpIpn1HQ.d.cts → manager-wTDgjoXG.d.cts} +1 -1
- package/dist/{postgres-CQL9UIn2.d.cts → postgres-CK2ByP1q.d.cts} +1 -1
- package/dist/{postgres-CcRLaxz0.d.ts → postgres-ymXYC6Rr.d.ts} +1 -1
- package/dist/profiler/index.cjs +9 -9
- package/dist/profiler/index.d.cts +5 -5
- package/dist/profiler/index.d.ts +5 -5
- package/dist/profiler/index.js +2 -2
- package/dist/schema/index.cjs +31 -31
- package/dist/schema/index.d.cts +5 -5
- package/dist/schema/index.d.ts +5 -5
- package/dist/schema/index.js +8 -8
- package/dist/{sqlite-Rj3xu4It.d.cts → sqlite-DxH1lrwD.d.cts} +1 -1
- package/dist/{sqlite-CZDFUfHS.d.ts → sqlite-R8YGOqVQ.d.ts} +1 -1
- package/dist/{store-B43FpOVX.d.cts → store--z1Tmk7U.d.cts} +43 -3
- package/dist/{store-De0Y33wP.d.ts → store-CNKM334w.d.ts} +43 -3
- package/dist/{types-CmAT-Z47.d.ts → types-BBiDqJCU.d.ts} +2 -0
- package/dist/{types-B5GSeE3t.d.ts → types-CMvxx2kd.d.ts} +1 -1
- package/dist/{types-Bwlp_yvu.d.cts → types-D5B6Be5c.d.cts} +1 -1
- package/dist/{types-DXCSyxac.d.cts → types-dL-clxO3.d.cts} +2 -0
- package/dist/{where-CP4qGIHd.d.ts → where-CAo6wsBZ.d.ts} +1 -1
- package/dist/{where-2dsyYt3d.d.cts → where-bJjuOCeV.d.cts} +1 -1
- package/package.json +1 -1
- package/dist/chunk-7KLVFWXR.js.map +0 -1
- package/dist/chunk-7V335GHG.cjs.map +0 -1
- package/dist/chunk-A4H6QMV4.js.map +0 -1
- package/dist/chunk-C2RWFIYP.cjs.map +0 -1
- package/dist/chunk-F2Q76CQ4.cjs.map +0 -1
- package/dist/chunk-G6P3OVDY.cjs.map +0 -1
- package/dist/chunk-HKN622O4.js.map +0 -1
- package/dist/chunk-MB363HT5.js.map +0 -1
- package/dist/chunk-NZ5PMBTG.js.map +0 -1
- package/dist/chunk-Q3ZZLU3O.cjs +0 -12
- package/dist/chunk-RU5BBUU2.cjs.map +0 -1
package/dist/indexes/index.cjs
CHANGED
|
@@ -1,68 +1,68 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkUESTHN47_cjs = require('../chunk-UESTHN47.cjs');
|
|
4
|
+
var chunk4BXHVEFB_cjs = require('../chunk-4BXHVEFB.cjs');
|
|
5
|
+
require('../chunk-YQGLVWB2.cjs');
|
|
6
6
|
require('../chunk-ZFWNO3GE.cjs');
|
|
7
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-FLRCVI2G.cjs');
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "andWhere", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkUESTHN47_cjs.andWhere; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "buildPostgresEdgeIndexBuilders", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkUESTHN47_cjs.buildPostgresEdgeIndexBuilders; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "buildPostgresNodeIndexBuilders", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkUESTHN47_cjs.buildPostgresNodeIndexBuilders; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "buildSqliteEdgeIndexBuilders", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkUESTHN47_cjs.buildSqliteEdgeIndexBuilders; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "buildSqliteNodeIndexBuilders", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkUESTHN47_cjs.buildSqliteNodeIndexBuilders; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "generateEdgeIndexDDL", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkUESTHN47_cjs.generateEdgeIndexDDL; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "generateIndexDDL", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkUESTHN47_cjs.generateIndexDDL; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "generateNodeIndexDDL", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkUESTHN47_cjs.generateNodeIndexDDL; }
|
|
42
42
|
});
|
|
43
43
|
Object.defineProperty(exports, "notWhere", {
|
|
44
44
|
enumerable: true,
|
|
45
|
-
get: function () { return
|
|
45
|
+
get: function () { return chunkUESTHN47_cjs.notWhere; }
|
|
46
46
|
});
|
|
47
47
|
Object.defineProperty(exports, "orWhere", {
|
|
48
48
|
enumerable: true,
|
|
49
|
-
get: function () { return
|
|
49
|
+
get: function () { return chunkUESTHN47_cjs.orWhere; }
|
|
50
50
|
});
|
|
51
51
|
Object.defineProperty(exports, "toDeclaredIndex", {
|
|
52
52
|
enumerable: true,
|
|
53
|
-
get: function () { return
|
|
53
|
+
get: function () { return chunkUESTHN47_cjs.toDeclaredIndex; }
|
|
54
54
|
});
|
|
55
55
|
Object.defineProperty(exports, "toDeclaredIndexes", {
|
|
56
56
|
enumerable: true,
|
|
57
|
-
get: function () { return
|
|
57
|
+
get: function () { return chunkUESTHN47_cjs.toDeclaredIndexes; }
|
|
58
58
|
});
|
|
59
59
|
Object.defineProperty(exports, "defineEdgeIndex", {
|
|
60
60
|
enumerable: true,
|
|
61
|
-
get: function () { return
|
|
61
|
+
get: function () { return chunk4BXHVEFB_cjs.defineEdgeIndex; }
|
|
62
62
|
});
|
|
63
63
|
Object.defineProperty(exports, "defineNodeIndex", {
|
|
64
64
|
enumerable: true,
|
|
65
|
-
get: function () { return
|
|
65
|
+
get: function () { return chunk4BXHVEFB_cjs.defineNodeIndex; }
|
|
66
66
|
});
|
|
67
67
|
//# sourceMappingURL=index.cjs.map
|
|
68
68
|
//# sourceMappingURL=index.cjs.map
|
package/dist/indexes/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-
|
|
2
|
-
export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-
|
|
3
|
-
export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-
|
|
1
|
+
import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-dL-clxO3.cjs';
|
|
2
|
+
export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-dL-clxO3.cjs';
|
|
3
|
+
export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-bJjuOCeV.cjs';
|
|
4
4
|
import { SQLWrapper } from 'drizzle-orm';
|
|
5
5
|
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
6
6
|
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
7
|
-
import { D as DeclaredIndex } from '../types-
|
|
7
|
+
import { D as DeclaredIndex } from '../types-D5B6Be5c.cjs';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../extension-types-CwHV-Uk4.cjs';
|
|
10
10
|
|
package/dist/indexes/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-
|
|
2
|
-
export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-
|
|
3
|
-
export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-
|
|
1
|
+
import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-BBiDqJCU.js';
|
|
2
|
+
export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-BBiDqJCU.js';
|
|
3
|
+
export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-CAo6wsBZ.js';
|
|
4
4
|
import { SQLWrapper } from 'drizzle-orm';
|
|
5
5
|
import { IndexBuilder } from 'drizzle-orm/pg-core';
|
|
6
6
|
import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
|
|
7
|
-
import { D as DeclaredIndex } from '../types-
|
|
7
|
+
import { D as DeclaredIndex } from '../types-CMvxx2kd.js';
|
|
8
8
|
import 'zod';
|
|
9
9
|
import '../extension-types-CwHV-Uk4.js';
|
|
10
10
|
|
package/dist/indexes/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export { andWhere, buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders, generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL, notWhere, orWhere, toDeclaredIndex, toDeclaredIndexes } from '../chunk-
|
|
2
|
-
export { defineEdgeIndex, defineNodeIndex } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
1
|
+
export { andWhere, buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders, generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL, notWhere, orWhere, toDeclaredIndex, toDeclaredIndexes } from '../chunk-AI3RNREM.js';
|
|
2
|
+
export { defineEdgeIndex, defineNodeIndex } from '../chunk-R4JOBEJU.js';
|
|
3
|
+
import '../chunk-MXE2U3EX.js';
|
|
4
4
|
import '../chunk-454I6GDF.js';
|
|
5
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-K5P5OZXS.js';
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
7
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunk7JGLPAFV_cjs = require('../chunk-7JGLPAFV.cjs');
|
|
4
4
|
require('../chunk-ZFWNO3GE.cjs');
|
|
5
|
-
require('../chunk-
|
|
5
|
+
require('../chunk-JIEJCTDS.cjs');
|
|
6
6
|
var zod = require('zod');
|
|
7
7
|
|
|
8
8
|
var FORMAT_VERSION = "1.0";
|
|
@@ -116,8 +116,8 @@ async function exportGraph(store, options) {
|
|
|
116
116
|
const graph = store.graph;
|
|
117
117
|
const graphId = store.graphId;
|
|
118
118
|
const backend = store.backend;
|
|
119
|
-
const nodeKindsToExport = options_.nodeKinds ??
|
|
120
|
-
const edgeKindsToExport = options_.edgeKinds ??
|
|
119
|
+
const nodeKindsToExport = options_.nodeKinds ?? chunk7JGLPAFV_cjs.getNodeKinds(graph);
|
|
120
|
+
const edgeKindsToExport = options_.edgeKinds ?? chunk7JGLPAFV_cjs.getEdgeKinds(graph);
|
|
121
121
|
const nodes = [];
|
|
122
122
|
for (const kind of nodeKindsToExport) {
|
|
123
123
|
const kindNodes = await exportNodesOfKind(backend, graphId, kind, options_);
|
|
@@ -131,7 +131,7 @@ async function exportGraph(store, options) {
|
|
|
131
131
|
const schemaVersion = await backend.getActiveSchema(graphId);
|
|
132
132
|
return {
|
|
133
133
|
formatVersion: FORMAT_VERSION,
|
|
134
|
-
exportedAt:
|
|
134
|
+
exportedAt: chunk7JGLPAFV_cjs.nowIso(),
|
|
135
135
|
source: {
|
|
136
136
|
type: "typegraph-export",
|
|
137
137
|
graphId,
|
|
@@ -279,7 +279,7 @@ async function importGraph(store, data, options) {
|
|
|
279
279
|
}
|
|
280
280
|
function buildNodeSchemaMap(graph) {
|
|
281
281
|
const map = /* @__PURE__ */ new Map();
|
|
282
|
-
for (const kindName of
|
|
282
|
+
for (const kindName of chunk7JGLPAFV_cjs.getNodeKinds(graph)) {
|
|
283
283
|
const registration = graph.nodes[kindName];
|
|
284
284
|
map.set(kindName, {
|
|
285
285
|
registration,
|
|
@@ -290,7 +290,7 @@ function buildNodeSchemaMap(graph) {
|
|
|
290
290
|
}
|
|
291
291
|
function buildEdgeSchemaMap(graph) {
|
|
292
292
|
const map = /* @__PURE__ */ new Map();
|
|
293
|
-
for (const kindName of
|
|
293
|
+
for (const kindName of chunk7JGLPAFV_cjs.getEdgeKinds(graph)) {
|
|
294
294
|
const registration = graph.edges[kindName];
|
|
295
295
|
map.set(kindName, {
|
|
296
296
|
registration,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { G as GraphDef } from '../manager-
|
|
3
|
-
import { S as Store } from '../store
|
|
2
|
+
import { G as GraphDef } from '../manager-wTDgjoXG.cjs';
|
|
3
|
+
import { S as Store } from '../store--z1Tmk7U.cjs';
|
|
4
4
|
import '../extension-types-CwHV-Uk4.cjs';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-dL-clxO3.cjs';
|
|
6
6
|
import 'drizzle-orm';
|
|
7
7
|
import 'drizzle-orm/pg-core';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import { G as GraphDef } from '../manager-
|
|
3
|
-
import { S as Store } from '../store-
|
|
2
|
+
import { G as GraphDef } from '../manager-BbdyNhkv.js';
|
|
3
|
+
import { S as Store } from '../store-CNKM334w.js';
|
|
4
4
|
import '../extension-types-CwHV-Uk4.js';
|
|
5
|
-
import '../types-
|
|
5
|
+
import '../types-BBiDqJCU.js';
|
|
6
6
|
import 'drizzle-orm';
|
|
7
7
|
import 'drizzle-orm/pg-core';
|
|
8
8
|
import 'drizzle-orm/sqlite-core';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { getNodeKinds, getEdgeKinds, nowIso } from '../chunk-
|
|
1
|
+
import { getNodeKinds, getEdgeKinds, nowIso } from '../chunk-MAQJYNJR.js';
|
|
2
2
|
import '../chunk-454I6GDF.js';
|
|
3
|
-
import '../chunk-
|
|
3
|
+
import '../chunk-TQOYM4LN.js';
|
|
4
4
|
import { z } from 'zod';
|
|
5
5
|
|
|
6
6
|
var FORMAT_VERSION = "1.0";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-CwHV-Uk4.js';
|
|
2
|
-
import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-
|
|
2
|
+
import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-BBiDqJCU.js';
|
|
3
3
|
|
|
4
4
|
/** Brand key for GraphDef */
|
|
5
5
|
declare const GRAPH_DEF_BRAND: "__graphDef";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-CwHV-Uk4.cjs';
|
|
2
|
-
import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-
|
|
2
|
+
import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-dL-clxO3.cjs';
|
|
3
3
|
|
|
4
4
|
/** Brand key for GraphDef */
|
|
5
5
|
declare const GRAPH_DEF_BRAND: "__graphDef";
|
package/dist/profiler/index.cjs
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkYQGLVWB2_cjs = require('../chunk-YQGLVWB2.cjs');
|
|
4
4
|
require('../chunk-ZFWNO3GE.cjs');
|
|
5
|
-
var
|
|
5
|
+
var chunkFLRCVI2G_cjs = require('../chunk-FLRCVI2G.cjs');
|
|
6
6
|
|
|
7
7
|
// src/profiler/ast-extractor.ts
|
|
8
8
|
function extractPropertyAccesses(ast) {
|
|
@@ -177,7 +177,7 @@ function extractFromSelectiveField(field, ast) {
|
|
|
177
177
|
kindNames: resolved.kindNames,
|
|
178
178
|
target: {
|
|
179
179
|
__type: "prop",
|
|
180
|
-
pointer:
|
|
180
|
+
pointer: chunkFLRCVI2G_cjs.jsonPointer(field.field.split("."))
|
|
181
181
|
},
|
|
182
182
|
context: "select"
|
|
183
183
|
};
|
|
@@ -217,7 +217,7 @@ function extractTargetFromFieldRef(ref) {
|
|
|
217
217
|
return { __type: "prop", pointer: ref.jsonPointer };
|
|
218
218
|
}
|
|
219
219
|
if (ref.path.length > 1 && ref.path[0] === "props") {
|
|
220
|
-
return { __type: "prop", pointer:
|
|
220
|
+
return { __type: "prop", pointer: chunkFLRCVI2G_cjs.jsonPointer(ref.path.slice(1)) };
|
|
221
221
|
}
|
|
222
222
|
if (ref.path.length === 1) {
|
|
223
223
|
return { __type: "system", field: ref.path[0] };
|
|
@@ -258,7 +258,7 @@ function keyToPath(key) {
|
|
|
258
258
|
target: { __type: "system", field: systemField }
|
|
259
259
|
};
|
|
260
260
|
}
|
|
261
|
-
const pointer =
|
|
261
|
+
const pointer = chunkFLRCVI2G_cjs.normalizeJsonPointer(
|
|
262
262
|
targetPart
|
|
263
263
|
);
|
|
264
264
|
return {
|
|
@@ -518,7 +518,7 @@ var QueryProfiler = class {
|
|
|
518
518
|
);
|
|
519
519
|
}
|
|
520
520
|
this.#attached = true;
|
|
521
|
-
this.#schemaIntrospector =
|
|
521
|
+
this.#schemaIntrospector = chunkYQGLVWB2_cjs.createSchemaIntrospector(
|
|
522
522
|
buildNodeSchemaMap(store.graph),
|
|
523
523
|
buildEdgeSchemaMap(store.graph)
|
|
524
524
|
);
|
|
@@ -679,7 +679,7 @@ function getNodeEnv() {
|
|
|
679
679
|
return process.env.NODE_ENV;
|
|
680
680
|
}
|
|
681
681
|
function hasPointerInSchema(schemaIntrospector, entityType, kindName, pointer) {
|
|
682
|
-
const segments =
|
|
682
|
+
const segments = chunkFLRCVI2G_cjs.parseJsonPointer(pointer);
|
|
683
683
|
const [first, ...rest] = segments;
|
|
684
684
|
if (!first) {
|
|
685
685
|
return false;
|
|
@@ -692,9 +692,9 @@ function hasPointerInSchema(schemaIntrospector, entityType, kindName, pointer) {
|
|
|
692
692
|
return true;
|
|
693
693
|
}
|
|
694
694
|
try {
|
|
695
|
-
const resolved =
|
|
695
|
+
const resolved = chunkYQGLVWB2_cjs.resolveFieldTypeInfoAtJsonPointer(
|
|
696
696
|
rootInfo,
|
|
697
|
-
|
|
697
|
+
chunkFLRCVI2G_cjs.jsonPointer(rest)
|
|
698
698
|
);
|
|
699
699
|
return resolved !== void 0;
|
|
700
700
|
} catch (error) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as GraphDef } from '../manager-
|
|
2
|
-
import { Q as QueryAst } from '../types-
|
|
3
|
-
import { S as Store } from '../store
|
|
4
|
-
import { P as ProfilerOptions, a as ProfileReport } from '../types-
|
|
5
|
-
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-
|
|
1
|
+
import { G as GraphDef } from '../manager-wTDgjoXG.cjs';
|
|
2
|
+
import { Q as QueryAst } from '../types-dL-clxO3.cjs';
|
|
3
|
+
import { S as Store } from '../store--z1Tmk7U.cjs';
|
|
4
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-D5B6Be5c.cjs';
|
|
5
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-D5B6Be5c.cjs';
|
|
6
6
|
import '../extension-types-CwHV-Uk4.cjs';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'drizzle-orm';
|
package/dist/profiler/index.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { G as GraphDef } from '../manager-
|
|
2
|
-
import { Q as QueryAst } from '../types-
|
|
3
|
-
import { S as Store } from '../store-
|
|
4
|
-
import { P as ProfilerOptions, a as ProfileReport } from '../types-
|
|
5
|
-
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-
|
|
1
|
+
import { G as GraphDef } from '../manager-BbdyNhkv.js';
|
|
2
|
+
import { Q as QueryAst } from '../types-BBiDqJCU.js';
|
|
3
|
+
import { S as Store } from '../store-CNKM334w.js';
|
|
4
|
+
import { P as ProfilerOptions, a as ProfileReport } from '../types-CMvxx2kd.js';
|
|
5
|
+
export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-CMvxx2kd.js';
|
|
6
6
|
import '../extension-types-CwHV-Uk4.js';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import 'drizzle-orm';
|
package/dist/profiler/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { createSchemaIntrospector, resolveFieldTypeInfoAtJsonPointer } from '../chunk-
|
|
1
|
+
import { createSchemaIntrospector, resolveFieldTypeInfoAtJsonPointer } from '../chunk-MXE2U3EX.js';
|
|
2
2
|
import '../chunk-454I6GDF.js';
|
|
3
|
-
import { parseJsonPointer, jsonPointer, normalizeJsonPointer } from '../chunk-
|
|
3
|
+
import { parseJsonPointer, jsonPointer, normalizeJsonPointer } from '../chunk-K5P5OZXS.js';
|
|
4
4
|
|
|
5
5
|
// src/profiler/ast-extractor.ts
|
|
6
6
|
function extractPropertyAccesses(ast) {
|
package/dist/schema/index.cjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../chunk-
|
|
5
|
-
require('../chunk-
|
|
3
|
+
var chunkK4N35E7B_cjs = require('../chunk-K4N35E7B.cjs');
|
|
4
|
+
require('../chunk-7JGLPAFV.cjs');
|
|
5
|
+
require('../chunk-SGPXKJ4A.cjs');
|
|
6
6
|
require('../chunk-RP7YITHX.cjs');
|
|
7
|
-
require('../chunk-
|
|
8
|
-
require('../chunk-
|
|
7
|
+
require('../chunk-4BXHVEFB.cjs');
|
|
8
|
+
require('../chunk-YQGLVWB2.cjs');
|
|
9
9
|
require('../chunk-ZFWNO3GE.cjs');
|
|
10
|
-
require('../chunk-
|
|
11
|
-
require('../chunk-
|
|
10
|
+
require('../chunk-JIEJCTDS.cjs');
|
|
11
|
+
require('../chunk-FLRCVI2G.cjs');
|
|
12
12
|
|
|
13
13
|
// src/schema/deserializer.ts
|
|
14
14
|
function deserializeSchema(schema) {
|
|
@@ -48,7 +48,7 @@ function buildRegistryFromClosures(schema) {
|
|
|
48
48
|
const edgeImplyingClosure = recordToMap(closures.edgeImplyingClosure);
|
|
49
49
|
const nodeKinds = /* @__PURE__ */ new Map();
|
|
50
50
|
const edgeKinds = /* @__PURE__ */ new Map();
|
|
51
|
-
return new
|
|
51
|
+
return new chunkK4N35E7B_cjs.KindRegistry(nodeKinds, edgeKinds, {
|
|
52
52
|
subClassAncestors,
|
|
53
53
|
subClassDescendants,
|
|
54
54
|
broaderClosure,
|
|
@@ -76,95 +76,95 @@ function simpleRecordToMap(record) {
|
|
|
76
76
|
|
|
77
77
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunkK4N35E7B_cjs.applyDeprecatedKinds; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunkK4N35E7B_cjs.assertSchemaCurrent; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunkK4N35E7B_cjs.computeSchemaDiff; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunkK4N35E7B_cjs.computeSchemaHash; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "createValidationError", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunkK4N35E7B_cjs.createValidationError; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunkK4N35E7B_cjs.deserializeWherePredicate; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "ensureSchema", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunkK4N35E7B_cjs.ensureSchema; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunkK4N35E7B_cjs.getActiveSchema; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunkK4N35E7B_cjs.getMigrationActions; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunkK4N35E7B_cjs.getSchemaChanges; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "initializeSchema", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunkK4N35E7B_cjs.initializeSchema; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkK4N35E7B_cjs.isBackwardsCompatible; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkK4N35E7B_cjs.isSchemaInitialized; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkK4N35E7B_cjs.loadActiveSchemaWithBootstrap; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkK4N35E7B_cjs.loadAndMergeGraphExtensionDocument; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "migrateSchema", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkK4N35E7B_cjs.migrateSchema; }
|
|
140
140
|
});
|
|
141
141
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
142
142
|
enumerable: true,
|
|
143
|
-
get: function () { return
|
|
143
|
+
get: function () { return chunkK4N35E7B_cjs.parseSerializedSchema; }
|
|
144
144
|
});
|
|
145
145
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
146
146
|
enumerable: true,
|
|
147
|
-
get: function () { return
|
|
147
|
+
get: function () { return chunkK4N35E7B_cjs.rollbackSchema; }
|
|
148
148
|
});
|
|
149
149
|
Object.defineProperty(exports, "serializeSchema", {
|
|
150
150
|
enumerable: true,
|
|
151
|
-
get: function () { return
|
|
151
|
+
get: function () { return chunkK4N35E7B_cjs.serializeSchema; }
|
|
152
152
|
});
|
|
153
153
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
154
154
|
enumerable: true,
|
|
155
|
-
get: function () { return
|
|
155
|
+
get: function () { return chunkK4N35E7B_cjs.validateEdgeProps; }
|
|
156
156
|
});
|
|
157
157
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
158
158
|
enumerable: true,
|
|
159
|
-
get: function () { return
|
|
159
|
+
get: function () { return chunkK4N35E7B_cjs.validateNodeProps; }
|
|
160
160
|
});
|
|
161
161
|
Object.defineProperty(exports, "validateProps", {
|
|
162
162
|
enumerable: true,
|
|
163
|
-
get: function () { return
|
|
163
|
+
get: function () { return chunkK4N35E7B_cjs.validateProps; }
|
|
164
164
|
});
|
|
165
165
|
Object.defineProperty(exports, "wrapZodError", {
|
|
166
166
|
enumerable: true,
|
|
167
|
-
get: function () { return
|
|
167
|
+
get: function () { return chunkK4N35E7B_cjs.wrapZodError; }
|
|
168
168
|
});
|
|
169
169
|
exports.deserializeSchema = deserializeSchema;
|
|
170
170
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { K as KindRegistry, G as GraphDef } from '../manager-
|
|
2
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-
|
|
3
|
-
import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-
|
|
4
|
-
export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-
|
|
1
|
+
import { K as KindRegistry, G as GraphDef } from '../manager-wTDgjoXG.cjs';
|
|
2
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-wTDgjoXG.cjs';
|
|
3
|
+
import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-dL-clxO3.cjs';
|
|
4
|
+
export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-dL-clxO3.cjs';
|
|
5
5
|
import { a as NullCheckOp, K as KindEntity } from '../extension-types-CwHV-Uk4.cjs';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
7
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-Ln_KHTGA.cjs';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/pg-core';
|
|
10
10
|
import 'drizzle-orm/sqlite-core';
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { K as KindRegistry, G as GraphDef } from '../manager-
|
|
2
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-
|
|
3
|
-
import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-
|
|
4
|
-
export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-
|
|
1
|
+
import { K as KindRegistry, G as GraphDef } from '../manager-BbdyNhkv.js';
|
|
2
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IndexChange, M as MigrationHookContext, N as NodeChange, O as OntologyChange, S as SchemaDiff, c as SchemaManagerOptions, d as SchemaValidationResult, e as applyDeprecatedKinds, f as assertSchemaCurrent, g as computeSchemaDiff, h as ensureSchema, i as getActiveSchema, j as getMigrationActions, k as getSchemaChanges, l as initializeSchema, m as isBackwardsCompatible, n as isSchemaInitialized, o as loadActiveSchemaWithBootstrap, p as loadAndMergeGraphExtensionDocument, q as migrateSchema, r as parseSerializedSchema, s as rollbackSchema } from '../manager-BbdyNhkv.js';
|
|
3
|
+
import { f as SerializedNodeDef, g as SerializedEdgeDef, h as SerializedMetaEdge, i as SerializedOntologyRelation, j as SerializedClosures, k as SerializedSchema, l as SchemaHash } from '../types-BBiDqJCU.js';
|
|
4
|
+
export { m as JsonSchema, n as SerializedOntology, o as SerializedUniqueConstraint } from '../types-BBiDqJCU.js';
|
|
5
5
|
import { a as NullCheckOp, K as KindEntity } from '../extension-types-CwHV-Uk4.js';
|
|
6
6
|
import { ZodType, ZodError } from 'zod';
|
|
7
|
-
import { V as ValidationIssue, a as ValidationError } from '../index-
|
|
7
|
+
import { V as ValidationIssue, a as ValidationError } from '../index-DzeIiMO3.js';
|
|
8
8
|
import 'drizzle-orm';
|
|
9
9
|
import 'drizzle-orm/pg-core';
|
|
10
10
|
import 'drizzle-orm/sqlite-core';
|
package/dist/schema/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { KindRegistry } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, computeSchemaDiff, computeSchemaHash, createValidationError, deserializeWherePredicate, ensureSchema, getActiveSchema, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, rollbackSchema, serializeSchema, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
4
|
-
import '../chunk-
|
|
1
|
+
import { KindRegistry } from '../chunk-3JLRHQ67.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, computeSchemaDiff, computeSchemaHash, createValidationError, deserializeWherePredicate, ensureSchema, getActiveSchema, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, rollbackSchema, serializeSchema, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-3JLRHQ67.js';
|
|
3
|
+
import '../chunk-MAQJYNJR.js';
|
|
4
|
+
import '../chunk-ENDUY2CD.js';
|
|
5
5
|
import '../chunk-M6OC455F.js';
|
|
6
|
-
import '../chunk-
|
|
7
|
-
import '../chunk-
|
|
6
|
+
import '../chunk-R4JOBEJU.js';
|
|
7
|
+
import '../chunk-MXE2U3EX.js';
|
|
8
8
|
import '../chunk-454I6GDF.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-TQOYM4LN.js';
|
|
10
|
+
import '../chunk-K5P5OZXS.js';
|
|
11
11
|
|
|
12
12
|
// src/schema/deserializer.ts
|
|
13
13
|
function deserializeSchema(schema) {
|