@nicia-ai/typegraph 0.42.1 → 0.44.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 (289) 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 +50 -50
  6. package/dist/backend/index.d.cts +3 -3
  7. package/dist/backend/index.d.ts +3 -3
  8. package/dist/backend/index.js +11 -11
  9. package/dist/backend/postgres/index.cjs +26 -26
  10. package/dist/backend/postgres/index.d.cts +6 -5
  11. package/dist/backend/postgres/index.d.ts +6 -5
  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.cjs.map +1 -1
  15. package/dist/backend/postgres/pglite-store.d.cts +7 -7
  16. package/dist/backend/postgres/pglite-store.d.ts +7 -7
  17. package/dist/backend/postgres/pglite-store.js +29 -29
  18. package/dist/backend/postgres/pglite-store.js.map +1 -1
  19. package/dist/backend/postgres/pglite.cjs +15 -15
  20. package/dist/backend/postgres/pglite.d.cts +3 -2
  21. package/dist/backend/postgres/pglite.d.ts +3 -2
  22. package/dist/backend/postgres/pglite.js +14 -14
  23. package/dist/backend/sqlite/index.cjs +23 -23
  24. package/dist/backend/sqlite/index.d.cts +7 -6
  25. package/dist/backend/sqlite/index.d.ts +7 -6
  26. package/dist/backend/sqlite/index.js +11 -11
  27. package/dist/backend/sqlite/libsql.cjs +17 -17
  28. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  29. package/dist/backend/sqlite/libsql.d.cts +3 -2
  30. package/dist/backend/sqlite/libsql.d.ts +3 -2
  31. package/dist/backend/sqlite/libsql.js +13 -13
  32. package/dist/backend/sqlite/libsql.js.map +1 -1
  33. package/dist/backend/sqlite/local-store.cjs +34 -34
  34. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  35. package/dist/backend/sqlite/local-store.d.cts +8 -7
  36. package/dist/backend/sqlite/local-store.d.ts +8 -7
  37. package/dist/backend/sqlite/local-store.js +30 -30
  38. package/dist/backend/sqlite/local-store.js.map +1 -1
  39. package/dist/backend/sqlite/local.cjs +16 -16
  40. package/dist/backend/sqlite/local.d.cts +3 -2
  41. package/dist/backend/sqlite/local.d.ts +3 -2
  42. package/dist/backend/sqlite/local.js +14 -14
  43. package/dist/{chunk-3RPQDGUE.cjs → chunk-2BIG7U6E.cjs} +5 -5
  44. package/dist/{chunk-3RPQDGUE.cjs.map → chunk-2BIG7U6E.cjs.map} +1 -1
  45. package/dist/{chunk-2OOY4OYT.js → chunk-2L54C2C2.js} +4 -4
  46. package/dist/{chunk-2OOY4OYT.js.map → chunk-2L54C2C2.js.map} +1 -1
  47. package/dist/{chunk-V2GZBPY2.cjs → chunk-2VLBGQBY.cjs} +310 -61
  48. package/dist/chunk-2VLBGQBY.cjs.map +1 -0
  49. package/dist/{chunk-RXOAXO3R.js → chunk-2WDD2NO3.js} +3 -3
  50. package/dist/{chunk-RXOAXO3R.js.map → chunk-2WDD2NO3.js.map} +1 -1
  51. package/dist/{chunk-2HKIID5K.js → chunk-2Y4IFKW7.js} +5 -5
  52. package/dist/{chunk-2HKIID5K.js.map → chunk-2Y4IFKW7.js.map} +1 -1
  53. package/dist/{chunk-ECU53PMN.cjs → chunk-3PRKZW6D.cjs} +5 -5
  54. package/dist/chunk-3PRKZW6D.cjs.map +1 -0
  55. package/dist/{chunk-2G6ZEGYO.js → chunk-46GDII45.js} +4 -4
  56. package/dist/{chunk-2G6ZEGYO.js.map → chunk-46GDII45.js.map} +1 -1
  57. package/dist/{chunk-OYJSYDIH.js → chunk-4MB3AQAQ.js} +13 -3
  58. package/dist/chunk-4MB3AQAQ.js.map +1 -0
  59. package/dist/chunk-4SZ6XPTG.cjs +12 -0
  60. package/dist/{chunk-VGMNGWBR.cjs.map → chunk-4SZ6XPTG.cjs.map} +1 -1
  61. package/dist/{chunk-FY4VY5EV.cjs → chunk-5MUSU4ZP.cjs} +20 -20
  62. package/dist/chunk-5MUSU4ZP.cjs.map +1 -0
  63. package/dist/{chunk-ZIRC2U6G.js → chunk-63KCKSSH.js} +78 -16
  64. package/dist/chunk-63KCKSSH.js.map +1 -0
  65. package/dist/{chunk-7Y6BV3TK.cjs → chunk-66UVLHQA.cjs} +100 -100
  66. package/dist/{chunk-7Y6BV3TK.cjs.map → chunk-66UVLHQA.cjs.map} +1 -1
  67. package/dist/{chunk-M4GYQF2H.js → chunk-6DCB664D.js} +7 -4
  68. package/dist/chunk-6DCB664D.js.map +1 -0
  69. package/dist/{chunk-OMQ2NBOR.cjs → chunk-6JZUSDY2.cjs} +27 -27
  70. package/dist/{chunk-OMQ2NBOR.cjs.map → chunk-6JZUSDY2.cjs.map} +1 -1
  71. package/dist/{chunk-Z3WIL6S3.js → chunk-7G32LIQM.js} +5 -5
  72. package/dist/{chunk-Z3WIL6S3.js.map → chunk-7G32LIQM.js.map} +1 -1
  73. package/dist/{chunk-2SO5I5AI.cjs → chunk-7V2FGGI2.cjs} +250 -198
  74. package/dist/chunk-7V2FGGI2.cjs.map +1 -0
  75. package/dist/{chunk-I73ATSAH.cjs → chunk-A2I2XO52.cjs} +4 -4
  76. package/dist/{chunk-I73ATSAH.cjs.map → chunk-A2I2XO52.cjs.map} +1 -1
  77. package/dist/{chunk-O2GZM7UK.cjs → chunk-A4PBRX4C.cjs} +7 -7
  78. package/dist/{chunk-O2GZM7UK.cjs.map → chunk-A4PBRX4C.cjs.map} +1 -1
  79. package/dist/{chunk-5P6IPIT6.cjs → chunk-ALFUGRYB.cjs} +75 -65
  80. package/dist/chunk-ALFUGRYB.cjs.map +1 -0
  81. package/dist/{chunk-NXIZL7ZZ.js → chunk-ATLN63JA.js} +6 -6
  82. package/dist/chunk-ATLN63JA.js.map +1 -0
  83. package/dist/{chunk-CUPJL6TS.js → chunk-B75XRV3O.js} +3 -3
  84. package/dist/{chunk-CUPJL6TS.js.map → chunk-B75XRV3O.js.map} +1 -1
  85. package/dist/{chunk-DP7KC6CL.js → chunk-BCP7LLOY.js} +754 -476
  86. package/dist/chunk-BCP7LLOY.js.map +1 -0
  87. package/dist/{chunk-RAWG2FEU.js → chunk-BEFM74L2.js} +264 -18
  88. package/dist/chunk-BEFM74L2.js.map +1 -0
  89. package/dist/{chunk-LQLVJWUH.js → chunk-BNUFUFAU.js} +7 -7
  90. package/dist/chunk-BNUFUFAU.js.map +1 -0
  91. package/dist/{chunk-KTBTSHU6.cjs → chunk-C4F7VJ5D.cjs} +13 -3
  92. package/dist/chunk-C4F7VJ5D.cjs.map +1 -0
  93. package/dist/{chunk-CVK4T34X.cjs → chunk-CPEL3YIR.cjs} +22 -22
  94. package/dist/{chunk-CVK4T34X.cjs.map → chunk-CPEL3YIR.cjs.map} +1 -1
  95. package/dist/{chunk-O3USVVWS.js → chunk-DK2S42XB.js} +3 -3
  96. package/dist/{chunk-O3USVVWS.js.map → chunk-DK2S42XB.js.map} +1 -1
  97. package/dist/{chunk-DMZEVJGL.cjs → chunk-EE7N5XXQ.cjs} +13 -13
  98. package/dist/{chunk-DMZEVJGL.cjs.map → chunk-EE7N5XXQ.cjs.map} +1 -1
  99. package/dist/{chunk-ZGOUVMVS.js → chunk-EFELJVLA.js} +5 -5
  100. package/dist/{chunk-ZGOUVMVS.js.map → chunk-EFELJVLA.js.map} +1 -1
  101. package/dist/chunk-EPTSMFH7.cjs +12 -0
  102. package/dist/{chunk-U3YRCZ5L.cjs.map → chunk-EPTSMFH7.cjs.map} +1 -1
  103. package/dist/{chunk-FSCJOTHF.cjs → chunk-EQ7JKLZO.cjs} +10 -10
  104. package/dist/{chunk-FSCJOTHF.cjs.map → chunk-EQ7JKLZO.cjs.map} +1 -1
  105. package/dist/{chunk-5Q3P6OIC.cjs → chunk-FGO5JFVJ.cjs} +12 -12
  106. package/dist/chunk-FGO5JFVJ.cjs.map +1 -0
  107. package/dist/{chunk-VC26BUNP.js → chunk-FMGEZBAQ.js} +5 -5
  108. package/dist/{chunk-VC26BUNP.js.map → chunk-FMGEZBAQ.js.map} +1 -1
  109. package/dist/{chunk-UZLEQFTV.js → chunk-FMMIX6N4.js} +4 -4
  110. package/dist/chunk-FMMIX6N4.js.map +1 -0
  111. package/dist/{chunk-5C75HQYQ.js → chunk-FRHHDHKH.js} +5 -5
  112. package/dist/{chunk-5C75HQYQ.js.map → chunk-FRHHDHKH.js.map} +1 -1
  113. package/dist/{chunk-EVFL2ZY5.js → chunk-FSXTPBRN.js} +63 -12
  114. package/dist/chunk-FSXTPBRN.js.map +1 -0
  115. package/dist/{chunk-TRC646QQ.cjs → chunk-GFRGG2US.cjs} +7 -7
  116. package/dist/{chunk-TRC646QQ.cjs.map → chunk-GFRGG2US.cjs.map} +1 -1
  117. package/dist/{chunk-UJRWOV5B.js → chunk-GWEDD3DH.js} +5 -5
  118. package/dist/{chunk-UJRWOV5B.js.map → chunk-GWEDD3DH.js.map} +1 -1
  119. package/dist/{chunk-AQR6BHB3.cjs → chunk-HJH3RMXG.cjs} +10 -10
  120. package/dist/{chunk-AQR6BHB3.cjs.map → chunk-HJH3RMXG.cjs.map} +1 -1
  121. package/dist/{chunk-F7TDKSVB.cjs → chunk-HOHAJ2NR.cjs} +4 -4
  122. package/dist/{chunk-F7TDKSVB.cjs.map → chunk-HOHAJ2NR.cjs.map} +1 -1
  123. package/dist/{chunk-YPVQYM3L.js → chunk-HOIFFY4M.js} +100 -20
  124. package/dist/chunk-HOIFFY4M.js.map +1 -0
  125. package/dist/{chunk-LDCWO5B6.js → chunk-IIMQJYAM.js} +3 -3
  126. package/dist/{chunk-LDCWO5B6.js.map → chunk-IIMQJYAM.js.map} +1 -1
  127. package/dist/{chunk-OM6RIOA5.cjs → chunk-IIT5K7SK.cjs} +13 -13
  128. package/dist/{chunk-OM6RIOA5.cjs.map → chunk-IIT5K7SK.cjs.map} +1 -1
  129. package/dist/{chunk-EQOQOT55.js → chunk-IJTLXNGJ.js} +5 -5
  130. package/dist/{chunk-EQOQOT55.js.map → chunk-IJTLXNGJ.js.map} +1 -1
  131. package/dist/{chunk-4XRP2N6B.js → chunk-JRP3VGHS.js} +3 -3
  132. package/dist/{chunk-4XRP2N6B.js.map → chunk-JRP3VGHS.js.map} +1 -1
  133. package/dist/{chunk-42XYPKZU.js → chunk-K3BUWSFR.js} +41 -3
  134. package/dist/chunk-K3BUWSFR.js.map +1 -0
  135. package/dist/{chunk-GT7NEXSU.js → chunk-KCO5EFJU.js} +3 -3
  136. package/dist/{chunk-GT7NEXSU.js.map → chunk-KCO5EFJU.js.map} +1 -1
  137. package/dist/{chunk-ARN3ZODS.cjs → chunk-KKYELPZ2.cjs} +6 -6
  138. package/dist/{chunk-ARN3ZODS.cjs.map → chunk-KKYELPZ2.cjs.map} +1 -1
  139. package/dist/{chunk-33PAKPED.cjs → chunk-MCHP7RHZ.cjs} +41 -41
  140. package/dist/{chunk-33PAKPED.cjs.map → chunk-MCHP7RHZ.cjs.map} +1 -1
  141. package/dist/{chunk-CDYRPI5U.js → chunk-MIJKEVV7.js} +4 -4
  142. package/dist/{chunk-CDYRPI5U.js.map → chunk-MIJKEVV7.js.map} +1 -1
  143. package/dist/{chunk-K2HHCWZO.cjs → chunk-NCX65HBY.cjs} +137 -108
  144. package/dist/chunk-NCX65HBY.cjs.map +1 -0
  145. package/dist/{chunk-6TJ6PKPS.cjs → chunk-NN3QSOVS.cjs} +27 -27
  146. package/dist/{chunk-6TJ6PKPS.cjs.map → chunk-NN3QSOVS.cjs.map} +1 -1
  147. package/dist/{chunk-F2KVJ6FF.cjs → chunk-OSZPLZIV.cjs} +179 -117
  148. package/dist/chunk-OSZPLZIV.cjs.map +1 -0
  149. package/dist/{chunk-UTTW2Q3M.cjs → chunk-OVUUTCPJ.cjs} +171 -133
  150. package/dist/chunk-OVUUTCPJ.cjs.map +1 -0
  151. package/dist/{chunk-FMPZPOUD.js → chunk-PAW2XUZN.js} +3 -3
  152. package/dist/{chunk-FMPZPOUD.js.map → chunk-PAW2XUZN.js.map} +1 -1
  153. package/dist/{chunk-5ZPRE4CV.cjs → chunk-PDGEXGS6.cjs} +204 -124
  154. package/dist/chunk-PDGEXGS6.cjs.map +1 -0
  155. package/dist/{chunk-CVNGKTHO.js → chunk-PHXITZE4.js} +4 -4
  156. package/dist/{chunk-CVNGKTHO.js.map → chunk-PHXITZE4.js.map} +1 -1
  157. package/dist/{chunk-ZPCKPLMX.cjs → chunk-QB6VMOJ2.cjs} +8 -8
  158. package/dist/{chunk-ZPCKPLMX.cjs.map → chunk-QB6VMOJ2.cjs.map} +1 -1
  159. package/dist/{chunk-5AERZSHC.cjs → chunk-QGKILWGZ.cjs} +4 -4
  160. package/dist/{chunk-5AERZSHC.cjs.map → chunk-QGKILWGZ.cjs.map} +1 -1
  161. package/dist/{chunk-ZOHCFYXE.js → chunk-QT6V3YRH.js} +3 -3
  162. package/dist/{chunk-ZOHCFYXE.js.map → chunk-QT6V3YRH.js.map} +1 -1
  163. package/dist/{chunk-XDMPDUKL.cjs → chunk-QYWINYEA.cjs} +9 -9
  164. package/dist/{chunk-XDMPDUKL.cjs.map → chunk-QYWINYEA.cjs.map} +1 -1
  165. package/dist/{chunk-3V6D5DEC.js → chunk-S4KQ5LV4.js} +3 -3
  166. package/dist/{chunk-3V6D5DEC.js.map → chunk-S4KQ5LV4.js.map} +1 -1
  167. package/dist/{chunk-6NB73BXV.js → chunk-SBPC5IP3.js} +40 -12
  168. package/dist/chunk-SBPC5IP3.js.map +1 -0
  169. package/dist/{chunk-HHBKGPEI.js → chunk-SQRD2CYF.js} +264 -21
  170. package/dist/chunk-SQRD2CYF.js.map +1 -0
  171. package/dist/{chunk-O7XVCLXW.cjs → chunk-ST3LPB2V.cjs} +324 -77
  172. package/dist/chunk-ST3LPB2V.cjs.map +1 -0
  173. package/dist/{chunk-FFQGI67R.cjs → chunk-STQ3BSED.cjs} +44 -44
  174. package/dist/{chunk-FFQGI67R.cjs.map → chunk-STQ3BSED.cjs.map} +1 -1
  175. package/dist/{chunk-JOYPNY33.js → chunk-TCRIQMBU.js} +9 -9
  176. package/dist/{chunk-JOYPNY33.js.map → chunk-TCRIQMBU.js.map} +1 -1
  177. package/dist/{chunk-ZP2KPDNN.js → chunk-TFMVL4QH.js} +3 -3
  178. package/dist/{chunk-ZP2KPDNN.js.map → chunk-TFMVL4QH.js.map} +1 -1
  179. package/dist/{chunk-4WYFRACU.js → chunk-TVLKA4AY.js} +3 -3
  180. package/dist/{chunk-4WYFRACU.js.map → chunk-TVLKA4AY.js.map} +1 -1
  181. package/dist/{chunk-X2XOQZT3.cjs → chunk-U5W4LKZV.cjs} +13 -9
  182. package/dist/chunk-U5W4LKZV.cjs.map +1 -0
  183. package/dist/{chunk-WYQILW5V.js → chunk-VITTKBWF.js} +43 -33
  184. package/dist/chunk-VITTKBWF.js.map +1 -0
  185. package/dist/{chunk-AO2WPYFZ.cjs → chunk-WBUFJ7BS.cjs} +4 -4
  186. package/dist/{chunk-AO2WPYFZ.cjs.map → chunk-WBUFJ7BS.cjs.map} +1 -1
  187. package/dist/{chunk-CI5NPLXX.js → chunk-XMYJY7NI.js} +3 -3
  188. package/dist/{chunk-CI5NPLXX.js.map → chunk-XMYJY7NI.js.map} +1 -1
  189. package/dist/{chunk-277UZV7X.cjs → chunk-XR4YZFKW.cjs} +1803 -1525
  190. package/dist/chunk-XR4YZFKW.cjs.map +1 -0
  191. package/dist/{chunk-5GV4JQNA.cjs → chunk-YNULOIR5.cjs} +43 -43
  192. package/dist/{chunk-5GV4JQNA.cjs.map → chunk-YNULOIR5.cjs.map} +1 -1
  193. package/dist/{chunk-ZBV4LQD2.cjs → chunk-ZTAJL4DT.cjs} +4 -4
  194. package/dist/{chunk-ZBV4LQD2.cjs.map → chunk-ZTAJL4DT.cjs.map} +1 -1
  195. package/dist/core/index.cjs +28 -28
  196. package/dist/core/index.d.cts +5 -5
  197. package/dist/core/index.d.ts +5 -5
  198. package/dist/core/index.js +8 -8
  199. package/dist/{ddl-Bc4Dl8fu.d.ts → ddl-D5369kOY.d.ts} +3 -3
  200. package/dist/{ddl-3unqC-kg.d.cts → ddl-eWg7hx6R.d.cts} +3 -3
  201. package/dist/{define-graph-Byslw2OO.d.cts → define-graph-DVF-oN1i.d.cts} +1 -1
  202. package/dist/{define-graph-DBFnc7u_.d.ts → define-graph-SvYXOl78.d.ts} +1 -1
  203. package/dist/graph-extension/index.cjs +20 -20
  204. package/dist/graph-extension/index.d.cts +4 -4
  205. package/dist/graph-extension/index.d.ts +4 -4
  206. package/dist/graph-extension/index.js +5 -5
  207. package/dist/graph-merge/index.cjs +104 -104
  208. package/dist/graph-merge/index.d.cts +9 -8
  209. package/dist/graph-merge/index.d.ts +9 -8
  210. package/dist/graph-merge/index.js +24 -24
  211. package/dist/{index-DQzVJBHa.d.ts → index-By89Sezh.d.ts} +37 -7
  212. package/dist/{index-DHXw7QAl.d.cts → index-DcQ3Sxs-.d.cts} +37 -7
  213. package/dist/index.cjs +210 -202
  214. package/dist/index.d.cts +13 -13
  215. package/dist/index.d.ts +13 -13
  216. package/dist/index.js +34 -34
  217. package/dist/indexes/index.cjs +13 -13
  218. package/dist/indexes/index.d.cts +4 -4
  219. package/dist/indexes/index.d.ts +4 -4
  220. package/dist/indexes/index.js +6 -6
  221. package/dist/interchange/index.cjs +49 -41
  222. package/dist/interchange/index.cjs.map +1 -1
  223. package/dist/interchange/index.d.cts +11 -11
  224. package/dist/interchange/index.d.ts +11 -11
  225. package/dist/interchange/index.js +23 -15
  226. package/dist/interchange/index.js.map +1 -1
  227. package/dist/{manager-Dl0-er1G.d.ts → manager-B0KjKE93.d.ts} +44 -6
  228. package/dist/{manager-U9_zopqr.d.cts → manager-Cn0NFIhN.d.cts} +44 -6
  229. package/dist/{materialize-indexes-BM3u0aXE.d.ts → materialize-indexes-BD4V3svD.d.ts} +1 -1
  230. package/dist/{materialize-indexes-DzMCetZe.d.cts → materialize-indexes-DVRhd5h4.d.cts} +1 -1
  231. package/dist/{postgres-C5-WMKFA.d.ts → postgres-DaEWvN4x.d.cts} +1 -1
  232. package/dist/{postgres-DpJqtbSX.d.cts → postgres-u0a0HN2D.d.ts} +1 -1
  233. package/dist/profiler/index.d.cts +10 -9
  234. package/dist/profiler/index.d.ts +10 -9
  235. package/dist/provenance/index.cjs +38 -38
  236. package/dist/provenance/index.cjs.map +1 -1
  237. package/dist/provenance/index.d.cts +7 -7
  238. package/dist/provenance/index.d.ts +7 -7
  239. package/dist/provenance/index.js +8 -8
  240. package/dist/provenance/index.js.map +1 -1
  241. package/dist/schema/index.cjs +41 -41
  242. package/dist/schema/index.d.cts +7 -7
  243. package/dist/schema/index.d.ts +7 -7
  244. package/dist/schema/index.js +14 -14
  245. package/dist/{searchable-B4mUXZT6.d.cts → searchable-BT7j9_IK.d.cts} +2 -2
  246. package/dist/{searchable-C7jmPNLT.d.ts → searchable-CnYEancP.d.ts} +2 -2
  247. package/dist/{sqlite-Da7jiYu9.d.cts → sqlite-BrMoSsI7.d.cts} +1 -1
  248. package/dist/{sqlite-Ch5tSYQY.d.ts → sqlite-CHhZUyO5.d.ts} +1 -1
  249. package/dist/{store-view-CNcOG8bQ.d.cts → store-view-Bvdku0Ht.d.ts} +199 -35
  250. package/dist/{store-view-6C2vTWqf.d.ts → store-view-w-md0nQ4.d.cts} +199 -35
  251. package/dist/{temporal-BtrTYTiB.d.ts → temporal--x9T8K4S.d.ts} +1 -1
  252. package/dist/{temporal-CMpigMCW.d.cts → temporal-BCORwUau.d.cts} +1 -1
  253. package/dist/{types-G4sVM-76.d.cts → types-6-WJmSD4.d.cts} +1 -1
  254. package/dist/{types-D2rU5Taq.d.ts → types-COODtTJU.d.ts} +1 -1
  255. package/dist/{types-Dh-EgT-w.d.ts → types-Cjvkj0jA.d.cts} +351 -12
  256. package/dist/{types-Dh-EgT-w.d.cts → types-Cjvkj0jA.d.ts} +351 -12
  257. package/dist/{where-B8Y21kig.d.ts → where-5xVawAwL.d.ts} +1 -1
  258. package/dist/{where-DbZ9XDOI.d.cts → where-CUQmCR6d.d.cts} +1 -1
  259. package/package.json +1 -1
  260. package/dist/chunk-277UZV7X.cjs.map +0 -1
  261. package/dist/chunk-2SO5I5AI.cjs.map +0 -1
  262. package/dist/chunk-42XYPKZU.js.map +0 -1
  263. package/dist/chunk-5P6IPIT6.cjs.map +0 -1
  264. package/dist/chunk-5Q3P6OIC.cjs.map +0 -1
  265. package/dist/chunk-5ZPRE4CV.cjs.map +0 -1
  266. package/dist/chunk-6NB73BXV.js.map +0 -1
  267. package/dist/chunk-DP7KC6CL.js.map +0 -1
  268. package/dist/chunk-ECU53PMN.cjs.map +0 -1
  269. package/dist/chunk-EVFL2ZY5.js.map +0 -1
  270. package/dist/chunk-F2KVJ6FF.cjs.map +0 -1
  271. package/dist/chunk-FY4VY5EV.cjs.map +0 -1
  272. package/dist/chunk-HHBKGPEI.js.map +0 -1
  273. package/dist/chunk-K2HHCWZO.cjs.map +0 -1
  274. package/dist/chunk-KTBTSHU6.cjs.map +0 -1
  275. package/dist/chunk-LQLVJWUH.js.map +0 -1
  276. package/dist/chunk-M4GYQF2H.js.map +0 -1
  277. package/dist/chunk-NXIZL7ZZ.js.map +0 -1
  278. package/dist/chunk-O7XVCLXW.cjs.map +0 -1
  279. package/dist/chunk-OYJSYDIH.js.map +0 -1
  280. package/dist/chunk-RAWG2FEU.js.map +0 -1
  281. package/dist/chunk-U3YRCZ5L.cjs +0 -12
  282. package/dist/chunk-UTTW2Q3M.cjs.map +0 -1
  283. package/dist/chunk-UZLEQFTV.js.map +0 -1
  284. package/dist/chunk-V2GZBPY2.cjs.map +0 -1
  285. package/dist/chunk-VGMNGWBR.cjs +0 -12
  286. package/dist/chunk-WYQILW5V.js.map +0 -1
  287. package/dist/chunk-X2XOQZT3.cjs.map +0 -1
  288. package/dist/chunk-YPVQYM3L.js.map +0 -1
  289. package/dist/chunk-ZIRC2U6G.js.map +0 -1
@@ -595,6 +595,18 @@ type DialectCapabilities = Readonly<{
595
595
  */
596
596
  supportsFulltext: boolean;
597
597
  }>;
598
+ /**
599
+ * Shape of a list-valued `IN` parameter, resolved at compile time.
600
+ */
601
+ type InListParameterOptions = Readonly<{
602
+ /** Whether the predicate is `notIn` rather than `in`. */
603
+ negated: boolean;
604
+ /**
605
+ * The value type the left operand was compiled for. `undefined` when the
606
+ * schema declares nothing usable, in which case the comparison is textual.
607
+ */
608
+ elementType: ValueType | undefined;
609
+ }>;
598
610
  /**
599
611
  * Adapter interface for SQL dialect differences.
600
612
  *
@@ -787,6 +799,40 @@ interface DialectAdapter {
787
799
  * PostgreSQL: left IN ($1, $2, ...)
788
800
  */
789
801
  readonly inList: (this: void, left: SqlFragment, values: readonly unknown[], negated: boolean) => SqlFragment;
802
+ /**
803
+ * Tests scalar membership in a list supplied as a SINGLE bound parameter —
804
+ * the `field.in(param("ids"))` form.
805
+ *
806
+ * The emitted SQL must not depend on how many elements the list holds, so a
807
+ * prepared statement compiles once and serves every arity from the same
808
+ * cached template. Both bundled dialects therefore unpack a JSON-encoded
809
+ * array (produced by {@link DialectAdapter.packListValue}) into a one-column
810
+ * relation instead of emitting one placeholder per element.
811
+ *
812
+ * `elementType` is the value type the left operand was compiled for, so a
813
+ * dialect that extracts JSON as text can cast the unpacked elements to the
814
+ * same type; `undefined` means text.
815
+ *
816
+ * @example
817
+ * SQLite: left IN (SELECT value FROM json_each(?))
818
+ * PostgreSQL: left IN (SELECT e.value::numeric FROM jsonb_array_elements_text($1::jsonb) AS e(value))
819
+ */
820
+ readonly inListParameter: (this: void, left: SqlFragment, packedValues: SqlFragment, options: InListParameterOptions) => SqlFragment;
821
+ /**
822
+ * Packs the scalar list bound to an `in()`/`notIn()` parameter into the
823
+ * single driver value {@link DialectAdapter.inListParameter} unpacks.
824
+ * Elements arrive as plain JavaScript scalars and must be bound with the
825
+ * same rules a literal of that type would be (SQLite booleans as 0/1, dates
826
+ * as ISO text), so the parameterized and literal forms match row for row.
827
+ *
828
+ * Every element is guaranteed to match the compiled element type, and to be
829
+ * a finite number when that type is numeric: `PreparedQuery` validates the
830
+ * binding before it reaches this method. Implementations therefore do not
831
+ * need to normalize or reject anything — and must not paper over a mismatch,
832
+ * since doing so is what would let one dialect quietly disagree with
833
+ * another.
834
+ */
835
+ readonly packListValue: (this: void, values: readonly unknown[]) => unknown;
790
836
  /**
791
837
  * Case-insensitive LIKE comparison.
792
838
  *
@@ -2088,7 +2134,9 @@ type BackendCapabilities = Readonly<{
2088
2134
  * Maximum number of bound parameters the engine accepts in one statement.
2089
2135
  * SQLite defaults to 999 (raisable at compile time via
2090
2136
  * `SQLITE_MAX_VARIABLE_NUMBER`), while hosted SQLite runtimes may impose a
2091
- * lower platform ceiling; PostgreSQL's wire protocol caps it at 65535.
2137
+ * lower platform ceiling. PostgreSQL's wire protocol encodes a 65535-count,
2138
+ * but postgres.js accepts at most 65533 bound values, so the bundled
2139
+ * PostgreSQL capability advertises that lower shared-driver ceiling.
2092
2140
  * Recorded-time capture and recorded point reads size their multi-row
2093
2141
  * statements to this ceiling — the same budget the backend's own batched
2094
2142
  * inserts use — instead of a conservative dialect-blind constant. Custom
@@ -2780,6 +2828,102 @@ type RecordContributionMaterializationParams = Readonly<{
2780
2828
  /** Error message on failure; undefined on success (clears existing). */
2781
2829
  error: string | undefined;
2782
2830
  }>;
2831
+ /**
2832
+ * Why a contribution is not usable. Most members are a disagreement
2833
+ * between the durable marker and the physical catalog; one
2834
+ * (`failed-materialization`) is a state the two agree on and that is
2835
+ * broken anyway. A contribution that is genuinely healthy — or that was
2836
+ * simply never attempted — is not reported at all.
2837
+ *
2838
+ * - `orphaned-marker` — the marker records a successful materialization
2839
+ * but the physical table is gone (a partial restore, an out-of-band
2840
+ * `DROP`, a schema-scoped restore that missed the contribution
2841
+ * tables). The state {@link GraphBackend.verifyContributions} exists
2842
+ * to surface: nothing on the open path probes the catalog, so this
2843
+ * database opens clean and fails at the first read of the slot.
2844
+ * - `missing-marker` — the physical table exists but no marker attests
2845
+ * it as initialized (no row, no recorded success, or a recorded
2846
+ * failure). Reads and writes are refused with
2847
+ * `StoreNotInitializedError` even though storage is present. These
2848
+ * three causes share one state because they share one repair; check
2849
+ * {@link ContributionDiagnostic.lastError} to tell them apart.
2850
+ * - `failed-materialization` — the marker records a *failed* attempt
2851
+ * and no table was produced. Marker and catalog agree here, so this
2852
+ * is not a disagreement — but it is where a contribution lands when
2853
+ * provisioning genuinely broke (the `fts5` module is absent, the role
2854
+ * lacks `CREATE`, the extension was never loaded), and calling it
2855
+ * healthy on the grounds that both sides agree would be the one
2856
+ * answer this method must never give. Distinguished from a
2857
+ * contribution that was never attempted, which has no marker row and
2858
+ * is correctly silent. {@link ContributionDiagnostic.lastError}
2859
+ * carries the reason it failed.
2860
+ * - `stale` — the table exists and the marker records a prior success
2861
+ * at a different signature (a strategy swap, or a declared embedding
2862
+ * dimension that has moved ahead of the provisioned table).
2863
+ *
2864
+ * **Do not re-frame this union as "how the marker disagrees with the
2865
+ * catalog."** It was described that way once, and the description was
2866
+ * load-bearing in the wrong direction: under it, a marker recording a
2867
+ * failed attempt with no table looks like agreement, therefore not a
2868
+ * disagreement, therefore correctly silent — and a contribution that
2869
+ * had genuinely broken was reported as healthy. The gap read as
2870
+ * principled rather than as an oversight precisely because the framing
2871
+ * endorsed it. "Why the contribution is unusable" is the question that
2872
+ * makes `failed-materialization` obviously belong, and any future
2873
+ * tidy-up that narrows the framing back will re-open the same hole.
2874
+ */
2875
+ type ContributionDiagnosticState = "orphaned-marker" | "missing-marker" | "failed-materialization" | "stale";
2876
+ /**
2877
+ * One contribution that is not usable, reported by
2878
+ * {@link GraphBackend.verifyContributions}.
2879
+ *
2880
+ * The identity fields come from the active contribution declaration and
2881
+ * match the durable-marker identity contract, so a caller can route an entry
2882
+ * to its repair without reconstructing any internal naming contract. A
2883
+ * `missing-marker` entry may have no marker row at all.
2884
+ *
2885
+ * **Route on {@link ContributionDiagnosticState}, not on whether the
2886
+ * entry is a vector slot.** The repair differs per state and the wrong
2887
+ * choice destroys data: `store.reembedVectorField` drops and recreates
2888
+ * storage, so applying it to a `missing-marker` — where the table is
2889
+ * intact and only the bookkeeping is wrong — discards every embedding
2890
+ * to fix a marker, and without an `embed` callback it leaves the field
2891
+ * empty. For `missing-marker` and `failed-materialization` prefer
2892
+ * `ensureVectorSlotContribution(slot, { force: true })`, whose DDL is
2893
+ * `CREATE ... IF NOT EXISTS` and never drops. Note also that
2894
+ * `ensureRuntimeContributions` does NOT repair a fulltext
2895
+ * `orphaned-marker`: it short-circuits on the marker, which still
2896
+ * reads as initialized. See the per-state repair tables in the
2897
+ * troubleshooting guide.
2898
+ */
2899
+ type ContributionDiagnostic = Readonly<{
2900
+ /** Producing strategy, e.g. `"fts5"` / `"tsvector"` / `"pgvector"`. */
2901
+ owner: string;
2902
+ /** Stable logical slot, e.g. `"fulltext"`. Never the SQL name. */
2903
+ logicalName: string;
2904
+ /** Resolved physical table name that was probed. */
2905
+ physicalName: string;
2906
+ /** Node kind — vector slots only. */
2907
+ kind?: string;
2908
+ /** Embedding field path — vector slots only. */
2909
+ fieldPath?: string;
2910
+ state: ContributionDiagnosticState;
2911
+ /**
2912
+ * The error the marker recorded against its last attempt, when it
2913
+ * recorded one. Absent otherwise.
2914
+ *
2915
+ * This is the part of the picture the catalog cannot supply. `state`
2916
+ * says what to do — the states are chosen so that each maps to one
2917
+ * repair — while this says *why it broke*, which is a different
2918
+ * question and often a different investigation. A failed attempt with no
2919
+ * table surfaces as `failed-materialization`; when the table exists but
2920
+ * the marker does not attest a successful materialization, it surfaces as
2921
+ * `missing-marker`. This field distinguishes only failures whose marker
2922
+ * recorded a reason; a missing row has no `lastError`. Present on any state
2923
+ * whose marker row carries an error, not just those two states.
2924
+ */
2925
+ lastError?: string;
2926
+ }>;
2783
2927
  /**
2784
2928
  * One row of the per-deployment `typegraph_kind_removals` table:
2785
2929
  * a graph-extension kind that has been removed from the schema and whose
@@ -2895,6 +3039,22 @@ type GraphBackend = Readonly<{
2895
3039
  findNodesByKind: (this: void, params: FindNodesByKindParams) => Promise<readonly NodeRow[]>;
2896
3040
  countNodesByKind: (this: void, params: CountNodesByKindParams) => Promise<number>;
2897
3041
  findEdgesByKind: (this: void, params: FindEdgesByKindParams) => Promise<readonly EdgeRow[]>;
3042
+ /**
3043
+ * Reads the edges of a SET of endpoints in one statement per bind-budget
3044
+ * chunk — see {@link FindEdgesByEndpointSetParams}.
3045
+ *
3046
+ * **Optional, and its absence is the capability signal.** `store.edges.<kind>
3047
+ * .bulkFindFrom` / `.bulkFindTo` check for this method before issuing any
3048
+ * read and refuse with a typed `ConfigurationError` when it is missing,
3049
+ * rather than degrading to a per-endpoint loop. A caller reaching for a bulk
3050
+ * endpoint read is asking for set-oriented statements; quietly giving them N
3051
+ * singleton statements is the surprise the method exists to prevent.
3052
+ *
3053
+ * Both bundled Drizzle backends implement it. A custom backend that does not
3054
+ * simply omits it and the bulk reads refuse; the singleton `findEdgesByKind`
3055
+ * path is unaffected.
3056
+ */
3057
+ findEdgesByEndpointSet?: (this: void, params: FindEdgesByEndpointSetParams) => Promise<readonly EdgeRow[]>;
2898
3058
  countEdgesByKind: (this: void, params: CountEdgesByKindParams) => Promise<number>;
2899
3059
  insertUnique: (this: void, params: InsertUniqueParams) => Promise<void>;
2900
3060
  /**
@@ -2930,6 +3090,40 @@ type GraphBackend = Readonly<{
2930
3090
  * window the primitive exists to eliminate.
2931
3091
  */
2932
3092
  commitSchemaVersion: (this: void, params: CommitSchemaVersionParams) => Promise<SchemaVersionRow>;
3093
+ /**
3094
+ * Commit a schema version only if every requested kind is empty. The probes
3095
+ * and schema CAS run under one backend-owned write fence, preventing a
3096
+ * participating schema-managed Store write from landing between the final
3097
+ * count and commit. Raw Stores and direct backend writes are not fenced.
3098
+ */
3099
+ commitSchemaVersionIfKindsEmpty?: (this: void, params: CommitSchemaVersionParams, probes: readonly Readonly<{
3100
+ entity: "node" | "edge";
3101
+ kind: string;
3102
+ }>[]) => Promise<Readonly<{
3103
+ status: "committed";
3104
+ row: SchemaVersionRow;
3105
+ }> | Readonly<{
3106
+ status: "populated";
3107
+ kinds: readonly Readonly<{
3108
+ entity: "node" | "edge";
3109
+ kind: string;
3110
+ count: number;
3111
+ }>[];
3112
+ }>>;
3113
+ /**
3114
+ * Acquire the transaction-scoped shared fence for a schema-managed graph
3115
+ * write, then verify that the active schema still matches the Store that is
3116
+ * issuing it. Official transactional backends provide this method; custom
3117
+ * backends may omit it, in which case schema-managed Store writes fail
3118
+ * closed rather than racing a schema change. This method must be called on a
3119
+ * transaction-scoped backend. PostgreSQL locks the active schema row, so a
3120
+ * concurrent change either becomes visible at read committed or raises the
3121
+ * database's native serialization failure at stronger isolation.
3122
+ */
3123
+ lockSchemaVersionForWrite?: (this: void, params: Readonly<{
3124
+ graphId: string;
3125
+ expectedVersion: number;
3126
+ }>) => Promise<void>;
2933
3127
  /**
2934
3128
  * Atomically flips the active schema pointer to an existing version,
2935
3129
  * with optimistic compare-and-swap on the currently active version.
@@ -2940,6 +3134,23 @@ type GraphBackend = Readonly<{
2940
3134
  * Same transactional requirements as `commitSchemaVersion`.
2941
3135
  */
2942
3136
  setActiveVersion: (this: void, params: SetActiveVersionParams) => Promise<void>;
3137
+ /**
3138
+ * Run an administrative callback while holding the same per-graph lock as
3139
+ * schema commits. The callback receives the transaction-scoped backend, so
3140
+ * its reads, DML, and DDL are committed atomically before another schema
3141
+ * writer can proceed.
3142
+ *
3143
+ * This is intentionally absent from {@link TransactionBackend}: nesting a
3144
+ * schema-write lock from an already-open transaction can deadlock. It is an
3145
+ * optional backend capability so custom backends can decline operations
3146
+ * that require a schema fence rather than silently running them unsafely.
3147
+ */
3148
+ schemaWriteTransaction?: <T>(this: void, graphId: string, fn: (tx: TransactionBackend & Readonly<{
3149
+ executeStatement: NonNullable<TransactionBackend["executeStatement"]>;
3150
+ tableExists: (this: void, tableName: string) => Promise<boolean>;
3151
+ executeSchemaDdl: (this: void, ddl: string) => Promise<void>;
3152
+ deleteSchemaVectorSlotContribution: (this: void, slot: VectorSlot) => Promise<void>;
3153
+ }>) => Promise<T>) => Promise<T>;
2943
3154
  upsertEmbedding?: (this: void, params: UpsertEmbeddingParams) => Promise<void>;
2944
3155
  /**
2945
3156
  * Batched variant of `upsertEmbedding` for one vector slot. Optional —
@@ -3193,6 +3404,32 @@ type GraphBackend = Readonly<{
3193
3404
  * Present only on backends wired with a vector strategy.
3194
3405
  */
3195
3406
  deleteVectorSlotContribution?: (this: void, slot: VectorSlot) => Promise<void>;
3407
+ /**
3408
+ * Diagnostic: compare each contribution currently expected for `graphId`
3409
+ * against its durable marker and the physical catalog.
3410
+ *
3411
+ * Covers the strategy-owned `runtimeEnsure` contributions (fulltext)
3412
+ * plus the `ownedTables` contribution(s) of each supplied vector slot.
3413
+ * Returns one {@link ContributionDiagnostic} per detected unusable
3414
+ * contribution. A recorded failed materialization is unusable even when
3415
+ * marker and catalog agree that no table was produced. A contribution with
3416
+ * neither a marker nor a table is treated as never attempted and omitted;
3417
+ * marker rows outside the current declaration set are not audited. An empty
3418
+ * array therefore is not proof that storage was initialized.
3419
+ *
3420
+ * Deliberately NOT part of the open path. `ensureRuntimeContributions`
3421
+ * and `assertRuntimeContributionsInitialized` short-circuit on a
3422
+ * per-instance signature cache and then on the marker row alone, which
3423
+ * is the right default for a hot path but leaves a database whose
3424
+ * contribution tables were dropped out of band opening clean and
3425
+ * failing at the first read. This method is the explicit, operator-
3426
+ * invoked catalog probe that fills that gap: it issues one uncached
3427
+ * existence query per distinct physical table and performs ZERO DDL
3428
+ * and ZERO writes, so it is safe under a least-privilege runtime role.
3429
+ *
3430
+ * Present only on backends that can probe their own catalog.
3431
+ */
3432
+ verifyContributions?: (this: void, graphId: string, vectorSlots: readonly VectorSlot[]) => Promise<readonly ContributionDiagnostic[]>;
3196
3433
  /**
3197
3434
  * Bootstraps the fulltext storage table the active `FulltextStrategy`
3198
3435
  * owns. Same focused-bootstrap rationale as the other `ensure*Table`
@@ -3263,9 +3500,17 @@ type GraphBackend = Readonly<{
3263
3500
  * entire operation back.
3264
3501
  *
3265
3502
  * This is a top-level-only lifecycle operation and is deliberately absent
3266
- * from {@link TransactionBackend}.
3267
- */
3268
- trustedImport?: <T>(this: void, fn: (session: TrustedImportSession) => Promise<T>) => Promise<T>;
3503
+ * from {@link TransactionBackend}. When `schemaWrite` is supplied, the
3504
+ * import acquires and validates that Store version's managed-write fence
3505
+ * before checking emptiness or writing. Omitting it retains the raw,
3506
+ * unversioned import behavior.
3507
+ */
3508
+ trustedImport?: <T>(this: void, fn: (session: TrustedImportSession) => Promise<T>, options?: Readonly<{
3509
+ schemaWrite?: Readonly<{
3510
+ graphId: string;
3511
+ expectedVersion: number;
3512
+ }>;
3513
+ }>) => Promise<T>;
3269
3514
  execute: <T>(this: void, query: CompiledRowsSql) => Promise<readonly T[]>;
3270
3515
  /**
3271
3516
  * Execute a non-row-returning SQL statement bound to this backend or
@@ -3320,13 +3565,14 @@ type AdapterBackend<TNativeTransaction> = GraphBackend & Readonly<{
3320
3565
  type BackendIdentity = Pick<GraphBackend, "dialect" | "capabilities" | "tableNames" | "fulltextStrategy" | "vectorStrategy">;
3321
3566
  type NodeEntityReadBackend = Pick<GraphBackend, "getNode" | "getNodes" | "findNodesByKind" | "countNodesByKind">;
3322
3567
  type NodeEntityWriteBackend = Pick<GraphBackend, "insertNode" | "insertNodeNoReturn" | "insertNodesBatch" | "insertNodesBatchReturning" | "updateNode" | "deleteNode" | "hardDeleteNode">;
3323
- type EdgeEntityReadBackend = Pick<GraphBackend, "getEdge" | "getEdges" | "countEdgesFrom" | "edgeExistsBetween" | "findEdgesConnectedTo" | "findEdgesByKind" | "countEdgesByKind">;
3568
+ type EdgeEntityReadBackend = Pick<GraphBackend, "getEdge" | "getEdges" | "countEdgesFrom" | "edgeExistsBetween" | "findEdgesConnectedTo" | "findEdgesByKind" | "findEdgesByEndpointSet" | "countEdgesByKind">;
3324
3569
  type EdgeEntityWriteBackend = Pick<GraphBackend, "insertEdge" | "insertEdgeNoReturn" | "insertEdgesBatch" | "insertEdgesBatchReturning" | "updateEdge" | "deleteEdge" | "deleteEdgesBatch" | "hardDeleteEdge" | "hardDeleteEdgesBatch">;
3325
3570
  type GraphEntityReadBackend = NodeEntityReadBackend & EdgeEntityReadBackend;
3326
3571
  type GraphEntityWriteBackend = NodeEntityWriteBackend & EdgeEntityWriteBackend;
3327
3572
  type UniqueConstraintBackend = Pick<GraphBackend, "insertUnique" | "insertUniqueBatch" | "deleteUnique" | "checkUnique" | "checkUniqueBatch">;
3328
3573
  type SchemaReadBackend = Pick<GraphBackend, "getActiveSchema" | "getSchemaVersion">;
3329
- type SchemaCommitBackend = Pick<GraphBackend, "commitSchemaVersion" | "setActiveVersion">;
3574
+ type SchemaCommitBackend = Pick<GraphBackend, "commitSchemaVersion" | "commitSchemaVersionIfKindsEmpty" | "setActiveVersion">;
3575
+ type SchemaWriteFenceBackend = Pick<GraphBackend, "lockSchemaVersionForWrite">;
3330
3576
  type VectorOperationBackend = Pick<GraphBackend, "upsertEmbedding" | "upsertEmbeddingBatch" | "deleteEmbedding" | "vectorSearch" | "createVectorIndex" | "dropVectorIndex">;
3331
3577
  type FulltextOperationBackend = Pick<GraphBackend, "upsertFulltext" | "deleteFulltext" | "upsertFulltextBatch" | "deleteFulltextBatch" | "fulltextSearch">;
3332
3578
  type IndexMaterializationBackend = Pick<GraphBackend, "ensureIndexMaterializationsTable" | "getIndexMaterialization" | "getIndexMaterializations" | "recordIndexMaterialization">;
@@ -3358,7 +3604,7 @@ type TransactionReadBackend = Readonly<BackendIdentity & GraphEntityReadBackend
3358
3604
  * deliberately absent: their guarantees depend on the top-level backend or
3359
3605
  * lifecycle owner rather than an already-open transaction.
3360
3606
  */
3361
- type TransactionBackend = Readonly<BackendIdentity & GraphEntityReadBackend & GraphEntityWriteBackend & UniqueConstraintBackend & SchemaReadBackend & VectorOperationBackend & FulltextOperationBackend & IndexMaterializationBackend & ContributionMaterializationBackend & RemovalMaterializationBackend & GraphLifecycleBackend & QueryExecutionBackend & RawQueryExecutionBackend & RawStatementExecutionBackend>;
3607
+ type TransactionBackend = Readonly<BackendIdentity & GraphEntityReadBackend & GraphEntityWriteBackend & UniqueConstraintBackend & SchemaReadBackend & Pick<GraphBackend, "lockSchemaVersionForWrite"> & VectorOperationBackend & FulltextOperationBackend & IndexMaterializationBackend & ContributionMaterializationBackend & RemovalMaterializationBackend & GraphLifecycleBackend & QueryExecutionBackend & RawQueryExecutionBackend & RawStatementExecutionBackend>;
3362
3608
  /**
3363
3609
  * Parameters for inserting a unique constraint entry.
3364
3610
  */
@@ -3449,6 +3695,35 @@ type CommitSchemaVersionParams = Readonly<{
3449
3695
  schemaHash: string;
3450
3696
  schemaDoc: SerializedSchema;
3451
3697
  }>;
3698
+ type SchemaKindEmptinessProbe = Readonly<{
3699
+ entity: "node" | "edge";
3700
+ kind: string;
3701
+ }>;
3702
+ type PopulatedSchemaKind = SchemaKindEmptinessProbe & Readonly<{
3703
+ count: number;
3704
+ }>;
3705
+ type CommitSchemaVersionIfKindsEmptyResult = Readonly<{
3706
+ status: "committed";
3707
+ row: SchemaVersionRow;
3708
+ }> | Readonly<{
3709
+ status: "populated";
3710
+ kinds: readonly PopulatedSchemaKind[];
3711
+ }>;
3712
+ type LockSchemaVersionForWriteParams = Readonly<{
3713
+ graphId: string;
3714
+ expectedVersion: number;
3715
+ }>;
3716
+ /**
3717
+ * Optional schema-managed write identity for a trusted import. Supplying it
3718
+ * acquires and validates the Store version's transaction-scoped schema fence;
3719
+ * omitting it leaves the import outside the versioned guarantee.
3720
+ */
3721
+ type TrustedImportOptions = Readonly<{
3722
+ schemaWrite?: Readonly<{
3723
+ graphId: string;
3724
+ expectedVersion: number;
3725
+ }>;
3726
+ }>;
3452
3727
  /**
3453
3728
  * Parameters for `setActiveVersion`.
3454
3729
  *
@@ -3567,6 +3842,70 @@ type FindEdgesByKindParams = Readonly<{
3567
3842
  */
3568
3843
  after?: string;
3569
3844
  }>;
3845
+ /**
3846
+ * The endpoint side a {@link FindEdgesByEndpointSetParams} read fans out over.
3847
+ */
3848
+ type EdgeEndpointSide = "from" | "to";
3849
+ /**
3850
+ * Parameters for reading the edges of a SET of endpoints in one statement per
3851
+ * bind-budget chunk — the widened form of {@link FindEdgesByKindParams}'s
3852
+ * scalar `fromId` / `toId`.
3853
+ *
3854
+ * Deliberately a SEPARATE parameter type on a separate operation rather than
3855
+ * optional fields on `FindEdgesByKindParams`. A backend that did not implement
3856
+ * set membership would still type-check while ignoring the id list, and would
3857
+ * then return every edge of the kind — which the caller would rebucket into a
3858
+ * correct-looking answer at unbounded cost. Splitting the operation makes that
3859
+ * failure unreachable: support is detected by the method's presence, before any
3860
+ * read is issued.
3861
+ *
3862
+ * The shape also makes the previously-validated illegal states
3863
+ * unrepresentable. One `side` instead of two independent id lists means both
3864
+ * endpoints can never fan out at once; no scalar `fromId` / `toId` field means
3865
+ * a scalar and a set can never disagree; no `limit` / `offset` / `after` means
3866
+ * a global slice can never be requested across a read the backend splits into
3867
+ * bind-budget chunks.
3868
+ */
3869
+ type FindEdgesByEndpointSetParams = Readonly<{
3870
+ graphId: string;
3871
+ kind: string;
3872
+ /** Which endpoint column the id set constrains. */
3873
+ side: EdgeEndpointSide;
3874
+ /**
3875
+ * Kind of the fanned-out endpoint. Required: it is the index prefix that
3876
+ * makes the set a seek rather than a scan, so a set is always scoped to one
3877
+ * endpoint kind and a heterogeneous page costs one read per distinct kind.
3878
+ */
3879
+ endpointKind: string;
3880
+ /**
3881
+ * Endpoint NODE ids to match — deliberately not named `ids`, which in the
3882
+ * backend params vocabulary means edge ids (see
3883
+ * {@link DeleteEdgesBatchParams}); the write-surface assertion in
3884
+ * `recorded-capture/write-surface.ts` classifies params structurally and a
3885
+ * `{ graphId, ids }` read would be misread as a write.
3886
+ *
3887
+ * The backend deduplicates before splitting the list across bind-budget
3888
+ * chunks — a repeated id spanning two chunks would return its edges twice.
3889
+ * An empty list reads nothing and yields no rows.
3890
+ */
3891
+ endpointIds: readonly string[];
3892
+ /**
3893
+ * Maximum rows per distinct endpoint id, applied inside the statement (via
3894
+ * `ROW_NUMBER()` over the read's own ordering) rather than by the caller.
3895
+ * Only meaningful on a backend whose `capabilities.windowFunctions` is true;
3896
+ * callers must still cap client-side, so a backend that ignores this returns
3897
+ * a superset rather than a wrong answer. Unlike a global `limit`, a
3898
+ * per-endpoint cap composes with chunking: each endpoint's rows fall
3899
+ * entirely within one chunk.
3900
+ */
3901
+ limitPerEndpoint?: number;
3902
+ /** If true, exclude deleted edges. Default true. */
3903
+ excludeDeleted?: boolean;
3904
+ /** Temporal mode for filtering by validity period. */
3905
+ temporalMode?: TemporalMode;
3906
+ /** Timestamp for "current" and "asOf" temporal modes. */
3907
+ asOf?: string;
3908
+ }>;
3570
3909
  /**
3571
3910
  * Parameters for counting edges by kind.
3572
3911
  */
@@ -3611,11 +3950,11 @@ declare const D1_MAX_BIND_PARAMETERS = 100;
3611
3950
  */
3612
3951
  declare const DURABLE_OBJECT_MAX_BIND_PARAMETERS = 100;
3613
3952
  /**
3614
- * PostgreSQL's wire-protocol bound-parameter ceiling (a 16-bit count). Single
3615
- * source of truth for {@link POSTGRES_CAPABILITIES} and the Postgres backend's
3616
- * batch math.
3953
+ * Safe bound-parameter ceiling shared by every bundled PostgreSQL driver.
3954
+ * The protocol count can represent 65535, but postgres.js rejects a statement
3955
+ * with 65534 bound values, so backend batch math uses the lower portable limit.
3617
3956
  */
3618
- declare const POSTGRES_MAX_BIND_PARAMETERS = 65535;
3957
+ declare const POSTGRES_MAX_BIND_PARAMETERS = 65533;
3619
3958
  /**
3620
3959
  * Default capabilities for SQLite.
3621
3960
  */
@@ -4417,4 +4756,4 @@ type RelationalIndexDeclaration = NodeIndexDeclaration | EdgeIndexDeclaration;
4417
4756
  type IndexDeclaration = RelationalIndexDeclaration | VectorIndexDeclaration;
4418
4757
  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";
4419
4758
 
4420
- export { type AggregateExpr as $, type AdapterBackend as A, type BackendCapabilities as B, type IndexEntity as C, type DeleteBehavior as D, type EdgeRegistration as E, type FulltextStrategy as F, type GraphExtension as G, type SerializedMetaEdge as H, type IndexDeclaration as I, type JsonPointer as J, type KindEntity as K, type SerializedOntologyRelation as L, type SerializedClosures as M, type NodeRegistration as N, type OntologyRelation as O, type SchemaHash as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type NullCheckOp as U, type VectorStrategy as V, type JsonSchema as W, type SerializedOntology as X, type SerializedUniqueConstraint as Y, type InferenceType as Z, type EdgeType as _, type NodeType as a, type RawStatementExecutionBackend as a$, type FieldRef as a0, type ComparisonOp as a1, type AggregateComparisonPredicate as a2, type TraversalDirection as a3, type AdapterBackendTransactions as a4, type BackendIdentity as a5, type BackendLifecycle as a6, type BackendMaintenance as a7, type BackendTransactions as a8, CURRENT_GRAPH_EXTENSION_VERSION as a9, type GraphEntityReadBackend as aA, type GraphEntityWriteBackend as aB, type GraphExtensionVersion as aC, type GraphLifecycleBackend as aD, type HybridFusionOptions as aE, type IndexMaterializationBackend as aF, type IntentSql as aG, type JsonPointerFor as aH, type JsonPointerInput as aI, type JsonPointerSegment as aJ, type JsonPointerSegments as aK, type JsonPointerSegmentsFor as aL, type JsonValue as aM, type KindAnnotations as aN, LEGACY_GRAPH_EXTENSION_VERSION as aO, MAX_JSON_POINTER_DEPTH as aP, type MetaEdge as aQ, type MetaEdgeProperties as aR, type NodeEntityReadBackend as aS, type NodeEntityWriteBackend as aT, type NodeId as aU, type NodeProps as aV, type OrderSpec as aW, type ParameterRef as aX, Placeholder as aY, type QueryExecutionBackend as aZ, type RawQueryExecutionBackend as a_, type Cardinality as aa, type Collation as ab, type CommitSchemaVersionExpected as ac, type CommitSchemaVersionParams as ad, type CompiledRowsSql as ae, type CompiledSelectSql as af, type CompiledStatementSql as ag, type ContributionMaterializationBackend as ah, DEFAULT_SQL_SCHEMA as ai, type DeleteFulltextBatchParams as aj, type EdgeEntityReadBackend as ak, type EdgeEntityWriteBackend as al, type EdgeId as am, type EdgeProps as an, type EdgeTypeWithEndpoints as ao, type EndpointExistence as ap, type ExternalRecordedReadSource as aq, type FilteredApproximateSearch as ar, type FilteredApproximateSearchMode as as, type FulltextBatchRow as at, type FulltextCapabilities as au, type FulltextOperationBackend as av, type FulltextQueryMode as aw, type FulltextSearchParams as ax, type FulltextSearchResult as ay, type GraphAnalyticsCapabilities as az, type AnyEdgeType as b, type VectorMetricType as b$, type RecordedRelationOptions as b0, type RemovalMaterializationBackend as b1, type RenderedSql as b2, type ResolveJsonPointer as b3, type ResolveJsonPointerSegments as b4, type ResolvedSqlTableNames as b5, type RowProps as b6, type SchemaCommitBackend as b7, type SchemaReadBackend as b8, type SetActiveVersionParams as b9, buildVectorCapabilities as bA, createSqlSchema as bB, fts5Strategy as bC, isEdgeType as bD, isEdgeTypeWithEndpoints as bE, isMetaEdge as bF, isNodeType as bG, isSqlFragment as bH, joinJsonPointers as bI, jsonPointer as bJ, normalizeJsonPointer as bK, parseJsonPointer as bL, recordedRelation as bM, renderPostgres as bN, renderSql as bO, renderSqlInline as bP, renderSqlite as bQ, rowPropsToJsonText as bR, rowPropsToObject as bS, sql as bT, tsvectorStrategy as bU, type ExtensionNodeDef as bV, type ExtensionEdgeDef as bW, type ExtensionOntologyRelation as bX, type ExtensionIndex as bY, type ValueType as bZ, type PredicateExpression as b_, type SortDirection as ba, type SqlChunk as bb, type SqlFragment as bc, type SqlIdentifierChunk as bd, type SqlIntent as be, type SqlParameterChunk as bf, type SqlPlaceholderChunk as bg, SqlSchema as bh, type SqlTableNames as bi, type SqlTag as bj, type SqlTextChunk as bk, type StrategyTableContribution as bl, type TableContribution as bm, type TransactionBackend as bn, type TransactionOptions as bo, type TransactionReadBackend as bp, type TraversalExpansion as bq, type TrustedImportSession as br, type UniqueConstraint as bs, type UniqueConstraintBackend as bt, type UniquenessScope as bu, type UpsertFulltextBatchParams as bv, type VectorCapabilities as bw, type VectorOperationBackend as bx, asEdgeId as by, asNodeId as bz, type GraphDefaults as c, type FindNodesByKindParams as c$, type Traversal as c0, type NodePredicate as c1, type ProjectedField as c2, type AggregateOrderSpec as c3, type GroupBySpec as c4, type RecursiveCyclePolicy as c5, type NodeRow as c6, type EdgeRow as c7, type VectorSlotMap as c8, type RecordedReadBinding as c9, type DialectAdapter as cA, type DialectCapabilities as cB, type DialectRecursiveQueryStrategy as cC, type DialectStandardQueryStrategy as cD, type DialectVectorPredicateStrategy as cE, type DropVectorIndexParams as cF, type EdgeExistsBetweenParams as cG, type ExtensionArrayItemType as cH, type ExtensionArrayProperty as cI, type ExtensionBooleanProperty as cJ, type ExtensionEdgeIndex as cK, type ExtensionEmbeddingModifier as cL, type ExtensionEnumProperty as cM, type ExtensionIndexWhere as cN, type ExtensionNodeIndex as cO, type ExtensionNumberProperty as cP, type ExtensionObjectFieldProperty as cQ, type ExtensionObjectProperty as cR, type ExtensionPropertyModifiers as cS, type ExtensionPropertyType as cT, type ExtensionSearchableModifier as cU, type ExtensionStringProperty as cV, type ExtensionUniqueConstraint as cW, type ExtensionUniqueWhere as cX, FULLTEXT_CONTRIBUTION_NAME as cY, type FindEdgesByKindParams as cZ, type FindEdgesConnectedToParams as c_, type SelectiveField as ca, type ComposableQuery as cb, type SetOperationType as cc, type SetOperation as cd, type VectorMetric as ce, ALL_FULLTEXT_MODES as cf, ALL_META_EDGE_NAMES as cg, BASE_CONTRIBUTION_OWNER as ch, type CheckUniqueBatchParams as ci, type CheckUniqueParams as cj, type ClaimIndexMaterializationParams as ck, type CompiledTemporaryStatementSql as cl, type ContributionMaterializationIdentity as cm, type ContributionMaterializationRow as cn, type CountEdgesByKindParams as co, type CountEdgesFromParams as cp, type CountNodesByKindParams as cq, type CreateVectorIndexParams as cr, D1_MAX_BIND_PARAMETERS as cs, DURABLE_OBJECT_MAX_BIND_PARAMETERS as ct, type DeleteEdgeParams as cu, type DeleteEdgesBatchParams as cv, type DeleteEmbeddingParams as cw, type DeleteFulltextParams as cx, type DeleteNodeParams as cy, type DeleteUniqueParams as cz, type EdgeIndexDeclaration as d, type GraphReadBackend as d0, type HardDeleteEdgeParams as d1, type HardDeleteNodeParams as d2, type HybridSearchParams as d3, type HybridSearchRow as d4, type IndexDeclarationBase as d5, type IndexMaterializationRow as d6, type IndexWhereLiteral as d7, type IndexWhereOp as d8, type IndexWhereOperand as d9, type UpsertFulltextParams as dA, VECTOR_CONTRIBUTION_PREFIX as dB, type VectorIndexType as dC, type VectorSearchParams as dD, type VectorSearchResult as dE, assertFiniteEmbedding as dF, assertVectorMinScore as dG, assertVectorSearchLimit as dH, buildFulltextCapabilities as dI, isLiveNodeRow as dJ, isSqlPlaceholder as dK, isTombstonedNodeRow as dL, normalizeGraphAnalyticsCapabilities as dM, quoteIdentifier as dN, shortHash as dO, vectorMinScoreCondition as dP, vectorPhysicalName as dQ, vectorScoreExpression as dR, GRAPH_EXTENSION_TOP_LEVEL_KEYS as dS, type GraphExtensionTopLevelKey as dT, type InsertEdgeParams as da, type InsertNodeParams as db, type InsertSchemaParams as dc, type InsertUniqueParams as dd, type KindRemovalRow as de, type LiveNodeRow as df, MODERN_SQLITE_MAX_BIND_PARAMETERS as dg, type MetaEdgeName as dh, POSTGRES_CAPABILITIES as di, POSTGRES_MAX_BIND_PARAMETERS as dj, type RecordContributionMaterializationParams as dk, type RecordIndexMaterializationParams as dl, type RecordKindRemovalParams as dm, type RelationalIndexMethod as dn, type ReleaseIndexMaterializationClaimParams as dp, SQLITE_CAPABILITIES as dq, SQLITE_MAX_BIND_PARAMETERS as dr, type SqlCompilationBackend as ds, type TombstonedNodeRow as dt, type UniqueRow as du, type UpdateEdgeParams as dv, type UpdateNodeParams as dw, type UpsertEmbeddingBatchParams as dx, type UpsertEmbeddingBatchRow as dy, type UpsertEmbeddingParams as dz, type NodeIndexDeclaration as e, type EdgeIndexConfig as f, type EdgeIndexDirection as g, type EdgeIndexWhereBuilder as h, type IndexOrigin as i, type IndexScope as j, type IndexWhereExpression as k, type IndexWhereFieldBuilder as l, type IndexWhereInput as m, type NodeIndexConfig as n, type NodeIndexWhereBuilder as o, type SystemColumnName as p, type VectorIndexDeclaration as q, type VectorIndexImplementation as r, type VectorIndexMetric as s, type VectorIndexParams as t, type VectorSlot as u, type SchemaVersionRow as v, type GraphBackend as w, type SerializedSchema as x, type SerializedNodeDef as y, type SerializedEdgeDef as z };
4759
+ export { type InferenceType as $, type AdapterBackend as A, type BackendCapabilities as B, type ContributionDiagnostic as C, type DeleteBehavior as D, type EdgeRegistration as E, type FulltextStrategy as F, type GraphExtension 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 NodeRegistration as N, type OntologyRelation as O, type SerializedOntologyRelation as P, type QueryAst as Q, type RelationalIndexDeclaration as R, type SqlDialect as S, type TemporalMode as T, type SerializedClosures as U, type VectorStrategy as V, type SchemaHash as W, type NullCheckOp as X, type JsonSchema as Y, type SerializedOntology as Z, type SerializedUniqueConstraint as _, type ContributionDiagnosticState as a, type ParameterRef as a$, type EdgeType as a0, type AggregateExpr as a1, type FieldRef as a2, type ComparisonOp as a3, type AggregateComparisonPredicate as a4, type TraversalDirection as a5, type AdapterBackendTransactions as a6, type BackendIdentity as a7, type BackendLifecycle as a8, type BackendMaintenance as a9, type FulltextSearchParams as aA, type FulltextSearchResult as aB, type GraphAnalyticsCapabilities as aC, type GraphEntityReadBackend as aD, type GraphEntityWriteBackend as aE, type GraphExtensionVersion as aF, type GraphLifecycleBackend as aG, type HybridFusionOptions as aH, type IndexMaterializationBackend as aI, type IntentSql as aJ, type JsonPointerFor as aK, type JsonPointerInput as aL, type JsonPointerSegment as aM, type JsonPointerSegments as aN, type JsonPointerSegmentsFor as aO, type JsonValue as aP, type KindAnnotations as aQ, LEGACY_GRAPH_EXTENSION_VERSION as aR, type LockSchemaVersionForWriteParams as aS, MAX_JSON_POINTER_DEPTH as aT, type MetaEdge as aU, type MetaEdgeProperties as aV, type NodeEntityReadBackend as aW, type NodeEntityWriteBackend as aX, type NodeId as aY, type NodeProps as aZ, type OrderSpec as a_, type BackendTransactions as aa, CURRENT_GRAPH_EXTENSION_VERSION as ab, type Cardinality as ac, type Collation as ad, type CommitSchemaVersionExpected as ae, type CommitSchemaVersionIfKindsEmptyResult as af, type CommitSchemaVersionParams as ag, type CompiledRowsSql as ah, type CompiledSelectSql as ai, type CompiledStatementSql as aj, type ContributionMaterializationBackend as ak, DEFAULT_SQL_SCHEMA as al, type DeleteFulltextBatchParams as am, type EdgeEntityReadBackend as an, type EdgeEntityWriteBackend as ao, type EdgeId as ap, type EdgeProps as aq, type EdgeTypeWithEndpoints as ar, type EndpointExistence as as, type ExternalRecordedReadSource as at, type FilteredApproximateSearch as au, type FilteredApproximateSearchMode as av, type FulltextBatchRow as aw, type FulltextCapabilities as ax, type FulltextOperationBackend as ay, type FulltextQueryMode as az, type NodeType as b, sql as b$, Placeholder as b0, type PopulatedSchemaKind as b1, type QueryExecutionBackend as b2, type RawQueryExecutionBackend as b3, type RawStatementExecutionBackend as b4, type RecordedRelationOptions as b5, type RemovalMaterializationBackend as b6, type RenderedSql as b7, type ResolveJsonPointer as b8, type ResolveJsonPointerSegments as b9, type UniqueConstraint as bA, type UniqueConstraintBackend as bB, type UniquenessScope as bC, type UpsertFulltextBatchParams as bD, type VectorCapabilities as bE, type VectorOperationBackend as bF, asEdgeId as bG, asNodeId as bH, buildVectorCapabilities as bI, createSqlSchema as bJ, fts5Strategy as bK, isEdgeType as bL, isEdgeTypeWithEndpoints as bM, isMetaEdge as bN, isNodeType as bO, isSqlFragment as bP, joinJsonPointers as bQ, jsonPointer as bR, normalizeJsonPointer as bS, parseJsonPointer as bT, recordedRelation as bU, renderPostgres as bV, renderSql as bW, renderSqlInline as bX, renderSqlite as bY, rowPropsToJsonText as bZ, rowPropsToObject as b_, type ResolvedSqlTableNames as ba, type RowProps as bb, type SchemaCommitBackend as bc, type SchemaKindEmptinessProbe as bd, type SchemaReadBackend as be, type SchemaWriteFenceBackend as bf, type SetActiveVersionParams as bg, type SortDirection as bh, type SqlChunk as bi, type SqlFragment as bj, type SqlIdentifierChunk as bk, type SqlIntent as bl, type SqlParameterChunk as bm, type SqlPlaceholderChunk as bn, SqlSchema as bo, type SqlTableNames as bp, type SqlTag as bq, type SqlTextChunk as br, type StrategyTableContribution as bs, type TableContribution as bt, type TransactionBackend as bu, type TransactionOptions as bv, type TransactionReadBackend as bw, type TraversalExpansion as bx, type TrustedImportOptions as by, type TrustedImportSession as bz, type AnyEdgeType as c, type ExtensionPropertyType as c$, tsvectorStrategy as c0, type ExtensionNodeDef as c1, type ExtensionEdgeDef as c2, type ExtensionOntologyRelation as c3, type ExtensionIndex as c4, type ValueType as c5, type PredicateExpression as c6, type VectorMetricType as c7, type Traversal as c8, type NodePredicate as c9, D1_MAX_BIND_PARAMETERS as cA, DURABLE_OBJECT_MAX_BIND_PARAMETERS as cB, type DeleteEdgeParams as cC, type DeleteEdgesBatchParams as cD, type DeleteEmbeddingParams as cE, type DeleteFulltextParams as cF, type DeleteNodeParams as cG, type DeleteUniqueParams as cH, type DialectAdapter as cI, type DialectCapabilities as cJ, type DialectRecursiveQueryStrategy as cK, type DialectStandardQueryStrategy as cL, type DialectVectorPredicateStrategy as cM, type DropVectorIndexParams as cN, type EdgeExistsBetweenParams as cO, type ExtensionArrayItemType as cP, type ExtensionArrayProperty as cQ, type ExtensionBooleanProperty as cR, type ExtensionEdgeIndex as cS, type ExtensionEmbeddingModifier as cT, type ExtensionEnumProperty as cU, type ExtensionIndexWhere as cV, type ExtensionNodeIndex as cW, type ExtensionNumberProperty as cX, type ExtensionObjectFieldProperty as cY, type ExtensionObjectProperty as cZ, type ExtensionPropertyModifiers as c_, type ProjectedField as ca, type AggregateOrderSpec as cb, type GroupBySpec as cc, type RecursiveCyclePolicy as cd, type NodeRow as ce, type EdgeRow as cf, type VectorSlotMap as cg, type RecordedReadBinding as ch, type SelectiveField as ci, type ComposableQuery as cj, type SetOperationType as ck, type SetOperation as cl, type VectorMetric as cm, ALL_FULLTEXT_MODES as cn, ALL_META_EDGE_NAMES as co, BASE_CONTRIBUTION_OWNER as cp, type CheckUniqueBatchParams as cq, type CheckUniqueParams as cr, type ClaimIndexMaterializationParams as cs, type CompiledTemporaryStatementSql as ct, type ContributionMaterializationIdentity as cu, type ContributionMaterializationRow as cv, type CountEdgesByKindParams as cw, type CountEdgesFromParams as cx, type CountNodesByKindParams as cy, type CreateVectorIndexParams as cz, type GraphDefaults as d, GRAPH_EXTENSION_TOP_LEVEL_KEYS as d$, type ExtensionSearchableModifier as d0, type ExtensionStringProperty as d1, type ExtensionUniqueConstraint as d2, type ExtensionUniqueWhere as d3, FULLTEXT_CONTRIBUTION_NAME as d4, type FindEdgesByKindParams as d5, type FindEdgesConnectedToParams as d6, type FindNodesByKindParams as d7, type GraphReadBackend as d8, type HardDeleteEdgeParams as d9, SQLITE_MAX_BIND_PARAMETERS as dA, type SqlCompilationBackend as dB, type TombstonedNodeRow as dC, type UniqueRow as dD, type UpdateEdgeParams as dE, type UpdateNodeParams as dF, type UpsertEmbeddingBatchParams as dG, type UpsertEmbeddingBatchRow as dH, type UpsertEmbeddingParams as dI, type UpsertFulltextParams as dJ, VECTOR_CONTRIBUTION_PREFIX as dK, type VectorIndexType as dL, type VectorSearchParams as dM, type VectorSearchResult as dN, assertFiniteEmbedding as dO, assertVectorMinScore as dP, assertVectorSearchLimit as dQ, buildFulltextCapabilities as dR, isLiveNodeRow as dS, isSqlPlaceholder as dT, isTombstonedNodeRow as dU, normalizeGraphAnalyticsCapabilities as dV, quoteIdentifier as dW, shortHash as dX, vectorMinScoreCondition as dY, vectorPhysicalName as dZ, vectorScoreExpression as d_, type HardDeleteNodeParams as da, type HybridSearchParams as db, type HybridSearchRow as dc, type InListParameterOptions as dd, type IndexDeclarationBase as de, type IndexMaterializationRow as df, type IndexWhereLiteral as dg, type IndexWhereOp as dh, type IndexWhereOperand as di, type InsertEdgeParams as dj, type InsertNodeParams as dk, type InsertSchemaParams as dl, type InsertUniqueParams as dm, type KindRemovalRow as dn, type LiveNodeRow as dp, MODERN_SQLITE_MAX_BIND_PARAMETERS as dq, type MetaEdgeName as dr, POSTGRES_CAPABILITIES as ds, POSTGRES_MAX_BIND_PARAMETERS as dt, type RecordContributionMaterializationParams as du, type RecordIndexMaterializationParams as dv, type RecordKindRemovalParams as dw, type RelationalIndexMethod as dx, type ReleaseIndexMaterializationClaimParams as dy, SQLITE_CAPABILITIES as dz, type EdgeIndexDeclaration as e, type GraphExtensionTopLevelKey as e0, type NodeIndexDeclaration as f, type EdgeIndexConfig as g, type EdgeIndexDirection as h, type EdgeIndexWhereBuilder as i, type IndexOrigin as j, type IndexScope as k, type IndexWhereExpression as l, type IndexWhereFieldBuilder as m, type IndexWhereInput as n, type NodeIndexConfig as o, type NodeIndexWhereBuilder as p, type SystemColumnName as q, type VectorIndexDeclaration as r, type VectorIndexImplementation as s, type VectorIndexMetric as t, type VectorIndexParams as u, type VectorSlot as v, type SchemaVersionRow as w, type GraphBackend as x, type SerializedSchema as y, type SerializedNodeDef as z };
@@ -1,4 +1,4 @@
1
- import { b as AnyEdgeType, f as EdgeIndexConfig, d as EdgeIndexDeclaration, a as NodeType, n as NodeIndexConfig, e as NodeIndexDeclaration, k as IndexWhereExpression } from './types-Dh-EgT-w.js';
1
+ import { c as AnyEdgeType, g as EdgeIndexConfig, e as EdgeIndexDeclaration, b as NodeType, o as NodeIndexConfig, f as NodeIndexDeclaration, l as IndexWhereExpression } from './types-Cjvkj0jA.js';
2
2
 
3
3
  /** The TypeGraph relations that carry system indexes. */
4
4
  type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
@@ -1,4 +1,4 @@
1
- import { b as AnyEdgeType, f as EdgeIndexConfig, d as EdgeIndexDeclaration, a as NodeType, n as NodeIndexConfig, e as NodeIndexDeclaration, k as IndexWhereExpression } from './types-Dh-EgT-w.cjs';
1
+ import { c as AnyEdgeType, g as EdgeIndexConfig, e as EdgeIndexDeclaration, b as NodeType, o as NodeIndexConfig, f as NodeIndexDeclaration, l as IndexWhereExpression } from './types-Cjvkj0jA.cjs';
2
2
 
3
3
  /** The TypeGraph relations that carry system indexes. */
4
4
  type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicia-ai/typegraph",
3
- "version": "0.42.1",
3
+ "version": "0.44.0",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",