@nicia-ai/typegraph 0.47.0 → 0.48.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.
Files changed (207) hide show
  1. package/dist/backend/drizzle/indexes.d.cts +1 -1
  2. package/dist/backend/drizzle/indexes.d.ts +1 -1
  3. package/dist/backend/index.cjs +27 -19
  4. package/dist/backend/index.d.cts +37 -55
  5. package/dist/backend/index.d.ts +37 -55
  6. package/dist/backend/index.js +4 -4
  7. package/dist/backend/postgres/index.cjs +7 -7
  8. package/dist/backend/postgres/index.d.cts +21 -7
  9. package/dist/backend/postgres/index.d.ts +21 -7
  10. package/dist/backend/postgres/index.js +6 -6
  11. package/dist/backend/postgres/pglite-store.cjs +17 -17
  12. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  13. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  14. package/dist/backend/postgres/pglite-store.js +14 -14
  15. package/dist/backend/postgres/pglite.cjs +8 -8
  16. package/dist/backend/postgres/pglite.d.cts +3 -3
  17. package/dist/backend/postgres/pglite.d.ts +3 -3
  18. package/dist/backend/postgres/pglite.js +7 -7
  19. package/dist/backend/sqlite/index.cjs +7 -7
  20. package/dist/backend/sqlite/index.d.cts +20 -7
  21. package/dist/backend/sqlite/index.d.ts +20 -7
  22. package/dist/backend/sqlite/index.js +6 -6
  23. package/dist/backend/sqlite/libsql.cjs +8 -8
  24. package/dist/backend/sqlite/libsql.d.cts +3 -3
  25. package/dist/backend/sqlite/libsql.d.ts +3 -3
  26. package/dist/backend/sqlite/libsql.js +6 -6
  27. package/dist/backend/sqlite/local-store.cjs +18 -18
  28. package/dist/backend/sqlite/local-store.d.cts +8 -8
  29. package/dist/backend/sqlite/local-store.d.ts +8 -8
  30. package/dist/backend/sqlite/local-store.js +15 -15
  31. package/dist/backend/sqlite/local.cjs +9 -9
  32. package/dist/backend/sqlite/local.d.cts +3 -3
  33. package/dist/backend/sqlite/local.d.ts +3 -3
  34. package/dist/backend/sqlite/local.js +7 -7
  35. package/dist/{chunk-EMIB2RXD.cjs → chunk-2HIYYMWY.cjs} +99 -96
  36. package/dist/chunk-2HIYYMWY.cjs.map +1 -0
  37. package/dist/{chunk-6KFLYYOC.cjs → chunk-2QGYQBS2.cjs} +5 -5
  38. package/dist/{chunk-6KFLYYOC.cjs.map → chunk-2QGYQBS2.cjs.map} +1 -1
  39. package/dist/{chunk-5FT3TLPK.js → chunk-2SYZXD54.js} +16 -13
  40. package/dist/chunk-2SYZXD54.js.map +1 -0
  41. package/dist/{chunk-XYBQI6LE.js → chunk-2TYSSBU5.js} +6 -6
  42. package/dist/{chunk-XYBQI6LE.js.map → chunk-2TYSSBU5.js.map} +1 -1
  43. package/dist/{chunk-6JVZSOHQ.cjs → chunk-3FPR224C.cjs} +26 -26
  44. package/dist/{chunk-6JVZSOHQ.cjs.map → chunk-3FPR224C.cjs.map} +1 -1
  45. package/dist/{chunk-MFZR4QKM.cjs → chunk-3KOY4FH3.cjs} +181 -4
  46. package/dist/chunk-3KOY4FH3.cjs.map +1 -0
  47. package/dist/{chunk-6FWSNSRE.js → chunk-4WMMBDS5.js} +4 -4
  48. package/dist/chunk-4WMMBDS5.js.map +1 -0
  49. package/dist/{chunk-NG2RB5WL.js → chunk-5K2BKEBD.js} +18 -3
  50. package/dist/chunk-5K2BKEBD.js.map +1 -0
  51. package/dist/chunk-5PRKMB24.cjs +124 -0
  52. package/dist/chunk-5PRKMB24.cjs.map +1 -0
  53. package/dist/chunk-6LN7FIVU.js +107 -0
  54. package/dist/chunk-6LN7FIVU.js.map +1 -0
  55. package/dist/{chunk-I4G3SQPF.cjs → chunk-7XUYFFR4.cjs} +7 -7
  56. package/dist/chunk-7XUYFFR4.cjs.map +1 -0
  57. package/dist/{chunk-KH7XW7VV.js → chunk-ACGSAMD3.js} +24 -27
  58. package/dist/chunk-ACGSAMD3.js.map +1 -0
  59. package/dist/{chunk-QS3NQZVC.js → chunk-AX6JGVTZ.js} +16 -11
  60. package/dist/chunk-AX6JGVTZ.js.map +1 -0
  61. package/dist/{chunk-DJZTXBWY.js → chunk-BRRP76WO.js} +71 -30
  62. package/dist/chunk-BRRP76WO.js.map +1 -0
  63. package/dist/{chunk-5UMTUOM5.js → chunk-CT3ZKTOF.js} +5 -4
  64. package/dist/chunk-CT3ZKTOF.js.map +1 -0
  65. package/dist/{chunk-XY5OMOJD.js → chunk-DZAICA5J.js} +3 -3
  66. package/dist/{chunk-XY5OMOJD.js.map → chunk-DZAICA5J.js.map} +1 -1
  67. package/dist/{chunk-OIFSOPSR.cjs → chunk-EZEEWCFJ.cjs} +38 -156
  68. package/dist/chunk-EZEEWCFJ.cjs.map +1 -0
  69. package/dist/{chunk-AMMWA76F.cjs → chunk-FA2AFWLP.cjs} +6 -6
  70. package/dist/{chunk-AMMWA76F.cjs.map → chunk-FA2AFWLP.cjs.map} +1 -1
  71. package/dist/{chunk-FNOMT74T.js → chunk-I4GAZH5Z.js} +180 -5
  72. package/dist/chunk-I4GAZH5Z.js.map +1 -0
  73. package/dist/{chunk-WGX7JH7E.cjs → chunk-JB6T4GLL.cjs} +106 -134
  74. package/dist/chunk-JB6T4GLL.cjs.map +1 -0
  75. package/dist/{chunk-MX4DHSQP.cjs → chunk-JFRT7S3B.cjs} +92 -98
  76. package/dist/chunk-JFRT7S3B.cjs.map +1 -0
  77. package/dist/{chunk-SE6EGQSD.js → chunk-KF6K7TGH.js} +38 -66
  78. package/dist/chunk-KF6K7TGH.js.map +1 -0
  79. package/dist/{chunk-ZHNXLS3C.js → chunk-NACVVDWB.js} +208 -8
  80. package/dist/chunk-NACVVDWB.js.map +1 -0
  81. package/dist/{chunk-M35DF33T.js → chunk-OD4SSY2U.js} +29 -16
  82. package/dist/chunk-OD4SSY2U.js.map +1 -0
  83. package/dist/{chunk-U5EDAVOJ.cjs → chunk-OTUPEF2W.cjs} +54 -49
  84. package/dist/chunk-OTUPEF2W.cjs.map +1 -0
  85. package/dist/{chunk-BCQ76AXA.cjs → chunk-PFBRJBUL.cjs} +107 -94
  86. package/dist/chunk-PFBRJBUL.cjs.map +1 -0
  87. package/dist/{chunk-AVGUJWVX.js → chunk-S5TERQVW.js} +15 -132
  88. package/dist/chunk-S5TERQVW.js.map +1 -0
  89. package/dist/chunk-SIT26LAZ.cjs +614 -0
  90. package/dist/chunk-SIT26LAZ.cjs.map +1 -0
  91. package/dist/{chunk-BR7SHKGM.cjs → chunk-SR725PWF.cjs} +548 -507
  92. package/dist/chunk-SR725PWF.cjs.map +1 -0
  93. package/dist/{chunk-5FBRVORR.cjs → chunk-TKZXMWQF.cjs} +8 -7
  94. package/dist/chunk-TKZXMWQF.cjs.map +1 -0
  95. package/dist/{chunk-425IZOQ5.cjs → chunk-TQHGE7UC.cjs} +20 -2
  96. package/dist/chunk-TQHGE7UC.cjs.map +1 -0
  97. package/dist/{chunk-GYUJZARH.cjs → chunk-TUNPBZY3.cjs} +4 -4
  98. package/dist/{chunk-GYUJZARH.cjs.map → chunk-TUNPBZY3.cjs.map} +1 -1
  99. package/dist/chunk-UGHG7PGX.js +592 -0
  100. package/dist/chunk-UGHG7PGX.js.map +1 -0
  101. package/dist/{chunk-KABFHAL7.cjs → chunk-UMGZDVOA.cjs} +213 -12
  102. package/dist/chunk-UMGZDVOA.cjs.map +1 -0
  103. package/dist/{chunk-UPAJHMW3.cjs → chunk-WCCATHMB.cjs} +54 -57
  104. package/dist/chunk-WCCATHMB.cjs.map +1 -0
  105. package/dist/{chunk-LEWHMOUY.js → chunk-YIURNGXI.js} +4 -4
  106. package/dist/{chunk-LEWHMOUY.js.map → chunk-YIURNGXI.js.map} +1 -1
  107. package/dist/{chunk-EP4RUYD6.js → chunk-YVF2EM7B.js} +3 -3
  108. package/dist/{chunk-EP4RUYD6.js.map → chunk-YVF2EM7B.js.map} +1 -1
  109. package/dist/{chunk-NNQ6A3RM.js → chunk-ZFMCDJGB.js} +7 -12
  110. package/dist/chunk-ZFMCDJGB.js.map +1 -0
  111. package/dist/core/index.cjs +6 -6
  112. package/dist/core/index.d.cts +4 -4
  113. package/dist/core/index.d.ts +4 -4
  114. package/dist/core/index.js +2 -2
  115. package/dist/ddl-BL1NZLMY.d.cts +78 -0
  116. package/dist/ddl-D_oW-EVO.d.ts +78 -0
  117. package/dist/graph-extension/index.d.cts +4 -4
  118. package/dist/graph-extension/index.d.ts +4 -4
  119. package/dist/graph-merge/index.cjs +334 -191
  120. package/dist/graph-merge/index.cjs.map +1 -1
  121. package/dist/graph-merge/index.d.cts +65 -15
  122. package/dist/graph-merge/index.d.ts +65 -15
  123. package/dist/graph-merge/index.js +174 -32
  124. package/dist/graph-merge/index.js.map +1 -1
  125. package/dist/{index-CHTv4XMZ.d.cts → index-COs_z6nV.d.cts} +2 -2
  126. package/dist/{index-CzoJ3MUw.d.ts → index-D7d1u2gr.d.ts} +2 -2
  127. package/dist/index.cjs +90 -86
  128. package/dist/index.d.cts +12 -12
  129. package/dist/index.d.ts +12 -12
  130. package/dist/index.js +13 -13
  131. package/dist/indexes/index.d.cts +4 -4
  132. package/dist/indexes/index.d.ts +4 -4
  133. package/dist/interchange/index.cjs +38 -38
  134. package/dist/interchange/index.d.cts +7 -7
  135. package/dist/interchange/index.d.ts +7 -7
  136. package/dist/interchange/index.js +10 -10
  137. package/dist/{manager-DlY1vlla.d.cts → manager-CYaff3n3.d.cts} +2 -2
  138. package/dist/{manager-B6sOQzcQ.d.ts → manager-D9eRT_ns.d.ts} +2 -2
  139. package/dist/{materialize-indexes-DQL4xcpf.d.ts → materialize-indexes-DJ3ykH59.d.ts} +1 -1
  140. package/dist/{materialize-indexes-sskhp-c_.d.cts → materialize-indexes-DTtAnvfY.d.cts} +1 -1
  141. package/dist/{postgres-BXy_nyMs.d.cts → postgres-CcL4bAHS.d.ts} +1 -1
  142. package/dist/{postgres-B6YOUcaK.d.ts → postgres-DMj39MEu.d.cts} +1 -1
  143. package/dist/profiler/index.d.cts +9 -9
  144. package/dist/profiler/index.d.ts +9 -9
  145. package/dist/provenance/index.cjs +25 -26
  146. package/dist/provenance/index.cjs.map +1 -1
  147. package/dist/provenance/index.d.cts +7 -7
  148. package/dist/provenance/index.d.ts +7 -7
  149. package/dist/provenance/index.js +9 -10
  150. package/dist/provenance/index.js.map +1 -1
  151. package/dist/repair-validity-windows-BFNZvd_H.d.cts +166 -0
  152. package/dist/repair-validity-windows-DlUSqwCg.d.ts +166 -0
  153. package/dist/schema/index.cjs +35 -35
  154. package/dist/schema/index.d.cts +6 -6
  155. package/dist/schema/index.d.ts +6 -6
  156. package/dist/schema/index.js +8 -8
  157. package/dist/{searchable-D9gMiwcS.d.ts → searchable-DHJMh_nj.d.cts} +1 -1
  158. package/dist/{searchable-0Cn_lY8U.d.cts → searchable-bpE1bBfc.d.ts} +1 -1
  159. package/dist/{sqlite-DioSxaPe.d.cts → sqlite-D7Oz0SQh.d.ts} +1 -1
  160. package/dist/{sqlite-ClXuBYAj.d.ts → sqlite-YppHrNFb.d.cts} +1 -1
  161. package/dist/{store-5j-w5onJ.d.ts → store-JUVvtmR4.d.cts} +113 -26
  162. package/dist/{store-CFedKGU5.d.cts → store-UzrGvZOo.d.ts} +113 -26
  163. package/dist/{temporal-CjO9FH1l.d.ts → temporal-5GqpYCk2.d.cts} +1 -1
  164. package/dist/{temporal-Ce1pG0S1.d.cts → temporal-CbnLzTmM.d.ts} +1 -1
  165. package/dist/{types-DKkMJZjR.d.cts → types-BqFZTQmV.d.cts} +29 -4
  166. package/dist/{types-DKkMJZjR.d.ts → types-BqFZTQmV.d.ts} +29 -4
  167. package/dist/{types-BrdOFu48.d.ts → types-Bx74kaTt.d.ts} +1 -1
  168. package/dist/{types-oj_OGAaZ.d.cts → types-CXAhpW-c.d.cts} +1 -1
  169. package/dist/{where-D1wKCJ4Q.d.cts → where-DI_Fqz-X.d.cts} +1 -1
  170. package/dist/{where-C8w2627G.d.ts → where-O-k2wgYm.d.ts} +1 -1
  171. package/package.json +1 -1
  172. package/dist/chunk-3HGRTCDU.cjs +0 -269
  173. package/dist/chunk-3HGRTCDU.cjs.map +0 -1
  174. package/dist/chunk-425IZOQ5.cjs.map +0 -1
  175. package/dist/chunk-5FBRVORR.cjs.map +0 -1
  176. package/dist/chunk-5FT3TLPK.js.map +0 -1
  177. package/dist/chunk-5UMTUOM5.js.map +0 -1
  178. package/dist/chunk-6FWSNSRE.js.map +0 -1
  179. package/dist/chunk-AVGUJWVX.js.map +0 -1
  180. package/dist/chunk-BCQ76AXA.cjs.map +0 -1
  181. package/dist/chunk-BR7SHKGM.cjs.map +0 -1
  182. package/dist/chunk-DJZTXBWY.js.map +0 -1
  183. package/dist/chunk-EMIB2RXD.cjs.map +0 -1
  184. package/dist/chunk-FNOMT74T.js.map +0 -1
  185. package/dist/chunk-I4G3SQPF.cjs.map +0 -1
  186. package/dist/chunk-JR6SX5RH.cjs +0 -268
  187. package/dist/chunk-JR6SX5RH.cjs.map +0 -1
  188. package/dist/chunk-KABFHAL7.cjs.map +0 -1
  189. package/dist/chunk-KH7XW7VV.js.map +0 -1
  190. package/dist/chunk-M35DF33T.js.map +0 -1
  191. package/dist/chunk-MFZR4QKM.cjs.map +0 -1
  192. package/dist/chunk-MX4DHSQP.cjs.map +0 -1
  193. package/dist/chunk-NAZ2RA4L.js +0 -254
  194. package/dist/chunk-NAZ2RA4L.js.map +0 -1
  195. package/dist/chunk-NG2RB5WL.js.map +0 -1
  196. package/dist/chunk-NNQ6A3RM.js.map +0 -1
  197. package/dist/chunk-OIFSOPSR.cjs.map +0 -1
  198. package/dist/chunk-QS3NQZVC.js.map +0 -1
  199. package/dist/chunk-SE6EGQSD.js.map +0 -1
  200. package/dist/chunk-SHSSRCFR.js +0 -246
  201. package/dist/chunk-SHSSRCFR.js.map +0 -1
  202. package/dist/chunk-U5EDAVOJ.cjs.map +0 -1
  203. package/dist/chunk-UPAJHMW3.cjs.map +0 -1
  204. package/dist/chunk-WGX7JH7E.cjs.map +0 -1
  205. package/dist/chunk-ZHNXLS3C.js.map +0 -1
  206. package/dist/ddl-CprnMXJ-.d.ts +0 -38
  207. package/dist/ddl-DJA7Lci5.d.cts +0 -38
@@ -1,18 +1,18 @@
1
1
  'use strict';
2
2
 
3
- var chunkGYUJZARH_cjs = require('../chunk-GYUJZARH.cjs');
4
- var chunk6JVZSOHQ_cjs = require('../chunk-6JVZSOHQ.cjs');
3
+ var chunkTUNPBZY3_cjs = require('../chunk-TUNPBZY3.cjs');
4
+ var chunk3FPR224C_cjs = require('../chunk-3FPR224C.cjs');
5
5
  require('../chunk-26YKDNUD.cjs');
6
- var chunkMX4DHSQP_cjs = require('../chunk-MX4DHSQP.cjs');
7
- require('../chunk-OIFSOPSR.cjs');
6
+ var chunkJFRT7S3B_cjs = require('../chunk-JFRT7S3B.cjs');
7
+ require('../chunk-EZEEWCFJ.cjs');
8
8
  require('../chunk-PWLJ77UV.cjs');
9
- require('../chunk-JR6SX5RH.cjs');
9
+ require('../chunk-SIT26LAZ.cjs');
10
10
  require('../chunk-3U5ABFDW.cjs');
11
- require('../chunk-3HGRTCDU.cjs');
11
+ require('../chunk-5PRKMB24.cjs');
12
12
  require('../chunk-BFUOME67.cjs');
13
13
  require('../chunk-FQPEMEWX.cjs');
14
- require('../chunk-6KFLYYOC.cjs');
15
- require('../chunk-425IZOQ5.cjs');
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 chunkGYUJZARH_cjs.deserializeSchema; }
35
+ get: function () { return chunkTUNPBZY3_cjs.deserializeSchema; }
36
36
  });
37
37
  Object.defineProperty(exports, "applyDeprecatedKinds", {
38
38
  enumerable: true,
39
- get: function () { return chunk6JVZSOHQ_cjs.applyDeprecatedKinds; }
39
+ get: function () { return chunk3FPR224C_cjs.applyDeprecatedKinds; }
40
40
  });
41
41
  Object.defineProperty(exports, "assertSchemaCurrent", {
42
42
  enumerable: true,
43
- get: function () { return chunk6JVZSOHQ_cjs.assertSchemaCurrent; }
43
+ get: function () { return chunk3FPR224C_cjs.assertSchemaCurrent; }
44
44
  });
45
45
  Object.defineProperty(exports, "classifySchemaChanges", {
46
46
  enumerable: true,
47
- get: function () { return chunk6JVZSOHQ_cjs.classifySchemaChanges; }
47
+ get: function () { return chunk3FPR224C_cjs.classifySchemaChanges; }
48
48
  });
49
49
  Object.defineProperty(exports, "computeSchemaDiff", {
50
50
  enumerable: true,
51
- get: function () { return chunk6JVZSOHQ_cjs.computeSchemaDiff; }
51
+ get: function () { return chunk3FPR224C_cjs.computeSchemaDiff; }
52
52
  });
53
53
  Object.defineProperty(exports, "computeSchemaHash", {
54
54
  enumerable: true,
55
- get: function () { return chunk6JVZSOHQ_cjs.computeSchemaHash; }
55
+ get: function () { return chunk3FPR224C_cjs.computeSchemaHash; }
56
56
  });
57
57
  Object.defineProperty(exports, "deserializeWherePredicate", {
58
58
  enumerable: true,
59
- get: function () { return chunk6JVZSOHQ_cjs.deserializeWherePredicate; }
59
+ get: function () { return chunk3FPR224C_cjs.deserializeWherePredicate; }
60
60
  });
61
61
  Object.defineProperty(exports, "ensureSchema", {
62
62
  enumerable: true,
63
- get: function () { return chunk6JVZSOHQ_cjs.ensureSchema; }
63
+ get: function () { return chunk3FPR224C_cjs.ensureSchema; }
64
64
  });
65
65
  Object.defineProperty(exports, "getActiveSchema", {
66
66
  enumerable: true,
67
- get: function () { return chunk6JVZSOHQ_cjs.getActiveSchema; }
67
+ get: function () { return chunk3FPR224C_cjs.getActiveSchema; }
68
68
  });
69
69
  Object.defineProperty(exports, "getCommittedSchemaVersion", {
70
70
  enumerable: true,
71
- get: function () { return chunk6JVZSOHQ_cjs.getCommittedSchemaVersion; }
71
+ get: function () { return chunk3FPR224C_cjs.getCommittedSchemaVersion; }
72
72
  });
73
73
  Object.defineProperty(exports, "getMigrationActions", {
74
74
  enumerable: true,
75
- get: function () { return chunk6JVZSOHQ_cjs.getMigrationActions; }
75
+ get: function () { return chunk3FPR224C_cjs.getMigrationActions; }
76
76
  });
77
77
  Object.defineProperty(exports, "getSchemaChanges", {
78
78
  enumerable: true,
79
- get: function () { return chunk6JVZSOHQ_cjs.getSchemaChanges; }
79
+ get: function () { return chunk3FPR224C_cjs.getSchemaChanges; }
80
80
  });
81
81
  Object.defineProperty(exports, "initializeSchema", {
82
82
  enumerable: true,
83
- get: function () { return chunk6JVZSOHQ_cjs.initializeSchema; }
83
+ get: function () { return chunk3FPR224C_cjs.initializeSchema; }
84
84
  });
85
85
  Object.defineProperty(exports, "isBackwardsCompatible", {
86
86
  enumerable: true,
87
- get: function () { return chunk6JVZSOHQ_cjs.isBackwardsCompatible; }
87
+ get: function () { return chunk3FPR224C_cjs.isBackwardsCompatible; }
88
88
  });
89
89
  Object.defineProperty(exports, "isSchemaInitialized", {
90
90
  enumerable: true,
91
- get: function () { return chunk6JVZSOHQ_cjs.isSchemaInitialized; }
91
+ get: function () { return chunk3FPR224C_cjs.isSchemaInitialized; }
92
92
  });
93
93
  Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
94
94
  enumerable: true,
95
- get: function () { return chunk6JVZSOHQ_cjs.loadActiveSchemaWithBootstrap; }
95
+ get: function () { return chunk3FPR224C_cjs.loadActiveSchemaWithBootstrap; }
96
96
  });
97
97
  Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
98
98
  enumerable: true,
99
- get: function () { return chunk6JVZSOHQ_cjs.loadAndMergeGraphExtensionDocument; }
99
+ get: function () { return chunk3FPR224C_cjs.loadAndMergeGraphExtensionDocument; }
100
100
  });
101
101
  Object.defineProperty(exports, "migrateSchema", {
102
102
  enumerable: true,
103
- get: function () { return chunk6JVZSOHQ_cjs.migrateSchema; }
103
+ get: function () { return chunk3FPR224C_cjs.migrateSchema; }
104
104
  });
105
105
  Object.defineProperty(exports, "parseSerializedSchema", {
106
106
  enumerable: true,
107
- get: function () { return chunk6JVZSOHQ_cjs.parseSerializedSchema; }
107
+ get: function () { return chunk3FPR224C_cjs.parseSerializedSchema; }
108
108
  });
109
109
  Object.defineProperty(exports, "requiresMigration", {
110
110
  enumerable: true,
111
- get: function () { return chunk6JVZSOHQ_cjs.requiresMigration; }
111
+ get: function () { return chunk3FPR224C_cjs.requiresMigration; }
112
112
  });
113
113
  Object.defineProperty(exports, "rollbackSchema", {
114
114
  enumerable: true,
115
- get: function () { return chunk6JVZSOHQ_cjs.rollbackSchema; }
115
+ get: function () { return chunk3FPR224C_cjs.rollbackSchema; }
116
116
  });
117
117
  Object.defineProperty(exports, "serializeSchema", {
118
118
  enumerable: true,
119
- get: function () { return chunk6JVZSOHQ_cjs.serializeSchema; }
119
+ get: function () { return chunk3FPR224C_cjs.serializeSchema; }
120
120
  });
121
121
  Object.defineProperty(exports, "createValidationError", {
122
122
  enumerable: true,
123
- get: function () { return chunkMX4DHSQP_cjs.createValidationError; }
123
+ get: function () { return chunkJFRT7S3B_cjs.createValidationError; }
124
124
  });
125
125
  Object.defineProperty(exports, "validateEdgeProps", {
126
126
  enumerable: true,
127
- get: function () { return chunkMX4DHSQP_cjs.validateEdgeProps; }
127
+ get: function () { return chunkJFRT7S3B_cjs.validateEdgeProps; }
128
128
  });
129
129
  Object.defineProperty(exports, "validateNodeProps", {
130
130
  enumerable: true,
131
- get: function () { return chunkMX4DHSQP_cjs.validateNodeProps; }
131
+ get: function () { return chunkJFRT7S3B_cjs.validateNodeProps; }
132
132
  });
133
133
  Object.defineProperty(exports, "validateProps", {
134
134
  enumerable: true,
135
- get: function () { return chunkMX4DHSQP_cjs.validateProps; }
135
+ get: function () { return chunkJFRT7S3B_cjs.validateProps; }
136
136
  });
137
137
  Object.defineProperty(exports, "wrapZodError", {
138
138
  enumerable: true,
139
- get: function () { return chunkMX4DHSQP_cjs.wrapZodError; }
139
+ get: function () { return chunkJFRT7S3B_cjs.wrapZodError; }
140
140
  });
141
141
  //# sourceMappingURL=index.cjs.map
142
142
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-DKkMJZjR.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-DKkMJZjR.cjs';
3
- import { K as KindRegistry } from '../manager-DlY1vlla.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-DlY1vlla.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-sskhp-c_.cjs';
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-CHTv4XMZ.cjs';
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.
@@ -1,10 +1,10 @@
1
- import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-DKkMJZjR.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-DKkMJZjR.js';
3
- import { K as KindRegistry } from '../manager-B6sOQzcQ.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-B6sOQzcQ.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-DQL4xcpf.js';
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-CzoJ3MUw.js';
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.
@@ -1,16 +1,16 @@
1
- export { deserializeSchema } from '../chunk-EP4RUYD6.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-XYBQI6LE.js';
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-NNQ6A3RM.js';
5
- import '../chunk-AVGUJWVX.js';
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-NAZ2RA4L.js';
7
+ import '../chunk-UGHG7PGX.js';
8
8
  import '../chunk-NVY5CJFP.js';
9
- import '../chunk-SHSSRCFR.js';
9
+ import '../chunk-6LN7FIVU.js';
10
10
  import '../chunk-HEV35TGT.js';
11
11
  import '../chunk-GLHXM7C4.js';
12
- import '../chunk-XY5OMOJD.js';
13
- import '../chunk-NG2RB5WL.js';
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,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { d as GraphDef, t as VectorSlot } from './types-DKkMJZjR.js';
2
+ import { d8 as GraphDef, cK as VectorSlot } from './types-BqFZTQmV.cjs';
3
3
 
4
4
  /**
5
5
  * Embedding type for vector search.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { d as GraphDef, t as VectorSlot } from './types-DKkMJZjR.cjs';
2
+ import { d8 as GraphDef, cK as VectorSlot } from './types-BqFZTQmV.js';
3
3
 
4
4
  /**
5
5
  * Embedding type for vector search.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
2
- import { I as IndexDeclaration } from './types-DKkMJZjR.cjs';
2
+ import { I as IndexDeclaration } from './types-BqFZTQmV.js';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
2
- import { I as IndexDeclaration } from './types-DKkMJZjR.js';
2
+ import { I as IndexDeclaration } from './types-BqFZTQmV.cjs';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { cw as ValueType, cx as PredicateExpression, aN as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, $ as FieldRef, bk as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bR as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bj as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, a_ as HybridFusionOptions, b2 as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, a2 as TraversalDirection$1, aD as EdgeRegistration, bf as NodeId, bO as TransactionBackend, _ as AggregateExpr, bC as SortDirection, ak as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, cF as VectorSlotMap, cG as RecordedReadBinding, cH as SelectiveField, cI as ComposableQuery, cJ as SetOperationType, cK as SetOperation, G as GraphIdentityConfig, bg as NodeKinds, cL as NodeRow, K as KindEntity, aG as ExternalRecordedReadSource, aA as EdgeId, cM as EdgeRow, cN as BackendValidityEndMutation, bi as NodeRegistration, aB as EdgeKinds, bQ as TransactionReadBackend, a8 as AllNodeTypes, b7 as KindAnnotations, X as JsonSchema, bW as UniquenessScope, af as Collation, ae as Cardinality, aF as EndpointExistence, aW as GraphExtension, cO as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aq as ContributionProbeResult, at as ContributionRebuildScope, as as ContributionRebuildResult, bP as TransactionOptions, A as AdapterBackend } from './types-DKkMJZjR.js';
3
- import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CjO9FH1l.js';
4
- import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-D9gMiwcS.js';
5
- import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-B6sOQzcQ.js';
6
- import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-DQL4xcpf.js';
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.cjs';
3
+ import { R as RecordedInstant, d as ReadCoordinate } from './temporal-5GqpYCk2.cjs';
4
+ import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-DHJMh_nj.cjs';
5
+ import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-CYaff3n3.cjs';
6
+ import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-DTtAnvfY.cjs';
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. An update to a LIVE row stores no lower
2351
- * bound, because that row's is already history, so one naming a different
2352
- * instant is REFUSED (`ValidationError` carrying
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. An update to a LIVE row stores no lower
2373
- * bound, because that row's is already history, so one naming a different
2374
- * instant is REFUSED (`ValidationError` carrying
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. An update to a LIVE row stores no lower
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 row and when it RESURRECTS
2730
- * a tombstoned one — both write a fresh validity window — defaulting to the
2731
- * operation's timestamp when omitted. An update to a LIVE row stores no lower
2732
- * bound, because that row's is already history, so one naming a different
2733
- * instant is REFUSED (`ValidationError` carrying
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, defaulting to the
2811
- * operation's creation timestamp when omitted. On the `ifExists: "update"`
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
@@ -4100,6 +4155,22 @@ declare const STORE_RUNTIME: unique symbol;
4100
4155
  */
4101
4156
  type StoreRuntime<G extends GraphDef> = Readonly<{
4102
4157
  backend: GraphBackend;
4158
+ /**
4159
+ * @internal The backend this Store's queries actually execute through for
4160
+ * `target` — the Store's own backend when `target` is omitted.
4161
+ *
4162
+ * It is the SAME private construction the query path uses rather than a
4163
+ * reconstruction of it, because the object it returns is the one a lost
4164
+ * derivation corrupts: the hooked query backend is a transient local inside
4165
+ * query construction that is stored nowhere, so no other handle on it exists
4166
+ * and a regression there is invisible to every assertion about
4167
+ * {@link StoreRuntime.backend}.
4168
+ *
4169
+ * NOTE for anything asserting on it: with no query hook configured this
4170
+ * returns its argument unchanged, so a hookless Store answers with the very
4171
+ * object it was handed and a comparison against that object is a tautology.
4172
+ */
4173
+ queryBackend: (target?: GraphBackend | TransactionBackend) => GraphBackend;
4103
4174
  sealedQuery: (coordinate: ReadCoordinate) => InitialQueryBuilder<G, "sealed">;
4104
4175
  recordedNodeGetById: <N extends NodeType>(kind: string, id: NodeId<N>, coordinate: ReadCoordinate) => Promise<Node<N> | undefined>;
4105
4176
  recordedNodeGetByIds: <N extends NodeType>(kind: string, ids: readonly NodeId<N>[], coordinate: ReadCoordinate) => Promise<readonly (Node<N> | undefined)[]>;
@@ -4112,6 +4183,22 @@ type StoreRuntime<G extends GraphDef> = Readonly<{
4112
4183
  identityAtCoordinate: (coordinate: ReadCoordinate) => IdentityReadFacade<G>;
4113
4184
  rebuildIdentityClosure: () => Promise<void>;
4114
4185
  validateIdentity: () => Promise<void>;
4186
+ /**
4187
+ * Validates one final resolved node write set, then clears the affected
4188
+ * uniqueness sidecars so its upserts may claim their approved keys in any
4189
+ * order. The caller must supply a transaction-bound backend.
4190
+ */
4191
+ applyResolvedNodeUniqueness: <Output>(target: TransactionBackend, writes: Readonly<{
4192
+ upserts: readonly Readonly<{
4193
+ kind: string;
4194
+ id: string;
4195
+ props: Readonly<Record<string, unknown>>;
4196
+ }>[];
4197
+ releases: readonly Readonly<{
4198
+ kind: string;
4199
+ id: string;
4200
+ }>[];
4201
+ }>, apply: () => Promise<Output>) => Promise<Output>;
4115
4202
  /**
4116
4203
  * @internal Reads the graph's identity assertions in transfer shape, honoring
4117
4204
  * this store's SQL binding. Used by interchange export, base-version