@nicia-ai/typegraph 0.47.0 → 0.49.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/drizzle/indexes.d.cts +1 -1
- package/dist/backend/drizzle/indexes.d.ts +1 -1
- package/dist/backend/index.cjs +27 -19
- package/dist/backend/index.d.cts +37 -55
- package/dist/backend/index.d.ts +37 -55
- package/dist/backend/index.js +4 -4
- package/dist/backend/postgres/index.cjs +7 -7
- package/dist/backend/postgres/index.d.cts +21 -7
- package/dist/backend/postgres/index.d.ts +21 -7
- package/dist/backend/postgres/index.js +6 -6
- package/dist/backend/postgres/pglite-store.cjs +17 -17
- package/dist/backend/postgres/pglite-store.d.cts +8 -8
- package/dist/backend/postgres/pglite-store.d.ts +8 -8
- package/dist/backend/postgres/pglite-store.js +14 -14
- package/dist/backend/postgres/pglite.cjs +8 -8
- package/dist/backend/postgres/pglite.d.cts +3 -3
- package/dist/backend/postgres/pglite.d.ts +3 -3
- package/dist/backend/postgres/pglite.js +7 -7
- package/dist/backend/sqlite/index.cjs +7 -7
- package/dist/backend/sqlite/index.d.cts +20 -7
- package/dist/backend/sqlite/index.d.ts +20 -7
- package/dist/backend/sqlite/index.js +6 -6
- package/dist/backend/sqlite/libsql.cjs +8 -8
- package/dist/backend/sqlite/libsql.d.cts +3 -3
- package/dist/backend/sqlite/libsql.d.ts +3 -3
- package/dist/backend/sqlite/libsql.js +6 -6
- package/dist/backend/sqlite/local-store.cjs +18 -18
- package/dist/backend/sqlite/local-store.d.cts +8 -8
- package/dist/backend/sqlite/local-store.d.ts +8 -8
- package/dist/backend/sqlite/local-store.js +15 -15
- package/dist/backend/sqlite/local.cjs +9 -9
- package/dist/backend/sqlite/local.d.cts +3 -3
- package/dist/backend/sqlite/local.d.ts +3 -3
- package/dist/backend/sqlite/local.js +7 -7
- package/dist/{chunk-5FBRVORR.cjs → chunk-2O4PCIZ6.cjs} +8 -7
- package/dist/chunk-2O4PCIZ6.cjs.map +1 -0
- package/dist/{chunk-6KFLYYOC.cjs → chunk-2QGYQBS2.cjs} +5 -5
- package/dist/{chunk-6KFLYYOC.cjs.map → chunk-2QGYQBS2.cjs.map} +1 -1
- package/dist/{chunk-XYBQI6LE.js → chunk-2TYSSBU5.js} +6 -6
- package/dist/{chunk-XYBQI6LE.js.map → chunk-2TYSSBU5.js.map} +1 -1
- package/dist/{chunk-6JVZSOHQ.cjs → chunk-3FPR224C.cjs} +26 -26
- package/dist/{chunk-6JVZSOHQ.cjs.map → chunk-3FPR224C.cjs.map} +1 -1
- package/dist/{chunk-U5EDAVOJ.cjs → chunk-3G5W2U2L.cjs} +82 -51
- package/dist/chunk-3G5W2U2L.cjs.map +1 -0
- package/dist/{chunk-MFZR4QKM.cjs → chunk-3KOY4FH3.cjs} +181 -4
- package/dist/chunk-3KOY4FH3.cjs.map +1 -0
- package/dist/{chunk-UPAJHMW3.cjs → chunk-3QNZ5SAJ.cjs} +55 -58
- package/dist/chunk-3QNZ5SAJ.cjs.map +1 -0
- package/dist/{chunk-NG2RB5WL.js → chunk-5K2BKEBD.js} +18 -3
- package/dist/chunk-5K2BKEBD.js.map +1 -0
- package/dist/chunk-5PRKMB24.cjs +124 -0
- package/dist/chunk-5PRKMB24.cjs.map +1 -0
- package/dist/chunk-6LN7FIVU.js +107 -0
- package/dist/chunk-6LN7FIVU.js.map +1 -0
- package/dist/{chunk-M35DF33T.js → chunk-7LZJNLA5.js} +29 -16
- package/dist/chunk-7LZJNLA5.js.map +1 -0
- package/dist/{chunk-I4G3SQPF.cjs → chunk-7UOLHNWC.cjs} +7 -7
- package/dist/chunk-7UOLHNWC.cjs.map +1 -0
- package/dist/{chunk-DJZTXBWY.js → chunk-BRRP76WO.js} +71 -30
- package/dist/chunk-BRRP76WO.js.map +1 -0
- package/dist/{chunk-5FT3TLPK.js → chunk-D4QLTJSM.js} +16 -13
- package/dist/chunk-D4QLTJSM.js.map +1 -0
- package/dist/{chunk-XY5OMOJD.js → chunk-DZAICA5J.js} +3 -3
- package/dist/{chunk-XY5OMOJD.js.map → chunk-DZAICA5J.js.map} +1 -1
- package/dist/{chunk-OIFSOPSR.cjs → chunk-EZEEWCFJ.cjs} +38 -156
- package/dist/chunk-EZEEWCFJ.cjs.map +1 -0
- package/dist/{chunk-AMMWA76F.cjs → chunk-FA2AFWLP.cjs} +6 -6
- package/dist/{chunk-AMMWA76F.cjs.map → chunk-FA2AFWLP.cjs.map} +1 -1
- package/dist/{chunk-FNOMT74T.js → chunk-I4GAZH5Z.js} +180 -5
- package/dist/chunk-I4GAZH5Z.js.map +1 -0
- package/dist/{chunk-WGX7JH7E.cjs → chunk-JB6T4GLL.cjs} +106 -134
- package/dist/chunk-JB6T4GLL.cjs.map +1 -0
- package/dist/{chunk-MX4DHSQP.cjs → chunk-JFRT7S3B.cjs} +92 -98
- package/dist/chunk-JFRT7S3B.cjs.map +1 -0
- package/dist/{chunk-5UMTUOM5.js → chunk-JPD2CTC3.js} +5 -4
- package/dist/chunk-JPD2CTC3.js.map +1 -0
- package/dist/{chunk-SE6EGQSD.js → chunk-KF6K7TGH.js} +38 -66
- package/dist/chunk-KF6K7TGH.js.map +1 -0
- package/dist/{chunk-QS3NQZVC.js → chunk-LTXQOEIC.js} +44 -14
- package/dist/chunk-LTXQOEIC.js.map +1 -0
- package/dist/{chunk-ZHNXLS3C.js → chunk-NACVVDWB.js} +208 -8
- package/dist/chunk-NACVVDWB.js.map +1 -0
- package/dist/{chunk-AVGUJWVX.js → chunk-S5TERQVW.js} +15 -132
- package/dist/chunk-S5TERQVW.js.map +1 -0
- package/dist/chunk-SIT26LAZ.cjs +614 -0
- package/dist/chunk-SIT26LAZ.cjs.map +1 -0
- package/dist/{chunk-BR7SHKGM.cjs → chunk-SR725PWF.cjs} +548 -507
- package/dist/chunk-SR725PWF.cjs.map +1 -0
- package/dist/{chunk-425IZOQ5.cjs → chunk-TQHGE7UC.cjs} +20 -2
- package/dist/chunk-TQHGE7UC.cjs.map +1 -0
- package/dist/{chunk-GYUJZARH.cjs → chunk-TUNPBZY3.cjs} +4 -4
- package/dist/{chunk-GYUJZARH.cjs.map → chunk-TUNPBZY3.cjs.map} +1 -1
- package/dist/chunk-UGHG7PGX.js +592 -0
- package/dist/chunk-UGHG7PGX.js.map +1 -0
- package/dist/{chunk-BCQ76AXA.cjs → chunk-UGHQV7MP.cjs} +107 -94
- package/dist/chunk-UGHQV7MP.cjs.map +1 -0
- package/dist/{chunk-KABFHAL7.cjs → chunk-UMGZDVOA.cjs} +213 -12
- package/dist/chunk-UMGZDVOA.cjs.map +1 -0
- package/dist/{chunk-6FWSNSRE.js → chunk-WIC7DRXW.js} +4 -4
- package/dist/chunk-WIC7DRXW.js.map +1 -0
- package/dist/{chunk-LEWHMOUY.js → chunk-YIURNGXI.js} +4 -4
- package/dist/{chunk-LEWHMOUY.js.map → chunk-YIURNGXI.js.map} +1 -1
- package/dist/{chunk-EP4RUYD6.js → chunk-YVF2EM7B.js} +3 -3
- package/dist/{chunk-EP4RUYD6.js.map → chunk-YVF2EM7B.js.map} +1 -1
- package/dist/{chunk-EMIB2RXD.cjs → chunk-YYUHLYM2.cjs} +99 -96
- package/dist/chunk-YYUHLYM2.cjs.map +1 -0
- package/dist/{chunk-KH7XW7VV.js → chunk-Z2JCLZFJ.js} +25 -28
- package/dist/chunk-Z2JCLZFJ.js.map +1 -0
- package/dist/{chunk-NNQ6A3RM.js → chunk-ZFMCDJGB.js} +7 -12
- package/dist/chunk-ZFMCDJGB.js.map +1 -0
- package/dist/core/index.cjs +6 -6
- package/dist/core/index.d.cts +4 -4
- package/dist/core/index.d.ts +4 -4
- package/dist/core/index.js +2 -2
- package/dist/ddl-BL1NZLMY.d.cts +78 -0
- package/dist/ddl-D_oW-EVO.d.ts +78 -0
- package/dist/graph-extension/index.d.cts +4 -4
- package/dist/graph-extension/index.d.ts +4 -4
- package/dist/graph-merge/index.cjs +357 -191
- package/dist/graph-merge/index.cjs.map +1 -1
- package/dist/graph-merge/index.d.cts +68 -15
- package/dist/graph-merge/index.d.ts +68 -15
- package/dist/graph-merge/index.js +197 -32
- package/dist/graph-merge/index.js.map +1 -1
- package/dist/{index-CHTv4XMZ.d.cts → index-COs_z6nV.d.cts} +2 -2
- package/dist/{index-CzoJ3MUw.d.ts → index-D7d1u2gr.d.ts} +2 -2
- package/dist/index.cjs +90 -86
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -12
- package/dist/index.d.ts +12 -12
- package/dist/index.js +13 -13
- package/dist/index.js.map +1 -1
- package/dist/indexes/index.d.cts +4 -4
- package/dist/indexes/index.d.ts +4 -4
- package/dist/ingestion-import-target-XPxZYw89.d.cts +17 -0
- package/dist/ingestion-import-target-dNeL7iAv.d.ts +17 -0
- package/dist/interchange/index.cjs +38 -38
- package/dist/interchange/index.d.cts +15 -12
- package/dist/interchange/index.d.ts +15 -12
- package/dist/interchange/index.js +10 -10
- package/dist/{manager-DlY1vlla.d.cts → manager-CYaff3n3.d.cts} +2 -2
- package/dist/{manager-B6sOQzcQ.d.ts → manager-D9eRT_ns.d.ts} +2 -2
- package/dist/{materialize-indexes-DQL4xcpf.d.ts → materialize-indexes-DJ3ykH59.d.ts} +1 -1
- package/dist/{materialize-indexes-sskhp-c_.d.cts → materialize-indexes-DTtAnvfY.d.cts} +1 -1
- package/dist/{postgres-BXy_nyMs.d.cts → postgres-CcL4bAHS.d.ts} +1 -1
- package/dist/{postgres-B6YOUcaK.d.ts → postgres-DMj39MEu.d.cts} +1 -1
- package/dist/profiler/index.d.cts +9 -9
- package/dist/profiler/index.d.ts +9 -9
- package/dist/provenance/index.cjs +25 -26
- package/dist/provenance/index.cjs.map +1 -1
- package/dist/provenance/index.d.cts +7 -7
- package/dist/provenance/index.d.ts +7 -7
- package/dist/provenance/index.js +9 -10
- package/dist/provenance/index.js.map +1 -1
- package/dist/repair-validity-windows-BFNZvd_H.d.cts +166 -0
- package/dist/repair-validity-windows-DlUSqwCg.d.ts +166 -0
- package/dist/schema/index.cjs +35 -35
- package/dist/schema/index.d.cts +6 -6
- package/dist/schema/index.d.ts +6 -6
- package/dist/schema/index.js +8 -8
- package/dist/{searchable-D9gMiwcS.d.ts → searchable-DHJMh_nj.d.cts} +1 -1
- package/dist/{searchable-0Cn_lY8U.d.cts → searchable-bpE1bBfc.d.ts} +1 -1
- package/dist/{sqlite-DioSxaPe.d.cts → sqlite-D7Oz0SQh.d.ts} +1 -1
- package/dist/{sqlite-ClXuBYAj.d.ts → sqlite-YppHrNFb.d.cts} +1 -1
- package/dist/{store-5j-w5onJ.d.ts → store-DRrFCx5x.d.ts} +122 -27
- package/dist/{store-CFedKGU5.d.cts → store-bphCSo7z.d.cts} +122 -27
- package/dist/{temporal-CjO9FH1l.d.ts → temporal-5GqpYCk2.d.cts} +1 -1
- package/dist/{temporal-Ce1pG0S1.d.cts → temporal-CbnLzTmM.d.ts} +1 -1
- package/dist/{types-DKkMJZjR.d.cts → types-BqFZTQmV.d.cts} +29 -4
- package/dist/{types-DKkMJZjR.d.ts → types-BqFZTQmV.d.ts} +29 -4
- package/dist/{types-BrdOFu48.d.ts → types-Bx74kaTt.d.ts} +1 -1
- package/dist/{types-oj_OGAaZ.d.cts → types-CXAhpW-c.d.cts} +1 -1
- package/dist/{where-D1wKCJ4Q.d.cts → where-DI_Fqz-X.d.cts} +1 -1
- package/dist/{where-C8w2627G.d.ts → where-O-k2wgYm.d.ts} +1 -1
- package/package.json +2 -3
- package/dist/chunk-3HGRTCDU.cjs +0 -269
- package/dist/chunk-3HGRTCDU.cjs.map +0 -1
- package/dist/chunk-425IZOQ5.cjs.map +0 -1
- package/dist/chunk-5FBRVORR.cjs.map +0 -1
- package/dist/chunk-5FT3TLPK.js.map +0 -1
- package/dist/chunk-5UMTUOM5.js.map +0 -1
- package/dist/chunk-6FWSNSRE.js.map +0 -1
- package/dist/chunk-AVGUJWVX.js.map +0 -1
- package/dist/chunk-BCQ76AXA.cjs.map +0 -1
- package/dist/chunk-BR7SHKGM.cjs.map +0 -1
- package/dist/chunk-DJZTXBWY.js.map +0 -1
- package/dist/chunk-EMIB2RXD.cjs.map +0 -1
- package/dist/chunk-FNOMT74T.js.map +0 -1
- package/dist/chunk-I4G3SQPF.cjs.map +0 -1
- package/dist/chunk-JR6SX5RH.cjs +0 -268
- package/dist/chunk-JR6SX5RH.cjs.map +0 -1
- package/dist/chunk-KABFHAL7.cjs.map +0 -1
- package/dist/chunk-KH7XW7VV.js.map +0 -1
- package/dist/chunk-M35DF33T.js.map +0 -1
- package/dist/chunk-MFZR4QKM.cjs.map +0 -1
- package/dist/chunk-MX4DHSQP.cjs.map +0 -1
- package/dist/chunk-NAZ2RA4L.js +0 -254
- package/dist/chunk-NAZ2RA4L.js.map +0 -1
- package/dist/chunk-NG2RB5WL.js.map +0 -1
- package/dist/chunk-NNQ6A3RM.js.map +0 -1
- package/dist/chunk-OIFSOPSR.cjs.map +0 -1
- package/dist/chunk-QS3NQZVC.js.map +0 -1
- package/dist/chunk-SE6EGQSD.js.map +0 -1
- package/dist/chunk-SHSSRCFR.js +0 -246
- package/dist/chunk-SHSSRCFR.js.map +0 -1
- package/dist/chunk-U5EDAVOJ.cjs.map +0 -1
- package/dist/chunk-UPAJHMW3.cjs.map +0 -1
- package/dist/chunk-WGX7JH7E.cjs.map +0 -1
- package/dist/chunk-ZHNXLS3C.js.map +0 -1
- package/dist/ddl-CprnMXJ-.d.ts +0 -38
- package/dist/ddl-DJA7Lci5.d.cts +0 -38
package/dist/schema/index.cjs
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
3
|
+
var chunkTUNPBZY3_cjs = require('../chunk-TUNPBZY3.cjs');
|
|
4
|
+
var chunk3FPR224C_cjs = require('../chunk-3FPR224C.cjs');
|
|
5
5
|
require('../chunk-26YKDNUD.cjs');
|
|
6
|
-
var
|
|
7
|
-
require('../chunk-
|
|
6
|
+
var chunkJFRT7S3B_cjs = require('../chunk-JFRT7S3B.cjs');
|
|
7
|
+
require('../chunk-EZEEWCFJ.cjs');
|
|
8
8
|
require('../chunk-PWLJ77UV.cjs');
|
|
9
|
-
require('../chunk-
|
|
9
|
+
require('../chunk-SIT26LAZ.cjs');
|
|
10
10
|
require('../chunk-3U5ABFDW.cjs');
|
|
11
|
-
require('../chunk-
|
|
11
|
+
require('../chunk-5PRKMB24.cjs');
|
|
12
12
|
require('../chunk-BFUOME67.cjs');
|
|
13
13
|
require('../chunk-FQPEMEWX.cjs');
|
|
14
|
-
require('../chunk-
|
|
15
|
-
require('../chunk-
|
|
14
|
+
require('../chunk-2QGYQBS2.cjs');
|
|
15
|
+
require('../chunk-TQHGE7UC.cjs');
|
|
16
16
|
require('../chunk-LRQKXRXO.cjs');
|
|
17
17
|
require('../chunk-ZY4GXIVN.cjs');
|
|
18
18
|
require('../chunk-NAUA4PW5.cjs');
|
|
@@ -32,111 +32,111 @@ require('../chunk-N66HCGCY.cjs');
|
|
|
32
32
|
|
|
33
33
|
Object.defineProperty(exports, "deserializeSchema", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunkTUNPBZY3_cjs.deserializeSchema; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "applyDeprecatedKinds", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk3FPR224C_cjs.applyDeprecatedKinds; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "assertSchemaCurrent", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk3FPR224C_cjs.assertSchemaCurrent; }
|
|
44
44
|
});
|
|
45
45
|
Object.defineProperty(exports, "classifySchemaChanges", {
|
|
46
46
|
enumerable: true,
|
|
47
|
-
get: function () { return
|
|
47
|
+
get: function () { return chunk3FPR224C_cjs.classifySchemaChanges; }
|
|
48
48
|
});
|
|
49
49
|
Object.defineProperty(exports, "computeSchemaDiff", {
|
|
50
50
|
enumerable: true,
|
|
51
|
-
get: function () { return
|
|
51
|
+
get: function () { return chunk3FPR224C_cjs.computeSchemaDiff; }
|
|
52
52
|
});
|
|
53
53
|
Object.defineProperty(exports, "computeSchemaHash", {
|
|
54
54
|
enumerable: true,
|
|
55
|
-
get: function () { return
|
|
55
|
+
get: function () { return chunk3FPR224C_cjs.computeSchemaHash; }
|
|
56
56
|
});
|
|
57
57
|
Object.defineProperty(exports, "deserializeWherePredicate", {
|
|
58
58
|
enumerable: true,
|
|
59
|
-
get: function () { return
|
|
59
|
+
get: function () { return chunk3FPR224C_cjs.deserializeWherePredicate; }
|
|
60
60
|
});
|
|
61
61
|
Object.defineProperty(exports, "ensureSchema", {
|
|
62
62
|
enumerable: true,
|
|
63
|
-
get: function () { return
|
|
63
|
+
get: function () { return chunk3FPR224C_cjs.ensureSchema; }
|
|
64
64
|
});
|
|
65
65
|
Object.defineProperty(exports, "getActiveSchema", {
|
|
66
66
|
enumerable: true,
|
|
67
|
-
get: function () { return
|
|
67
|
+
get: function () { return chunk3FPR224C_cjs.getActiveSchema; }
|
|
68
68
|
});
|
|
69
69
|
Object.defineProperty(exports, "getCommittedSchemaVersion", {
|
|
70
70
|
enumerable: true,
|
|
71
|
-
get: function () { return
|
|
71
|
+
get: function () { return chunk3FPR224C_cjs.getCommittedSchemaVersion; }
|
|
72
72
|
});
|
|
73
73
|
Object.defineProperty(exports, "getMigrationActions", {
|
|
74
74
|
enumerable: true,
|
|
75
|
-
get: function () { return
|
|
75
|
+
get: function () { return chunk3FPR224C_cjs.getMigrationActions; }
|
|
76
76
|
});
|
|
77
77
|
Object.defineProperty(exports, "getSchemaChanges", {
|
|
78
78
|
enumerable: true,
|
|
79
|
-
get: function () { return
|
|
79
|
+
get: function () { return chunk3FPR224C_cjs.getSchemaChanges; }
|
|
80
80
|
});
|
|
81
81
|
Object.defineProperty(exports, "initializeSchema", {
|
|
82
82
|
enumerable: true,
|
|
83
|
-
get: function () { return
|
|
83
|
+
get: function () { return chunk3FPR224C_cjs.initializeSchema; }
|
|
84
84
|
});
|
|
85
85
|
Object.defineProperty(exports, "isBackwardsCompatible", {
|
|
86
86
|
enumerable: true,
|
|
87
|
-
get: function () { return
|
|
87
|
+
get: function () { return chunk3FPR224C_cjs.isBackwardsCompatible; }
|
|
88
88
|
});
|
|
89
89
|
Object.defineProperty(exports, "isSchemaInitialized", {
|
|
90
90
|
enumerable: true,
|
|
91
|
-
get: function () { return
|
|
91
|
+
get: function () { return chunk3FPR224C_cjs.isSchemaInitialized; }
|
|
92
92
|
});
|
|
93
93
|
Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
|
|
94
94
|
enumerable: true,
|
|
95
|
-
get: function () { return
|
|
95
|
+
get: function () { return chunk3FPR224C_cjs.loadActiveSchemaWithBootstrap; }
|
|
96
96
|
});
|
|
97
97
|
Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
|
|
98
98
|
enumerable: true,
|
|
99
|
-
get: function () { return
|
|
99
|
+
get: function () { return chunk3FPR224C_cjs.loadAndMergeGraphExtensionDocument; }
|
|
100
100
|
});
|
|
101
101
|
Object.defineProperty(exports, "migrateSchema", {
|
|
102
102
|
enumerable: true,
|
|
103
|
-
get: function () { return
|
|
103
|
+
get: function () { return chunk3FPR224C_cjs.migrateSchema; }
|
|
104
104
|
});
|
|
105
105
|
Object.defineProperty(exports, "parseSerializedSchema", {
|
|
106
106
|
enumerable: true,
|
|
107
|
-
get: function () { return
|
|
107
|
+
get: function () { return chunk3FPR224C_cjs.parseSerializedSchema; }
|
|
108
108
|
});
|
|
109
109
|
Object.defineProperty(exports, "requiresMigration", {
|
|
110
110
|
enumerable: true,
|
|
111
|
-
get: function () { return
|
|
111
|
+
get: function () { return chunk3FPR224C_cjs.requiresMigration; }
|
|
112
112
|
});
|
|
113
113
|
Object.defineProperty(exports, "rollbackSchema", {
|
|
114
114
|
enumerable: true,
|
|
115
|
-
get: function () { return
|
|
115
|
+
get: function () { return chunk3FPR224C_cjs.rollbackSchema; }
|
|
116
116
|
});
|
|
117
117
|
Object.defineProperty(exports, "serializeSchema", {
|
|
118
118
|
enumerable: true,
|
|
119
|
-
get: function () { return
|
|
119
|
+
get: function () { return chunk3FPR224C_cjs.serializeSchema; }
|
|
120
120
|
});
|
|
121
121
|
Object.defineProperty(exports, "createValidationError", {
|
|
122
122
|
enumerable: true,
|
|
123
|
-
get: function () { return
|
|
123
|
+
get: function () { return chunkJFRT7S3B_cjs.createValidationError; }
|
|
124
124
|
});
|
|
125
125
|
Object.defineProperty(exports, "validateEdgeProps", {
|
|
126
126
|
enumerable: true,
|
|
127
|
-
get: function () { return
|
|
127
|
+
get: function () { return chunkJFRT7S3B_cjs.validateEdgeProps; }
|
|
128
128
|
});
|
|
129
129
|
Object.defineProperty(exports, "validateNodeProps", {
|
|
130
130
|
enumerable: true,
|
|
131
|
-
get: function () { return
|
|
131
|
+
get: function () { return chunkJFRT7S3B_cjs.validateNodeProps; }
|
|
132
132
|
});
|
|
133
133
|
Object.defineProperty(exports, "validateProps", {
|
|
134
134
|
enumerable: true,
|
|
135
|
-
get: function () { return
|
|
135
|
+
get: function () { return chunkJFRT7S3B_cjs.validateProps; }
|
|
136
136
|
});
|
|
137
137
|
Object.defineProperty(exports, "wrapZodError", {
|
|
138
138
|
enumerable: true,
|
|
139
|
-
get: function () { return
|
|
139
|
+
get: function () { return chunkJFRT7S3B_cjs.wrapZodError; }
|
|
140
140
|
});
|
|
141
141
|
//# sourceMappingURL=index.cjs.map
|
|
142
142
|
//# sourceMappingURL=index.cjs.map
|
package/dist/schema/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-
|
|
1
|
+
import { bW as SerializedNodeDef, bU as SerializedEdgeDef, bV as SerializedMetaEdge, bY as SerializedOntologyRelation, bT as SerializedClosures, bZ as SerializedSchema, dj as SchemaHash, bt as NullCheckOp, d8 as GraphDef, bj as KindEntity } from '../types-BqFZTQmV.cjs';
|
|
2
|
+
export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig, bg as JsonSchema, bX as SerializedOntology, b_ as SerializedUniqueConstraint } from '../types-BqFZTQmV.cjs';
|
|
3
|
+
import { K as KindRegistry } from '../manager-CYaff3n3.cjs';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-CYaff3n3.cjs';
|
|
5
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-DTtAnvfY.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-COs_z6nV.cjs';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
import { K as KindRegistry } from '../manager-
|
|
4
|
-
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-
|
|
5
|
-
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-
|
|
1
|
+
import { bW as SerializedNodeDef, bU as SerializedEdgeDef, bV as SerializedMetaEdge, bY as SerializedOntologyRelation, bT as SerializedClosures, bZ as SerializedSchema, dj as SchemaHash, bt as NullCheckOp, d8 as GraphDef, bj as KindEntity } from '../types-BqFZTQmV.js';
|
|
2
|
+
export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig, bg as JsonSchema, bX as SerializedOntology, b_ as SerializedUniqueConstraint } from '../types-BqFZTQmV.js';
|
|
3
|
+
import { K as KindRegistry } from '../manager-D9eRT_ns.js';
|
|
4
|
+
export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-D9eRT_ns.js';
|
|
5
|
+
export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-DJ3ykH59.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-D7d1u2gr.js';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* A deserialized schema provides read-only access to schema metadata.
|
package/dist/schema/index.js
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export { deserializeSchema } from '../chunk-
|
|
2
|
-
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-
|
|
1
|
+
export { deserializeSchema } from '../chunk-YVF2EM7B.js';
|
|
2
|
+
export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-2TYSSBU5.js';
|
|
3
3
|
import '../chunk-SHFBB23Q.js';
|
|
4
|
-
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-
|
|
5
|
-
import '../chunk-
|
|
4
|
+
export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-ZFMCDJGB.js';
|
|
5
|
+
import '../chunk-S5TERQVW.js';
|
|
6
6
|
import '../chunk-JBQQ7THH.js';
|
|
7
|
-
import '../chunk-
|
|
7
|
+
import '../chunk-UGHG7PGX.js';
|
|
8
8
|
import '../chunk-NVY5CJFP.js';
|
|
9
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-6LN7FIVU.js';
|
|
10
10
|
import '../chunk-HEV35TGT.js';
|
|
11
11
|
import '../chunk-GLHXM7C4.js';
|
|
12
|
-
import '../chunk-
|
|
13
|
-
import '../chunk-
|
|
12
|
+
import '../chunk-DZAICA5J.js';
|
|
13
|
+
import '../chunk-5K2BKEBD.js';
|
|
14
14
|
import '../chunk-P6YLZTRE.js';
|
|
15
15
|
import '../chunk-K34OPSJK.js';
|
|
16
16
|
import '../chunk-2EBMPJBO.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
|
-
import {
|
|
3
|
-
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-
|
|
4
|
-
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-
|
|
5
|
-
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-
|
|
6
|
-
import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-
|
|
2
|
+
import { cy as ValueType, ef as PredicateExpression, aH as FulltextQueryMode, eg as VectorMetricType, d9 as QueryAst, bf as JsonPointer, dl as FieldRef, dU as ParameterRef, dg as NodeType, dh as AnyEdgeType, dr as EdgeType, dZ as TraversalExpansion, aM as GraphBackend, c2 as SqlDialect, di as SqlSchema, eh as Traversal, ei as NodePredicate, ej as ProjectedField, dT as OrderSpec, ek as AggregateOrderSpec, ce as TemporalMode, el as GroupBySpec, dF as HybridFusionOptions, dH as JsonPointerInput, em as RecursiveCyclePolicy, d8 as GraphDef, dp as TraversalDirection$1, dz as EdgeRegistration, dP as NodeId, cg as TransactionBackend, dk as AggregateExpr, dY as SortDirection, q as CompiledSelectSql, aK as FulltextStrategy, cL as VectorStrategy, en as VectorSlotMap, eo as RecordedReadBinding, ep as SelectiveField, eq as ComposableQuery, er as SetOperationType, es as SetOperation, aR as GraphIdentityConfig, dQ as NodeKinds, bs as NodeRow, bj as KindEntity, dB as ExternalRecordedReadSource, dw as EdgeId, a9 as EdgeRow, et as BackendValidityEndMutation, dS as NodeRegistration, dx as EdgeKinds, ci as TransactionReadBackend, dt as AllNodeTypes, bi as KindAnnotations, bg as JsonSchema, cn as UniquenessScope, l as Collation, C as Cardinality, aa as EndpointExistence, aP as GraphExtension, cF as VectorMetric, d as BackendCapabilities, u as ContributionDiagnostic, K as ContributionRepairResult, E as ContributionProbeResult, H as ContributionRebuildScope, G as ContributionRebuildResult, ch as TransactionOptions, b as AdapterBackend } from './types-BqFZTQmV.js';
|
|
3
|
+
import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CbnLzTmM.js';
|
|
4
|
+
import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-bpE1bBfc.js';
|
|
5
|
+
import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-D9eRT_ns.js';
|
|
6
|
+
import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-DJ3ykH59.js';
|
|
7
7
|
|
|
8
8
|
type FieldTypeInfo = Readonly<{
|
|
9
9
|
valueType: ValueType;
|
|
@@ -2263,7 +2263,11 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2263
2263
|
/**
|
|
2264
2264
|
* Create a new node.
|
|
2265
2265
|
*
|
|
2266
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2266
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2267
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2268
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2269
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2270
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2267
2271
|
*/
|
|
2268
2272
|
create: (props: z.input<N["schema"]>, options?: Readonly<{
|
|
2269
2273
|
id?: string;
|
|
@@ -2332,7 +2336,11 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2332
2336
|
* the data shape is determined at runtime, not compile time.
|
|
2333
2337
|
* The return type is fully typed — only the input gate is relaxed.
|
|
2334
2338
|
*
|
|
2335
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2339
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2340
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2341
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2342
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2343
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2336
2344
|
*/
|
|
2337
2345
|
createFromRecord: (data: Record<string, unknown>, options?: Readonly<{
|
|
2338
2346
|
id?: string;
|
|
@@ -2347,9 +2355,15 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2347
2355
|
*
|
|
2348
2356
|
* `validFrom` applies when the upsert CREATES the row and when it RESURRECTS
|
|
2349
2357
|
* a tombstoned one — both write a fresh validity window — defaulting to the
|
|
2350
|
-
* operation's timestamp when omitted.
|
|
2351
|
-
*
|
|
2352
|
-
*
|
|
2358
|
+
* operation's timestamp when omitted. That default is dropped when a stated
|
|
2359
|
+
* `validTo` at or before the write instant would leave the row readable at no
|
|
2360
|
+
* coordinate: NO lower bound is stored ("ended at T, start unknown") and
|
|
2361
|
+
* `meta.validFrom` reads back as `undefined`. A RESURRECTION takes the same
|
|
2362
|
+
* exception, decided against the instant it samples, so one stated window
|
|
2363
|
+
* reaches ONE stored shape whether the id is fresh or names a tombstone. An
|
|
2364
|
+
* update to a LIVE row stores no lower bound, because that row's is already
|
|
2365
|
+
* history, so one naming a different instant is REFUSED (`ValidationError`
|
|
2366
|
+
* carrying
|
|
2353
2367
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2354
2368
|
* bound the row already holds is accepted and changes nothing. Set
|
|
2355
2369
|
* `onImmutableLowerBound: "preserve"` for event materializers whose
|
|
@@ -2369,9 +2383,15 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2369
2383
|
*
|
|
2370
2384
|
* `validFrom` applies when the upsert CREATES the row and when it RESURRECTS
|
|
2371
2385
|
* a tombstoned one — both write a fresh validity window — defaulting to the
|
|
2372
|
-
* operation's timestamp when omitted.
|
|
2373
|
-
*
|
|
2374
|
-
*
|
|
2386
|
+
* operation's timestamp when omitted. That default is dropped when a stated
|
|
2387
|
+
* `validTo` at or before the write instant would leave the row readable at no
|
|
2388
|
+
* coordinate: NO lower bound is stored ("ended at T, start unknown") and
|
|
2389
|
+
* `meta.validFrom` reads back as `undefined`. A RESURRECTION takes the same
|
|
2390
|
+
* exception, decided against the instant it samples, so one stated window
|
|
2391
|
+
* reaches ONE stored shape whether the id is fresh or names a tombstone. An
|
|
2392
|
+
* update to a LIVE row stores no lower bound, because that row's is already
|
|
2393
|
+
* history, so one naming a different instant is REFUSED (`ValidationError`
|
|
2394
|
+
* carrying
|
|
2375
2395
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2376
2396
|
* bound the row already holds is accepted and changes nothing. Set
|
|
2377
2397
|
* `onImmutableLowerBound: "preserve"` for create/resurrection-only input.
|
|
@@ -2386,7 +2406,11 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2386
2406
|
* More efficient than calling create() multiple times.
|
|
2387
2407
|
* Use `bulkInsert` for the dedicated fast path that skips returning results.
|
|
2388
2408
|
*
|
|
2389
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2409
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2410
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2411
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2412
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2413
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2390
2414
|
*/
|
|
2391
2415
|
bulkCreate: (items: readonly Readonly<{
|
|
2392
2416
|
props: z.input<N["schema"]>;
|
|
@@ -2408,7 +2432,12 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2408
2432
|
*
|
|
2409
2433
|
* `validFrom` applies when the upsert CREATES the row and when it RESURRECTS
|
|
2410
2434
|
* a tombstoned one — both write a fresh validity window — defaulting to the
|
|
2411
|
-
* operation's timestamp when omitted.
|
|
2435
|
+
* operation's timestamp when omitted. That default is dropped when a stated
|
|
2436
|
+
* `validTo` at or before the write instant would leave the row readable at no
|
|
2437
|
+
* coordinate: NO lower bound is stored ("ended at T, start unknown") and
|
|
2438
|
+
* `meta.validFrom` reads back as `undefined`. A RESURRECTION takes the same
|
|
2439
|
+
* exception, decided against the instant it samples, so one stated window
|
|
2440
|
+
* reaches ONE stored shape whether the id is fresh or names a tombstone. An update to a LIVE row stores no lower
|
|
2412
2441
|
* bound, because that row's is already history, so one naming a different
|
|
2413
2442
|
* instant is REFUSED (`ValidationError` carrying
|
|
2414
2443
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
@@ -2442,7 +2471,11 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
|
|
|
2442
2471
|
* with `returnResults: false`, the intent is unambiguous: no results
|
|
2443
2472
|
* are returned and the operation is wrapped in a transaction.
|
|
2444
2473
|
*
|
|
2445
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2474
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2475
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2476
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2477
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2478
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2446
2479
|
*/
|
|
2447
2480
|
bulkInsert: (items: readonly Readonly<{
|
|
2448
2481
|
props: z.input<N["schema"]>;
|
|
@@ -2577,7 +2610,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2577
2610
|
/**
|
|
2578
2611
|
* Create a new edge.
|
|
2579
2612
|
*
|
|
2580
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2613
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2614
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2615
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2616
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2617
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2581
2618
|
*
|
|
2582
2619
|
* @param from - Source node (must be one of the allowed 'from' types)
|
|
2583
2620
|
* @param to - Target node (must be one of the allowed 'to' types)
|
|
@@ -2701,7 +2738,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2701
2738
|
* More efficient than calling create() multiple times.
|
|
2702
2739
|
* Use `bulkInsert` for the dedicated fast path that skips returning results.
|
|
2703
2740
|
*
|
|
2704
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2741
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2742
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2743
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2744
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2745
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2705
2746
|
*/
|
|
2706
2747
|
bulkCreate: (items: readonly Readonly<{
|
|
2707
2748
|
from: NodeRef<From>;
|
|
@@ -2726,11 +2767,16 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2726
2767
|
* is refused with `ValidationError` carrying
|
|
2727
2768
|
* `EDGE_IDENTITY_MISMATCH_CODE`; it is never silently ignored.
|
|
2728
2769
|
*
|
|
2729
|
-
* `validFrom` applies when the upsert CREATES the
|
|
2730
|
-
* a tombstoned one
|
|
2731
|
-
* operation's timestamp when omitted
|
|
2732
|
-
*
|
|
2733
|
-
*
|
|
2770
|
+
* `validFrom` applies when the upsert CREATES the edge and when it RESURRECTS
|
|
2771
|
+
* a tombstoned one. A create writes a fresh validity window, defaulting to the
|
|
2772
|
+
* operation's timestamp when omitted — unless a stated `validTo` at or before
|
|
2773
|
+
* that instant would leave the row readable at no coordinate, in which case NO
|
|
2774
|
+
* lower bound is stored ("ended at T, start unknown") and `meta.validFrom`
|
|
2775
|
+
* reads back as `undefined`. A resurrection stamps nothing: an edge RETAINS
|
|
2776
|
+
* its stored lower bound unless the item names a new one, so a `validTo`
|
|
2777
|
+
* before the retained bound is REFUSED rather than stamped over. An update to
|
|
2778
|
+
* a LIVE row stores no lower bound, because that row's is already history, so
|
|
2779
|
+
* one naming a different instant is REFUSED (`ValidationError` carrying
|
|
2734
2780
|
* `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`) rather than ignored. Restating the
|
|
2735
2781
|
* bound the row already holds is accepted and changes nothing.
|
|
2736
2782
|
*
|
|
@@ -2760,7 +2806,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2760
2806
|
* with `returnResults: false`, the intent is unambiguous: no results
|
|
2761
2807
|
* are returned and the operation is wrapped in a transaction.
|
|
2762
2808
|
*
|
|
2763
|
-
* `validFrom` defaults to the operation's creation timestamp when omitted
|
|
2809
|
+
* `validFrom` defaults to the operation's creation timestamp when omitted —
|
|
2810
|
+
* unless a stated `validTo` at or before that instant would leave the row
|
|
2811
|
+
* readable at no coordinate, in which case the row is stored with NO lower
|
|
2812
|
+
* bound ("ended at T, start unknown") and `meta.validFrom` reads back as
|
|
2813
|
+
* `undefined`. A future `validTo` is unaffected.
|
|
2764
2814
|
*/
|
|
2765
2815
|
bulkInsert: (items: readonly Readonly<{
|
|
2766
2816
|
from: NodeRef<From>;
|
|
@@ -2807,8 +2857,13 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
|
|
|
2807
2857
|
* property fields, only edges whose properties match on those fields are considered.
|
|
2808
2858
|
* Soft-deleted matches are resurrected when cardinality allows.
|
|
2809
2859
|
*
|
|
2810
|
-
* `validFrom` applies on the create and RESURRECT branches
|
|
2811
|
-
* operation's creation timestamp when omitted
|
|
2860
|
+
* `validFrom` applies on the create and RESURRECT branches. A create defaults
|
|
2861
|
+
* it to the operation's creation timestamp when omitted — unless a stated
|
|
2862
|
+
* `validTo` at or before that instant would leave the row readable at no
|
|
2863
|
+
* coordinate, in which case no lower bound is stored ("ended at T, start
|
|
2864
|
+
* unknown"). A resurrection stamps nothing: an edge RETAINS its stored lower
|
|
2865
|
+
* bound unless the call names a new one, so a `validTo` before the retained
|
|
2866
|
+
* bound is REFUSED rather than stamped over. On the `ifExists: "update"`
|
|
2812
2867
|
* branch a live edge's lower bound is history and cannot be stored, so a
|
|
2813
2868
|
* `validFrom` naming a different instant is REFUSED (`ValidationError`
|
|
2814
2869
|
* carrying `IMMUTABLE_VALIDITY_LOWER_BOUND_CODE`); restating the bound the
|
|
@@ -3306,6 +3361,14 @@ type IdentityFacade<G extends GraphDef> = IdentityReadFacade<G> & Readonly<{
|
|
|
3306
3361
|
retractDifferentAssertion: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>) => Promise<IdentityAssertion<G> | undefined>;
|
|
3307
3362
|
bulkRetractAssertions: (ids: readonly IdentityAssertionId[]) => Promise<readonly IdentityAssertion<G>[]>;
|
|
3308
3363
|
}>;
|
|
3364
|
+
/**
|
|
3365
|
+
* The assertion-only write surface of the TypeGraph Identity Profile.
|
|
3366
|
+
*
|
|
3367
|
+
* This deliberately excludes reads and retractions so constrained staging
|
|
3368
|
+
* handles can accept incoming identity claims without exposing the broader
|
|
3369
|
+
* operational identity surface.
|
|
3370
|
+
*/
|
|
3371
|
+
type IdentityAssertionWriteFacade<G extends GraphDef> = Pick<IdentityFacade<G>, "assertSame" | "assertDifferent" | "bulkAssertSame" | "bulkAssertDifferent">;
|
|
3309
3372
|
/**
|
|
3310
3373
|
* Per-transaction identity write counts carried by a transaction receipt.
|
|
3311
3374
|
* `total` is the sum of the three preceding counters.
|
|
@@ -4100,6 +4163,22 @@ declare const STORE_RUNTIME: unique symbol;
|
|
|
4100
4163
|
*/
|
|
4101
4164
|
type StoreRuntime<G extends GraphDef> = Readonly<{
|
|
4102
4165
|
backend: GraphBackend;
|
|
4166
|
+
/**
|
|
4167
|
+
* @internal The backend this Store's queries actually execute through for
|
|
4168
|
+
* `target` — the Store's own backend when `target` is omitted.
|
|
4169
|
+
*
|
|
4170
|
+
* It is the SAME private construction the query path uses rather than a
|
|
4171
|
+
* reconstruction of it, because the object it returns is the one a lost
|
|
4172
|
+
* derivation corrupts: the hooked query backend is a transient local inside
|
|
4173
|
+
* query construction that is stored nowhere, so no other handle on it exists
|
|
4174
|
+
* and a regression there is invisible to every assertion about
|
|
4175
|
+
* {@link StoreRuntime.backend}.
|
|
4176
|
+
*
|
|
4177
|
+
* NOTE for anything asserting on it: with no query hook configured this
|
|
4178
|
+
* returns its argument unchanged, so a hookless Store answers with the very
|
|
4179
|
+
* object it was handed and a comparison against that object is a tautology.
|
|
4180
|
+
*/
|
|
4181
|
+
queryBackend: (target?: GraphBackend | TransactionBackend) => GraphBackend;
|
|
4103
4182
|
sealedQuery: (coordinate: ReadCoordinate) => InitialQueryBuilder<G, "sealed">;
|
|
4104
4183
|
recordedNodeGetById: <N extends NodeType>(kind: string, id: NodeId<N>, coordinate: ReadCoordinate) => Promise<Node<N> | undefined>;
|
|
4105
4184
|
recordedNodeGetByIds: <N extends NodeType>(kind: string, ids: readonly NodeId<N>[], coordinate: ReadCoordinate) => Promise<readonly (Node<N> | undefined)[]>;
|
|
@@ -4112,6 +4191,22 @@ type StoreRuntime<G extends GraphDef> = Readonly<{
|
|
|
4112
4191
|
identityAtCoordinate: (coordinate: ReadCoordinate) => IdentityReadFacade<G>;
|
|
4113
4192
|
rebuildIdentityClosure: () => Promise<void>;
|
|
4114
4193
|
validateIdentity: () => Promise<void>;
|
|
4194
|
+
/**
|
|
4195
|
+
* Validates one final resolved node write set, then clears the affected
|
|
4196
|
+
* uniqueness sidecars so its upserts may claim their approved keys in any
|
|
4197
|
+
* order. The caller must supply a transaction-bound backend.
|
|
4198
|
+
*/
|
|
4199
|
+
applyResolvedNodeUniqueness: <Output>(target: TransactionBackend, writes: Readonly<{
|
|
4200
|
+
upserts: readonly Readonly<{
|
|
4201
|
+
kind: string;
|
|
4202
|
+
id: string;
|
|
4203
|
+
props: Readonly<Record<string, unknown>>;
|
|
4204
|
+
}>[];
|
|
4205
|
+
releases: readonly Readonly<{
|
|
4206
|
+
kind: string;
|
|
4207
|
+
id: string;
|
|
4208
|
+
}>[];
|
|
4209
|
+
}>, apply: () => Promise<Output>) => Promise<Output>;
|
|
4115
4210
|
/**
|
|
4116
4211
|
* @internal Reads the graph's identity assertions in transfer shape, honoring
|
|
4117
4212
|
* this store's SQL binding. Used by interchange export, base-version
|
|
@@ -5276,4 +5371,4 @@ declare function createVerifiedAdapterStore<G extends GraphDef, TNativeTransacti
|
|
|
5276
5371
|
SchemaValidationResult
|
|
5277
5372
|
]>;
|
|
5278
5373
|
|
|
5279
|
-
export { type DynamicNodeKind as $, type AliasMap as A, type BaseStoreOptions as B, type BatchableQuery as C, type BulkEdgeSourceGroup as D, type EdgeAliasMap as E, type BulkFindEdgesFromParams as F, type BulkFindEdgesFromResult as G, type HistoryStoreOptions as H, type IdentityAssertion as I, type BulkOperationHookContext as J, type ConstraintNames as K, type LiveStoreOptions as L, type CreateEdgeInput as M, type CreateNodeInput as N, type DegreeOptions as O, type DynamicEdgeAccessor as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type DynamicEdgeCollection as V, type DynamicEdgeType as W, type DynamicFieldBuilder as X, type DynamicNode as Y, type DynamicNodeAccessor as Z, type DynamicNodeCollection as _, type Store as a, type
|
|
5374
|
+
export { type DynamicNodeKind as $, type AliasMap as A, type BaseStoreOptions as B, type BatchableQuery as C, type BulkEdgeSourceGroup as D, type EdgeAliasMap as E, type BulkFindEdgesFromParams as F, type BulkFindEdgesFromResult as G, type HistoryStoreOptions as H, type IdentityAssertion as I, type BulkOperationHookContext as J, type ConstraintNames as K, type LiveStoreOptions as L, type CreateEdgeInput as M, type CreateNodeInput as N, type DegreeOptions as O, type DynamicEdgeAccessor as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type DynamicEdgeCollection as V, type DynamicEdgeType as W, type DynamicFieldBuilder as X, type DynamicNode as Y, type DynamicNodeAccessor as Z, type DynamicNodeCollection as _, type Store as a, type NodeWrites as a$, type DynamicNodeReference as a0, type DynamicNodeType as a1, type DynamicSelectableEdge as a2, type DynamicSelectableNode as a3, type Edge as a4, type EdgeAccessor as a5, type EdgeBatchReads as a6, type EdgeBulkFindEndpointOptions as a7, type EdgeBulkFindOptions as a8, type EdgeCollection as a9, type IdentityNodeReference as aA, type IdentityTraversalOption as aB, type IdentityValidityWindow as aC, type IfExistsMode as aD, type InitialQueryBuilder as aE, type KindIntrospection as aF, type LabelPropagationMembership as aG, type LabelPropagationOptions as aH, type MaterializeRemovalsEntry as aI, type MaterializeRemovalsOptions as aJ, type MaterializeRemovalsResult as aK, type MeasurableAdapterHistoryTransactionContext as aL, type MeasurableAdapterTransactionContext as aM, type MeasurableTransactionContext as aN, type NeighborsOptions as aO, type NoRecordedCoordinate as aP, type Node as aQ, type NodeAccessor as aR, type NodeAlias as aS, type NodeBulkFindByIndexOptions as aT, type NodeCollection as aU, type NodeCurrentReads as aV, type NodeGetOrCreateByConstraintOptions as aW, type NodeGetOrCreateByConstraintResult as aX, type NodeIdentifier as aY, type NodeRef as aZ, type NodeTemporalReads as a_, type EdgeFindByEndpointsOptions as aa, type EdgeGetOrCreateByEndpointsOptions as ab, type EdgeGetOrCreateByEndpointsResult as ac, type EdgeIntrospection as ad, type EdgeTemporalReads as ae, type EdgeWrites as af, type EmptyAliasMap as ag, type EmptyEdgeAliasMap as ah, ExecutableAggregateQuery as ai, ExecutableQuery as aj, type FieldAccessor as ak, type FulltextSearchHit as al, type FulltextSearchOptions as am, type GetOrCreateAction as an, type GraphAlgorithms as ao, type GraphEdgeCollections as ap, type GraphEdgeForKinds as aq, type GraphNodeCollections as ar, type GraphNodeReference as as, type HistoryStoreBackend as at, type HookContext as au, type HybridFulltextOptions as av, type HybridSearchHit as aw, type HybridSearchOptions as ax, type HybridVectorOptions as ay, type IdentityAssertionWriteFacade as az, type HistoryStore as b, type StreamOptions as b$, type OntologyIntrospection as b0, type OperationHookContext as b1, type PageRankOptions as b2, type PageRankScore as b3, type PaginateOptions as b4, type PaginatedResult as b5, type PathNode as b6, type PersonalizedPageRankOptions as b7, type PersonalizedPageRankSeed as b8, type Predicate as b9, type SelectableEdge as bA, type SelectableNode as bB, type ShortestPathOptions as bC, type ShortestPathResult as bD, type SqlAvailability as bE, type StoreHooks as bF, type StoreProjection as bG, type StoreRef as bH, StoreSearch as bI, StoreView as bJ, type StoreViewCanReachOptions as bK, type StoreViewCoordinate as bL, type StoreViewDegreeOptions as bM, type StoreViewEdgeCollection as bN, type StoreViewEdgeCollections as bO, type StoreViewGraphAlgorithms as bP, type StoreViewLabelPropagationOptions as bQ, type StoreViewNeighborsOptions as bR, type StoreViewNodeCollection as bS, type StoreViewNodeCollections as bT, type StoreViewPageRankOptions as bU, type StoreViewPersonalizedPageRankOptions as bV, type StoreViewReachableOptions as bW, type StoreViewShortestPathOptions as bX, type StoreViewSubgraphOptions as bY, type StoreViewWeaklyConnectedComponentsOptions as bZ, type StoreViewWeightedShortestPathOptions as b_, PreparedQuery as ba, type PropsAccessor as bb, type QueryHookContext as bc, type QueryOptions as bd, type ReachableNode as be, type ReachableOptions as bf, type RebuildContributionOptions as bg, type RebuildFulltextOptions as bh, type RebuildFulltextResult as bi, type ReclaimedVectorFieldEntry as bj, type ReconciledSchema as bk, type RecordedScanOptions as bl, type RecordedScanPage as bm, RecordedStoreView as bn, type RecordedStoreViewEdgeCollection as bo, type RecordedStoreViewEdgeCollections as bp, type RecordedStoreViewNodeCollection as bq, type RecordedStoreViewNodeCollections as br, type RecursiveTraversalOptions as bs, type ReembedFunction as bt, type ReembedVectorFieldOptions as bu, type ReembedVectorFieldResult as bv, type SchemaIntrospection as bw, type ScopedMeasure as bx, type SearchScopeOptions as by, type SelectContext as bz, type RecordedReadStore as c, type SubgraphEdgeResult as c0, type SubgraphNodeResult as c1, type SubgraphOptions as c2, type SubgraphResult as c3, type SubsetEdge as c4, type SubsetNode as c5, type TemporalAlgorithmOptions as c6, type TransactionContext as c7, type TransactionOutcome as c8, type TransactionReceipt as c9, inSubquery as cA, isParameterRef as cB, notExists as cC, notInSubquery as cD, param as cE, type TraversalDirection as ca, type TypedEdgeCollection as cb, type TypedRecordedStoreViewEdgeCollection as cc, type TypedStoreViewEdgeCollection as cd, UnionableQuery as ce, type UniqueIntrospection as cf, type UpdateEdgeInput as cg, type UpdateNodeInput as ch, type ValidityEndMutation as ci, type VectorSearchHit as cj, type VectorSearchOptions as ck, type WeaklyConnectedComponentMembership as cl, type WeaklyConnectedComponentsOptions as cm, type WeightedShortestPathOptions as cn, type WeightedShortestPathResult as co, asIdentityAssertionId as cp, createAdapterStore as cq, createAdapterStoreWithSchema as cr, createQueryBuilder as cs, createStore as ct, createStoreWithSchema as cu, createVerifiedAdapterStore as cv, createVerifiedStore as cw, defineSubgraphProject as cx, exists as cy, fieldRef as cz, type IdentityAssertionId as d, type IdentityAssertionResult as e, type IdentityFacade as f, type IdentityNode as g, type IdentityNodeRefInput as h, type IdentityPair as i, type IdentityReadFacade as j, type IdentityRelation as k, type IdentityWriteSummary as l, type RecursiveAliasMap as m, QueryBuilder as n, type EmptyRecursiveAliasMap as o, type AdapterHistoryStore as p, type AdapterHistoryTransactionContext as q, type AdapterRecordedReadStore as r, type AdapterStore as s, type AdapterTransactionContext as t, type AggregateResult as u, type AlgorithmCyclePolicy as v, type AnyEdge as w, type AnyNode as x, type BaseTraversalOptions as y, type BatchResults as z };
|