@nicia-ai/typegraph 0.46.2 → 0.47.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 (294) hide show
  1. package/README.md +20 -1
  2. package/dist/backend/drizzle/indexes.cjs +9 -9
  3. package/dist/backend/drizzle/indexes.d.cts +1 -1
  4. package/dist/backend/drizzle/indexes.d.ts +1 -1
  5. package/dist/backend/drizzle/indexes.js +5 -5
  6. package/dist/backend/index.cjs +50 -49
  7. package/dist/backend/index.d.cts +3 -3
  8. package/dist/backend/index.d.ts +3 -3
  9. package/dist/backend/index.js +11 -10
  10. package/dist/backend/postgres/index.cjs +27 -26
  11. package/dist/backend/postgres/index.d.cts +6 -6
  12. package/dist/backend/postgres/index.d.ts +6 -6
  13. package/dist/backend/postgres/index.js +14 -13
  14. package/dist/backend/postgres/pglite-store.cjs +34 -33
  15. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  16. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  17. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  18. package/dist/backend/postgres/pglite-store.js +30 -29
  19. package/dist/backend/postgres/pglite-store.js.map +1 -1
  20. package/dist/backend/postgres/pglite.cjs +16 -15
  21. package/dist/backend/postgres/pglite.d.cts +3 -3
  22. package/dist/backend/postgres/pglite.d.ts +3 -3
  23. package/dist/backend/postgres/pglite.js +15 -14
  24. package/dist/backend/sqlite/index.cjs +24 -23
  25. package/dist/backend/sqlite/index.d.cts +6 -6
  26. package/dist/backend/sqlite/index.d.ts +6 -6
  27. package/dist/backend/sqlite/index.js +12 -11
  28. package/dist/backend/sqlite/libsql.cjs +19 -18
  29. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  30. package/dist/backend/sqlite/libsql.d.cts +3 -3
  31. package/dist/backend/sqlite/libsql.d.ts +3 -3
  32. package/dist/backend/sqlite/libsql.js +14 -13
  33. package/dist/backend/sqlite/libsql.js.map +1 -1
  34. package/dist/backend/sqlite/local-store.cjs +35 -34
  35. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +8 -8
  37. package/dist/backend/sqlite/local-store.d.ts +8 -8
  38. package/dist/backend/sqlite/local-store.js +31 -30
  39. package/dist/backend/sqlite/local-store.js.map +1 -1
  40. package/dist/backend/sqlite/local.cjs +17 -16
  41. package/dist/backend/sqlite/local.d.cts +3 -3
  42. package/dist/backend/sqlite/local.d.ts +3 -3
  43. package/dist/backend/sqlite/local.js +15 -14
  44. package/dist/{chunk-TCT66A7N.cjs → chunk-26YKDNUD.cjs} +10 -10
  45. package/dist/{chunk-TCT66A7N.cjs.map → chunk-26YKDNUD.cjs.map} +1 -1
  46. package/dist/{chunk-QOJ2L2AD.js → chunk-3DMMGT6S.js} +3 -3
  47. package/dist/{chunk-QOJ2L2AD.js.map → chunk-3DMMGT6S.js.map} +1 -1
  48. package/dist/{chunk-ANKOXPCC.cjs → chunk-3HGRTCDU.cjs} +6 -4
  49. package/dist/chunk-3HGRTCDU.cjs.map +1 -0
  50. package/dist/{chunk-QU7QLJA4.cjs → chunk-3U5ABFDW.cjs} +26 -26
  51. package/dist/{chunk-QU7QLJA4.cjs.map → chunk-3U5ABFDW.cjs.map} +1 -1
  52. package/dist/{chunk-5PDSCELM.cjs → chunk-425IZOQ5.cjs} +11 -164
  53. package/dist/chunk-425IZOQ5.cjs.map +1 -0
  54. package/dist/{chunk-S7WIRFNS.cjs → chunk-5FBRVORR.cjs} +12 -12
  55. package/dist/{chunk-S7WIRFNS.cjs.map → chunk-5FBRVORR.cjs.map} +1 -1
  56. package/dist/{chunk-GWXXHOLU.js → chunk-5FT3TLPK.js} +11 -11
  57. package/dist/{chunk-GWXXHOLU.js.map → chunk-5FT3TLPK.js.map} +1 -1
  58. package/dist/{chunk-S3G5VLSW.js → chunk-5UMTUOM5.js} +6 -6
  59. package/dist/{chunk-S3G5VLSW.js.map → chunk-5UMTUOM5.js.map} +1 -1
  60. package/dist/{chunk-RFDEYLIK.js → chunk-6FWSNSRE.js} +7 -7
  61. package/dist/{chunk-RFDEYLIK.js.map → chunk-6FWSNSRE.js.map} +1 -1
  62. package/dist/{chunk-F36KZDFX.cjs → chunk-6JVZSOHQ.cjs} +91 -91
  63. package/dist/{chunk-F36KZDFX.cjs.map → chunk-6JVZSOHQ.cjs.map} +1 -1
  64. package/dist/chunk-6KFLYYOC.cjs +161 -0
  65. package/dist/chunk-6KFLYYOC.cjs.map +1 -0
  66. package/dist/{chunk-D6GCNNMK.cjs → chunk-6NGW27EO.cjs} +10 -10
  67. package/dist/{chunk-D6GCNNMK.cjs.map → chunk-6NGW27EO.cjs.map} +1 -1
  68. package/dist/{chunk-WHS2Y43J.js → chunk-6SWPJEYN.js} +5 -5
  69. package/dist/{chunk-WHS2Y43J.js.map → chunk-6SWPJEYN.js.map} +1 -1
  70. package/dist/{chunk-7TKNK32B.js → chunk-7SQSZN2J.js} +5 -5
  71. package/dist/{chunk-7TKNK32B.js.map → chunk-7SQSZN2J.js.map} +1 -1
  72. package/dist/{chunk-BEB4OFZF.cjs → chunk-AMMWA76F.cjs} +51 -59
  73. package/dist/chunk-AMMWA76F.cjs.map +1 -0
  74. package/dist/{chunk-PYKF7UIL.cjs → chunk-AOSSQDVO.cjs} +13 -13
  75. package/dist/{chunk-PYKF7UIL.cjs.map → chunk-AOSSQDVO.cjs.map} +1 -1
  76. package/dist/{chunk-EDHV4CBU.js → chunk-AVGUJWVX.js} +30 -10
  77. package/dist/chunk-AVGUJWVX.js.map +1 -0
  78. package/dist/{chunk-C2ZP5YS6.cjs → chunk-BCQ76AXA.cjs} +258 -153
  79. package/dist/chunk-BCQ76AXA.cjs.map +1 -0
  80. package/dist/{chunk-WA64ZSCA.cjs → chunk-BFUOME67.cjs} +11 -11
  81. package/dist/{chunk-WA64ZSCA.cjs.map → chunk-BFUOME67.cjs.map} +1 -1
  82. package/dist/{chunk-C6KE2HSQ.cjs → chunk-BR7SHKGM.cjs} +1611 -1382
  83. package/dist/chunk-BR7SHKGM.cjs.map +1 -0
  84. package/dist/{chunk-FCIZNUW5.js → chunk-CHAOFCHV.js} +3 -3
  85. package/dist/{chunk-FCIZNUW5.js.map → chunk-CHAOFCHV.js.map} +1 -1
  86. package/dist/chunk-CICO5GXD.cjs +12 -0
  87. package/dist/{chunk-73MWKDFK.cjs.map → chunk-CICO5GXD.cjs.map} +1 -1
  88. package/dist/{chunk-SXWLLQ3D.js → chunk-D5R42W5D.js} +4 -4
  89. package/dist/{chunk-SXWLLQ3D.js.map → chunk-D5R42W5D.js.map} +1 -1
  90. package/dist/{chunk-YQ4JONWE.js → chunk-DJZTXBWY.js} +342 -113
  91. package/dist/chunk-DJZTXBWY.js.map +1 -0
  92. package/dist/{chunk-BZZI7B43.cjs → chunk-DO7SAMEK.cjs} +47 -47
  93. package/dist/{chunk-BZZI7B43.cjs.map → chunk-DO7SAMEK.cjs.map} +1 -1
  94. package/dist/{chunk-2ZWM2RFH.cjs → chunk-EDN4Y4ZG.cjs} +9 -9
  95. package/dist/{chunk-2ZWM2RFH.cjs.map → chunk-EDN4Y4ZG.cjs.map} +1 -1
  96. package/dist/{chunk-E4OSGBCM.cjs → chunk-EMIB2RXD.cjs} +131 -131
  97. package/dist/{chunk-E4OSGBCM.cjs.map → chunk-EMIB2RXD.cjs.map} +1 -1
  98. package/dist/{chunk-GWUWRZXW.js → chunk-EP4RUYD6.js} +3 -3
  99. package/dist/{chunk-GWUWRZXW.js.map → chunk-EP4RUYD6.js.map} +1 -1
  100. package/dist/{chunk-LHYSY6SE.js → chunk-FNOMT74T.js} +10 -8
  101. package/dist/chunk-FNOMT74T.js.map +1 -0
  102. package/dist/{chunk-ZBVZ7HXD.cjs → chunk-FQPEMEWX.cjs} +12 -12
  103. package/dist/{chunk-ZBVZ7HXD.cjs.map → chunk-FQPEMEWX.cjs.map} +1 -1
  104. package/dist/{chunk-LNIWCQR4.js → chunk-GLHXM7C4.js} +3 -3
  105. package/dist/{chunk-LNIWCQR4.js.map → chunk-GLHXM7C4.js.map} +1 -1
  106. package/dist/{chunk-6BD6ZBKT.cjs → chunk-GYEG3ZLZ.cjs} +10 -10
  107. package/dist/{chunk-6BD6ZBKT.cjs.map → chunk-GYEG3ZLZ.cjs.map} +1 -1
  108. package/dist/{chunk-XBHRKLZU.cjs → chunk-GYUJZARH.cjs} +4 -4
  109. package/dist/{chunk-XBHRKLZU.cjs.map → chunk-GYUJZARH.cjs.map} +1 -1
  110. package/dist/{chunk-A7NMUYEL.cjs → chunk-HDL2ARHX.cjs} +27 -27
  111. package/dist/{chunk-A7NMUYEL.cjs.map → chunk-HDL2ARHX.cjs.map} +1 -1
  112. package/dist/{chunk-5ZJOB5YS.js → chunk-HEV35TGT.js} +4 -4
  113. package/dist/{chunk-5ZJOB5YS.js.map → chunk-HEV35TGT.js.map} +1 -1
  114. package/dist/{chunk-UTVQPZPN.cjs → chunk-I4G3SQPF.cjs} +20 -20
  115. package/dist/{chunk-UTVQPZPN.cjs.map → chunk-I4G3SQPF.cjs.map} +1 -1
  116. package/dist/{chunk-JCNTKRAK.js → chunk-JONXFAPO.js} +5 -5
  117. package/dist/{chunk-JCNTKRAK.js.map → chunk-JONXFAPO.js.map} +1 -1
  118. package/dist/{chunk-GVAMRRZR.cjs → chunk-JR6SX5RH.cjs} +4 -4
  119. package/dist/{chunk-GVAMRRZR.cjs.map → chunk-JR6SX5RH.cjs.map} +1 -1
  120. package/dist/{chunk-N3QTGPC7.cjs → chunk-KABFHAL7.cjs} +100 -99
  121. package/dist/chunk-KABFHAL7.cjs.map +1 -0
  122. package/dist/{chunk-KXSMF6PL.js → chunk-KH7XW7VV.js} +20 -12
  123. package/dist/chunk-KH7XW7VV.js.map +1 -0
  124. package/dist/{chunk-EDJDDY6H.js → chunk-KKBDXCLQ.js} +4 -4
  125. package/dist/{chunk-EDJDDY6H.js.map → chunk-KKBDXCLQ.js.map} +1 -1
  126. package/dist/{chunk-ZHOAZD7Q.cjs → chunk-L3LQNR34.cjs} +161 -161
  127. package/dist/{chunk-ZHOAZD7Q.cjs.map → chunk-L3LQNR34.cjs.map} +1 -1
  128. package/dist/{chunk-IHRDX7K6.js → chunk-LEWHMOUY.js} +46 -56
  129. package/dist/chunk-LEWHMOUY.js.map +1 -0
  130. package/dist/{chunk-AF3TWL5C.cjs → chunk-LRQKXRXO.cjs} +4 -4
  131. package/dist/{chunk-AF3TWL5C.cjs.map → chunk-LRQKXRXO.cjs.map} +1 -1
  132. package/dist/{chunk-WYFB7BN3.js → chunk-M35DF33T.js} +143 -38
  133. package/dist/chunk-M35DF33T.js.map +1 -0
  134. package/dist/{chunk-32UETY6S.cjs → chunk-MFZR4QKM.cjs} +30 -28
  135. package/dist/chunk-MFZR4QKM.cjs.map +1 -0
  136. package/dist/chunk-MKJ4KXL5.cjs +12 -0
  137. package/dist/{chunk-6LAXM4J2.cjs.map → chunk-MKJ4KXL5.cjs.map} +1 -1
  138. package/dist/{chunk-KCH7WQA5.cjs → chunk-MRDBBHIZ.cjs} +48 -2
  139. package/dist/chunk-MRDBBHIZ.cjs.map +1 -0
  140. package/dist/{chunk-QPOQX2DI.cjs → chunk-MX4DHSQP.cjs} +1023 -360
  141. package/dist/chunk-MX4DHSQP.cjs.map +1 -0
  142. package/dist/{chunk-FXNHZFZV.js → chunk-MYKHJI2J.js} +3 -3
  143. package/dist/{chunk-FXNHZFZV.js.map → chunk-MYKHJI2J.js.map} +1 -1
  144. package/dist/{chunk-DSAWGCMP.js → chunk-NAZ2RA4L.js} +3 -3
  145. package/dist/{chunk-DSAWGCMP.js.map → chunk-NAZ2RA4L.js.map} +1 -1
  146. package/dist/{chunk-R7EWHKID.js → chunk-NG2RB5WL.js} +4 -145
  147. package/dist/chunk-NG2RB5WL.js.map +1 -0
  148. package/dist/{chunk-A2LJG5GM.js → chunk-NNQ6A3RM.js} +803 -143
  149. package/dist/chunk-NNQ6A3RM.js.map +1 -0
  150. package/dist/{chunk-72WUT4GG.js → chunk-NVY5CJFP.js} +4 -4
  151. package/dist/{chunk-72WUT4GG.js.map → chunk-NVY5CJFP.js.map} +1 -1
  152. package/dist/{chunk-ZIH42CRX.cjs → chunk-OI2GQ25X.cjs} +7 -7
  153. package/dist/{chunk-ZIH42CRX.cjs.map → chunk-OI2GQ25X.cjs.map} +1 -1
  154. package/dist/{chunk-A4R3H7RU.cjs → chunk-OIFSOPSR.cjs} +259 -238
  155. package/dist/chunk-OIFSOPSR.cjs.map +1 -0
  156. package/dist/{chunk-AU3IJNNP.js → chunk-OMZ37BM2.js} +5 -5
  157. package/dist/{chunk-AU3IJNNP.js.map → chunk-OMZ37BM2.js.map} +1 -1
  158. package/dist/{chunk-C4DYN2SD.cjs → chunk-OORXGFL5.cjs} +48 -48
  159. package/dist/{chunk-C4DYN2SD.cjs.map → chunk-OORXGFL5.cjs.map} +1 -1
  160. package/dist/{chunk-BRN3RGD2.js → chunk-OVI7IXYX.js} +3 -3
  161. package/dist/{chunk-BRN3RGD2.js.map → chunk-OVI7IXYX.js.map} +1 -1
  162. package/dist/{chunk-WMKEGJG4.js → chunk-P6YLZTRE.js} +3 -3
  163. package/dist/{chunk-WMKEGJG4.js.map → chunk-P6YLZTRE.js.map} +1 -1
  164. package/dist/{chunk-AT3MLMJV.js → chunk-QS3NQZVC.js} +82 -16
  165. package/dist/chunk-QS3NQZVC.js.map +1 -0
  166. package/dist/{chunk-EJSYWAEV.js → chunk-QTD6HX4O.js} +5 -5
  167. package/dist/{chunk-EJSYWAEV.js.map → chunk-QTD6HX4O.js.map} +1 -1
  168. package/dist/{chunk-JL5UEBWT.cjs → chunk-ROR5ZR6A.cjs} +45 -45
  169. package/dist/{chunk-JL5UEBWT.cjs.map → chunk-ROR5ZR6A.cjs.map} +1 -1
  170. package/dist/{chunk-FSLTU57P.js → chunk-SDBBMD4N.js} +3 -3
  171. package/dist/{chunk-FSLTU57P.js.map → chunk-SDBBMD4N.js.map} +1 -1
  172. package/dist/{chunk-WEJHA7AD.js → chunk-SE6EGQSD.js} +78 -16
  173. package/dist/chunk-SE6EGQSD.js.map +1 -0
  174. package/dist/{chunk-36LIJXWC.js → chunk-SHFBB23Q.js} +4 -4
  175. package/dist/{chunk-36LIJXWC.js.map → chunk-SHFBB23Q.js.map} +1 -1
  176. package/dist/{chunk-FA6Z7B5L.js → chunk-SHSSRCFR.js} +5 -3
  177. package/dist/chunk-SHSSRCFR.js.map +1 -0
  178. package/dist/{chunk-KOAI3KIV.cjs → chunk-TZEGUG6D.cjs} +4 -4
  179. package/dist/{chunk-KOAI3KIV.cjs.map → chunk-TZEGUG6D.cjs.map} +1 -1
  180. package/dist/{chunk-HNYLMPQQ.cjs → chunk-U5EDAVOJ.cjs} +140 -74
  181. package/dist/chunk-U5EDAVOJ.cjs.map +1 -0
  182. package/dist/{chunk-RHDOAQCT.cjs → chunk-UPAJHMW3.cjs} +122 -114
  183. package/dist/chunk-UPAJHMW3.cjs.map +1 -0
  184. package/dist/{chunk-BQM5P2NO.cjs → chunk-WGX7JH7E.cjs} +235 -170
  185. package/dist/chunk-WGX7JH7E.cjs.map +1 -0
  186. package/dist/{chunk-DYPRZ53S.cjs → chunk-WODMN3Q2.cjs} +27 -27
  187. package/dist/{chunk-DYPRZ53S.cjs.map → chunk-WODMN3Q2.cjs.map} +1 -1
  188. package/dist/{chunk-OZJCH7ZS.js → chunk-XVWOYKIK.js} +3 -3
  189. package/dist/{chunk-OZJCH7ZS.js.map → chunk-XVWOYKIK.js.map} +1 -1
  190. package/dist/chunk-XY5OMOJD.js +147 -0
  191. package/dist/chunk-XY5OMOJD.js.map +1 -0
  192. package/dist/{chunk-KA4L2NZ3.js → chunk-XYBQI6LE.js} +14 -14
  193. package/dist/{chunk-KA4L2NZ3.js.map → chunk-XYBQI6LE.js.map} +1 -1
  194. package/dist/{chunk-EAMVXR5B.js → chunk-ZDKTPBGV.js} +4 -4
  195. package/dist/{chunk-EAMVXR5B.js.map → chunk-ZDKTPBGV.js.map} +1 -1
  196. package/dist/{chunk-Z43KWLZF.js → chunk-ZHNXLS3C.js} +9 -8
  197. package/dist/chunk-ZHNXLS3C.js.map +1 -0
  198. package/dist/{chunk-62ZXBMSD.js → chunk-ZLONH2UD.js} +46 -3
  199. package/dist/chunk-ZLONH2UD.js.map +1 -0
  200. package/dist/core/index.cjs +28 -27
  201. package/dist/core/index.d.cts +4 -4
  202. package/dist/core/index.d.ts +4 -4
  203. package/dist/core/index.js +8 -7
  204. package/dist/{ddl-opIn8DfX.d.ts → ddl-CprnMXJ-.d.ts} +3 -3
  205. package/dist/{ddl-mE07h_EM.d.cts → ddl-DJA7Lci5.d.cts} +3 -3
  206. package/dist/graph-extension/index.cjs +20 -20
  207. package/dist/graph-extension/index.d.cts +4 -4
  208. package/dist/graph-extension/index.d.ts +4 -4
  209. package/dist/graph-extension/index.js +4 -4
  210. package/dist/graph-merge/index.cjs +3204 -635
  211. package/dist/graph-merge/index.cjs.map +1 -1
  212. package/dist/graph-merge/index.d.cts +502 -60
  213. package/dist/graph-merge/index.d.ts +502 -60
  214. package/dist/graph-merge/index.js +2979 -427
  215. package/dist/graph-merge/index.js.map +1 -1
  216. package/dist/{index-Deyu8IXL.d.ts → index-CHTv4XMZ.d.cts} +47 -3
  217. package/dist/{index-DrRS51Ld.d.cts → index-CzoJ3MUw.d.ts} +47 -3
  218. package/dist/index.cjs +229 -216
  219. package/dist/index.cjs.map +1 -1
  220. package/dist/index.d.cts +11 -11
  221. package/dist/index.d.ts +11 -11
  222. package/dist/index.js +35 -34
  223. package/dist/index.js.map +1 -1
  224. package/dist/indexes/index.cjs +13 -13
  225. package/dist/indexes/index.d.cts +4 -4
  226. package/dist/indexes/index.d.ts +4 -4
  227. package/dist/indexes/index.js +6 -6
  228. package/dist/interchange/index.cjs +53 -52
  229. package/dist/interchange/index.cjs.map +1 -1
  230. package/dist/interchange/index.d.cts +17 -13
  231. package/dist/interchange/index.d.ts +17 -13
  232. package/dist/interchange/index.js +17 -16
  233. package/dist/interchange/index.js.map +1 -1
  234. package/dist/{manager-DX983gJ0.d.ts → manager-B6sOQzcQ.d.ts} +2 -2
  235. package/dist/{manager-ptr3JLRP.d.cts → manager-DlY1vlla.d.cts} +2 -2
  236. package/dist/{materialize-indexes-CpXoggWU.d.ts → materialize-indexes-DQL4xcpf.d.ts} +1 -1
  237. package/dist/{materialize-indexes-BXz77YqO.d.cts → materialize-indexes-sskhp-c_.d.cts} +1 -1
  238. package/dist/{postgres-DwgEXSPI.d.cts → postgres-B6YOUcaK.d.ts} +1 -1
  239. package/dist/{postgres-QdOMHTBz.d.ts → postgres-BXy_nyMs.d.cts} +1 -1
  240. package/dist/profiler/index.d.cts +9 -9
  241. package/dist/profiler/index.d.ts +9 -9
  242. package/dist/provenance/index.cjs +43 -42
  243. package/dist/provenance/index.cjs.map +1 -1
  244. package/dist/provenance/index.d.cts +7 -7
  245. package/dist/provenance/index.d.ts +7 -7
  246. package/dist/provenance/index.js +10 -9
  247. package/dist/provenance/index.js.map +1 -1
  248. package/dist/schema/index.cjs +45 -44
  249. package/dist/schema/index.d.cts +6 -6
  250. package/dist/schema/index.d.ts +6 -6
  251. package/dist/schema/index.js +18 -17
  252. package/dist/{searchable-BrUh0pdc.d.cts → searchable-0Cn_lY8U.d.cts} +1 -1
  253. package/dist/{searchable-BOUuA83f.d.ts → searchable-D9gMiwcS.d.ts} +1 -1
  254. package/dist/{sqlite-BfYcV61E.d.cts → sqlite-ClXuBYAj.d.ts} +1 -1
  255. package/dist/{sqlite-DK40XVR1.d.ts → sqlite-DioSxaPe.d.cts} +1 -1
  256. package/dist/{store-Bo1psfVZ.d.ts → store-5j-w5onJ.d.ts} +120 -71
  257. package/dist/{store-FTqBpuJD.d.cts → store-CFedKGU5.d.cts} +120 -71
  258. package/dist/{temporal-CXewwLTB.d.cts → temporal-Ce1pG0S1.d.cts} +1 -1
  259. package/dist/{temporal-DPtn0HOu.d.ts → temporal-CjO9FH1l.d.ts} +1 -1
  260. package/dist/{types-CeT7xM4M.d.ts → types-BrdOFu48.d.ts} +1 -1
  261. package/dist/{types-Du78EvpN.d.ts → types-DKkMJZjR.d.cts} +32 -6
  262. package/dist/{types-Du78EvpN.d.cts → types-DKkMJZjR.d.ts} +32 -6
  263. package/dist/{types-XR1nHERK.d.cts → types-oj_OGAaZ.d.cts} +1 -1
  264. package/dist/{where-CMbFiWwp.d.ts → where-C8w2627G.d.ts} +1 -1
  265. package/dist/{where-CJsp-YUf.d.cts → where-D1wKCJ4Q.d.cts} +1 -1
  266. package/package.json +1 -1
  267. package/dist/chunk-32UETY6S.cjs.map +0 -1
  268. package/dist/chunk-5PDSCELM.cjs.map +0 -1
  269. package/dist/chunk-62ZXBMSD.js.map +0 -1
  270. package/dist/chunk-6LAXM4J2.cjs +0 -12
  271. package/dist/chunk-73MWKDFK.cjs +0 -12
  272. package/dist/chunk-A2LJG5GM.js.map +0 -1
  273. package/dist/chunk-A4R3H7RU.cjs.map +0 -1
  274. package/dist/chunk-ANKOXPCC.cjs.map +0 -1
  275. package/dist/chunk-AT3MLMJV.js.map +0 -1
  276. package/dist/chunk-BEB4OFZF.cjs.map +0 -1
  277. package/dist/chunk-BQM5P2NO.cjs.map +0 -1
  278. package/dist/chunk-C2ZP5YS6.cjs.map +0 -1
  279. package/dist/chunk-C6KE2HSQ.cjs.map +0 -1
  280. package/dist/chunk-EDHV4CBU.js.map +0 -1
  281. package/dist/chunk-FA6Z7B5L.js.map +0 -1
  282. package/dist/chunk-HNYLMPQQ.cjs.map +0 -1
  283. package/dist/chunk-IHRDX7K6.js.map +0 -1
  284. package/dist/chunk-KCH7WQA5.cjs.map +0 -1
  285. package/dist/chunk-KXSMF6PL.js.map +0 -1
  286. package/dist/chunk-LHYSY6SE.js.map +0 -1
  287. package/dist/chunk-N3QTGPC7.cjs.map +0 -1
  288. package/dist/chunk-QPOQX2DI.cjs.map +0 -1
  289. package/dist/chunk-R7EWHKID.js.map +0 -1
  290. package/dist/chunk-RHDOAQCT.cjs.map +0 -1
  291. package/dist/chunk-WEJHA7AD.js.map +0 -1
  292. package/dist/chunk-WYFB7BN3.js.map +0 -1
  293. package/dist/chunk-YQ4JONWE.js.map +0 -1
  294. package/dist/chunk-Z43KWLZF.js.map +0 -1
@@ -1,9 +1,9 @@
1
1
  import { z } from 'zod';
2
- import { cw as ValueType, cx as PredicateExpression, aY as FulltextQueryMode, cy as VectorMetricType, Q as QueryAst, J as JsonPointer, ad as FieldRef, bo as ParameterRef, u as NodeType, v as AnyEdgeType, a5 as EdgeType, bV as TraversalExpansion, y as GraphBackend, S as SqlDialect, w as SqlSchema, cz as Traversal, cA as NodePredicate, cB as ProjectedField, bn as OrderSpec, cC as AggregateOrderSpec, T as TemporalMode, cD as GroupBySpec, b7 as HybridFusionOptions, bb as JsonPointerInput, cE as RecursiveCyclePolicy, d as GraphDef, ag as TraversalDirection$1, aO as EdgeRegistration, _ as NodeId, bS as TransactionBackend, ac as AggregateExpr, bG as SortDirection, ax 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, a1 as NodeKinds, cL as NodeRow, K as KindEntity, aR as ExternalRecordedReadSource, $ as EdgeId, cM as EdgeRow, bm as NodeRegistration, aM as EdgeKinds, bU as TransactionReadBackend, al as AllNodeTypes, a3 as KindAnnotations, X as JsonSchema, b_ as UniquenessScope, as as Collation, ar as Cardinality, aQ as EndpointExistence, b4 as GraphExtension, cN as VectorMetric, B as BackendCapabilities, C as ContributionDiagnostic, c as ContributionRepairResult, aD as ContributionProbeResult, aG as ContributionRebuildScope, aF as ContributionRebuildResult, bT as TransactionOptions, A as AdapterBackend } from './types-Du78EvpN.cjs';
3
- import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CXewwLTB.cjs';
4
- import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-BrUh0pdc.cjs';
5
- import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-ptr3JLRP.cjs';
6
- import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-BXz77YqO.cjs';
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.cjs';
3
+ import { R as RecordedInstant, d as ReadCoordinate } from './temporal-Ce1pG0S1.cjs';
4
+ import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-0Cn_lY8U.cjs';
5
+ import { K as KindRegistry, S as SchemaManagerOptions, b as SchemaValidationResult } from './manager-DlY1vlla.cjs';
6
+ import { S as SchemaDiff, j as MaterializeIndexesOptions, M as MaterializeIndexesResult, k as MaterializeSystemIndexesOptions } from './materialize-indexes-sskhp-c_.cjs';
7
7
 
8
8
  type FieldTypeInfo = Readonly<{
9
9
  valueType: ValueType;
@@ -272,7 +272,11 @@ declare function notInSubquery(field: FieldRef, subquery: QueryAst): Predicate;
272
272
 
273
273
  declare const DYNAMIC_NODE_BRAND: unique symbol;
274
274
  declare const DYNAMIC_EDGE_BRAND: unique symbol;
275
- type DynamicNodeType = NodeType & Readonly<{
275
+ /** A runtime-registered node kind whose collection lookup preserved `K`. */
276
+ type DynamicNodeKind<K extends string = string> = K & Readonly<{
277
+ [DYNAMIC_NODE_BRAND]: true;
278
+ }>;
279
+ type DynamicNodeType<K extends string = string> = NodeType<DynamicNodeKind<K>> & Readonly<{
276
280
  [DYNAMIC_NODE_BRAND]: true;
277
281
  }>;
278
282
  type DynamicEdgeType = AnyEdgeType & Readonly<{
@@ -1643,6 +1647,13 @@ declare const RECORDED_POINT_READ_NAMES: readonly ["getById", "getByIds"];
1643
1647
  * Store types for TypeGraph operations.
1644
1648
  */
1645
1649
 
1650
+ /**
1651
+ * An explicit validity-end mutation. Omission preserves the stored end,
1652
+ * `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
1653
+ * two write actions mutually exclusive without exposing public `null`.
1654
+ */
1655
+ type ValidityEndMutation = BackendValidityEndMutation;
1656
+
1646
1657
  /**
1647
1658
  * Canonical mapping from snake_case row fields to camelCase meta fields.
1648
1659
  *
@@ -1707,8 +1718,7 @@ type UpdateNodeInput<N extends NodeType = NodeType> = Readonly<{
1707
1718
  kind: N["kind"];
1708
1719
  id: NodeId<N>;
1709
1720
  props: Partial<z.infer<N["schema"]>>;
1710
- validTo?: string;
1711
- }>;
1721
+ }> & ValidityEndMutation;
1712
1722
  /**
1713
1723
  * Metadata for an edge instance.
1714
1724
  * Derived from EdgeRow via TemporalMetaFieldMap (edges have no version).
@@ -1750,8 +1760,7 @@ type CreateEdgeInput<E extends AnyEdgeType = EdgeType> = Readonly<{
1750
1760
  type UpdateEdgeInput<E extends AnyEdgeType = EdgeType> = Readonly<{
1751
1761
  id: EdgeId<E>;
1752
1762
  props: Partial<z.infer<E["schema"]>>;
1753
- validTo?: string;
1754
- }>;
1763
+ }> & ValidityEndMutation;
1755
1764
  /**
1756
1765
  * Options for node and edge queries.
1757
1766
  */
@@ -1921,9 +1930,9 @@ type BaseStoreOptions = Readonly<{
1921
1930
  */
1922
1931
  autoRefreshStatistics?: false | number;
1923
1932
  /**
1924
- * Skip the write for an `upsertById` (or `bulkUpsertById` item) whose
1925
- * validated props are value-identical to the existing live row. Default
1926
- * off.
1933
+ * Skip the write for an `upsertById`, `bulkUpsertById` item, or endpoint
1934
+ * get-or-create update whose validated props are value-identical to the
1935
+ * existing live row. Default off.
1927
1936
  *
1928
1937
  * Enable this for at-least-once / replay materializers. An event log that
1929
1938
  * re-delivers a byte-identical change would otherwise rewrite the row anyway:
@@ -1944,7 +1953,12 @@ type BaseStoreOptions = Readonly<{
1944
1953
  * **no write at all**: no `updateNode`, no recorded-time capture, no history
1945
1954
  * row, no revision-anchor advance, and no `update` operation hooks (nothing
1946
1955
  * happened, so nothing is reported). It resolves with the **existing** node,
1947
- * preserving its original `validFrom` / `updatedAt` / `version`.
1956
+ * preserving its original `validFrom` / `updatedAt` / `version`. An endpoint
1957
+ * get-or-create reports action `"found"` when its requested update is
1958
+ * coalesced; `"updated"` always means an UPDATE actually ran.
1959
+ * Node `getOrCreateByConstraint` updates are outside this option's scope and
1960
+ * still write on every `ifExists: "update"` match; replay projectors that
1961
+ * need coalescing should use `upsertById` for nodes.
1948
1962
  *
1949
1963
  * Receipt shape is unchanged and needs no new signal: a coalesced upsert
1950
1964
  * still counts as one write intent (`writes.total` includes it), but
@@ -1960,9 +1974,8 @@ type BaseStoreOptions = Readonly<{
1960
1974
  * batch already queued (a create or an update).
1961
1975
  * 2. That row is not soft-deleted (a deleted row resurrects — a real
1962
1976
  * change — and is never coalesced).
1963
- * 3. The caller passed no explicit `validFrom` / `validTo` (an explicit
1964
- * temporal override is a deliberate request and is never coalesced;
1965
- * applied per item in the bulk path).
1977
+ * 3. Any requested `validFrom` / `validTo` names the window already stored;
1978
+ * a changed or inapplicable temporal request reaches the write path.
1966
1979
  * 4. The new props, merged over the stored props and run through the
1967
1980
  * kind's Zod schema (defaults applied, values normalized), are deeply
1968
1981
  * value-identical to the stored props (key order aside).
@@ -2240,13 +2253,7 @@ type EdgeGetOrCreateByEndpointsOptions<E extends AnyEdgeType> = Readonly<{
2240
2253
  * properties and `validTo`.
2241
2254
  */
2242
2255
  onImmutableLowerBound?: "preserve" | "refuse";
2243
- /**
2244
- * Valid-time end for a created, updated, or resurrected edge. Ignored when
2245
- * the operation returns an existing edge without writing. May not precede
2246
- * the row's effective start; see `INVERTED_VALIDITY_WINDOW_CODE`.
2247
- */
2248
- validTo?: string;
2249
- }>;
2256
+ }> & ValidityEndMutation;
2250
2257
  /**
2251
2258
  * A collection of nodes of a specific type.
2252
2259
  *
@@ -2267,10 +2274,11 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
2267
2274
  getById: (id: NodeId<N>, options?: QueryOptions) => Promise<Node<N> | undefined>;
2268
2275
  /** Get multiple nodes by ID, preserving input order (undefined for missing) */
2269
2276
  getByIds: (ids: readonly NodeId<N>[], options?: QueryOptions) => Promise<readonly (Node<N> | undefined)[]>;
2270
- /** Update a node */
2271
- update: (id: NodeId<N>, props: Partial<z.input<N["schema"]>>, options?: Readonly<{
2272
- validTo?: string;
2273
- }>) => Promise<Node<N>>;
2277
+ /**
2278
+ * Update a node's properties and optionally set or clear its validity end.
2279
+ * Omitting both end options preserves the stored window.
2280
+ */
2281
+ update: (id: NodeId<N>, props: Partial<z.input<N["schema"]>>, options?: ValidityEndMutation) => Promise<Node<N>>;
2274
2282
  /**
2275
2283
  * Updates every current node selected by the supplied predicates in one
2276
2284
  * set-based write. Relationship clauses are independent EXISTS predicates
@@ -2350,9 +2358,8 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
2350
2358
  */
2351
2359
  upsertById: (id: string, props: z.input<N["schema"]>, options?: Readonly<{
2352
2360
  validFrom?: string;
2353
- validTo?: string;
2354
2361
  onImmutableLowerBound?: "preserve" | "refuse";
2355
- }>) => Promise<Node<N>>;
2362
+ }> & ValidityEndMutation) => Promise<Node<N>>;
2356
2363
  /**
2357
2364
  * Upsert a node from untyped data, relying on runtime Zod validation.
2358
2365
  *
@@ -2371,9 +2378,8 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
2371
2378
  */
2372
2379
  upsertByIdFromRecord: (id: string, data: Record<string, unknown>, options?: Readonly<{
2373
2380
  validFrom?: string;
2374
- validTo?: string;
2375
2381
  onImmutableLowerBound?: "preserve" | "refuse";
2376
- }>) => Promise<Node<N>>;
2382
+ }> & ValidityEndMutation) => Promise<Node<N>>;
2377
2383
  /**
2378
2384
  * Create multiple nodes in a batch.
2379
2385
  *
@@ -2423,13 +2429,12 @@ type NodeCollection<N extends NodeType, CN extends string = string> = Readonly<{
2423
2429
  * the workaround is to split the handoff across two batches (release, then
2424
2430
  * claim) or to apply those items as sequential `upsertById` calls.
2425
2431
  */
2426
- bulkUpsertById: (items: readonly Readonly<{
2432
+ bulkUpsertById: (items: readonly (Readonly<{
2427
2433
  id: string;
2428
2434
  props: z.input<N["schema"]>;
2429
2435
  validFrom?: string;
2430
- validTo?: string;
2431
2436
  onImmutableLowerBound?: "preserve" | "refuse";
2432
- }>[]) => Promise<Node<N>[]>;
2437
+ }> & ValidityEndMutation)[]) => Promise<Node<N>[]>;
2433
2438
  /**
2434
2439
  * Insert multiple nodes without returning results.
2435
2440
  *
@@ -2583,10 +2588,11 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
2583
2588
  getById: (id: EdgeId<E>, options?: QueryOptions) => Promise<Edge<E, From, To> | undefined>;
2584
2589
  /** Get multiple edges by ID, preserving input order (undefined for missing) */
2585
2590
  getByIds: (ids: readonly EdgeId<E>[], options?: QueryOptions) => Promise<readonly (Edge<E, From, To> | undefined)[]>;
2586
- /** Update an edge's properties */
2587
- update: (id: EdgeId<E>, props: Partial<z.input<E["schema"]>>, options?: Readonly<{
2588
- validTo?: string;
2589
- }>) => Promise<Edge<E, From, To>>;
2591
+ /**
2592
+ * Update an edge's properties and optionally set or clear its validity end.
2593
+ * Reopening a `oneActive` edge rechecks cardinality before the write.
2594
+ */
2595
+ update: (id: EdgeId<E>, props: Partial<z.input<E["schema"]>>, options?: ValidityEndMutation) => Promise<Edge<E, From, To>>;
2590
2596
  /**
2591
2597
  * Find edges from a specific node.
2592
2598
  *
@@ -2740,14 +2746,13 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
2740
2746
  * than silent, and the workaround is to split the handoff across two batches
2741
2747
  * (free the slot, then claim it) or to apply those items individually.
2742
2748
  */
2743
- bulkUpsertById: (items: readonly Readonly<{
2749
+ bulkUpsertById: (items: readonly (Readonly<{
2744
2750
  id: EdgeId<E>;
2745
2751
  from: NodeRef<From>;
2746
2752
  to: NodeRef<To>;
2747
2753
  props?: z.input<E["schema"]>;
2748
2754
  validFrom?: string;
2749
- validTo?: string;
2750
- }>[]) => Promise<Edge<E, From, To>[]>;
2755
+ }> & ValidityEndMutation)[]) => Promise<Edge<E, From, To>[]>;
2751
2756
  /**
2752
2757
  * Insert multiple edges without returning results.
2753
2758
  *
@@ -2824,14 +2829,13 @@ type EdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To
2824
2829
  * Results are returned in the same order as the input items.
2825
2830
  * Atomic when the backend supports transactions.
2826
2831
  */
2827
- bulkGetOrCreateByEndpoints: (items: readonly Readonly<{
2832
+ bulkGetOrCreateByEndpoints: (items: readonly (Readonly<{
2828
2833
  from: NodeRef<From>;
2829
2834
  to: NodeRef<To>;
2830
2835
  props: z.input<E["schema"]>;
2831
2836
  validFrom?: string;
2832
- validTo?: string;
2833
2837
  onImmutableLowerBound?: "preserve" | "refuse";
2834
- }>[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
2838
+ }> & ValidityEndMutation)[], options?: Pick<EdgeGetOrCreateByEndpointsOptions<E>, "matchOn" | "ifExists">) => Promise<EdgeGetOrCreateByEndpointsResult<E, From, To>[]>;
2835
2839
  }>;
2836
2840
  /**
2837
2841
  * Extract uniqueness constraint names from a NodeRegistration.
@@ -3042,7 +3046,7 @@ type TransactionCollections<G extends GraphDef> = Readonly<{
3042
3046
  * `Store.getNodeCollection`. Returns `undefined` when `kind` is not
3043
3047
  * registered in this graph.
3044
3048
  */
3045
- getNodeCollection: (kind: string) => DynamicNodeCollection | undefined;
3049
+ getNodeCollection: <const K extends string>(kind: K) => DynamicNodeCollection<K> | undefined;
3046
3050
  }> & (G["identity"] extends GraphIdentityConfig ? Readonly<{
3047
3051
  identity: IdentityFacade<G>;
3048
3052
  }> : Readonly<Record<never, never>>);
@@ -3098,6 +3102,20 @@ type MeasurableTransactionContext<G extends GraphDef> = TransactionContext<G> &
3098
3102
  type MeasurableAdapterTransactionContext<G extends GraphDef, TNativeTransaction> = AdapterTransactionContext<G, TNativeTransaction> & Readonly<{
3099
3103
  measure: ScopedMeasure<MeasurableAdapterTransactionContext<G, TNativeTransaction>>;
3100
3104
  }>;
3105
+ /**
3106
+ * A node returned by a runtime string-keyed collection.
3107
+ *
3108
+ * Its nominal node-type brand proves the value passed through the dynamic
3109
+ * collection API while its properties remain runtime-schema-shaped.
3110
+ */
3111
+ type DynamicNode<K extends string = string> = Node<DynamicNodeType<K>>;
3112
+ declare const DYNAMIC_NODE_REFERENCE_BRAND: unique symbol;
3113
+ /** A nominal lightweight reference returned by runtime-aware identity reads. */
3114
+ type DynamicNodeReference<K extends string = string> = Readonly<{
3115
+ kind: DynamicNodeKind<K>;
3116
+ id: NodeId<DynamicNodeType<K>>;
3117
+ [DYNAMIC_NODE_REFERENCE_BRAND]: true;
3118
+ }>;
3101
3119
  /**
3102
3120
  * Replace branded `NodeId` / `EdgeId` with plain `string` in each
3103
3121
  * method's parameter list. Return types are preserved unchanged.
@@ -3122,15 +3140,15 @@ type UnbrandRecord<T extends Record<string, unknown>> = {
3122
3140
  * A node collection with widened generics for runtime string-keyed access.
3123
3141
  *
3124
3142
  * This is the return type of `store.getNodeCollection(kind)`. It exposes
3125
- * the full `NodeCollection` API but with `NodeType` and `string` constraint
3126
- * names instead of the specific generic parameters, since the concrete type
3127
- * is not known at compile time.
3143
+ * the full `NodeCollection` API but with a nominal `DynamicNodeType` and
3144
+ * `string` constraint names instead of the specific generic parameters, since
3145
+ * the concrete type is not known at compile time.
3128
3146
  *
3129
3147
  * ID parameters accept plain `string` instead of branded `NodeId<N>`, since
3130
3148
  * the dynamic path typically receives IDs from edge metadata, snapshots,
3131
3149
  * or external input where the brand is not available.
3132
3150
  */
3133
- type DynamicNodeCollection = WidenBrandedIds<NodeCollection<NodeType, string>>;
3151
+ type DynamicNodeCollection<K extends string = string> = WidenBrandedIds<NodeCollection<DynamicNodeType<K>, string>>;
3134
3152
  /**
3135
3153
  * An edge collection with widened generics for runtime string-keyed access.
3136
3154
  *
@@ -3182,19 +3200,28 @@ type StoreProjection<G extends GraphDef, N extends keyof G["nodes"] & string = n
3182
3200
  }>;
3183
3201
 
3184
3202
  /**
3185
- * The loose *input* form every identity facade method accepts: a whole node, a
3186
- * bare id, or a `{ kind, id }` pair, for any node kind in the graph. Its kind
3187
- * and id are independent, so a caller can pass what it already has without
3188
- * re-correlating them.
3203
+ * The accepted *input* form for every identity facade method: a whole node or
3204
+ * a `{ kind, id }` pair for any compile-time graph kind, plus a proof-bearing
3205
+ * node or reference produced through the runtime collection lane. Runtime
3206
+ * values stay nominal so accepting them does not make an arbitrary
3207
+ * `{ kind: string, id: string }` object type-safe.
3208
+ *
3209
+ * Identity results use {@link IdentityNodeReference}, which honestly includes
3210
+ * runtime kinds because an evolved kind can belong to a class reached from a
3211
+ * compile-time node.
3212
+ */
3213
+ type IdentityNodeRefInput<G extends GraphDef> = NodeRef<AllNodeTypes<G>> | DynamicNode | DynamicNodeReference;
3214
+ /**
3215
+ * A node reference returned by Operational Identity.
3189
3216
  *
3190
- * Identity *results* use the strict {@link GraphNodeReference} instead, whose
3191
- * `kind` and branded `id` stay correlated.
3217
+ * Identity classes can contain runtime-evolved kinds even when a read starts
3218
+ * from a compile-time node, so results honestly include both lanes.
3192
3219
  */
3193
- type IdentityNodeRefInput<G extends GraphDef> = NodeRef<AllNodeTypes<G>>;
3194
- /** A hydrated identity member, discriminated by its registered node kind. */
3220
+ type IdentityNodeReference<G extends GraphDef> = GraphNodeReference<G> | DynamicNodeReference;
3221
+ /** A hydrated compile-time or runtime identity member. */
3195
3222
  type IdentityNode<G extends GraphDef> = {
3196
3223
  [K in NodeKinds<G>]: Node<G["nodes"][K]["type"]>;
3197
- }[NodeKinds<G>];
3224
+ }[NodeKinds<G>] | DynamicNode;
3198
3225
  declare const __identityAssertionId: unique symbol;
3199
3226
  type IdentityAssertionId = string & Readonly<{
3200
3227
  [__identityAssertionId]: true;
@@ -3224,8 +3251,8 @@ type IdentityRelation = "same" | "different";
3224
3251
  type IdentityAssertion<G extends GraphDef> = Readonly<{
3225
3252
  id: IdentityAssertionId;
3226
3253
  relation: IdentityRelation;
3227
- a: GraphNodeReference<G>;
3228
- b: GraphNodeReference<G>;
3254
+ a: IdentityNodeReference<G>;
3255
+ b: IdentityNodeReference<G>;
3229
3256
  validFrom: string;
3230
3257
  validTo?: string;
3231
3258
  }>;
@@ -3234,11 +3261,16 @@ type IdentityAssertionResult<G extends GraphDef> = Readonly<{
3234
3261
  assertion: IdentityAssertion<G>;
3235
3262
  action: "created" | "existing";
3236
3263
  }>;
3264
+ /** The half-open effective-time window of an identity assertion. */
3265
+ type IdentityValidityWindow = Readonly<{
3266
+ validFrom?: string;
3267
+ validTo?: string;
3268
+ }>;
3237
3269
  /** One ordered node pair handed to `bulkAssertSame` / `bulkAssertDifferent`. */
3238
3270
  type IdentityPair<G extends GraphDef> = Readonly<{
3239
3271
  a: IdentityNodeRefInput<G>;
3240
3272
  b: IdentityNodeRefInput<G>;
3241
- }>;
3273
+ }> & IdentityValidityWindow;
3242
3274
  /**
3243
3275
  * The read half of the identity surface: equivalence-set membership,
3244
3276
  * representative selection, and the assertions behind them.
@@ -3248,8 +3280,8 @@ type IdentityPair<G extends GraphDef> = Readonly<{
3248
3280
  * The full read+write surface is {@link IdentityFacade}.
3249
3281
  */
3250
3282
  type IdentityReadFacade<G extends GraphDef> = Readonly<{
3251
- representativeOf: (ref: IdentityNodeRefInput<G>) => Promise<GraphNodeReference<G> | undefined>;
3252
- membersOf: (ref: IdentityNodeRefInput<G>) => Promise<readonly GraphNodeReference<G>[]>;
3283
+ representativeOf: (ref: IdentityNodeRefInput<G>) => Promise<IdentityNodeReference<G> | undefined>;
3284
+ membersOf: (ref: IdentityNodeRefInput<G>) => Promise<readonly IdentityNodeReference<G>[]>;
3253
3285
  nodesOf: (ref: IdentityNodeRefInput<G>) => Promise<readonly IdentityNode<G>[]>;
3254
3286
  areSame: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>) => Promise<boolean>;
3255
3287
  areDifferent: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>) => Promise<boolean>;
@@ -3265,8 +3297,8 @@ type IdentityReadFacade<G extends GraphDef> = Readonly<{
3265
3297
  * `action: "existing"` rather than duplicating it.
3266
3298
  */
3267
3299
  type IdentityFacade<G extends GraphDef> = IdentityReadFacade<G> & Readonly<{
3268
- assertSame: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>) => Promise<IdentityAssertionResult<G>>;
3269
- assertDifferent: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>) => Promise<IdentityAssertionResult<G>>;
3300
+ assertSame: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>, window?: IdentityValidityWindow) => Promise<IdentityAssertionResult<G>>;
3301
+ assertDifferent: (a: IdentityNodeRefInput<G>, b: IdentityNodeRefInput<G>, window?: IdentityValidityWindow) => Promise<IdentityAssertionResult<G>>;
3270
3302
  bulkAssertSame: (pairs: readonly IdentityPair<G>[]) => Promise<readonly IdentityAssertionResult<G>[]>;
3271
3303
  bulkAssertDifferent: (pairs: readonly IdentityPair<G>[]) => Promise<readonly IdentityAssertionResult<G>[]>;
3272
3304
  retractAssertion: (id: IdentityAssertionId) => Promise<IdentityAssertion<G> | undefined>;
@@ -3733,7 +3765,7 @@ type InternalGraphAlgorithms<G extends GraphDef> = Readonly<{
3733
3765
  */
3734
3766
  declare const HISTORY_STORE_BACKEND_KEYS: readonly ["assertRuntimeContributionsInitialized", "assertVectorSlotInitialized", "assertVectorSlotsInitialized", "bootstrapTables", "capabilities", "checkUnique", "checkUniqueBatch", "claimIndexMaterialization", "close", "commitSchemaVersion", "commitSchemaVersionIfKindsEmpty", "lockSchemaVersionForWrite", "compileSql", "countEdgesByKind", "countEdgesFrom", "countNodesByKind", "createVectorIndex", "deleteEdge", "deleteEdgesBatch", "deleteEmbedding", "deleteEmbeddingBatch", "deleteFulltext", "deleteFulltextBatch", "deleteNode", "deleteUnique", "hardDeleteUniquesByNodeIds", "deleteVectorSlotContribution", "dialect", "dropVectorIndex", "edgeExistsBetween", "ensureContributionMaterializationsTable", "ensureFulltextTable", "ensureIndexMaterializationsTable", "ensureKindRemovalsTable", "ensureReconciliationMarkersTable", "ensureRevisionOriginsTable", "ensureRuntimeContributions", "ensureVectorSlotContribution", "ensureVectorSlotContributions", "execute", "executeTemporaryStatement", "findEdgesByKind", "findEdgesByEndpointSet", "findEdgesByHeterogeneousEndpointSet", "findEdgesConnectedTo", "findNodesByKind", "fulltextSearch", "fulltextStrategy", "getActiveSchema", "getAllKindRemovals", "getContributionMaterialization", "getEdge", "getEdges", "getIndexMaterialization", "getIndexMaterializations", "getNode", "getNodes", "getPendingKindRemovals", "getReconciliationMarker", "getSchemaVersion", "hardDeleteEdge", "hardDeleteEdgesBatch", "hardDeleteNode", "hardDeleteUniquesByNodeIds", "hybridSearch", "insertEdge", "insertEdgeNoReturn", "insertEdgesBatch", "insertEdgesBatchReturning", "insertNode", "insertNodeNoReturn", "insertNodesBatch", "insertNodesBatchReturning", "insertUnique", "insertUniqueBatch", "probeContributions", "recordContributionMaterialization", "recordIndexMaterialization", "recordKindRemoval", "refreshStatistics", "releaseIndexMaterializationClaim", "setActiveVersion", "setReconciliationMarker", "tableNames", "updateEdge", "updateNode", "updateNodeSet", "upsertEmbedding", "upsertEmbeddingBatch", "upsertFulltext", "upsertFulltextBatch", "vectorSearch", "vectorStrategy", "verifyContributions"];
3735
3767
  type HistoryStoreBackendMember = (typeof HISTORY_STORE_BACKEND_KEYS)[number];
3736
- type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "identityTableDdl" | "rebuildContribution" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
3768
+ type UnsafeHistoryStoreBackendMember = "clearGraph" | "commitSchemaVersionWithPreflight" | "executeDdl" | "executeRaw" | "executeStatement" | "ensureIdentityTables" | "ensureTrigramExtension" | "identityTableDdl" | "rebuildContribution" | "repairContributions" | "schemaWriteTransaction" | "transaction" | "trustedImport";
3737
3769
  type UnclassifiedHistoryStoreBackendMember = Exclude<keyof GraphBackend, HistoryStoreBackendMember | UnsafeHistoryStoreBackendMember>;
3738
3770
  type HistoryStoreBackend = UnclassifiedHistoryStoreBackendMember extends never ? Readonly<Pick<GraphBackend, HistoryStoreBackendMember>> : never;
3739
3771
 
@@ -4225,7 +4257,24 @@ type StoreRuntime<G extends GraphDef> = Readonly<{
4225
4257
  created: number;
4226
4258
  skipped: number;
4227
4259
  }>>;
4228
- applyIdentityMergeAtTarget: (target: GraphBackend | TransactionBackend, retractionIds: readonly string[], assertions: readonly Readonly<{
4260
+ applyIdentityMergeAtTarget: (target: GraphBackend | TransactionBackend, retractions: readonly Readonly<{
4261
+ id: string;
4262
+ relation: "same" | "different";
4263
+ a: Readonly<{
4264
+ kind: string;
4265
+ id: string;
4266
+ }>;
4267
+ b: Readonly<{
4268
+ kind: string;
4269
+ id: string;
4270
+ }>;
4271
+ validFrom: string;
4272
+ validTo?: string | undefined;
4273
+ endedBy?: Readonly<{
4274
+ kind: string;
4275
+ id: string;
4276
+ }> | undefined;
4277
+ }>[], assertions: readonly Readonly<{
4229
4278
  id: string;
4230
4279
  relation: "same" | "different";
4231
4280
  a: Readonly<{
@@ -4894,8 +4943,8 @@ type StoreCore<G extends GraphDef> = Readonly<{
4894
4943
  edges: GraphEdgeCollections<G>;
4895
4944
  algorithms: GraphAlgorithms<G>;
4896
4945
  search: StoreSearch<G>;
4897
- getNodeCollection: (kind: string) => DynamicNodeCollection | undefined;
4898
- getNodeCollectionOrThrow: (kind: string) => DynamicNodeCollection;
4946
+ getNodeCollection: <const K extends string>(kind: K) => DynamicNodeCollection<K> | undefined;
4947
+ getNodeCollectionOrThrow: <const K extends string>(kind: K) => DynamicNodeCollection<K>;
4899
4948
  getEdgeCollection: (kind: string) => DynamicEdgeCollection | undefined;
4900
4949
  getEdgeCollectionOrThrow: (kind: string) => DynamicEdgeCollection;
4901
4950
  getNodePropsSchema: (kind: string) => z.ZodObject<z.ZodRawShape> | undefined;
@@ -5227,4 +5276,4 @@ declare function createVerifiedAdapterStore<G extends GraphDef, TNativeTransacti
5227
5276
  SchemaValidationResult
5228
5277
  ]>;
5229
5278
 
5230
- export { type DynamicNodeCollection as $, type AliasMap as A, type BaseStoreOptions as B, type BatchResults as C, type BatchableQuery as D, type EdgeAliasMap as E, type BulkEdgeSourceGroup as F, type BulkFindEdgesFromParams as G, type HistoryStoreOptions as H, type IdentityAssertion as I, type BulkFindEdgesFromResult as J, type BulkOperationHookContext as K, type LiveStoreOptions as L, type ConstraintNames as M, type Node as N, type CreateEdgeInput as O, type CreateNodeInput as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type DegreeOptions as V, type DynamicEdgeAccessor as W, type DynamicEdgeCollection as X, type DynamicEdgeType as Y, type DynamicFieldBuilder as Z, type DynamicNodeAccessor as _, type Store as a, type PaginateOptions as a$, type DynamicNodeType as a0, type DynamicSelectableEdge as a1, type DynamicSelectableNode as a2, type Edge as a3, type EdgeAccessor as a4, type EdgeBatchReads as a5, type EdgeBulkFindEndpointOptions as a6, type EdgeBulkFindOptions as a7, type EdgeCollection as a8, type EdgeFindByEndpointsOptions as a9, type InitialQueryBuilder as aA, type KindIntrospection as aB, type LabelPropagationMembership as aC, type LabelPropagationOptions as aD, type MaterializeRemovalsEntry as aE, type MaterializeRemovalsOptions as aF, type MaterializeRemovalsResult as aG, type MeasurableAdapterHistoryTransactionContext as aH, type MeasurableAdapterTransactionContext as aI, type MeasurableTransactionContext as aJ, type NeighborsOptions as aK, type NoRecordedCoordinate as aL, type NodeAccessor as aM, type NodeAlias as aN, type NodeBulkFindByIndexOptions as aO, type NodeCollection as aP, type NodeCurrentReads as aQ, type NodeGetOrCreateByConstraintOptions as aR, type NodeGetOrCreateByConstraintResult as aS, type NodeIdentifier as aT, type NodeRef as aU, type NodeTemporalReads as aV, type NodeWrites as aW, type OntologyIntrospection as aX, type OperationHookContext as aY, type PageRankOptions as aZ, type PageRankScore as a_, type EdgeGetOrCreateByEndpointsOptions as aa, type EdgeGetOrCreateByEndpointsResult as ab, type EdgeIntrospection as ac, type EdgeTemporalReads as ad, type EdgeWrites as ae, type EmptyAliasMap as af, type EmptyEdgeAliasMap as ag, ExecutableAggregateQuery as ah, ExecutableQuery as ai, type FieldAccessor as aj, type FulltextSearchHit as ak, type FulltextSearchOptions as al, type GetOrCreateAction as am, type GraphAlgorithms as an, type GraphEdgeCollections as ao, type GraphEdgeForKinds as ap, type GraphNodeCollections as aq, type GraphNodeReference as ar, type HistoryStoreBackend as as, type HookContext as at, type HybridFulltextOptions as au, type HybridSearchHit as av, type HybridSearchOptions as aw, type HybridVectorOptions as ax, type IdentityTraversalOption as ay, type IfExistsMode as az, type HistoryStore as b, type SubsetEdge as b$, type PaginatedResult as b0, type PathNode as b1, type PersonalizedPageRankOptions as b2, type PersonalizedPageRankSeed as b3, type Predicate as b4, PreparedQuery as b5, type PropsAccessor as b6, type QueryHookContext as b7, type QueryOptions as b8, type ReachableNode as b9, type StoreHooks as bA, type StoreProjection as bB, type StoreRef as bC, StoreSearch as bD, StoreView as bE, type StoreViewCanReachOptions as bF, type StoreViewCoordinate as bG, type StoreViewDegreeOptions as bH, type StoreViewEdgeCollection as bI, type StoreViewEdgeCollections as bJ, type StoreViewGraphAlgorithms as bK, type StoreViewLabelPropagationOptions as bL, type StoreViewNeighborsOptions as bM, type StoreViewNodeCollection as bN, type StoreViewNodeCollections as bO, type StoreViewPageRankOptions as bP, type StoreViewPersonalizedPageRankOptions as bQ, type StoreViewReachableOptions as bR, type StoreViewShortestPathOptions as bS, type StoreViewSubgraphOptions as bT, type StoreViewWeaklyConnectedComponentsOptions as bU, type StoreViewWeightedShortestPathOptions as bV, type StreamOptions as bW, type SubgraphEdgeResult as bX, type SubgraphNodeResult as bY, type SubgraphOptions as bZ, type SubgraphResult as b_, type ReachableOptions as ba, type RebuildContributionOptions as bb, type RebuildFulltextOptions as bc, type RebuildFulltextResult as bd, type ReclaimedVectorFieldEntry as be, type ReconciledSchema as bf, type RecordedScanOptions as bg, type RecordedScanPage as bh, RecordedStoreView as bi, type RecordedStoreViewEdgeCollection as bj, type RecordedStoreViewEdgeCollections as bk, type RecordedStoreViewNodeCollection as bl, type RecordedStoreViewNodeCollections as bm, type RecursiveTraversalOptions as bn, type ReembedFunction as bo, type ReembedVectorFieldOptions as bp, type ReembedVectorFieldResult as bq, type SchemaIntrospection as br, type ScopedMeasure as bs, type SearchScopeOptions as bt, type SelectContext as bu, type SelectableEdge as bv, type SelectableNode as bw, type ShortestPathOptions as bx, type ShortestPathResult as by, type SqlAvailability as bz, type RecordedReadStore as c, type SubsetNode as c0, type TemporalAlgorithmOptions as c1, type TransactionContext as c2, type TransactionOutcome as c3, type TransactionReceipt as c4, type TraversalDirection as c5, type TypedEdgeCollection as c6, type TypedRecordedStoreViewEdgeCollection as c7, type TypedStoreViewEdgeCollection as c8, UnionableQuery as c9, type UpdateEdgeInput as ca, type UpdateNodeInput as cb, type VectorSearchHit as cc, type VectorSearchOptions as cd, type WeaklyConnectedComponentMembership as ce, type WeaklyConnectedComponentsOptions as cf, type WeightedShortestPathOptions as cg, type WeightedShortestPathResult as ch, asIdentityAssertionId as ci, createAdapterStore as cj, createAdapterStoreWithSchema as ck, createQueryBuilder as cl, createStore as cm, createStoreWithSchema as cn, createVerifiedAdapterStore as co, createVerifiedStore as cp, defineSubgraphProject as cq, exists as cr, fieldRef as cs, inSubquery as ct, isParameterRef as cu, notExists as cv, notInSubquery as cw, param as cx, 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 UniqueIntrospection as m, type RecursiveAliasMap as n, QueryBuilder as o, type EmptyRecursiveAliasMap as p, type AdapterHistoryStore as q, type AdapterHistoryTransactionContext as r, type AdapterRecordedReadStore as s, type AdapterStore as t, type AdapterTransactionContext as u, type AggregateResult as v, type AlgorithmCyclePolicy as w, type AnyEdge as x, type AnyNode as y, type BaseTraversalOptions as z };
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 OntologyIntrospection 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 IdentityTraversalOption as aA, type IdentityValidityWindow as aB, type IfExistsMode as aC, type InitialQueryBuilder as aD, type KindIntrospection as aE, type LabelPropagationMembership as aF, type LabelPropagationOptions as aG, type MaterializeRemovalsEntry as aH, type MaterializeRemovalsOptions as aI, type MaterializeRemovalsResult as aJ, type MeasurableAdapterHistoryTransactionContext as aK, type MeasurableAdapterTransactionContext as aL, type MeasurableTransactionContext as aM, type NeighborsOptions as aN, type NoRecordedCoordinate as aO, type Node as aP, type NodeAccessor as aQ, type NodeAlias as aR, type NodeBulkFindByIndexOptions as aS, type NodeCollection as aT, type NodeCurrentReads as aU, type NodeGetOrCreateByConstraintOptions as aV, type NodeGetOrCreateByConstraintResult as aW, type NodeIdentifier as aX, type NodeRef as aY, type NodeTemporalReads as aZ, type NodeWrites 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 IdentityNodeReference as az, type HistoryStore as b, type SubgraphEdgeResult as b$, type OperationHookContext as b0, type PageRankOptions as b1, type PageRankScore as b2, type PaginateOptions as b3, type PaginatedResult as b4, type PathNode as b5, type PersonalizedPageRankOptions as b6, type PersonalizedPageRankSeed as b7, type Predicate as b8, PreparedQuery as b9, type SelectableNode as bA, type ShortestPathOptions as bB, type ShortestPathResult as bC, type SqlAvailability as bD, type StoreHooks as bE, type StoreProjection as bF, type StoreRef as bG, StoreSearch as bH, StoreView as bI, type StoreViewCanReachOptions as bJ, type StoreViewCoordinate as bK, type StoreViewDegreeOptions as bL, type StoreViewEdgeCollection as bM, type StoreViewEdgeCollections as bN, type StoreViewGraphAlgorithms as bO, type StoreViewLabelPropagationOptions as bP, type StoreViewNeighborsOptions as bQ, type StoreViewNodeCollection as bR, type StoreViewNodeCollections as bS, type StoreViewPageRankOptions as bT, type StoreViewPersonalizedPageRankOptions as bU, type StoreViewReachableOptions as bV, type StoreViewShortestPathOptions as bW, type StoreViewSubgraphOptions as bX, type StoreViewWeaklyConnectedComponentsOptions as bY, type StoreViewWeightedShortestPathOptions as bZ, type StreamOptions as b_, type PropsAccessor as ba, type QueryHookContext as bb, type QueryOptions as bc, type ReachableNode as bd, type ReachableOptions as be, type RebuildContributionOptions as bf, type RebuildFulltextOptions as bg, type RebuildFulltextResult as bh, type ReclaimedVectorFieldEntry as bi, type ReconciledSchema as bj, type RecordedScanOptions as bk, type RecordedScanPage as bl, RecordedStoreView as bm, type RecordedStoreViewEdgeCollection as bn, type RecordedStoreViewEdgeCollections as bo, type RecordedStoreViewNodeCollection as bp, type RecordedStoreViewNodeCollections as bq, type RecursiveTraversalOptions as br, type ReembedFunction as bs, type ReembedVectorFieldOptions as bt, type ReembedVectorFieldResult as bu, type SchemaIntrospection as bv, type ScopedMeasure as bw, type SearchScopeOptions as bx, type SelectContext as by, type SelectableEdge as bz, type RecordedReadStore as c, type SubgraphNodeResult as c0, type SubgraphOptions as c1, type SubgraphResult as c2, type SubsetEdge as c3, type SubsetNode as c4, type TemporalAlgorithmOptions as c5, type TransactionContext as c6, type TransactionOutcome as c7, type TransactionReceipt as c8, type TraversalDirection as c9, isParameterRef as cA, notExists as cB, notInSubquery as cC, param as cD, type TypedEdgeCollection as ca, type TypedRecordedStoreViewEdgeCollection as cb, type TypedStoreViewEdgeCollection as cc, UnionableQuery as cd, type UniqueIntrospection as ce, type UpdateEdgeInput as cf, type UpdateNodeInput as cg, type ValidityEndMutation as ch, type VectorSearchHit as ci, type VectorSearchOptions as cj, type WeaklyConnectedComponentMembership as ck, type WeaklyConnectedComponentsOptions as cl, type WeightedShortestPathOptions as cm, type WeightedShortestPathResult as cn, asIdentityAssertionId as co, createAdapterStore as cp, createAdapterStoreWithSchema as cq, createQueryBuilder as cr, createStore as cs, createStoreWithSchema as ct, createVerifiedAdapterStore as cu, createVerifiedStore as cv, defineSubgraphProject as cw, exists as cx, fieldRef as cy, inSubquery 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 };
@@ -1,4 +1,4 @@
1
- import { T as TemporalMode } from './types-Du78EvpN.cjs';
1
+ import { T as TemporalMode } from './types-DKkMJZjR.cjs';
2
2
 
3
3
  declare const RECORDED_INSTANT_BRAND: unique symbol;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { T as TemporalMode } from './types-Du78EvpN.js';
1
+ import { T as TemporalMode } from './types-DKkMJZjR.js';
2
2
 
3
3
  declare const RECORDED_INSTANT_BRAND: unique symbol;
4
4
  /**
@@ -1,4 +1,4 @@
1
- import { K as KindEntity, J as JsonPointer } from './types-Du78EvpN.js';
1
+ import { K as KindEntity, J as JsonPointer } from './types-DKkMJZjR.js';
2
2
 
3
3
  /**
4
4
  * QueryProfiler types.
@@ -2470,6 +2470,13 @@ type BackendCapabilities = Readonly<{
2470
2470
  transactions: boolean;
2471
2471
  /** Whether the backend supports SQL window functions such as ROW_NUMBER() */
2472
2472
  windowFunctions: boolean;
2473
+ /**
2474
+ * Whether `updateNode` / `updateEdge` honor `clearValidTo: true` by storing
2475
+ * SQL NULL in `valid_to`. Absent is `false`: custom backends must opt in so
2476
+ * the store refuses every explicit clear-bearing call before lookup,
2477
+ * coalescing, or write instead of making support depend on row state.
2478
+ */
2479
+ clearValidTo?: boolean;
2473
2480
  /**
2474
2481
  * Whether the backend's `execute()` supports `UPDATE … RETURNING`. Absent or
2475
2482
  * `true` means supported (every engine TypeGraph ships — SQLite ≥ 3.35,
@@ -2624,8 +2631,18 @@ type InsertNodeParams = Readonly<{
2624
2631
  validTo?: string;
2625
2632
  }>;
2626
2633
  /**
2627
- * Parameters for updating a node.
2634
+ * A backend validity-end mutation. Omission preserves the stored end,
2635
+ * `validTo` sets it, and `clearValidTo` reopens the window. The union keeps the
2636
+ * two write actions mutually exclusive without exposing SQL `NULL`.
2628
2637
  */
2638
+ type BackendValidityEndMutation = Readonly<{
2639
+ validTo?: string;
2640
+ clearValidTo?: never;
2641
+ }> | Readonly<{
2642
+ validTo?: never;
2643
+ clearValidTo: true;
2644
+ }>;
2645
+ /** Parameters for updating a node. */
2629
2646
  type UpdateNodeParams = Readonly<{
2630
2647
  graphId: string;
2631
2648
  kind: string;
@@ -2633,7 +2650,6 @@ type UpdateNodeParams = Readonly<{
2633
2650
  props: Readonly<Record<string, unknown>>;
2634
2651
  /** Applied when resurrecting a tombstone; omitted means the resurrection instant. */
2635
2652
  validFrom?: string | null;
2636
- validTo?: string;
2637
2653
  /**
2638
2654
  * The effective `valid_from` this write ASSERTS the target row already
2639
2655
  * carries, stated only by a caller whose decision DEPENDED on it.
@@ -2661,7 +2677,7 @@ type UpdateNodeParams = Readonly<{
2661
2677
  incrementVersion?: boolean;
2662
2678
  /** If true, clears deleted_at (un-deletes the node). Used by upsert. */
2663
2679
  clearDeleted?: boolean;
2664
- }>;
2680
+ }> & BackendValidityEndMutation;
2665
2681
  /**
2666
2682
  * Parameters for updating a set of live nodes selected by a compiled
2667
2683
  * TypeGraph query.
@@ -2793,7 +2809,6 @@ type UpdateEdgeParams = Readonly<{
2793
2809
  * Omitting `validFrom` on a resurrection leaves the stored window in place.
2794
2810
  */
2795
2811
  validFrom?: string | null;
2796
- validTo?: string;
2797
2812
  /**
2798
2813
  * The effective `valid_from` this write asserts the target row already
2799
2814
  * carries. Same three states, same NULL-safety, and the same MUST-apply
@@ -2806,8 +2821,13 @@ type UpdateEdgeParams = Readonly<{
2806
2821
  * it must be fenced against it having changed.
2807
2822
  */
2808
2823
  expectedValidFrom?: string | null;
2824
+ /**
2825
+ * The `valid_to` state a constraint decision read. NULL-safe and MUST apply
2826
+ * when present, like `expectedValidFrom`; used to fence ended-to-open edges.
2827
+ */
2828
+ expectedValidTo?: string | null;
2809
2829
  clearDeleted?: boolean;
2810
- }>;
2830
+ }> & BackendValidityEndMutation;
2811
2831
  /**
2812
2832
  * Parameters for deleting an edge (soft delete).
2813
2833
  */
@@ -3902,6 +3922,12 @@ type GraphBackend = Readonly<{
3902
3922
  * is well-behaved on Postgres.
3903
3923
  */
3904
3924
  ensureIndexMaterializationsTable?: (this: void) => Promise<void>;
3925
+ /**
3926
+ * Install the PostgreSQL `pg_trgm` extension under a database-global
3927
+ * concurrency fence. Relational trigram index materialization calls this
3928
+ * before emitting its index DDL; non-PostgreSQL backends omit it.
3929
+ */
3930
+ ensureTrigramExtension?: (this: void) => Promise<void>;
3905
3931
  /**
3906
3932
  * Idempotently ensure ONLY the `typegraph_revision_origins` table exists.
3907
3933
  *
@@ -5602,4 +5628,4 @@ type RelationalIndexDeclaration = NodeIndexDeclaration | EdgeIndexDeclaration;
5602
5628
  type IndexDeclaration = RelationalIndexDeclaration | VectorIndexDeclaration;
5603
5629
  type SystemColumnName = "graph_id" | "kind" | "id" | "from_kind" | "from_id" | "to_kind" | "to_id" | "deleted_at" | "valid_from" | "valid_to" | "created_at" | "updated_at" | "version";
5604
5630
 
5605
- export { type EdgeId as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type NodeId as _, type ContributionDiagnosticState as a, type GetEdgeType as a$, type JsonValue as a0, type NodeKinds as a1, type GetNodeType as a2, type KindAnnotations as a3, type MetaEdge as a4, type EdgeType as a5, type DeleteBehavior as a6, type GraphExtensionVersion as a7, type ExtensionNodeDef as a8, type ExtensionEdgeDef as a9, type ContributionMaterializationBackend as aA, type ContributionProbeContribution as aB, type ContributionProbeEntry as aC, type ContributionProbeResult as aD, type ContributionProbeState as aE, type ContributionRebuildResult as aF, type ContributionRebuildScope as aG, type ContributionRepopulationStats as aH, DEFAULT_SQL_SCHEMA as aI, type DeleteFulltextBatchParams as aJ, type EdgeEntityReadBackend as aK, type EdgeEntityWriteBackend as aL, type EdgeKinds as aM, type EdgeProps as aN, type EdgeRegistration as aO, type EdgeTypeWithEndpoints as aP, type EndpointExistence as aQ, type ExternalRecordedReadSource as aR, type FilteredApproximateSearch as aS, type FilteredApproximateSearchMode as aT, type FindEdgesByHeterogeneousEndpointSetParams as aU, type FulltextBatchRow as aV, type FulltextCapabilities as aW, type FulltextOperationBackend as aX, type FulltextQueryMode as aY, type FulltextSearchParams as aZ, type FulltextSearchResult as a_, type ExtensionOntologyRelation as aa, type ExtensionIndex as ab, type AggregateExpr as ac, type FieldRef as ad, type ComparisonOp as ae, type AggregateComparisonPredicate as af, type TraversalDirection as ag, type OntologyRelation as ah, type InferenceType as ai, type AdapterBackendTransactions as aj, type AllEdgeTypes as ak, type AllNodeTypes as al, type BackendIdentity as am, type BackendLifecycle as an, type BackendMaintenance as ao, type BackendTransactions as ap, CURRENT_GRAPH_EXTENSION_VERSION as aq, type Cardinality as ar, type Collation as as, type CommitSchemaVersionExpected as at, type CommitSchemaVersionIfKindsEmptyResult as au, type CommitSchemaVersionParams as av, type CompiledRowsSql as aw, type CompiledSelectSql as ax, type CompiledStatementSql as ay, type ContributionCapabilities as az, type ContributionRepairEntry as b, type UpdateNodeSetParams as b$, type GraphAnalyticsCapabilities as b0, type GraphDefaults as b1, type GraphEntityReadBackend as b2, type GraphEntityWriteBackend as b3, type GraphExtension as b4, type GraphLifecycleBackend as b5, type HardDeleteUniquesByNodeIdsParams as b6, type HybridFusionOptions as b7, type IndexMaterializationBackend as b8, type IntentSql as b9, type RowProps as bA, type SchemaCommitBackend as bB, type SchemaKindEmptinessProbe as bC, type SchemaReadBackend as bD, type SchemaWriteFenceBackend as bE, type SetActiveVersionParams as bF, type SortDirection as bG, type SqlChunk as bH, type SqlFragment as bI, type SqlIdentifierChunk as bJ, type SqlIntent as bK, type SqlParameterChunk as bL, type SqlPlaceholderChunk as bM, type SqlTableNames as bN, type SqlTag as bO, type SqlTextChunk as bP, type StrategyTableContribution as bQ, type TableContribution as bR, type TransactionBackend as bS, type TransactionOptions as bT, type TransactionReadBackend as bU, type TraversalExpansion as bV, type TrustedImportOptions as bW, type TrustedImportSession as bX, type UniqueConstraint as bY, type UniqueConstraintBackend as bZ, type UniquenessScope as b_, type JsonPointerFor as ba, type JsonPointerInput as bb, type JsonPointerSegment as bc, type JsonPointerSegments as bd, type JsonPointerSegmentsFor as be, LEGACY_GRAPH_EXTENSION_VERSION as bf, type LockSchemaVersionForWriteParams as bg, MAX_JSON_POINTER_DEPTH as bh, type MetaEdgeProperties as bi, type NodeEntityReadBackend as bj, type NodeEntityWriteBackend as bk, type NodeProps as bl, type NodeRegistration as bm, type OrderSpec as bn, type ParameterRef as bo, Placeholder as bp, type PopulatedSchemaKind as bq, type QueryExecutionBackend as br, type RawQueryExecutionBackend as bs, type RawStatementExecutionBackend as bt, type RecordedRelationOptions as bu, type RemovalMaterializationBackend as bv, type RenderedSql as bw, type ResolveJsonPointer as bx, type ResolveJsonPointerSegments as by, type ResolvedSqlTableNames as bz, type ContributionRepairResult as c, D1_MAX_BIND_PARAMETERS as c$, type UpdateNodeSetResult as c0, type UpsertFulltextBatchParams as c1, type VectorCapabilities as c2, type VectorOperationBackend as c3, type VectorSearchFrontierTuning as c4, asEdgeId as c5, asNodeId as c6, buildVectorCapabilities as c7, createSqlSchema as c8, defineGraph as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type VectorMetric as cN, ALL_FULLTEXT_MODES as cO, ALL_META_EDGE_NAMES as cP, BASE_CONTRIBUTION_OWNER as cQ, type CheckUniqueBatchParams as cR, type CheckUniqueParams as cS, type ClaimIndexMaterializationParams as cT, type CompiledTemporaryStatementSql as cU, type ContributionMaterializationIdentity as cV, type ContributionMaterializationRow as cW, type CountEdgesByKindParams as cX, type CountEdgesFromParams as cY, type CountNodesByKindParams as cZ, type CreateVectorIndexParams as c_, fts5Strategy as ca, getEdgeKinds as cb, getNodeKinds as cc, isEdgeType as cd, isEdgeTypeWithEndpoints as ce, isGraphDef as cf, isMetaEdge as cg, isNodeType as ch, isSqlFragment as ci, joinJsonPointers as cj, jsonPointer as ck, normalizeJsonPointer as cl, parseJsonPointer as cm, recordedRelation as cn, renderPostgres as co, renderSql as cp, renderSqlInline as cq, renderSqlite as cr, rowPropsToJsonText as cs, rowPropsToObject as ct, sql as cu, tsvectorStrategy as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type ReleaseIndexMaterializationClaimParams as d$, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d0, type DeleteEdgeParams as d1, type DeleteEdgesBatchParams as d2, type DeleteEmbeddingParams as d3, type DeleteFulltextParams as d4, type DeleteNodeParams as d5, type DeleteUniqueParams as d6, type DialectAdapter as d7, type DialectCapabilities as d8, type DialectRecursiveQueryStrategy as d9, type FindNodesByKindParams as dA, type GraphReadBackend as dB, type HardDeleteEdgeParams as dC, type HardDeleteNodeParams as dD, type HybridSearchParams as dE, type HybridSearchRow as dF, type IdentityTableNames as dG, type InListParameterOptions as dH, type IndexDeclarationBase as dI, type IndexMaterializationRow as dJ, type IndexWhereLiteral as dK, type IndexWhereOp as dL, type IndexWhereOperand as dM, type InsertEdgeParams as dN, type InsertNodeParams as dO, type InsertSchemaParams as dP, type InsertUniqueParams as dQ, type KindRemovalRow as dR, type LiveNodeRow as dS, MODERN_SQLITE_MAX_BIND_PARAMETERS as dT, type MetaEdgeName as dU, POSTGRES_CAPABILITIES as dV, POSTGRES_MAX_BIND_PARAMETERS as dW, type RecordContributionMaterializationParams as dX, type RecordIndexMaterializationParams as dY, type RecordKindRemovalParams as dZ, type RelationalIndexMethod as d_, type DialectStandardQueryStrategy as da, type DialectVectorPredicateStrategy as db, type DropVectorIndexParams as dc, type EdgeExistsBetweenParams as dd, type ExtensionArrayItemType as de, type ExtensionArrayProperty as df, type ExtensionBooleanProperty as dg, type ExtensionEdgeIndex as dh, type ExtensionEmbeddingModifier as di, type ExtensionEnumProperty as dj, type ExtensionIndexWhere as dk, type ExtensionNodeIndex as dl, type ExtensionNumberProperty as dm, type ExtensionObjectFieldProperty as dn, type ExtensionObjectProperty as dp, type ExtensionPropertyModifiers as dq, type ExtensionPropertyType as dr, type ExtensionSearchableModifier as ds, type ExtensionStringProperty as dt, type ExtensionUniqueConstraint as du, type ExtensionUniqueWhere as dv, FULLTEXT_CONTRIBUTION_NAME as dw, type FindEdgesByEndpointSetParams as dx, type FindEdgesByKindParams as dy, type FindEdgesConnectedToParams as dz, type EdgeIndexConfig as e, SQLITE_CAPABILITIES as e0, SQLITE_MAX_BIND_PARAMETERS as e1, type SchemaCommitPreflightBackend as e2, type SqlCompilationBackend as e3, type TombstonedNodeRow as e4, type UniqueRow as e5, type UpdateEdgeParams as e6, type UpdateNodeParams as e7, type UpsertEmbeddingBatchParams as e8, type UpsertEmbeddingBatchRow as e9, type UpsertEmbeddingParams as ea, type UpsertFulltextParams as eb, VECTOR_CONTRIBUTION_PREFIX as ec, type VectorIndexType as ed, type VectorSearchParams as ee, type VectorSearchResult as ef, assertFiniteEmbedding as eg, assertVectorMinScore as eh, assertVectorSearchLimit as ei, buildFulltextCapabilities as ej, isLiveNodeRow as ek, isSqlPlaceholder as el, isTombstonedNodeRow as em, normalizeGraphAnalyticsCapabilities as en, quoteIdentifier as eo, shortHash as ep, vectorMinScoreCondition as eq, vectorPhysicalName as er, vectorScoreExpression as es, GRAPH_EXTENSION_TOP_LEVEL_KEYS as et, type GraphExtensionTopLevelKey as eu, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };
5631
+ export { type FieldRef as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type SerializedNodeDef as D, type EdgeIndexDeclaration as E, type FulltextStrategy as F, type GraphIdentityConfig as G, type SerializedEdgeDef as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type IndexEntity as L, type SerializedMetaEdge as M, type NodeIndexDeclaration as N, type SerializedOntologyRelation as O, type SerializedClosures as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SchemaHash as U, type VectorStrategy as V, type NullCheckOp as W, type JsonSchema as X, type SerializedOntology as Y, type SerializedUniqueConstraint as Z, type AggregateExpr as _, type ContributionDiagnosticState as a, type IndexMaterializationBackend as a$, type ComparisonOp as a0, type AggregateComparisonPredicate as a1, type TraversalDirection as a2, type OntologyRelation as a3, type InferenceType as a4, type EdgeType as a5, type AdapterBackendTransactions as a6, type AllEdgeTypes as a7, type AllNodeTypes as a8, type BackendIdentity as a9, type EdgeId as aA, type EdgeKinds as aB, type EdgeProps as aC, type EdgeRegistration as aD, type EdgeTypeWithEndpoints as aE, type EndpointExistence as aF, type ExternalRecordedReadSource as aG, type FilteredApproximateSearch as aH, type FilteredApproximateSearchMode as aI, type FindEdgesByHeterogeneousEndpointSetParams as aJ, type FulltextBatchRow as aK, type FulltextCapabilities as aL, type FulltextOperationBackend as aM, type FulltextQueryMode as aN, type FulltextSearchParams as aO, type FulltextSearchResult as aP, type GetEdgeType as aQ, type GetNodeType as aR, type GraphAnalyticsCapabilities as aS, type GraphDefaults as aT, type GraphEntityReadBackend as aU, type GraphEntityWriteBackend as aV, type GraphExtension as aW, type GraphExtensionVersion as aX, type GraphLifecycleBackend as aY, type HardDeleteUniquesByNodeIdsParams as aZ, type HybridFusionOptions as a_, type BackendLifecycle as aa, type BackendMaintenance as ab, type BackendTransactions as ac, CURRENT_GRAPH_EXTENSION_VERSION as ad, type Cardinality as ae, type Collation as af, type CommitSchemaVersionExpected as ag, type CommitSchemaVersionIfKindsEmptyResult as ah, type CommitSchemaVersionParams as ai, type CompiledRowsSql as aj, type CompiledSelectSql as ak, type CompiledStatementSql as al, type ContributionCapabilities as am, type ContributionMaterializationBackend as an, type ContributionProbeContribution as ao, type ContributionProbeEntry as ap, type ContributionProbeResult as aq, type ContributionProbeState as ar, type ContributionRebuildResult as as, type ContributionRebuildScope as at, type ContributionRepopulationStats as au, DEFAULT_SQL_SCHEMA as av, type DeleteBehavior as aw, type DeleteFulltextBatchParams as ax, type EdgeEntityReadBackend as ay, type EdgeEntityWriteBackend as az, type ContributionRepairEntry as b, type VectorOperationBackend as b$, type IntentSql as b0, type JsonPointerFor as b1, type JsonPointerInput as b2, type JsonPointerSegment as b3, type JsonPointerSegments as b4, type JsonPointerSegmentsFor as b5, type JsonValue as b6, type KindAnnotations as b7, LEGACY_GRAPH_EXTENSION_VERSION as b8, type LockSchemaVersionForWriteParams as b9, type SchemaWriteFenceBackend as bA, type SetActiveVersionParams as bB, type SortDirection as bC, type SqlChunk as bD, type SqlFragment as bE, type SqlIdentifierChunk as bF, type SqlIntent as bG, type SqlParameterChunk as bH, type SqlPlaceholderChunk as bI, type SqlTableNames as bJ, type SqlTag as bK, type SqlTextChunk as bL, type StrategyTableContribution as bM, type TableContribution as bN, type TransactionBackend as bO, type TransactionOptions as bP, type TransactionReadBackend as bQ, type TraversalExpansion as bR, type TrustedImportOptions as bS, type TrustedImportSession as bT, type UniqueConstraint as bU, type UniqueConstraintBackend as bV, type UniquenessScope as bW, type UpdateNodeSetParams as bX, type UpdateNodeSetResult as bY, type UpsertFulltextBatchParams as bZ, type VectorCapabilities as b_, MAX_JSON_POINTER_DEPTH as ba, type MetaEdge as bb, type MetaEdgeProperties as bc, type NodeEntityReadBackend as bd, type NodeEntityWriteBackend as be, type NodeId as bf, type NodeKinds as bg, type NodeProps as bh, type NodeRegistration as bi, type OrderSpec as bj, type ParameterRef as bk, Placeholder as bl, type PopulatedSchemaKind as bm, type QueryExecutionBackend as bn, type RawQueryExecutionBackend as bo, type RawStatementExecutionBackend as bp, type RecordedRelationOptions as bq, type RemovalMaterializationBackend as br, type RenderedSql as bs, type ResolveJsonPointer as bt, type ResolveJsonPointerSegments as bu, type ResolvedSqlTableNames as bv, type RowProps as bw, type SchemaCommitBackend as bx, type SchemaKindEmptinessProbe as by, type SchemaReadBackend as bz, type ContributionRepairResult as c, type CreateVectorIndexParams as c$, type VectorSearchFrontierTuning as c0, asEdgeId as c1, asNodeId as c2, buildVectorCapabilities as c3, createSqlSchema as c4, defineGraph as c5, fts5Strategy as c6, getEdgeKinds as c7, getNodeKinds as c8, isEdgeType as c9, type NodePredicate as cA, type ProjectedField as cB, type AggregateOrderSpec as cC, type GroupBySpec as cD, type RecursiveCyclePolicy as cE, type VectorSlotMap as cF, type RecordedReadBinding as cG, type SelectiveField as cH, type ComposableQuery as cI, type SetOperationType as cJ, type SetOperation as cK, type NodeRow as cL, type EdgeRow as cM, type BackendValidityEndMutation as cN, type VectorMetric as cO, ALL_FULLTEXT_MODES as cP, ALL_META_EDGE_NAMES as cQ, BASE_CONTRIBUTION_OWNER as cR, type CheckUniqueBatchParams as cS, type CheckUniqueParams as cT, type ClaimIndexMaterializationParams as cU, type CompiledTemporaryStatementSql as cV, type ContributionMaterializationIdentity as cW, type ContributionMaterializationRow as cX, type CountEdgesByKindParams as cY, type CountEdgesFromParams as cZ, type CountNodesByKindParams as c_, isEdgeTypeWithEndpoints as ca, isGraphDef as cb, isMetaEdge as cc, isNodeType as cd, isSqlFragment as ce, joinJsonPointers as cf, jsonPointer as cg, normalizeJsonPointer as ch, parseJsonPointer as ci, recordedRelation as cj, renderPostgres as ck, renderSql as cl, renderSqlInline as cm, renderSqlite as cn, rowPropsToJsonText as co, rowPropsToObject as cp, sql as cq, tsvectorStrategy as cr, type ExtensionNodeDef as cs, type ExtensionEdgeDef as ct, type ExtensionOntologyRelation as cu, type ExtensionIndex as cv, type ValueType as cw, type PredicateExpression as cx, type VectorMetricType as cy, type Traversal as cz, type GraphDef as d, type RelationalIndexMethod as d$, D1_MAX_BIND_PARAMETERS as d0, DURABLE_OBJECT_MAX_BIND_PARAMETERS as d1, type DeleteEdgeParams as d2, type DeleteEdgesBatchParams as d3, type DeleteEmbeddingParams as d4, type DeleteFulltextParams as d5, type DeleteNodeParams as d6, type DeleteUniqueParams as d7, type DialectAdapter as d8, type DialectCapabilities as d9, type FindEdgesConnectedToParams as dA, type FindNodesByKindParams as dB, type GraphReadBackend as dC, type HardDeleteEdgeParams as dD, type HardDeleteNodeParams as dE, type HybridSearchParams as dF, type HybridSearchRow as dG, type IdentityTableNames as dH, type InListParameterOptions as dI, type IndexDeclarationBase as dJ, type IndexMaterializationRow as dK, type IndexWhereLiteral as dL, type IndexWhereOp as dM, type IndexWhereOperand as dN, type InsertEdgeParams as dO, type InsertNodeParams as dP, type InsertSchemaParams as dQ, type InsertUniqueParams as dR, type KindRemovalRow as dS, type LiveNodeRow as dT, MODERN_SQLITE_MAX_BIND_PARAMETERS as dU, type MetaEdgeName as dV, POSTGRES_CAPABILITIES as dW, POSTGRES_MAX_BIND_PARAMETERS as dX, type RecordContributionMaterializationParams as dY, type RecordIndexMaterializationParams as dZ, type RecordKindRemovalParams as d_, type DialectRecursiveQueryStrategy as da, type DialectStandardQueryStrategy as db, type DialectVectorPredicateStrategy as dc, type DropVectorIndexParams as dd, type EdgeExistsBetweenParams as de, type ExtensionArrayItemType as df, type ExtensionArrayProperty as dg, type ExtensionBooleanProperty as dh, type ExtensionEdgeIndex as di, type ExtensionEmbeddingModifier as dj, type ExtensionEnumProperty as dk, type ExtensionIndexWhere as dl, type ExtensionNodeIndex as dm, type ExtensionNumberProperty as dn, type ExtensionObjectFieldProperty as dp, type ExtensionObjectProperty as dq, type ExtensionPropertyModifiers as dr, type ExtensionPropertyType as ds, type ExtensionSearchableModifier as dt, type ExtensionStringProperty as du, type ExtensionUniqueConstraint as dv, type ExtensionUniqueWhere as dw, FULLTEXT_CONTRIBUTION_NAME as dx, type FindEdgesByEndpointSetParams as dy, type FindEdgesByKindParams as dz, type EdgeIndexConfig as e, type ReleaseIndexMaterializationClaimParams as e0, SQLITE_CAPABILITIES as e1, SQLITE_MAX_BIND_PARAMETERS as e2, type SchemaCommitPreflightBackend as e3, type SqlCompilationBackend as e4, type TombstonedNodeRow as e5, type UniqueRow as e6, type UpdateEdgeParams as e7, type UpdateNodeParams as e8, type UpsertEmbeddingBatchParams as e9, type UpsertEmbeddingBatchRow as ea, type UpsertEmbeddingParams as eb, type UpsertFulltextParams as ec, VECTOR_CONTRIBUTION_PREFIX as ed, type VectorIndexType as ee, type VectorSearchParams as ef, type VectorSearchResult as eg, assertFiniteEmbedding as eh, assertVectorMinScore as ei, assertVectorSearchLimit as ej, buildFulltextCapabilities as ek, isLiveNodeRow as el, isSqlPlaceholder as em, isTombstonedNodeRow as en, normalizeGraphAnalyticsCapabilities as eo, quoteIdentifier as ep, shortHash as eq, vectorMinScoreCondition as er, vectorPhysicalName as es, vectorScoreExpression as et, GRAPH_EXTENSION_TOP_LEVEL_KEYS as eu, type GraphExtensionTopLevelKey as ev, type EdgeIndexDirection as f, type EdgeIndexWhereBuilder as g, type IndexOrigin as h, type IndexScope as i, type IndexWhereExpression as j, type IndexWhereFieldBuilder as k, type IndexWhereInput as l, type NodeIndexConfig as m, type NodeIndexWhereBuilder as n, type SystemColumnName as o, type VectorIndexDeclaration as p, type VectorIndexImplementation as q, type VectorIndexMetric as r, type VectorIndexParams as s, type VectorSlot as t, type NodeType as u, type AnyEdgeType as v, SqlSchema as w, type SchemaVersionRow as x, type GraphBackend as y, type SerializedSchema as z };