@nicia-ai/typegraph 0.46.1 → 0.46.2

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 (263) hide show
  1. package/dist/backend/drizzle/indexes.cjs +9 -9
  2. package/dist/backend/drizzle/indexes.d.cts +1 -1
  3. package/dist/backend/drizzle/indexes.d.ts +1 -1
  4. package/dist/backend/drizzle/indexes.js +5 -5
  5. package/dist/backend/index.cjs +49 -49
  6. package/dist/backend/index.d.cts +3 -3
  7. package/dist/backend/index.d.ts +3 -3
  8. package/dist/backend/index.js +10 -10
  9. package/dist/backend/postgres/index.cjs +26 -26
  10. package/dist/backend/postgres/index.d.cts +6 -6
  11. package/dist/backend/postgres/index.d.ts +6 -6
  12. package/dist/backend/postgres/index.js +13 -13
  13. package/dist/backend/postgres/pglite-store.cjs +33 -33
  14. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  15. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  16. package/dist/backend/postgres/pglite-store.js +29 -29
  17. package/dist/backend/postgres/pglite.cjs +15 -15
  18. package/dist/backend/postgres/pglite.d.cts +3 -3
  19. package/dist/backend/postgres/pglite.d.ts +3 -3
  20. package/dist/backend/postgres/pglite.js +14 -14
  21. package/dist/backend/sqlite/index.cjs +23 -23
  22. package/dist/backend/sqlite/index.d.cts +6 -6
  23. package/dist/backend/sqlite/index.d.ts +6 -6
  24. package/dist/backend/sqlite/index.js +11 -11
  25. package/dist/backend/sqlite/libsql.cjs +18 -18
  26. package/dist/backend/sqlite/libsql.d.cts +3 -3
  27. package/dist/backend/sqlite/libsql.d.ts +3 -3
  28. package/dist/backend/sqlite/libsql.js +13 -13
  29. package/dist/backend/sqlite/local-store.cjs +34 -34
  30. package/dist/backend/sqlite/local-store.d.cts +8 -8
  31. package/dist/backend/sqlite/local-store.d.ts +8 -8
  32. package/dist/backend/sqlite/local-store.js +30 -30
  33. package/dist/backend/sqlite/local.cjs +16 -16
  34. package/dist/backend/sqlite/local.d.cts +3 -3
  35. package/dist/backend/sqlite/local.d.ts +3 -3
  36. package/dist/backend/sqlite/local.js +14 -14
  37. package/dist/{chunk-VCRRKBLN.cjs → chunk-2ZWM2RFH.cjs} +9 -9
  38. package/dist/{chunk-VCRRKBLN.cjs.map → chunk-2ZWM2RFH.cjs.map} +1 -1
  39. package/dist/{chunk-Q3G6A4I3.cjs → chunk-32UETY6S.cjs} +26 -26
  40. package/dist/chunk-32UETY6S.cjs.map +1 -0
  41. package/dist/{chunk-JXA2ZP2Q.js → chunk-36LIJXWC.js} +4 -4
  42. package/dist/{chunk-JXA2ZP2Q.js.map → chunk-36LIJXWC.js.map} +1 -1
  43. package/dist/{chunk-MCLYU6BN.cjs → chunk-5PDSCELM.cjs} +14 -14
  44. package/dist/{chunk-MCLYU6BN.cjs.map → chunk-5PDSCELM.cjs.map} +1 -1
  45. package/dist/{chunk-775A4ZMN.js → chunk-5ZJOB5YS.js} +4 -4
  46. package/dist/{chunk-775A4ZMN.js.map → chunk-5ZJOB5YS.js.map} +1 -1
  47. package/dist/{chunk-J3WZ3FA2.js → chunk-62ZXBMSD.js} +24 -3
  48. package/dist/chunk-62ZXBMSD.js.map +1 -0
  49. package/dist/{chunk-7BQXPCGN.cjs → chunk-6BD6ZBKT.cjs} +10 -10
  50. package/dist/{chunk-7BQXPCGN.cjs.map → chunk-6BD6ZBKT.cjs.map} +1 -1
  51. package/dist/chunk-6LAXM4J2.cjs +12 -0
  52. package/dist/{chunk-VQH4VAWD.cjs.map → chunk-6LAXM4J2.cjs.map} +1 -1
  53. package/dist/{chunk-MSY7FSX4.js → chunk-72WUT4GG.js} +4 -4
  54. package/dist/{chunk-MSY7FSX4.js.map → chunk-72WUT4GG.js.map} +1 -1
  55. package/dist/chunk-73MWKDFK.cjs +12 -0
  56. package/dist/{chunk-A4OC4DVN.cjs.map → chunk-73MWKDFK.cjs.map} +1 -1
  57. package/dist/{chunk-BKCUOV7A.js → chunk-7TKNK32B.js} +5 -5
  58. package/dist/{chunk-BKCUOV7A.js.map → chunk-7TKNK32B.js.map} +1 -1
  59. package/dist/{chunk-GF3KXUTW.js → chunk-A2LJG5GM.js} +9 -9
  60. package/dist/{chunk-GF3KXUTW.js.map → chunk-A2LJG5GM.js.map} +1 -1
  61. package/dist/{chunk-PF6F5NLJ.cjs → chunk-A4R3H7RU.cjs} +237 -237
  62. package/dist/{chunk-PF6F5NLJ.cjs.map → chunk-A4R3H7RU.cjs.map} +1 -1
  63. package/dist/{chunk-RMQLSPA2.cjs → chunk-A7NMUYEL.cjs} +27 -27
  64. package/dist/{chunk-RMQLSPA2.cjs.map → chunk-A7NMUYEL.cjs.map} +1 -1
  65. package/dist/{chunk-U63GDNRC.cjs → chunk-AF3TWL5C.cjs} +4 -4
  66. package/dist/{chunk-U63GDNRC.cjs.map → chunk-AF3TWL5C.cjs.map} +1 -1
  67. package/dist/{chunk-XBYVV3MP.cjs → chunk-ANKOXPCC.cjs} +4 -4
  68. package/dist/chunk-ANKOXPCC.cjs.map +1 -0
  69. package/dist/{chunk-WQZLUGVR.js → chunk-AT3MLMJV.js} +10 -10
  70. package/dist/{chunk-WQZLUGVR.js.map → chunk-AT3MLMJV.js.map} +1 -1
  71. package/dist/{chunk-UV3SN74I.js → chunk-AU3IJNNP.js} +5 -5
  72. package/dist/{chunk-UV3SN74I.js.map → chunk-AU3IJNNP.js.map} +1 -1
  73. package/dist/{chunk-YAAM3M2S.cjs → chunk-BEB4OFZF.cjs} +10 -10
  74. package/dist/{chunk-YAAM3M2S.cjs.map → chunk-BEB4OFZF.cjs.map} +1 -1
  75. package/dist/{chunk-PT7RIRIZ.cjs → chunk-BQM5P2NO.cjs} +168 -168
  76. package/dist/{chunk-PT7RIRIZ.cjs.map → chunk-BQM5P2NO.cjs.map} +1 -1
  77. package/dist/{chunk-YWGVVALJ.js → chunk-BRN3RGD2.js} +3 -3
  78. package/dist/{chunk-YWGVVALJ.js.map → chunk-BRN3RGD2.js.map} +1 -1
  79. package/dist/{chunk-UDISNXDL.cjs → chunk-BZZI7B43.cjs} +47 -47
  80. package/dist/{chunk-UDISNXDL.cjs.map → chunk-BZZI7B43.cjs.map} +1 -1
  81. package/dist/{chunk-TQR4KBY2.cjs → chunk-C2ZP5YS6.cjs} +135 -133
  82. package/dist/chunk-C2ZP5YS6.cjs.map +1 -0
  83. package/dist/{chunk-PNN7RHVR.cjs → chunk-C4DYN2SD.cjs} +48 -48
  84. package/dist/{chunk-PNN7RHVR.cjs.map → chunk-C4DYN2SD.cjs.map} +1 -1
  85. package/dist/{chunk-PNTCATDE.cjs → chunk-C6KE2HSQ.cjs} +1355 -1312
  86. package/dist/chunk-C6KE2HSQ.cjs.map +1 -0
  87. package/dist/{chunk-LBJKZXDE.cjs → chunk-D6GCNNMK.cjs} +10 -10
  88. package/dist/{chunk-LBJKZXDE.cjs.map → chunk-D6GCNNMK.cjs.map} +1 -1
  89. package/dist/{chunk-JZUR7ZWE.js → chunk-DSAWGCMP.js} +3 -3
  90. package/dist/{chunk-JZUR7ZWE.js.map → chunk-DSAWGCMP.js.map} +1 -1
  91. package/dist/{chunk-U5SON7R2.cjs → chunk-DYPRZ53S.cjs} +27 -27
  92. package/dist/{chunk-U5SON7R2.cjs.map → chunk-DYPRZ53S.cjs.map} +1 -1
  93. package/dist/{chunk-YVWGEQJE.cjs → chunk-E4OSGBCM.cjs} +139 -133
  94. package/dist/chunk-E4OSGBCM.cjs.map +1 -0
  95. package/dist/{chunk-YDFDBE6D.js → chunk-EAMVXR5B.js} +4 -4
  96. package/dist/{chunk-YDFDBE6D.js.map → chunk-EAMVXR5B.js.map} +1 -1
  97. package/dist/{chunk-NLI2AVEF.js → chunk-EDHV4CBU.js} +8 -8
  98. package/dist/{chunk-NLI2AVEF.js.map → chunk-EDHV4CBU.js.map} +1 -1
  99. package/dist/{chunk-DCQVHAYQ.js → chunk-EDJDDY6H.js} +4 -4
  100. package/dist/{chunk-DCQVHAYQ.js.map → chunk-EDJDDY6H.js.map} +1 -1
  101. package/dist/{chunk-5262ZMTR.js → chunk-EJSYWAEV.js} +5 -5
  102. package/dist/{chunk-5262ZMTR.js.map → chunk-EJSYWAEV.js.map} +1 -1
  103. package/dist/{chunk-65E3XWGF.cjs → chunk-F36KZDFX.cjs} +91 -91
  104. package/dist/{chunk-65E3XWGF.cjs.map → chunk-F36KZDFX.cjs.map} +1 -1
  105. package/dist/{chunk-AKLS3BYZ.js → chunk-FA6Z7B5L.js} +3 -3
  106. package/dist/chunk-FA6Z7B5L.js.map +1 -0
  107. package/dist/{chunk-ASTI57H3.js → chunk-FCIZNUW5.js} +3 -3
  108. package/dist/{chunk-ASTI57H3.js.map → chunk-FCIZNUW5.js.map} +1 -1
  109. package/dist/{chunk-CBTIUB76.js → chunk-FSLTU57P.js} +3 -3
  110. package/dist/{chunk-CBTIUB76.js.map → chunk-FSLTU57P.js.map} +1 -1
  111. package/dist/{chunk-2LG2XB2M.js → chunk-FXNHZFZV.js} +3 -3
  112. package/dist/{chunk-2LG2XB2M.js.map → chunk-FXNHZFZV.js.map} +1 -1
  113. package/dist/{chunk-BSFJMMV3.cjs → chunk-GVAMRRZR.cjs} +4 -4
  114. package/dist/{chunk-BSFJMMV3.cjs.map → chunk-GVAMRRZR.cjs.map} +1 -1
  115. package/dist/{chunk-2Z2Z3ZD6.js → chunk-GWUWRZXW.js} +3 -3
  116. package/dist/{chunk-2Z2Z3ZD6.js.map → chunk-GWUWRZXW.js.map} +1 -1
  117. package/dist/{chunk-C23WSN5E.js → chunk-GWXXHOLU.js} +20 -14
  118. package/dist/chunk-GWXXHOLU.js.map +1 -0
  119. package/dist/{chunk-CMWHLBVN.cjs → chunk-HNYLMPQQ.cjs} +68 -68
  120. package/dist/{chunk-CMWHLBVN.cjs.map → chunk-HNYLMPQQ.cjs.map} +1 -1
  121. package/dist/{chunk-NMWDXFPH.js → chunk-IHRDX7K6.js} +4 -4
  122. package/dist/{chunk-NMWDXFPH.js.map → chunk-IHRDX7K6.js.map} +1 -1
  123. package/dist/{chunk-VGTJPTIC.js → chunk-JCNTKRAK.js} +5 -5
  124. package/dist/{chunk-VGTJPTIC.js.map → chunk-JCNTKRAK.js.map} +1 -1
  125. package/dist/{chunk-MXJDTH5B.cjs → chunk-JL5UEBWT.cjs} +45 -45
  126. package/dist/{chunk-MXJDTH5B.cjs.map → chunk-JL5UEBWT.cjs.map} +1 -1
  127. package/dist/{chunk-LGHCOKTT.js → chunk-KA4L2NZ3.js} +14 -14
  128. package/dist/{chunk-LGHCOKTT.js.map → chunk-KA4L2NZ3.js.map} +1 -1
  129. package/dist/{chunk-NI72YOJB.cjs → chunk-KCH7WQA5.cjs} +24 -2
  130. package/dist/chunk-KCH7WQA5.cjs.map +1 -0
  131. package/dist/{chunk-2NA5DYLO.cjs → chunk-KOAI3KIV.cjs} +4 -4
  132. package/dist/{chunk-2NA5DYLO.cjs.map → chunk-KOAI3KIV.cjs.map} +1 -1
  133. package/dist/{chunk-7VQXLT5O.js → chunk-KXSMF6PL.js} +101 -25
  134. package/dist/chunk-KXSMF6PL.js.map +1 -0
  135. package/dist/{chunk-M3WP7RQZ.js → chunk-LHYSY6SE.js} +6 -6
  136. package/dist/chunk-LHYSY6SE.js.map +1 -0
  137. package/dist/{chunk-WDGA7IYB.js → chunk-LNIWCQR4.js} +3 -3
  138. package/dist/{chunk-WDGA7IYB.js.map → chunk-LNIWCQR4.js.map} +1 -1
  139. package/dist/{chunk-YBQOHKHN.cjs → chunk-N3QTGPC7.cjs} +99 -99
  140. package/dist/{chunk-YBQOHKHN.cjs.map → chunk-N3QTGPC7.cjs.map} +1 -1
  141. package/dist/{chunk-K5ELX2GT.js → chunk-OZJCH7ZS.js} +3 -3
  142. package/dist/{chunk-K5ELX2GT.js.map → chunk-OZJCH7ZS.js.map} +1 -1
  143. package/dist/{chunk-62ZP23AW.cjs → chunk-PYKF7UIL.cjs} +13 -13
  144. package/dist/{chunk-62ZP23AW.cjs.map → chunk-PYKF7UIL.cjs.map} +1 -1
  145. package/dist/{chunk-PQBQG7IM.js → chunk-QOJ2L2AD.js} +3 -3
  146. package/dist/{chunk-PQBQG7IM.js.map → chunk-QOJ2L2AD.js.map} +1 -1
  147. package/dist/{chunk-DTVWX77L.cjs → chunk-QPOQX2DI.cjs} +235 -235
  148. package/dist/{chunk-DTVWX77L.cjs.map → chunk-QPOQX2DI.cjs.map} +1 -1
  149. package/dist/{chunk-NFCVHQ5P.cjs → chunk-QU7QLJA4.cjs} +26 -26
  150. package/dist/{chunk-NFCVHQ5P.cjs.map → chunk-QU7QLJA4.cjs.map} +1 -1
  151. package/dist/{chunk-XL7SLCXS.js → chunk-R7EWHKID.js} +3 -3
  152. package/dist/{chunk-XL7SLCXS.js.map → chunk-R7EWHKID.js.map} +1 -1
  153. package/dist/{chunk-HFHTMECK.js → chunk-RFDEYLIK.js} +7 -7
  154. package/dist/{chunk-HFHTMECK.js.map → chunk-RFDEYLIK.js.map} +1 -1
  155. package/dist/{chunk-MUK4BU7K.cjs → chunk-RHDOAQCT.cjs} +200 -124
  156. package/dist/chunk-RHDOAQCT.cjs.map +1 -0
  157. package/dist/{chunk-YBFHZUXX.js → chunk-S3G5VLSW.js} +6 -6
  158. package/dist/{chunk-YBFHZUXX.js.map → chunk-S3G5VLSW.js.map} +1 -1
  159. package/dist/{chunk-M4BDU5RX.cjs → chunk-S7WIRFNS.cjs} +12 -12
  160. package/dist/{chunk-M4BDU5RX.cjs.map → chunk-S7WIRFNS.cjs.map} +1 -1
  161. package/dist/{chunk-T4XNKYXB.js → chunk-SXWLLQ3D.js} +4 -4
  162. package/dist/{chunk-T4XNKYXB.js.map → chunk-SXWLLQ3D.js.map} +1 -1
  163. package/dist/{chunk-NK5Q7UNE.cjs → chunk-TCT66A7N.cjs} +10 -10
  164. package/dist/{chunk-NK5Q7UNE.cjs.map → chunk-TCT66A7N.cjs.map} +1 -1
  165. package/dist/{chunk-3DHZCOT7.cjs → chunk-UTVQPZPN.cjs} +20 -20
  166. package/dist/{chunk-3DHZCOT7.cjs.map → chunk-UTVQPZPN.cjs.map} +1 -1
  167. package/dist/{chunk-CXBHOOIQ.cjs → chunk-WA64ZSCA.cjs} +11 -11
  168. package/dist/{chunk-CXBHOOIQ.cjs.map → chunk-WA64ZSCA.cjs.map} +1 -1
  169. package/dist/{chunk-L65OU2U3.js → chunk-WEJHA7AD.js} +13 -13
  170. package/dist/{chunk-L65OU2U3.js.map → chunk-WEJHA7AD.js.map} +1 -1
  171. package/dist/{chunk-5UVRGXD3.js → chunk-WHS2Y43J.js} +5 -5
  172. package/dist/{chunk-5UVRGXD3.js.map → chunk-WHS2Y43J.js.map} +1 -1
  173. package/dist/{chunk-I5MOXA4H.js → chunk-WMKEGJG4.js} +3 -3
  174. package/dist/{chunk-I5MOXA4H.js.map → chunk-WMKEGJG4.js.map} +1 -1
  175. package/dist/{chunk-5763DULU.js → chunk-WYFB7BN3.js} +16 -14
  176. package/dist/chunk-WYFB7BN3.js.map +1 -0
  177. package/dist/{chunk-VLT6PEWR.cjs → chunk-XBHRKLZU.cjs} +4 -4
  178. package/dist/{chunk-VLT6PEWR.cjs.map → chunk-XBHRKLZU.cjs.map} +1 -1
  179. package/dist/{chunk-S6PW7VV5.js → chunk-YQ4JONWE.js} +91 -48
  180. package/dist/chunk-YQ4JONWE.js.map +1 -0
  181. package/dist/{chunk-MZLPX2R7.js → chunk-Z43KWLZF.js} +8 -8
  182. package/dist/{chunk-MZLPX2R7.js.map → chunk-Z43KWLZF.js.map} +1 -1
  183. package/dist/{chunk-E4WNQBEF.cjs → chunk-ZBVZ7HXD.cjs} +12 -12
  184. package/dist/{chunk-E4WNQBEF.cjs.map → chunk-ZBVZ7HXD.cjs.map} +1 -1
  185. package/dist/{chunk-4UGOKMI5.cjs → chunk-ZHOAZD7Q.cjs} +161 -161
  186. package/dist/{chunk-4UGOKMI5.cjs.map → chunk-ZHOAZD7Q.cjs.map} +1 -1
  187. package/dist/{chunk-XCAGZAKP.cjs → chunk-ZIH42CRX.cjs} +7 -7
  188. package/dist/{chunk-XCAGZAKP.cjs.map → chunk-ZIH42CRX.cjs.map} +1 -1
  189. package/dist/core/index.cjs +27 -27
  190. package/dist/core/index.d.cts +4 -4
  191. package/dist/core/index.d.ts +4 -4
  192. package/dist/core/index.js +7 -7
  193. package/dist/{ddl-BJcOp4WZ.d.cts → ddl-mE07h_EM.d.cts} +3 -3
  194. package/dist/{ddl-BXfGHbPN.d.ts → ddl-opIn8DfX.d.ts} +3 -3
  195. package/dist/graph-extension/index.cjs +20 -20
  196. package/dist/graph-extension/index.d.cts +4 -4
  197. package/dist/graph-extension/index.d.ts +4 -4
  198. package/dist/graph-extension/index.js +4 -4
  199. package/dist/graph-merge/index.cjs +248 -248
  200. package/dist/graph-merge/index.d.cts +8 -8
  201. package/dist/graph-merge/index.d.ts +8 -8
  202. package/dist/graph-merge/index.js +24 -24
  203. package/dist/{index-DxaYCv8Y.d.cts → index-Deyu8IXL.d.ts} +20 -3
  204. package/dist/{index-BSHvKfok.d.ts → index-DrRS51Ld.d.cts} +20 -3
  205. package/dist/index.cjs +219 -215
  206. package/dist/index.d.cts +11 -11
  207. package/dist/index.d.ts +11 -11
  208. package/dist/index.js +34 -34
  209. package/dist/indexes/index.cjs +13 -13
  210. package/dist/indexes/index.d.cts +4 -4
  211. package/dist/indexes/index.d.ts +4 -4
  212. package/dist/indexes/index.js +6 -6
  213. package/dist/interchange/index.cjs +52 -52
  214. package/dist/interchange/index.d.cts +7 -7
  215. package/dist/interchange/index.d.ts +7 -7
  216. package/dist/interchange/index.js +16 -16
  217. package/dist/{manager-CfZAimti.d.ts → manager-DX983gJ0.d.ts} +2 -2
  218. package/dist/{manager-HGk6E_HW.d.cts → manager-ptr3JLRP.d.cts} +2 -2
  219. package/dist/{materialize-indexes-6A7dWGtb.d.cts → materialize-indexes-BXz77YqO.d.cts} +1 -1
  220. package/dist/{materialize-indexes-BMJP6Tms.d.ts → materialize-indexes-CpXoggWU.d.ts} +1 -1
  221. package/dist/{postgres-DFYWENdR.d.cts → postgres-DwgEXSPI.d.cts} +1 -1
  222. package/dist/{postgres-e7a9TdvR.d.ts → postgres-QdOMHTBz.d.ts} +1 -1
  223. package/dist/profiler/index.d.cts +9 -9
  224. package/dist/profiler/index.d.ts +9 -9
  225. package/dist/provenance/index.cjs +42 -42
  226. package/dist/provenance/index.d.cts +7 -7
  227. package/dist/provenance/index.d.ts +7 -7
  228. package/dist/provenance/index.js +9 -9
  229. package/dist/schema/index.cjs +44 -44
  230. package/dist/schema/index.d.cts +6 -6
  231. package/dist/schema/index.d.ts +6 -6
  232. package/dist/schema/index.js +17 -17
  233. package/dist/{searchable-9OQoPuRs.d.ts → searchable-BOUuA83f.d.ts} +1 -1
  234. package/dist/{searchable-CIje5XYD.d.cts → searchable-BrUh0pdc.d.cts} +1 -1
  235. package/dist/{sqlite-DerU5tc7.d.ts → sqlite-BfYcV61E.d.cts} +1 -1
  236. package/dist/{sqlite-DitnISa9.d.cts → sqlite-DK40XVR1.d.ts} +1 -1
  237. package/dist/{store-B0h6x7wo.d.cts → store-Bo1psfVZ.d.ts} +15 -5
  238. package/dist/{store-ClQ-MZQS.d.ts → store-FTqBpuJD.d.cts} +15 -5
  239. package/dist/{temporal-Bn-Fi8FJ.d.cts → temporal-CXewwLTB.d.cts} +1 -1
  240. package/dist/{temporal-BtM4UALv.d.ts → temporal-DPtn0HOu.d.ts} +1 -1
  241. package/dist/{types-KFfk-8Ah.d.ts → types-CeT7xM4M.d.ts} +1 -1
  242. package/dist/{types-HkveCCx0.d.ts → types-Du78EvpN.d.cts} +7 -6
  243. package/dist/{types-HkveCCx0.d.cts → types-Du78EvpN.d.ts} +7 -6
  244. package/dist/{types-CoIx8HX5.d.cts → types-XR1nHERK.d.cts} +1 -1
  245. package/dist/{where--fk7_0kv.d.cts → where-CJsp-YUf.d.cts} +1 -1
  246. package/dist/{where-ws5hf-Ov.d.ts → where-CMbFiWwp.d.ts} +1 -1
  247. package/package.json +1 -1
  248. package/dist/chunk-5763DULU.js.map +0 -1
  249. package/dist/chunk-7VQXLT5O.js.map +0 -1
  250. package/dist/chunk-A4OC4DVN.cjs +0 -12
  251. package/dist/chunk-AKLS3BYZ.js.map +0 -1
  252. package/dist/chunk-C23WSN5E.js.map +0 -1
  253. package/dist/chunk-J3WZ3FA2.js.map +0 -1
  254. package/dist/chunk-M3WP7RQZ.js.map +0 -1
  255. package/dist/chunk-MUK4BU7K.cjs.map +0 -1
  256. package/dist/chunk-NI72YOJB.cjs.map +0 -1
  257. package/dist/chunk-PNTCATDE.cjs.map +0 -1
  258. package/dist/chunk-Q3G6A4I3.cjs.map +0 -1
  259. package/dist/chunk-S6PW7VV5.js.map +0 -1
  260. package/dist/chunk-TQR4KBY2.cjs.map +0 -1
  261. package/dist/chunk-VQH4VAWD.cjs +0 -12
  262. package/dist/chunk-XBYVV3MP.cjs.map +0 -1
  263. package/dist/chunk-YVWGEQJE.cjs.map +0 -1
@@ -1,30 +1,30 @@
1
- import { createEdgeRowMapper, createNodeRowMapper, SQLITE_ROW_MAPPER_CONFIG, POSTGRES_ROW_MAPPER_CONFIG } from './chunk-NMWDXFPH.js';
2
- import { rowToNode, executeNodeBulkFindByIndex, executeNodeBulkFindByConstraint, executeNodeFindByConstraint, executeNodeBulkGetOrCreateByConstraint, executeNodeGetOrCreateByConstraint, executeNodeHardDelete, executeNodeDeleteBatch, executeNodeDelete, nodeUpsertDirtyCheck, executeNodeUpsertUpdate, executeNodeUpdateWhere, executeNodeUpdate, executeNodeCreateNoReturnBatch, executeNodeCreateBatch, executeNodeCreate, rowToEdge, checkCardinalityConstraint, edgeWriteNeedsConstraintFence, withAlreadyExistsTranslation, rowToNodeMeta, rowToEdgeMeta } from './chunk-L65OU2U3.js';
3
- import { storeRuntime, STORE_RUNTIME, TRANSACTION_RUNTIME, AUTO_REFRESH_STATISTICS_ROW_THRESHOLD, getEmbeddingFields, computeFulltextContent } from './chunk-M3WP7RQZ.js';
4
- import { loadAndMergeGraphExtensionDocument, serializeSchema, buildKindRegistry, ensureIdentitySchemaStorage, loadAndVerifyGraph, identitySchemaCommitPreflight, getSchemaChanges, requiresMigration, mergeGraphExtension, commitNewSchemaVersion, commitNewSchemaVersionWithPreflight, planRemovals, stripGraphExtension, applyDeprecatedKinds, identityKindCascadeNeeded, ensureSchema, loadActiveSchemaWithBootstrap, parseSerializedSchema, extensionKindNames, serializeSchemaProperties, buildGraphExtensionOntologyKeySet, compileTimeOntologyKey, commitNewSchemaVersionIfKindsEmpty, serializeIndexDeclaration } from './chunk-LGHCOKTT.js';
5
- import { getTypeName } from './chunk-JXA2ZP2Q.js';
6
- import { rebuildIdentityClosureForContext, loadCurrentStructuralClasses, loadAssertionsByIds, toTransferAssertion, liveNodeKindsSharingIds, createIdentityFacade, createIdentityReadFacade, runInWriteTransaction, validateIdentityForContext, removeIdentityKindsForContext, readIdentityAssertionsForInterchange, readIdentityAssertionPageAtTarget, lockIdentityGraph, foldIdentityForCreatedNodes, importIdentityAssertionsIntoTarget, assertAffectedIdentityClassesConsistent, applyIdentityChangesForContext, withWriteTransactionSession, lockSchemaVersionForStoreWrite, refKey, detachIdentityForNode, validateEdgeProps, runHookedWriteOperation, encodeTupleKey } from './chunk-GF3KXUTW.js';
7
- import { isParameterRef, resolveParameterValueType, fieldRef, compareStrings, buildFieldBuilderForTypeInfo, stringField, createFulltextAccessor, CURRENT_READ_INSTANT_PLACEHOLDER, withPinnedReadInstant, compareCodePoints, assertRevisionTrackableBackend, createRecordedBackend, createRecordedTransactionScope, readRecordedClock, ensureRevisionOrigin, withRecordedFlushObserver, recordedCaptureRequiresCallbackTransactionError, assertRecordedCaptureTransactionIsolation, lockRecordedGraphWrite, createGraphBackendProjection, generateId, assertCurrentRecordedSchema, baseField, objectField, arrayField, dateField, numberField, advanceRevisionClock, runInsertBatch, edgeInsertDispatch, runInsertBatchReturning, projectBackendMembers, sqlValueList, getNodeRowsByIds, getEdgeRowsByIds, compileKindFilter, runInsertNoReturn, currentReadInstant, compileTemporalFilter, closeRecordedHardDeletedKind, buildPredicateIndex, historicalIdentityPeerClassQuery, IDENTITY_PEER_CLASS_COLUMNS, compileFieldValue, recordedBindParamBudget, extractVectorSimilarityPredicates, extractFulltextMatchPredicates, currentReadInstantFor, extractTemporalOptions, compilePredicateExpression, getPredicatesForAlias, getFieldPointer, getNodeKindsForAlias, getHybridTargetAlias, throwHistoryUnsafeSqlAccess, throwRevisionTrackingUnsafeSqlAccess, compilePredicateClauses } from './chunk-NLI2AVEF.js';
1
+ import { createEdgeRowMapper, createNodeRowMapper, SQLITE_ROW_MAPPER_CONFIG, POSTGRES_ROW_MAPPER_CONFIG } from './chunk-IHRDX7K6.js';
2
+ import { rowToNode, executeNodeBulkFindByIndex, executeNodeBulkFindByConstraint, executeNodeFindByConstraint, executeNodeBulkGetOrCreateByConstraint, executeNodeGetOrCreateByConstraint, executeNodeHardDelete, executeNodeDeleteBatch, executeNodeDelete, nodeUpsertDirtyCheck, executeNodeUpsertUpdate, executeNodeUpdateWhere, executeNodeUpdate, executeNodeCreateNoReturnBatch, executeNodeCreateBatch, executeNodeCreate, rowToEdge, checkCardinalityConstraint, edgeWriteNeedsConstraintFence, withAlreadyExistsTranslation, rowToNodeMeta, rowToEdgeMeta } from './chunk-WEJHA7AD.js';
3
+ import { storeRuntime, STORE_RUNTIME, TRANSACTION_RUNTIME, AUTO_REFRESH_STATISTICS_ROW_THRESHOLD, getEmbeddingFields, computeFulltextContent } from './chunk-LHYSY6SE.js';
4
+ import { loadAndMergeGraphExtensionDocument, serializeSchema, buildKindRegistry, ensureIdentitySchemaStorage, loadAndVerifyGraph, identitySchemaCommitPreflight, getSchemaChanges, requiresMigration, mergeGraphExtension, commitNewSchemaVersion, commitNewSchemaVersionWithPreflight, planRemovals, stripGraphExtension, applyDeprecatedKinds, identityKindCascadeNeeded, ensureSchema, loadActiveSchemaWithBootstrap, parseSerializedSchema, extensionKindNames, serializeSchemaProperties, buildGraphExtensionOntologyKeySet, compileTimeOntologyKey, commitNewSchemaVersionIfKindsEmpty, serializeIndexDeclaration } from './chunk-KA4L2NZ3.js';
5
+ import { getTypeName } from './chunk-36LIJXWC.js';
6
+ import { rebuildIdentityClosureForContext, loadCurrentStructuralClasses, loadAssertionsByIds, toTransferAssertion, liveNodeKindsSharingIds, createIdentityFacade, createIdentityReadFacade, runInWriteTransaction, validateIdentityForContext, removeIdentityKindsForContext, readIdentityAssertionsForInterchange, readIdentityAssertionPageAtTarget, lockIdentityGraph, foldIdentityForCreatedNodes, importIdentityAssertionsIntoTarget, assertAffectedIdentityClassesConsistent, applyIdentityChangesForContext, withWriteTransactionSession, lockSchemaVersionForStoreWrite, refKey, detachIdentityForNode, validateEdgeProps, runHookedWriteOperation, encodeTupleKey } from './chunk-A2LJG5GM.js';
7
+ import { isParameterRef, resolveParameterValueType, fieldRef, compareStrings, buildFieldBuilderForTypeInfo, stringField, createFulltextAccessor, CURRENT_READ_INSTANT_PLACEHOLDER, withPinnedReadInstant, compareCodePoints, assertRevisionTrackableBackend, createRecordedBackend, createRecordedTransactionScope, readRecordedClock, ensureRevisionOrigin, withRecordedFlushObserver, recordedCaptureRequiresCallbackTransactionError, assertRecordedCaptureTransactionIsolation, lockRecordedGraphWrite, createGraphBackendProjection, generateId, assertCurrentRecordedSchema, baseField, objectField, arrayField, dateField, numberField, advanceRevisionClock, runInsertBatch, edgeInsertDispatch, runInsertBatchReturning, projectBackendMembers, sqlValueList, getNodeRowsByIds, getEdgeRowsByIds, compileKindFilter, runInsertNoReturn, currentReadInstant, compileTemporalFilter, closeRecordedHardDeletedKind, buildPredicateIndex, historicalIdentityPeerClassQuery, IDENTITY_PEER_CLASS_COLUMNS, compileFieldValue, recordedBindParamBudget, extractVectorSimilarityPredicates, extractFulltextMatchPredicates, currentReadInstantFor, extractTemporalOptions, compilePredicateExpression, getPredicatesForAlias, getFieldPointer, getNodeKindsForAlias, getHybridTargetAlias, throwHistoryUnsafeSqlAccess, throwRevisionTrackingUnsafeSqlAccess, compilePredicateClauses } from './chunk-EDHV4CBU.js';
8
8
  import { canonicalEqual, sortedReplacer } from './chunk-JBQQ7THH.js';
9
- import { withRecordedRelationsPrecondition, chunk, postgresReadWriteRefusedSqlState, isMissingTableError, groupBy, postgresTemporaryTableUnavailableSqlState } from './chunk-JZUR7ZWE.js';
10
- import { createSqlSchema, requireSqlSchema, DEFAULT_SQL_SCHEMA, recordedReadSchemaFor, requireExternalRecordedReadSource, createRecordedReadBinding, vectorSlotKey, recordedReadSqlSchema, requireRecordedReadBinding, ALIAS_CTE_PREFIX, EMBEDDINGS_CTE_ALIAS, FULLTEXT_CTE_ALIAS, HYBRID_CANDIDATES_CTE_ALIAS } from './chunk-MSY7FSX4.js';
11
- import { runOptionallyInTransaction, createTransactionReadBackend, createBackendOverlay, rowPropsToObject, INTERNAL_TEMPORARY_WRITES } from './chunk-AKLS3BYZ.js';
12
- import { isKnownKind } from './chunk-775A4ZMN.js';
13
- import { validateEdgeEndpoints } from './chunk-WDGA7IYB.js';
14
- import { resolveReadCoordinate, withRecordedCoordinate, describeCoordinate, coordinateContext, nowIso, recordedInstantWallTime, asRecordedInstant, validateOptionalCanonicalIsoDate, assertOrderedValidityWindow, assertWritableValidityWindow, assertValidRecordedInstant, optionalRecordedInstantParts, preservesImmutableLowerBound, isCanonicalIsoDate, statedBoundMatchesStored } from './chunk-XL7SLCXS.js';
15
- import { generateIndexDDL } from './chunk-DCQVHAYQ.js';
16
- import { SYSTEM_INDEX_DECLARATIONS, resolveSystemIndexTableName, systemIndexName, resolveSystemIndexNames, generateSystemIndexDDL } from './chunk-CBTIUB76.js';
17
- import { NODE_META_KEYS, EDGE_META_KEYS } from './chunk-I5MOXA4H.js';
9
+ import { withRecordedRelationsPrecondition, chunk, postgresReadWriteRefusedSqlState, isMissingTableError, groupBy, postgresTemporaryTableUnavailableSqlState } from './chunk-DSAWGCMP.js';
10
+ import { createSqlSchema, requireSqlSchema, DEFAULT_SQL_SCHEMA, recordedReadSchemaFor, requireExternalRecordedReadSource, createRecordedReadBinding, vectorSlotKey, recordedReadSqlSchema, requireRecordedReadBinding, ALIAS_CTE_PREFIX, EMBEDDINGS_CTE_ALIAS, FULLTEXT_CTE_ALIAS, HYBRID_CANDIDATES_CTE_ALIAS } from './chunk-72WUT4GG.js';
11
+ import { runOptionallyInTransaction, createTransactionReadBackend, createBackendOverlay, rowPropsToObject, INTERNAL_TEMPORARY_WRITES } from './chunk-FA6Z7B5L.js';
12
+ import { isKnownKind } from './chunk-5ZJOB5YS.js';
13
+ import { validateEdgeEndpoints } from './chunk-LNIWCQR4.js';
14
+ import { resolveReadCoordinate, withRecordedCoordinate, describeCoordinate, coordinateContext, nowIso, recordedInstantWallTime, asRecordedInstant, validateOptionalCanonicalIsoDate, assertOrderedValidityWindow, preservesImmutableLowerBound, assertWritableValidityWindow, assertValidRecordedInstant, optionalRecordedInstantParts, isCanonicalIsoDate, statedBoundMatchesStored } from './chunk-R7EWHKID.js';
15
+ import { generateIndexDDL } from './chunk-EDJDDY6H.js';
16
+ import { SYSTEM_INDEX_DECLARATIONS, resolveSystemIndexTableName, systemIndexName, resolveSystemIndexNames, generateSystemIndexDDL } from './chunk-FSLTU57P.js';
17
+ import { NODE_META_KEYS, EDGE_META_KEYS } from './chunk-WMKEGJG4.js';
18
18
  import { sha256Hex, fnv1aBase36 } from './chunk-K34OPSJK.js';
19
19
  import { DEFAULT_PAGINATION_LIMIT, DEFAULT_STREAM_BATCH_SIZE, SQLITE_PATH_DELIMITER, PG_ARRAY_START, PG_ARRAY_END, PG_PATH_ELEMENT_SEPARATOR, MAX_PG_IDENTIFIER_LENGTH } from './chunk-2EBMPJBO.js';
20
- import { getDialect, assertVectorMinScore, assertApproximateMetricSupported, vectorScoreExpression, vectorMinScoreCondition } from './chunk-YDFDBE6D.js';
21
- import { isSqlPlaceholder, bindSqlValue, markAnnIndexScan, asCompiledSelectSql, isRawExecutable, renderSql, annIndexScanTypes, sql, asCompiledRowsSql, markForceCustomPlan, asCompiledStatementSql, asCompiledTemporaryStatementSql } from './chunk-PQBQG7IM.js';
20
+ import { getDialect, assertVectorMinScore, assertApproximateMetricSupported, vectorScoreExpression, vectorMinScoreCondition } from './chunk-EAMVXR5B.js';
21
+ import { isSqlPlaceholder, bindSqlValue, markAnnIndexScan, asCompiledSelectSql, isRawExecutable, renderSql, annIndexScanTypes, sql, asCompiledRowsSql, markForceCustomPlan, asCompiledStatementSql, asCompiledTemporaryStatementSql } from './chunk-QOJ2L2AD.js';
22
22
  import { createSchemaIntrospector } from './chunk-AMKPPFUO.js';
23
23
  import { resolveEmbeddingFields, resolveGraphVectorSlots, resolveDeclaredFulltextLanguage, getSearchableFields } from './chunk-PC2UBAUB.js';
24
- import { IncompatibleChangeError } from './chunk-T4XNKYXB.js';
24
+ import { IncompatibleChangeError } from './chunk-SXWLLQ3D.js';
25
25
  import { META_EDGE_DISJOINT_WITH, META_EDGE_EQUIVALENT_TO, META_EDGE_SAME_AS, META_EDGE_SUB_CLASS_OF } from './chunk-JXXDZTMN.js';
26
- import { validateProjectionField } from './chunk-K5ELX2GT.js';
27
- import { ConfigurationError, UnsupportedPredicateError, ValidationError, KindNotFoundError, EndpointError, EagerMaterializationError, ContributionRebuildUnsupportedError, CompilerInvariantError, CardinalityError, DatabaseOperationError, EdgeNotFoundError, MigrationError, EDGE_IDENTITY_MISMATCH_CODE, UnsupportedBackendCapabilityError, EndpointNotFoundError, GraphAlgorithmConvergenceError, InvalidEdgeWeightError } from './chunk-J3WZ3FA2.js';
26
+ import { validateProjectionField } from './chunk-OZJCH7ZS.js';
27
+ import { ConfigurationError, UnsupportedPredicateError, ValidationError, KindNotFoundError, EndpointError, EagerMaterializationError, ContributionRebuildUnsupportedError, CompilerInvariantError, CardinalityError, DatabaseOperationError, EdgeNotFoundError, MigrationError, EDGE_IDENTITY_MISMATCH_CODE, UnsupportedBackendCapabilityError, EndpointNotFoundError, GraphAlgorithmConvergenceError, InvalidEdgeWeightError } from './chunk-62ZXBMSD.js';
28
28
  import { jsonPointer, parseJsonPointer, resolveJsonPointer } from './chunk-FWJKWH6U.js';
29
29
  import { readOwnProperty, requireDefined, createDataKeyedBag, isInteropProbeKey, hasOwnKey, isPresent } from './chunk-DYATYRY4.js';
30
30
 
@@ -14449,7 +14449,10 @@ function createEdgeCollection(config) {
14449
14449
  ...options?.validFrom !== void 0 && {
14450
14450
  validFrom: options.validFrom
14451
14451
  },
14452
- ...options?.validTo !== void 0 && { validTo: options.validTo }
14452
+ ...options?.validTo !== void 0 && { validTo: options.validTo },
14453
+ ...options?.onImmutableLowerBound !== void 0 && {
14454
+ onImmutableLowerBound: options.onImmutableLowerBound
14455
+ }
14453
14456
  };
14454
14457
  const result = await config.executeGetOrCreateByEndpoints(
14455
14458
  kind,
@@ -14472,7 +14475,10 @@ function createEdgeCollection(config) {
14472
14475
  toId: item.to.id,
14473
14476
  props: item.props,
14474
14477
  ...item.validFrom !== void 0 && { validFrom: item.validFrom },
14475
- ...item.validTo !== void 0 && { validTo: item.validTo }
14478
+ ...item.validTo !== void 0 && { validTo: item.validTo },
14479
+ ...item.onImmutableLowerBound !== void 0 && {
14480
+ onImmutableLowerBound: item.onImmutableLowerBound
14481
+ }
14476
14482
  }));
14477
14483
  const getOrCreateOptions = {
14478
14484
  ...options?.matchOn !== void 0 && {
@@ -16787,14 +16793,16 @@ async function performEdgeUpdate(ctx, input, target, options) {
16787
16793
  "update"
16788
16794
  );
16789
16795
  const { validatedProps } = resolveEdgeUpdateProps(ctx, existing, input.props);
16790
- const validFrom = validateOptionalCanonicalIsoDate(
16796
+ const statedValidFrom = validateOptionalCanonicalIsoDate(
16791
16797
  input.validFrom,
16792
16798
  "validFrom"
16793
16799
  );
16800
+ const preservesLiveLowerBound = options?.clearDeleted !== true && preservesImmutableLowerBound(input.onImmutableLowerBound);
16801
+ const appliedValidFrom = preservesLiveLowerBound ? void 0 : statedValidFrom;
16794
16802
  const validTo = validateOptionalCanonicalIsoDate(input.validTo, "validTo");
16795
16803
  const windowVerdict = assertWritableValidityWindow(
16796
16804
  `edge "${id}"`,
16797
- validFrom,
16805
+ appliedValidFrom,
16798
16806
  {
16799
16807
  effectiveValidFrom: existing.valid_from,
16800
16808
  appliesStatedValidFrom: options?.clearDeleted === true,
@@ -16828,7 +16836,9 @@ async function performEdgeUpdate(ctx, input, target, options) {
16828
16836
  if (input.identity.toId !== void 0) {
16829
16837
  updateParams.toId = input.identity.toId;
16830
16838
  }
16831
- if (validFrom !== void 0) updateParams.validFrom = validFrom;
16839
+ if (appliedValidFrom !== void 0) {
16840
+ updateParams.validFrom = appliedValidFrom;
16841
+ }
16832
16842
  if (validTo !== void 0) updateParams.validTo = validTo;
16833
16843
  if (options?.clearDeleted) updateParams.clearDeleted = true;
16834
16844
  const row = await withUnmatchedEdgeUpdateRefusal(
@@ -17112,6 +17122,9 @@ async function executeEdgeFindByEndpoints(ctx, kind, fromKind, fromId, toKind, t
17112
17122
  const { liveRow } = findMatchingEdge(candidateRows, matchOn, props);
17113
17123
  return liveRow === void 0 ? void 0 : rowToEdge(liveRow);
17114
17124
  }
17125
+ function defersEndpointWindowOrdering(ifExists, onImmutableLowerBound) {
17126
+ return ifExists === "update" && preservesImmutableLowerBound(onImmutableLowerBound);
17127
+ }
17115
17128
  async function executeEdgeGetOrCreateByEndpoints(ctx, kind, fromKind, fromId, toKind, toId, props, backend, options) {
17116
17129
  const ifExists = options?.ifExists ?? "return";
17117
17130
  const matchOn = options?.matchOn ?? [];
@@ -17127,11 +17140,13 @@ async function executeEdgeGetOrCreateByEndpoints(ctx, kind, fromKind, fromId, to
17127
17140
  "validFrom"
17128
17141
  );
17129
17142
  const validTo = validateOptionalCanonicalIsoDate(options?.validTo, "validTo");
17130
- assertOrderedValidityWindow(
17131
- `${kind} edge between ${fromKind} "${fromId}" and ${toKind} "${toId}"`,
17132
- validFrom,
17133
- validTo
17134
- );
17143
+ if (!defersEndpointWindowOrdering(ifExists, options?.onImmutableLowerBound)) {
17144
+ assertOrderedValidityWindow(
17145
+ `${kind} edge between ${fromKind} "${fromId}" and ${toKind} "${toId}"`,
17146
+ validFrom,
17147
+ validTo
17148
+ );
17149
+ }
17135
17150
  if (ifExists === "return") {
17136
17151
  const probeRows = await backend.findEdgesByKind({
17137
17152
  graphId: ctx.graphId,
@@ -17202,7 +17217,10 @@ async function executeEdgeGetOrCreateByEndpoints(ctx, kind, fromKind, fromId, to
17202
17217
  identity: { kind, fromKind, fromId, toKind, toId },
17203
17218
  props: validatedProps,
17204
17219
  ...validFrom !== void 0 && { validFrom },
17205
- ...validTo !== void 0 && { validTo }
17220
+ ...validTo !== void 0 && { validTo },
17221
+ ...options?.onImmutableLowerBound !== void 0 && {
17222
+ onImmutableLowerBound: options.onImmutableLowerBound
17223
+ }
17206
17224
  },
17207
17225
  backend
17208
17226
  );
@@ -17221,7 +17239,10 @@ async function executeEdgeGetOrCreateByEndpoints(ctx, kind, fromKind, fromId, to
17221
17239
  identity: { kind, fromKind, fromId, toKind, toId },
17222
17240
  props: validatedProps,
17223
17241
  ...validFrom !== void 0 && { validFrom },
17224
- ...validTo !== void 0 && { validTo }
17242
+ ...validTo !== void 0 && { validTo },
17243
+ ...options?.onImmutableLowerBound !== void 0 && {
17244
+ onImmutableLowerBound: options.onImmutableLowerBound
17245
+ }
17225
17246
  },
17226
17247
  backend,
17227
17248
  {
@@ -17278,11 +17299,13 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17278
17299
  "validFrom"
17279
17300
  );
17280
17301
  const validTo = validateOptionalCanonicalIsoDate(item.validTo, "validTo");
17281
- assertOrderedValidityWindow(
17282
- `${kind} edge between ${item.fromKind} "${item.fromId}" and ${item.toKind} "${item.toId}"`,
17283
- validFrom,
17284
- validTo
17285
- );
17302
+ if (!defersEndpointWindowOrdering(ifExists, item.onImmutableLowerBound)) {
17303
+ assertOrderedValidityWindow(
17304
+ `${kind} edge between ${item.fromKind} "${item.fromId}" and ${item.toKind} "${item.toId}"`,
17305
+ validFrom,
17306
+ validTo
17307
+ );
17308
+ }
17286
17309
  const compositeKey = buildEdgeCompositeKey(
17287
17310
  item.fromKind,
17288
17311
  item.fromId,
@@ -17306,7 +17329,10 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17306
17329
  compositeKey,
17307
17330
  endpointKey: endpointKey2,
17308
17331
  ...validFrom !== void 0 && { validFrom },
17309
- ...validTo !== void 0 && { validTo }
17332
+ ...validTo !== void 0 && { validTo },
17333
+ ...item.onImmutableLowerBound !== void 0 && {
17334
+ onImmutableLowerBound: item.onImmutableLowerBound
17335
+ }
17310
17336
  });
17311
17337
  }
17312
17338
  const uniqueEndpoints = /* @__PURE__ */ new Map();
@@ -17345,6 +17371,13 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17345
17371
  for (const [index, entry2] of validated.entries()) {
17346
17372
  const previousIndex = seenKeys.get(entry2.compositeKey);
17347
17373
  if (previousIndex !== void 0) {
17374
+ if (preservesImmutableLowerBound(entry2.onImmutableLowerBound)) {
17375
+ assertOrderedValidityWindow(
17376
+ `${kind} edge between ${entry2.fromKind} "${entry2.fromId}" and ${entry2.toKind} "${entry2.toId}"`,
17377
+ entry2.validFrom,
17378
+ entry2.validTo
17379
+ );
17380
+ }
17348
17381
  duplicateOf.push({ index, sourceIndex: previousIndex });
17349
17382
  continue;
17350
17383
  }
@@ -17388,7 +17421,10 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17388
17421
  ...entry2.validFrom !== void 0 && {
17389
17422
  validFrom: entry2.validFrom
17390
17423
  },
17391
- ...entry2.validTo !== void 0 && { validTo: entry2.validTo }
17424
+ ...entry2.validTo !== void 0 && { validTo: entry2.validTo },
17425
+ ...entry2.onImmutableLowerBound !== void 0 && {
17426
+ onImmutableLowerBound: entry2.onImmutableLowerBound
17427
+ }
17392
17428
  });
17393
17429
  }
17394
17430
  }
@@ -17451,7 +17487,10 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17451
17487
  ...entry2.validFrom !== void 0 && {
17452
17488
  validFrom: entry2.validFrom
17453
17489
  },
17454
- ...entry2.validTo !== void 0 && { validTo: entry2.validTo }
17490
+ ...entry2.validTo !== void 0 && { validTo: entry2.validTo },
17491
+ ...entry2.onImmutableLowerBound !== void 0 && {
17492
+ onImmutableLowerBound: entry2.onImmutableLowerBound
17493
+ }
17455
17494
  },
17456
17495
  target,
17457
17496
  {
@@ -17483,7 +17522,10 @@ async function executeEdgeBulkGetOrCreateByEndpoints(ctx, kind, items, backend,
17483
17522
  ...entry2.validFrom !== void 0 && {
17484
17523
  validFrom: entry2.validFrom
17485
17524
  },
17486
- ...entry2.validTo !== void 0 && { validTo: entry2.validTo }
17525
+ ...entry2.validTo !== void 0 && { validTo: entry2.validTo },
17526
+ ...entry2.onImmutableLowerBound !== void 0 && {
17527
+ onImmutableLowerBound: entry2.onImmutableLowerBound
17528
+ }
17487
17529
  },
17488
17530
  target
17489
17531
  );
@@ -20477,8 +20519,9 @@ var StoreImplementation = class _StoreImplementation {
20477
20519
  * path. The cost is that a database whose contribution tables were dropped
20478
20520
  * out of band (a partial restore, a hand-run `DROP`, a schema-scoped
20479
20521
  * restore that missed them) opens completely clean and then fails at the
20480
- * first read of the affected slot. This is the explicit, operator-invoked
20481
- * check for that state; it is not, and should not become, a boot step.
20522
+ * first read or write that depends on the affected slot. This is the
20523
+ * explicit, operator-invoked check for that state; it is not, and should not
20524
+ * become, a boot step.
20482
20525
  *
20483
20526
  * Purely read-only: one existence query per distinct contribution table
20484
20527
  * plus one marker read per graph, no DDL and no writes, so it is safe to
@@ -20556,8 +20599,8 @@ var StoreImplementation = class _StoreImplementation {
20556
20599
  return repair(this.graphId, vectorSlots);
20557
20600
  }
20558
20601
  /**
20559
- * Read-only readiness check for the search projections: is search
20560
- * coherent with the graph right now, or is a query about to hit a
20602
+ * Read-only readiness check for the search projections: are dependent reads
20603
+ * and writes coherent with the graph right now, or are they about to hit a
20561
20604
  * degraded index?
20562
20605
  *
20563
20606
  * The read-only half of {@link Store.repairContributions}, and the
@@ -21675,5 +21718,5 @@ async function createVerifiedAdapterStore(graph, backend, options) {
21675
21718
  }
21676
21719
 
21677
21720
  export { ExecutableAggregateQuery, ExecutableQuery, MAX_EXPLICIT_RECURSIVE_DEPTH, MAX_RECURSIVE_DEPTH, PreparedQuery, QueryBuilder, RecordedStoreView, StoreSearch, StoreView, UnionableQuery, avg, composeFragments, count, countDistinct, countDistinctEdges, countEdges, createAdapterStore, createAdapterStoreWithSchema, createFragment, createQueryBuilder, createStore, createStoreWithSchema, createVerifiedAdapterStore, createVerifiedStore, defineSubgraphProject, field, having, havingEq, havingGt, havingGte, havingLt, havingLte, limitFragment, max, min, offsetFragment, orderByFragment, sum };
21678
- //# sourceMappingURL=chunk-S6PW7VV5.js.map
21679
- //# sourceMappingURL=chunk-S6PW7VV5.js.map
21721
+ //# sourceMappingURL=chunk-YQ4JONWE.js.map
21722
+ //# sourceMappingURL=chunk-YQ4JONWE.js.map