@nicia-ai/typegraph 0.49.0 → 0.51.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 (370) hide show
  1. package/README.md +12 -0
  2. package/dist/backend/drizzle/indexes.cjs +11 -9
  3. package/dist/backend/drizzle/indexes.d.cts +1 -1
  4. package/dist/backend/drizzle/indexes.d.ts +1 -1
  5. package/dist/backend/drizzle/indexes.js +7 -5
  6. package/dist/backend/index.cjs +190 -53
  7. package/dist/backend/index.d.cts +90 -4
  8. package/dist/backend/index.d.ts +90 -4
  9. package/dist/backend/index.js +9 -12
  10. package/dist/backend/postgres/index.cjs +36 -28
  11. package/dist/backend/postgres/index.d.cts +7 -7
  12. package/dist/backend/postgres/index.d.ts +7 -7
  13. package/dist/backend/postgres/index.js +19 -15
  14. package/dist/backend/postgres/pglite-store.cjs +7 -62
  15. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  16. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  17. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  18. package/dist/backend/postgres/pglite-store.js +7 -62
  19. package/dist/backend/postgres/pglite-store.js.map +1 -1
  20. package/dist/backend/postgres/pglite.cjs +21 -17
  21. package/dist/backend/postgres/pglite.d.cts +3 -3
  22. package/dist/backend/postgres/pglite.d.ts +3 -3
  23. package/dist/backend/postgres/pglite.js +20 -16
  24. package/dist/backend/sqlite/index.cjs +33 -25
  25. package/dist/backend/sqlite/index.d.cts +7 -7
  26. package/dist/backend/sqlite/index.d.ts +7 -7
  27. package/dist/backend/sqlite/index.js +17 -13
  28. package/dist/backend/sqlite/libsql.cjs +24 -20
  29. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  30. package/dist/backend/sqlite/libsql.d.cts +3 -3
  31. package/dist/backend/sqlite/libsql.d.ts +3 -3
  32. package/dist/backend/sqlite/libsql.js +19 -15
  33. package/dist/backend/sqlite/libsql.js.map +1 -1
  34. package/dist/backend/sqlite/local-store.cjs +9 -64
  35. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +8 -8
  37. package/dist/backend/sqlite/local-store.d.ts +8 -8
  38. package/dist/backend/sqlite/local-store.js +8 -64
  39. package/dist/backend/sqlite/local-store.js.map +1 -1
  40. package/dist/backend/sqlite/local.cjs +25 -20
  41. package/dist/backend/sqlite/local.d.cts +3 -3
  42. package/dist/backend/sqlite/local.d.ts +3 -3
  43. package/dist/backend/sqlite/local.js +21 -16
  44. package/dist/chunk-2CVDZCXH.cjs +1278 -0
  45. package/dist/chunk-2CVDZCXH.cjs.map +1 -0
  46. package/dist/{chunk-MYKHJI2J.js → chunk-2DWTBNSH.js} +3 -3
  47. package/dist/{chunk-MYKHJI2J.js.map → chunk-2DWTBNSH.js.map} +1 -1
  48. package/dist/{chunk-JB6T4GLL.cjs → chunk-2KCTP3U2.cjs} +870 -528
  49. package/dist/chunk-2KCTP3U2.cjs.map +1 -0
  50. package/dist/{chunk-OORXGFL5.cjs → chunk-322TBTOQ.cjs} +48 -48
  51. package/dist/{chunk-OORXGFL5.cjs.map → chunk-322TBTOQ.cjs.map} +1 -1
  52. package/dist/{chunk-FA2AFWLP.cjs → chunk-36SX6QXP.cjs} +31 -12
  53. package/dist/chunk-36SX6QXP.cjs.map +1 -0
  54. package/dist/{chunk-SDBBMD4N.js → chunk-36VYWVQU.js} +3 -3
  55. package/dist/{chunk-SDBBMD4N.js.map → chunk-36VYWVQU.js.map} +1 -1
  56. package/dist/chunk-4DKY6RIU.js +1253 -0
  57. package/dist/chunk-4DKY6RIU.js.map +1 -0
  58. package/dist/chunk-4QKOZYMV.js +9 -0
  59. package/dist/chunk-4QKOZYMV.js.map +1 -0
  60. package/dist/{chunk-WIC7DRXW.js → chunk-57JM6NW3.js} +9 -19
  61. package/dist/chunk-57JM6NW3.js.map +1 -0
  62. package/dist/chunk-5WWEYV4H.cjs +5113 -0
  63. package/dist/chunk-5WWEYV4H.cjs.map +1 -0
  64. package/dist/chunk-6KQEICJ6.cjs +12 -0
  65. package/dist/{chunk-MKJ4KXL5.cjs.map → chunk-6KQEICJ6.cjs.map} +1 -1
  66. package/dist/{chunk-DZAICA5J.js → chunk-6NKSE5AU.js} +4 -4
  67. package/dist/{chunk-DZAICA5J.js.map → chunk-6NKSE5AU.js.map} +1 -1
  68. package/dist/{chunk-KKBDXCLQ.js → chunk-6NLYIMJO.js} +4 -4
  69. package/dist/{chunk-KKBDXCLQ.js.map → chunk-6NLYIMJO.js.map} +1 -1
  70. package/dist/{chunk-BFUOME67.cjs → chunk-7B7I7YAW.cjs} +20 -11
  71. package/dist/chunk-7B7I7YAW.cjs.map +1 -0
  72. package/dist/{chunk-ZDKTPBGV.js → chunk-7G5IYROL.js} +6 -548
  73. package/dist/chunk-7G5IYROL.js.map +1 -0
  74. package/dist/{chunk-3DMMGT6S.js → chunk-7QFRK6PU.js} +4 -8
  75. package/dist/chunk-7QFRK6PU.js.map +1 -0
  76. package/dist/chunk-A4C4NJ5U.cjs +12 -0
  77. package/dist/chunk-A4C4NJ5U.cjs.map +1 -0
  78. package/dist/{chunk-CHAOFCHV.js → chunk-AH2A74OZ.js} +3 -3
  79. package/dist/{chunk-CHAOFCHV.js.map → chunk-AH2A74OZ.js.map} +1 -1
  80. package/dist/{chunk-UGHQV7MP.cjs → chunk-B3MN7EJR.cjs} +228 -162
  81. package/dist/chunk-B3MN7EJR.cjs.map +1 -0
  82. package/dist/{chunk-TZEGUG6D.cjs → chunk-BZ5MVITP.cjs} +4 -4
  83. package/dist/{chunk-TZEGUG6D.cjs.map → chunk-BZ5MVITP.cjs.map} +1 -1
  84. package/dist/{chunk-YVF2EM7B.js → chunk-CAI6SMP6.js} +3 -3
  85. package/dist/{chunk-YVF2EM7B.js.map → chunk-CAI6SMP6.js.map} +1 -1
  86. package/dist/{chunk-JONXFAPO.js → chunk-CBOD7TXH.js} +5 -5
  87. package/dist/{chunk-JONXFAPO.js.map → chunk-CBOD7TXH.js.map} +1 -1
  88. package/dist/{chunk-FQPEMEWX.cjs → chunk-CRZ56SZU.cjs} +81 -32
  89. package/dist/chunk-CRZ56SZU.cjs.map +1 -0
  90. package/dist/{chunk-DO7SAMEK.cjs → chunk-D3GWARN7.cjs} +47 -47
  91. package/dist/{chunk-DO7SAMEK.cjs.map → chunk-D3GWARN7.cjs.map} +1 -1
  92. package/dist/{chunk-QTD6HX4O.js → chunk-D3OUDFU7.js} +5 -5
  93. package/dist/{chunk-QTD6HX4O.js.map → chunk-D3OUDFU7.js.map} +1 -1
  94. package/dist/{chunk-2QGYQBS2.cjs → chunk-DWUDZ66O.cjs} +10 -10
  95. package/dist/{chunk-2QGYQBS2.cjs.map → chunk-DWUDZ66O.cjs.map} +1 -1
  96. package/dist/chunk-EKG2UXNX.cjs +23 -0
  97. package/dist/chunk-EKG2UXNX.cjs.map +1 -0
  98. package/dist/chunk-FMMW3KX7.cjs +148 -0
  99. package/dist/chunk-FMMW3KX7.cjs.map +1 -0
  100. package/dist/{chunk-XVWOYKIK.js → chunk-FZHF5UWR.js} +3 -3
  101. package/dist/{chunk-XVWOYKIK.js.map → chunk-FZHF5UWR.js.map} +1 -1
  102. package/dist/chunk-H2VWDQWC.cjs +571 -0
  103. package/dist/chunk-H2VWDQWC.cjs.map +1 -0
  104. package/dist/chunk-H4FY6OZK.js +13 -0
  105. package/dist/chunk-H4FY6OZK.js.map +1 -0
  106. package/dist/{chunk-EDN4Y4ZG.cjs → chunk-H5IJSROF.cjs} +9 -15
  107. package/dist/chunk-H5IJSROF.cjs.map +1 -0
  108. package/dist/chunk-HZUB5CON.js +27 -0
  109. package/dist/chunk-HZUB5CON.js.map +1 -0
  110. package/dist/{chunk-NACVVDWB.js → chunk-I5IOSA27.js} +103 -105
  111. package/dist/chunk-I5IOSA27.js.map +1 -0
  112. package/dist/{chunk-OI2GQ25X.cjs → chunk-I7YAY2VQ.cjs} +7 -7
  113. package/dist/{chunk-OI2GQ25X.cjs.map → chunk-I7YAY2VQ.cjs.map} +1 -1
  114. package/dist/chunk-IRCWIA3R.js +20 -0
  115. package/dist/chunk-IRCWIA3R.js.map +1 -0
  116. package/dist/chunk-IVQBLXBK.cjs +55 -0
  117. package/dist/chunk-IVQBLXBK.cjs.map +1 -0
  118. package/dist/{chunk-7SQSZN2J.js → chunk-IZD4HTCP.js} +5 -5
  119. package/dist/{chunk-7SQSZN2J.js.map → chunk-IZD4HTCP.js.map} +1 -1
  120. package/dist/{chunk-3FPR224C.cjs → chunk-JHRUZ73O.cjs} +116 -107
  121. package/dist/chunk-JHRUZ73O.cjs.map +1 -0
  122. package/dist/{chunk-EZEEWCFJ.cjs → chunk-JQKMEKKW.cjs} +525 -298
  123. package/dist/chunk-JQKMEKKW.cjs.map +1 -0
  124. package/dist/chunk-JVA3KDEA.cjs +691 -0
  125. package/dist/chunk-JVA3KDEA.cjs.map +1 -0
  126. package/dist/{chunk-5K2BKEBD.js → chunk-K46SDNQD.js} +10 -4
  127. package/dist/chunk-K46SDNQD.js.map +1 -0
  128. package/dist/{chunk-7LZJNLA5.js → chunk-K67P5DLL.js} +108 -42
  129. package/dist/chunk-K67P5DLL.js.map +1 -0
  130. package/dist/{chunk-3G5W2U2L.cjs → chunk-KACEYDYV.cjs} +335 -258
  131. package/dist/chunk-KACEYDYV.cjs.map +1 -0
  132. package/dist/{chunk-JFRT7S3B.cjs → chunk-L6EVYIID.cjs} +318 -478
  133. package/dist/chunk-L6EVYIID.cjs.map +1 -0
  134. package/dist/{chunk-SHFBB23Q.js → chunk-LI4K2KEJ.js} +6 -4
  135. package/dist/chunk-LI4K2KEJ.js.map +1 -0
  136. package/dist/chunk-LKZDQ2B4.js +1581 -0
  137. package/dist/chunk-LKZDQ2B4.js.map +1 -0
  138. package/dist/{chunk-WODMN3Q2.cjs → chunk-LLFPQOBA.cjs} +27 -27
  139. package/dist/{chunk-WODMN3Q2.cjs.map → chunk-LLFPQOBA.cjs.map} +1 -1
  140. package/dist/{chunk-P6YLZTRE.js → chunk-LZMQ3SFK.js} +3 -3
  141. package/dist/{chunk-P6YLZTRE.js.map → chunk-LZMQ3SFK.js.map} +1 -1
  142. package/dist/{chunk-HEV35TGT.js → chunk-M3VTS3F6.js} +13 -4
  143. package/dist/chunk-M3VTS3F6.js.map +1 -0
  144. package/dist/{chunk-TQHGE7UC.cjs → chunk-M5MSP3BI.cjs} +18 -10
  145. package/dist/chunk-M5MSP3BI.cjs.map +1 -0
  146. package/dist/{chunk-D4QLTJSM.js → chunk-NBOS7BY3.js} +63 -23
  147. package/dist/chunk-NBOS7BY3.js.map +1 -0
  148. package/dist/chunk-NGQDGL5X.js +140 -0
  149. package/dist/chunk-NGQDGL5X.js.map +1 -0
  150. package/dist/{chunk-SIT26LAZ.cjs → chunk-NLX5OWK7.cjs} +33 -5
  151. package/dist/chunk-NLX5OWK7.cjs.map +1 -0
  152. package/dist/chunk-NUQ2YFFH.cjs +1637 -0
  153. package/dist/chunk-NUQ2YFFH.cjs.map +1 -0
  154. package/dist/{chunk-UMGZDVOA.cjs → chunk-OGL4X4PH.cjs} +206 -208
  155. package/dist/chunk-OGL4X4PH.cjs.map +1 -0
  156. package/dist/{chunk-LRQKXRXO.cjs → chunk-OTNTGEXR.cjs} +4 -4
  157. package/dist/{chunk-LRQKXRXO.cjs.map → chunk-OTNTGEXR.cjs.map} +1 -1
  158. package/dist/chunk-OTWE63BW.js +53 -0
  159. package/dist/chunk-OTWE63BW.js.map +1 -0
  160. package/dist/chunk-PC5NGH5A.js +549 -0
  161. package/dist/chunk-PC5NGH5A.js.map +1 -0
  162. package/dist/{chunk-26YKDNUD.cjs → chunk-PS3TUWJM.cjs} +12 -10
  163. package/dist/chunk-PS3TUWJM.cjs.map +1 -0
  164. package/dist/{chunk-OMZ37BM2.js → chunk-PVFFH7TL.js} +5 -5
  165. package/dist/{chunk-OMZ37BM2.js.map → chunk-PVFFH7TL.js.map} +1 -1
  166. package/dist/chunk-QCD5JKU4.cjs +15 -0
  167. package/dist/chunk-QCD5JKU4.cjs.map +1 -0
  168. package/dist/{chunk-UGHG7PGX.js → chunk-QG5VEOKX.js} +30 -4
  169. package/dist/chunk-QG5VEOKX.js.map +1 -0
  170. package/dist/{chunk-TUNPBZY3.cjs → chunk-QLLZM5I3.cjs} +4 -4
  171. package/dist/{chunk-TUNPBZY3.cjs.map → chunk-QLLZM5I3.cjs.map} +1 -1
  172. package/dist/{chunk-BRRP76WO.js → chunk-RCBG6YMT.js} +781 -375
  173. package/dist/chunk-RCBG6YMT.js.map +1 -0
  174. package/dist/{chunk-LTXQOEIC.js → chunk-RI7RJH4G.js} +281 -204
  175. package/dist/chunk-RI7RJH4G.js.map +1 -0
  176. package/dist/{chunk-GYEG3ZLZ.cjs → chunk-RJMHU2MG.cjs} +121 -18
  177. package/dist/chunk-RJMHU2MG.cjs.map +1 -0
  178. package/dist/{chunk-GLHXM7C4.js → chunk-RVUL2HXY.js} +61 -23
  179. package/dist/chunk-RVUL2HXY.js.map +1 -0
  180. package/dist/chunk-RWUWTJQY.cjs +30 -0
  181. package/dist/chunk-RWUWTJQY.cjs.map +1 -0
  182. package/dist/{chunk-2O4PCIZ6.cjs → chunk-S5GU4LUN.cjs} +13 -13
  183. package/dist/{chunk-2O4PCIZ6.cjs.map → chunk-S5GU4LUN.cjs.map} +1 -1
  184. package/dist/{chunk-JPD2CTC3.js → chunk-SDPWO2Z5.js} +7 -7
  185. package/dist/{chunk-JPD2CTC3.js.map → chunk-SDPWO2Z5.js.map} +1 -1
  186. package/dist/{chunk-OVI7IXYX.js → chunk-SLGGT2XD.js} +3 -3
  187. package/dist/{chunk-OVI7IXYX.js.map → chunk-SLGGT2XD.js.map} +1 -1
  188. package/dist/{chunk-ROR5ZR6A.cjs → chunk-TIJUA4I6.cjs} +45 -45
  189. package/dist/{chunk-ROR5ZR6A.cjs.map → chunk-TIJUA4I6.cjs.map} +1 -1
  190. package/dist/{chunk-AOSSQDVO.cjs → chunk-TM54OBHX.cjs} +13 -13
  191. package/dist/{chunk-AOSSQDVO.cjs.map → chunk-TM54OBHX.cjs.map} +1 -1
  192. package/dist/{chunk-KF6K7TGH.js → chunk-TYEYRCXL.js} +766 -433
  193. package/dist/chunk-TYEYRCXL.js.map +1 -0
  194. package/dist/{chunk-Z2JCLZFJ.js → chunk-UKOVGCRN.js} +2151 -570
  195. package/dist/chunk-UKOVGCRN.js.map +1 -0
  196. package/dist/chunk-UYKDYE5D.cjs +12 -0
  197. package/dist/{chunk-CICO5GXD.cjs.map → chunk-UYKDYE5D.cjs.map} +1 -1
  198. package/dist/{chunk-S5TERQVW.js → chunk-VAAC7L57.js} +284 -66
  199. package/dist/chunk-VAAC7L57.js.map +1 -0
  200. package/dist/{chunk-7UOLHNWC.cjs → chunk-VKHXYVN7.cjs} +22 -33
  201. package/dist/chunk-VKHXYVN7.cjs.map +1 -0
  202. package/dist/{chunk-6NGW27EO.cjs → chunk-VLBTRXA2.cjs} +10 -10
  203. package/dist/{chunk-6NGW27EO.cjs.map → chunk-VLBTRXA2.cjs.map} +1 -1
  204. package/dist/{chunk-YIURNGXI.js → chunk-VUQZNUHU.js} +22 -6
  205. package/dist/chunk-VUQZNUHU.js.map +1 -0
  206. package/dist/{chunk-YYUHLYM2.cjs → chunk-WDM5WQK4.cjs} +183 -143
  207. package/dist/chunk-WDM5WQK4.cjs.map +1 -0
  208. package/dist/{chunk-ZFMCDJGB.js → chunk-WFSYYU4W.js} +70 -220
  209. package/dist/chunk-WFSYYU4W.js.map +1 -0
  210. package/dist/{chunk-SR725PWF.cjs → chunk-WRBV2FNH.cjs} +2065 -1659
  211. package/dist/chunk-WRBV2FNH.cjs.map +1 -0
  212. package/dist/{chunk-MRDBBHIZ.cjs → chunk-X4GDXBOP.cjs} +2 -2
  213. package/dist/chunk-X4GDXBOP.cjs.map +1 -0
  214. package/dist/chunk-XORONCV3.js +202 -0
  215. package/dist/chunk-XORONCV3.js.map +1 -0
  216. package/dist/{chunk-D5R42W5D.js → chunk-XZW2CTNO.js} +115 -12
  217. package/dist/chunk-XZW2CTNO.js.map +1 -0
  218. package/dist/{chunk-ZLONH2UD.js → chunk-YDEJQWOL.js} +2 -2
  219. package/dist/chunk-YDEJQWOL.js.map +1 -0
  220. package/dist/{chunk-2TYSSBU5.js → chunk-YT2IVFAI.js} +30 -21
  221. package/dist/chunk-YT2IVFAI.js.map +1 -0
  222. package/dist/chunk-ZGVTNKTX.cjs +217 -0
  223. package/dist/chunk-ZGVTNKTX.cjs.map +1 -0
  224. package/dist/core/index.cjs +29 -28
  225. package/dist/core/index.d.cts +4 -4
  226. package/dist/core/index.d.ts +4 -4
  227. package/dist/core/index.js +9 -8
  228. package/dist/{ddl-D_oW-EVO.d.ts → ddl-BvcbgzHo.d.ts} +3 -3
  229. package/dist/{ddl-BL1NZLMY.d.cts → ddl-Ufebz5q5.d.cts} +3 -3
  230. package/dist/graph-extension/index.cjs +21 -20
  231. package/dist/graph-extension/index.d.cts +2 -4
  232. package/dist/graph-extension/index.d.ts +2 -4
  233. package/dist/graph-extension/index.js +5 -4
  234. package/dist/graph-merge/index.cjs +324 -307
  235. package/dist/graph-merge/index.cjs.map +1 -1
  236. package/dist/graph-merge/index.d.cts +8 -9
  237. package/dist/graph-merge/index.d.ts +8 -9
  238. package/dist/graph-merge/index.js +51 -34
  239. package/dist/graph-merge/index.js.map +1 -1
  240. package/dist/index.cjs +224 -222
  241. package/dist/index.cjs.map +1 -1
  242. package/dist/index.d.cts +11 -12
  243. package/dist/index.d.ts +11 -12
  244. package/dist/index.js +38 -36
  245. package/dist/index.js.map +1 -1
  246. package/dist/indexes/index.cjs +15 -13
  247. package/dist/indexes/index.d.cts +4 -4
  248. package/dist/indexes/index.d.ts +4 -4
  249. package/dist/indexes/index.js +8 -6
  250. package/dist/{ingestion-import-target-dNeL7iAv.d.ts → ingestion-import-target-CAs1OX-l.d.cts} +1 -1
  251. package/dist/{ingestion-import-target-XPxZYw89.d.cts → ingestion-import-target-DCQSPfNx.d.ts} +1 -1
  252. package/dist/interchange/index.cjs +57 -54
  253. package/dist/interchange/index.cjs.map +1 -1
  254. package/dist/interchange/index.d.cts +19 -8
  255. package/dist/interchange/index.d.ts +19 -8
  256. package/dist/interchange/index.js +21 -18
  257. package/dist/interchange/index.js.map +1 -1
  258. package/dist/local-store-impl-6DDTFM32.cjs +77 -0
  259. package/dist/local-store-impl-6DDTFM32.cjs.map +1 -0
  260. package/dist/local-store-impl-OXTOVU2J.js +75 -0
  261. package/dist/local-store-impl-OXTOVU2J.js.map +1 -0
  262. package/dist/{manager-CYaff3n3.d.cts → manager-B68OrPR2.d.ts} +29 -2
  263. package/dist/{manager-D9eRT_ns.d.ts → manager-D_t7oK69.d.cts} +29 -2
  264. package/dist/pglite-store-impl-6EMZGL7K.js +73 -0
  265. package/dist/pglite-store-impl-6EMZGL7K.js.map +1 -0
  266. package/dist/pglite-store-impl-GJG3Y7RP.cjs +75 -0
  267. package/dist/pglite-store-impl-GJG3Y7RP.cjs.map +1 -0
  268. package/dist/{postgres-CcL4bAHS.d.ts → postgres-BPLSVyHM.d.ts} +279 -2
  269. package/dist/{postgres-DMj39MEu.d.cts → postgres-CqvtFC2y.d.cts} +279 -2
  270. package/dist/profiler/index.d.cts +9 -9
  271. package/dist/profiler/index.d.ts +9 -9
  272. package/dist/provenance/index.cjs +59 -44
  273. package/dist/provenance/index.cjs.map +1 -1
  274. package/dist/provenance/index.d.cts +7 -7
  275. package/dist/provenance/index.d.ts +7 -7
  276. package/dist/provenance/index.js +28 -13
  277. package/dist/provenance/index.js.map +1 -1
  278. package/dist/{repair-validity-windows-BFNZvd_H.d.cts → repair-validity-windows-DEzCKAdy.d.cts} +7 -3
  279. package/dist/{repair-validity-windows-DlUSqwCg.d.ts → repair-validity-windows-GMdaS2AH.d.ts} +7 -3
  280. package/dist/resolve-D_H8MHtq.d.ts +1805 -0
  281. package/dist/resolve-WEW8gWws.d.cts +1805 -0
  282. package/dist/schema/index.cjs +48 -46
  283. package/dist/schema/index.d.cts +4 -6
  284. package/dist/schema/index.d.ts +4 -6
  285. package/dist/schema/index.js +21 -19
  286. package/dist/{searchable-bpE1bBfc.d.ts → searchable-C_UREI9K.d.ts} +1 -1
  287. package/dist/{searchable-DHJMh_nj.d.cts → searchable-ClgET_i7.d.cts} +1 -1
  288. package/dist/{sqlite-YppHrNFb.d.cts → sqlite-D1mXO9Kp.d.cts} +310 -2
  289. package/dist/{sqlite-D7Oz0SQh.d.ts → sqlite-MZA3oZNB.d.ts} +310 -2
  290. package/dist/{store-bphCSo7z.d.cts → store-CuFX7fCx.d.cts} +117 -31
  291. package/dist/{store-DRrFCx5x.d.ts → store-D-ZjXQpW.d.ts} +117 -31
  292. package/dist/{temporal-CbnLzTmM.d.ts → temporal-CpyEiRY8.d.cts} +1 -1
  293. package/dist/{temporal-5GqpYCk2.d.cts → temporal-y0Aep9Su.d.ts} +1 -1
  294. package/dist/{types-BqFZTQmV.d.cts → types-6yf0Vv-_.d.cts} +2016 -94
  295. package/dist/{types-BqFZTQmV.d.ts → types-6yf0Vv-_.d.ts} +2016 -94
  296. package/dist/{types-Bx74kaTt.d.ts → types-DzJ4dlzk.d.cts} +1 -1
  297. package/dist/{types-CXAhpW-c.d.cts → types-_vVSB9k-.d.ts} +1 -1
  298. package/dist/{where-O-k2wgYm.d.ts → where-DuG2LCLe.d.ts} +1 -1
  299. package/dist/{where-DI_Fqz-X.d.cts → where-Mhf_yyKX.d.cts} +1 -1
  300. package/package.json +7 -2
  301. package/dist/chunk-26YKDNUD.cjs.map +0 -1
  302. package/dist/chunk-2TYSSBU5.js.map +0 -1
  303. package/dist/chunk-3DMMGT6S.js.map +0 -1
  304. package/dist/chunk-3FPR224C.cjs.map +0 -1
  305. package/dist/chunk-3G5W2U2L.cjs.map +0 -1
  306. package/dist/chunk-3KOY4FH3.cjs +0 -934
  307. package/dist/chunk-3KOY4FH3.cjs.map +0 -1
  308. package/dist/chunk-3QNZ5SAJ.cjs +0 -3502
  309. package/dist/chunk-3QNZ5SAJ.cjs.map +0 -1
  310. package/dist/chunk-3U5ABFDW.cjs +0 -259
  311. package/dist/chunk-3U5ABFDW.cjs.map +0 -1
  312. package/dist/chunk-5K2BKEBD.js.map +0 -1
  313. package/dist/chunk-5PRKMB24.cjs +0 -124
  314. package/dist/chunk-5PRKMB24.cjs.map +0 -1
  315. package/dist/chunk-6LN7FIVU.js +0 -107
  316. package/dist/chunk-6LN7FIVU.js.map +0 -1
  317. package/dist/chunk-6SWPJEYN.js +0 -1126
  318. package/dist/chunk-6SWPJEYN.js.map +0 -1
  319. package/dist/chunk-7LZJNLA5.js.map +0 -1
  320. package/dist/chunk-7UOLHNWC.cjs.map +0 -1
  321. package/dist/chunk-BFUOME67.cjs.map +0 -1
  322. package/dist/chunk-BRRP76WO.js.map +0 -1
  323. package/dist/chunk-CICO5GXD.cjs +0 -12
  324. package/dist/chunk-D4QLTJSM.js.map +0 -1
  325. package/dist/chunk-D5R42W5D.js.map +0 -1
  326. package/dist/chunk-EDN4Y4ZG.cjs.map +0 -1
  327. package/dist/chunk-EZEEWCFJ.cjs.map +0 -1
  328. package/dist/chunk-FA2AFWLP.cjs.map +0 -1
  329. package/dist/chunk-FQPEMEWX.cjs.map +0 -1
  330. package/dist/chunk-GLHXM7C4.js.map +0 -1
  331. package/dist/chunk-GYEG3ZLZ.cjs.map +0 -1
  332. package/dist/chunk-HDL2ARHX.cjs +0 -1156
  333. package/dist/chunk-HDL2ARHX.cjs.map +0 -1
  334. package/dist/chunk-HEV35TGT.js.map +0 -1
  335. package/dist/chunk-I4GAZH5Z.js +0 -913
  336. package/dist/chunk-I4GAZH5Z.js.map +0 -1
  337. package/dist/chunk-JB6T4GLL.cjs.map +0 -1
  338. package/dist/chunk-JBQQ7THH.js +0 -20
  339. package/dist/chunk-JBQQ7THH.js.map +0 -1
  340. package/dist/chunk-JFRT7S3B.cjs.map +0 -1
  341. package/dist/chunk-KF6K7TGH.js.map +0 -1
  342. package/dist/chunk-L3LQNR34.cjs +0 -1254
  343. package/dist/chunk-L3LQNR34.cjs.map +0 -1
  344. package/dist/chunk-LTXQOEIC.js.map +0 -1
  345. package/dist/chunk-MKJ4KXL5.cjs +0 -12
  346. package/dist/chunk-MRDBBHIZ.cjs.map +0 -1
  347. package/dist/chunk-NACVVDWB.js.map +0 -1
  348. package/dist/chunk-NVY5CJFP.js +0 -244
  349. package/dist/chunk-NVY5CJFP.js.map +0 -1
  350. package/dist/chunk-PWLJ77UV.cjs +0 -23
  351. package/dist/chunk-PWLJ77UV.cjs.map +0 -1
  352. package/dist/chunk-S5TERQVW.js.map +0 -1
  353. package/dist/chunk-SHFBB23Q.js.map +0 -1
  354. package/dist/chunk-SIT26LAZ.cjs.map +0 -1
  355. package/dist/chunk-SR725PWF.cjs.map +0 -1
  356. package/dist/chunk-TQHGE7UC.cjs.map +0 -1
  357. package/dist/chunk-UGHG7PGX.js.map +0 -1
  358. package/dist/chunk-UGHQV7MP.cjs.map +0 -1
  359. package/dist/chunk-UMGZDVOA.cjs.map +0 -1
  360. package/dist/chunk-WIC7DRXW.js.map +0 -1
  361. package/dist/chunk-YIURNGXI.js.map +0 -1
  362. package/dist/chunk-YYUHLYM2.cjs.map +0 -1
  363. package/dist/chunk-Z2JCLZFJ.js.map +0 -1
  364. package/dist/chunk-ZDKTPBGV.js.map +0 -1
  365. package/dist/chunk-ZFMCDJGB.js.map +0 -1
  366. package/dist/chunk-ZLONH2UD.js.map +0 -1
  367. package/dist/index-COs_z6nV.d.cts +0 -1132
  368. package/dist/index-D7d1u2gr.d.ts +0 -1132
  369. package/dist/materialize-indexes-DJ3ykH59.d.ts +0 -266
  370. package/dist/materialize-indexes-DTtAnvfY.d.cts +0 -266
@@ -1,6 +1,9 @@
1
- export { A as ALL_FULLTEXT_MODES, a as ALL_META_EDGE_NAMES, b as AdapterBackend, c as AdapterBackendTransactions, B as BASE_CONTRIBUTION_OWNER, d as BackendCapabilities, e as BackendIdentity, f as BackendLifecycle, g as BackendMaintenance, h as BackendTransactions, C as Cardinality, i as CheckUniqueBatchParams, j as CheckUniqueParams, k as ClaimIndexMaterializationParams, l as Collation, m as CommitSchemaVersionExpected, n as CommitSchemaVersionIfKindsEmptyResult, o as CommitSchemaVersionParams, p as CompiledRowsSql, q as CompiledSelectSql, r as CompiledStatementSql, s as CompiledTemporaryStatementSql, t as ContributionCapabilities, u as ContributionDiagnostic, v as ContributionDiagnosticState, w as ContributionMaterializationBackend, x as ContributionMaterializationIdentity, y as ContributionMaterializationRow, z as ContributionProbeContribution, D as ContributionProbeEntry, E as ContributionProbeResult, F as ContributionProbeState, G as ContributionRebuildResult, H as ContributionRebuildScope, J as ContributionRepairEntry, K as ContributionRepairResult, L as ContributionRepopulationStats, M as CountEdgesByKindParams, N as CountEdgesFromParams, O as CountNodesByKindParams, P as CreateVectorIndexParams, Q as D1_MAX_BIND_PARAMETERS, R as DURABLE_OBJECT_MAX_BIND_PARAMETERS, S as DeleteBehavior, T as DeleteEdgeParams, U as DeleteEdgesBatchParams, V as DeleteEmbeddingParams, W as DeleteFulltextBatchParams, X as DeleteFulltextParams, Y as DeleteNodeParams, Z as DeleteUniqueParams, _ as DialectAdapter, $ as DialectCapabilities, a0 as DialectRecursiveQueryStrategy, a1 as DialectStandardQueryStrategy, a2 as DialectVectorPredicateStrategy, a3 as DropVectorIndexParams, a4 as EdgeEntityReadBackend, a5 as EdgeEntityWriteBackend, a6 as EdgeExistsBetweenParams, a7 as EdgeIndexDeclaration, a8 as EdgeIndexDirection, a9 as EdgeRow, aa as EndpointExistence, ab as ExtensionArrayItemType, ac as ExtensionArrayProperty, ad as ExtensionBooleanProperty, ae as ExtensionEdgeDef, af as ExtensionEdgeIndex, ag as ExtensionEmbeddingModifier, ah as ExtensionEnumProperty, ai as ExtensionIndex, aj as ExtensionIndexWhere, ak as ExtensionNodeDef, al as ExtensionNodeIndex, am as ExtensionNumberProperty, an as ExtensionObjectFieldProperty, ao as ExtensionObjectProperty, ap as ExtensionOntologyRelation, aq as ExtensionPropertyModifiers, ar as ExtensionPropertyType, as as ExtensionSearchableModifier, at as ExtensionStringProperty, au as ExtensionUniqueConstraint, av as ExtensionUniqueWhere, aw as FULLTEXT_CONTRIBUTION_NAME, ax as FilteredApproximateSearch, ay as FilteredApproximateSearchMode, az as FindEdgesByEndpointSetParams, aA as FindEdgesByHeterogeneousEndpointSetParams, aB as FindEdgesByKindParams, aC as FindEdgesConnectedToParams, aD as FindNodesByKindParams, aE as FulltextBatchRow, aF as FulltextCapabilities, aG as FulltextOperationBackend, aH as FulltextQueryMode, aI as FulltextSearchParams, aJ as FulltextSearchResult, aK as FulltextStrategy, aL as GraphAnalyticsCapabilities, aM as GraphBackend, aN as GraphEntityReadBackend, aO as GraphEntityWriteBackend, aP as GraphExtension, aQ as GraphExtensionVersion, aR as GraphIdentityConfig, aS as GraphLifecycleBackend, aT as GraphReadBackend, aU as HardDeleteEdgeParams, aV as HardDeleteNodeParams, aW as HardDeleteUniquesByNodeIdsParams, aX as HybridSearchParams, aY as HybridSearchRow, aZ as IdentityTableNames, a_ as InListParameterOptions, I as IndexDeclaration, a$ as IndexDeclarationBase, b0 as IndexEntity, b1 as IndexMaterializationBackend, b2 as IndexMaterializationRow, b3 as IndexOrigin, b4 as IndexScope, b5 as IndexWhereExpression, b6 as IndexWhereLiteral, b7 as IndexWhereOp, b8 as IndexWhereOperand, b9 as InferenceType, ba as InsertEdgeParams, bb as InsertNodeParams, bc as InsertSchemaParams, bd as InsertUniqueParams, be as IntentSql, bf as JsonPointer, bg as JsonSchema, bh as JsonValue, bi as KindAnnotations, bj as KindEntity, bk as KindRemovalRow, bl as LiveNodeRow, bm as LockSchemaVersionForWriteParams, bn as MODERN_SQLITE_MAX_BIND_PARAMETERS, bo as MetaEdgeName, bp as NodeEntityReadBackend, bq as NodeEntityWriteBackend, br as NodeIndexDeclaration, bs as NodeRow, bt as NullCheckOp, bu as POSTGRES_CAPABILITIES, bv as POSTGRES_MAX_BIND_PARAMETERS, bw as Placeholder, bx as PopulatedSchemaKind, by as QueryExecutionBackend, bz as RawQueryExecutionBackend, bA as RawStatementExecutionBackend, bB as RecordContributionMaterializationParams, bC as RecordIndexMaterializationParams, bD as RecordKindRemovalParams, bE as RelationalIndexDeclaration, bF as RelationalIndexMethod, bG as ReleaseIndexMaterializationClaimParams, bH as RemovalMaterializationBackend, bI as RenderedSql, bJ as ResolvedSqlTableNames, bK as RowProps, bL as SQLITE_CAPABILITIES, bM as SQLITE_MAX_BIND_PARAMETERS, bN as SchemaCommitBackend, bO as SchemaCommitPreflightBackend, bP as SchemaKindEmptinessProbe, bQ as SchemaReadBackend, bR as SchemaVersionRow, bS as SchemaWriteFenceBackend, bT as SerializedClosures, bU as SerializedEdgeDef, bV as SerializedMetaEdge, bW as SerializedNodeDef, bX as SerializedOntology, bY as SerializedOntologyRelation, bZ as SerializedSchema, b_ as SerializedUniqueConstraint, b$ as SetActiveVersionParams, c0 as SqlChunk, c1 as SqlCompilationBackend, c2 as SqlDialect, c3 as SqlFragment, c4 as SqlIdentifierChunk, c5 as SqlIntent, c6 as SqlParameterChunk, c7 as SqlPlaceholderChunk, c8 as SqlTableNames, c9 as SqlTag, ca as SqlTextChunk, cb as StrategyTableContribution, cc as SystemColumnName, cd as TableContribution, ce as TemporalMode, cf as TombstonedNodeRow, cg as TransactionBackend, ch as TransactionOptions, ci as TransactionReadBackend, cj as TrustedImportOptions, ck as TrustedImportSession, cl as UniqueConstraintBackend, cm as UniqueRow, cn as UniquenessScope, co as UpdateEdgeParams, cp as UpdateNodeParams, cq as UpdateNodeSetParams, cr as UpdateNodeSetResult, cs as UpsertEmbeddingBatchParams, ct as UpsertEmbeddingBatchRow, cu as UpsertEmbeddingParams, cv as UpsertFulltextBatchParams, cw as UpsertFulltextParams, cx as VECTOR_CONTRIBUTION_PREFIX, cy as ValueType, cz as VectorCapabilities, cA as VectorIndexDeclaration, cB as VectorIndexImplementation, cC as VectorIndexMetric, cD as VectorIndexParams, cE as VectorIndexType, cF as VectorMetric, cG as VectorOperationBackend, cH as VectorSearchFrontierTuning, cI as VectorSearchParams, cJ as VectorSearchResult, cK as VectorSlot, cL as VectorStrategy, cM as assertFiniteEmbedding, cN as assertVectorMinScore, cO as assertVectorSearchLimit, cP as buildFulltextCapabilities, cQ as buildVectorCapabilities, cR as fts5Strategy, cS as isLiveNodeRow, cT as isSqlFragment, cU as isSqlPlaceholder, cV as isTombstonedNodeRow, cW as normalizeGraphAnalyticsCapabilities, cX as quoteIdentifier, cY as renderPostgres, cZ as renderSql, c_ as renderSqlInline, c$ as renderSqlite, d0 as rowPropsToJsonText, d1 as rowPropsToObject, d2 as shortHash, d3 as sql, d4 as tsvectorStrategy, d5 as vectorMinScoreCondition, d6 as vectorPhysicalName, d7 as vectorScoreExpression } from '../types-BqFZTQmV.js';
2
- export { D as DeleteLegacyRecordedAnchorMapOptions, M as MigrateLegacyRecordedTimeOptions, a as MigrateLegacyRecordedTimeResult, b as MigrateRecordedAnchorOptions, R as RepairInvertedWindowsOptions, c as RepairInvertedWindowsReport, d as RepairRelation, e as RepairRelationScope, f as deleteLegacyRecordedAnchorMap, m as migrateLegacyRecordedTime, g as migrateRecordedAnchor, r as repairInvertedValidityWindows } from '../repair-validity-windows-DlUSqwCg.js';
3
- export { R as RecordedInstant } from '../temporal-CbnLzTmM.js';
1
+ import { e as GraphBackend } from '../types-6yf0Vv-_.js';
2
+ export { f as ALL_FULLTEXT_MODES, g as ALL_META_EDGE_NAMES, A as AdapterBackend, h as AdapterBackendTransactions, i as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, j as BackendIdentity, k as BackendLifecycle, l as BackendMaintenance, m as BackendTransactions, n as Cardinality, o as CheckUniqueBatchParams, p as CheckUniqueParams, q as ClaimEdgeCardinalityParams, r as ClaimIndexMaterializationParams, s as Collation, t as CommitSchemaVersionExpected, u as CommitSchemaVersionIfKindsEmptyResult, v as CommitSchemaVersionParams, w as CompiledRowsSql, x as CompiledSelectSql, y as CompiledStatementSql, z as CompiledTemporaryStatementSql, D as ConstraintFenceViolationRows, E as ContendedEdgeRow, H as ContendedUniqueRow, L as ContributionCapabilities, C as ContributionDiagnostic, a as ContributionDiagnosticState, M as ContributionMaterializationBackend, N as ContributionMaterializationIdentity, O as ContributionMaterializationRow, P as ContributionProbeContribution, R as ContributionProbeEntry, S as ContributionProbeResult, U as ContributionProbeState, W as ContributionRebuildResult, X as ContributionRebuildScope, b as ContributionRepairEntry, c as ContributionRepairResult, Y as ContributionRepopulationStats, Z as CountEdgesByKindParams, _ as CountEdgesFromParams, $ as CountNodesByKindParams, a0 as CreateVectorIndexParams, a1 as D1_MAX_BIND_PARAMETERS, a2 as DATABASE_EXTENSION_NAMES, a3 as DURABLE_OBJECT_MAX_BIND_PARAMETERS, a4 as DatabaseExtensionName, a5 as DeleteBehavior, a6 as DeleteEdgeParams, a7 as DeleteEdgesBatchParams, a8 as DeleteEmbeddingParams, a9 as DeleteFulltextBatchParams, aa as DeleteFulltextParams, ab as DeleteNodeParams, ac as DeleteUniqueParams, ad as DialectAdapter, ae as DialectCapabilities, af as DialectRecursiveQueryStrategy, ag as DialectStandardQueryStrategy, ah as DialectVectorPredicateStrategy, ai as DisjointOverlapRow, aj as DropVectorIndexParams, ak as EdgeCardinalityDeclaration, al as EdgeClaimOutcome, am as EdgeEntityReadBackend, an as EdgeEntityWriteBackend, ao as EdgeExistsBetweenParams, ap as EdgeIndexDeclaration, aq as EdgeIndexDirection, ar as EdgeRow, as as EndpointExistence, at as ExtensionArrayItemType, au as ExtensionArrayProperty, av as ExtensionBooleanProperty, aw as ExtensionEdgeDef, ax as ExtensionEdgeIndex, ay as ExtensionEmbeddingModifier, az as ExtensionEnumProperty, aA as ExtensionIndex, aB as ExtensionIndexWhere, aC as ExtensionNodeDef, aD as ExtensionNodeIndex, aE as ExtensionNumberProperty, aF as ExtensionObjectFieldProperty, aG as ExtensionObjectProperty, aH as ExtensionOntologyRelation, aI as ExtensionPropertyModifiers, aJ as ExtensionPropertyType, aK as ExtensionSearchableModifier, aL as ExtensionStringProperty, aM as ExtensionUniqueConstraint, aN as ExtensionUniqueWhere, aO as FULLTEXT_CONTRIBUTION_NAME, aP as FilteredApproximateSearch, aQ as FilteredApproximateSearchMode, aR as FindEdgesByEndpointSetParams, aS as FindEdgesByHeterogeneousEndpointSetParams, aT as FindEdgesByKindParams, aU as FindEdgesConnectedToParams, aV as FindNodesByKindParams, aW as FulltextBatchRow, aX as FulltextCapabilities, aY as FulltextOperationBackend, aZ as FulltextQueryMode, a_ as FulltextSearchParams, a$ as FulltextSearchResult, F as FulltextStrategy, b0 as GraphAnalyticsCapabilities, b1 as GraphEntityReadBackend, b2 as GraphEntityWriteBackend, b3 as GraphExtension, b4 as GraphExtensionVersion, G as GraphIdentityConfig, b5 as GraphLifecycleBackend, b6 as GraphReadBackend, b7 as HardDeleteEdgeParams, b8 as HardDeleteNodeParams, b9 as HardDeleteUniquesByConcreteKindParams, ba as HardDeleteUniquesByNodeIdsParams, bb as HybridSearchParams, bc as HybridSearchRow, bd as IdentityTableNames, be as InListParameterOptions, I as IndexDeclaration, bf as IndexDeclarationBase, bg as IndexEntity, bh as IndexMaterializationBackend, bi as IndexMaterializationRow, bj as IndexOrigin, bk as IndexScope, bl as IndexWhereExpression, bm as IndexWhereLiteral, bn as IndexWhereOp, bo as IndexWhereOperand, bp as InferenceType, bq as InsertEdgeParams, br as InsertNodeParams, bs as InsertSchemaParams, bt as InsertUniqueParams, bu as IntentSql, J as JsonPointer, bv as JsonSchema, bw as JsonValue, bx as KindAnnotations, K as KindEntity, by as KindRemovalRow, bz as LiveNodeRow, bA as LockSchemaVersionForWriteParams, bB as MODERN_SQLITE_MAX_BIND_PARAMETERS, bC as MetaEdgeName, bD as NodeEntityReadBackend, bE as NodeEntityWriteBackend, bF as NodeIndexDeclaration, bG as NodeRow, bH as NullCheckOp, bI as POSTGRES_CAPABILITIES, bJ as POSTGRES_MAX_BIND_PARAMETERS, bK as PessimisticLockCapabilities, bL as Placeholder, bM as PopulatedSchemaKind, bN as PurgeEdgeClaimsParams, bO as QueryExecutionBackend, bP as RawQueryExecutionBackend, bQ as RawStatementExecutionBackend, bR as ReadConstraintFenceViolationsParams, bS as RecordContributionMaterializationParams, bT as RecordIndexMaterializationParams, bU as RecordKindRemovalParams, bV as RecordedRelationDdl, bW as RecordedTableNames, bX as RecursiveTraversalCapability, bY as RecursiveTraversalVerdict, bZ as RelationalIndexDeclaration, b_ as RelationalIndexMethod, b$ as ReleaseIndexMaterializationClaimParams, c0 as RemovalMaterializationBackend, c1 as RenderedSql, c2 as ResolvedSqlTableNames, c3 as RowProps, c4 as SQLITE_CAPABILITIES, c5 as SQLITE_MAX_BIND_PARAMETERS, c6 as SchemaCommitBackend, c7 as SchemaCommitPreflightBackend, c8 as SchemaKindEmptinessProbe, c9 as SchemaReadBackend, ca as SchemaVersionRow, cb as SchemaWriteFenceBackend, cc as SerializedClosures, cd as SerializedEdgeDef, ce as SerializedMetaEdge, cf as SerializedNodeDef, cg as SerializedOntology, ch as SerializedOntologyRelation, ci as SerializedSchema, cj as SerializedUniqueConstraint, ck as SetActiveVersionParams, cl as SqlChunk, cm as SqlCompilationBackend, cn as SqlDialect, co as SqlFragment, cp as SqlIdentifierChunk, cq as SqlIntent, cr as SqlParameterChunk, cs as SqlPlaceholderChunk, ct as SqlTableNames, cu as SqlTag, cv as SqlTextChunk, cw as StrategyTableContribution, cx as SystemColumnName, cy as TableContribution, T as TemporalMode, cz as TombstonedNodeRow, cA as TransactionBackend, cB as TransactionOptions, cC as TransactionReadBackend, cD as TrustedImportOptions, cE as TrustedImportSession, cF as UniqueConstraintBackend, cG as UniqueRow, cH as UniquenessScope, cI as UpdateEdgeParams, cJ as UpdateNodeParams, cK as UpdateNodeSetParams, cL as UpdateNodeSetResult, cM as UpsertEmbeddingBatchParams, cN as UpsertEmbeddingBatchRow, cO as UpsertEmbeddingParams, cP as UpsertFulltextBatchParams, cQ as UpsertFulltextParams, cR as VECTOR_CONTRIBUTION_PREFIX, cS as ValueType, cT as VectorCapabilities, cU as VectorIndexDeclaration, cV as VectorIndexImplementation, cW as VectorIndexMetric, cX as VectorIndexParams, cY as VectorIndexType, cZ as VectorMetric, c_ as VectorOperationBackend, c$ as VectorSearchFrontierTuning, d0 as VectorSearchParams, d1 as VectorSearchResult, d2 as VectorSlot, V as VectorStrategy, d3 as WriteFencePlan, d4 as assertFiniteEmbedding, d5 as assertRecursiveTraversal, d6 as assertVectorMinScore, d7 as assertVectorSearchLimit, d8 as assumeRecursiveTraversalSupported, d9 as buildFulltextCapabilities, da as buildVectorCapabilities, db as fts5Strategy, dc as isLiveNodeRow, dd as isSqlFragment, de as isSqlPlaceholder, df as isTombstonedNodeRow, dg as normalizeGraphAnalyticsCapabilities, dh as quoteIdentifier, di as recursiveTraversalUnsupportedError, dj as renderPostgres, dk as renderSql, dl as renderSqlInline, dm as renderSqlite, dn as requireWriteFence, dp as resolveRecursiveTraversal, dq as resolveWriteFencePlan, dr as rowPropsToJsonText, ds as rowPropsToObject, dt as shortHash, du as sql, dv as tsvectorStrategy, dw as vectorMinScoreCondition, dx as vectorPhysicalName, dy as vectorScoreExpression } from '../types-6yf0Vv-_.js';
3
+ import { O as OptionalGraphBackendMember, E as ExtraMember, B as BATCH_POINT_READ, a as ExtrasOf, b as BundleVerdictOf, G as GatedBundleDefinition, c as ExtraVerdict, C as CapabilityBundleId, d as CLAIMS, e as CONTRIBUTION_HEALTH, R as RECORDED_REVISION_ORIGINS, S as STATEMENT_EXECUTION, U as UNIQUE_SIDECAR_BATCH } from '../resolve-D_H8MHtq.js';
4
+ export { f as CAPABILITY_BUNDLES, g as CapabilityBundleDefinition, h as CapabilityBundleDisposition, i as CapabilityBundleExtra, j as CapabilityBundleOperation, k as CapabilityBundleOperationSite, l as CapabilityCrossCheck, m as CapabilityExtraSpec, n as ClaimsVerdictThunk, D as DeferredUnbundledMember, o as ExtraVerdicts, p as GatedBundleVerdict, q as GraduatedBundleDefinition, r as GraduatedBundleVerdict, s as OperationNames, t as OptionalKeys, u as ReasonedUnbundledMember, v as RequiredExtrasOf, w as SpecOf, x as UNBUNDLED_OPTIONAL_MEMBERS, y as UnbundledOptionalMember, W as WS5B_SEED_BUNDLES, z as Ws5bBundleId, A as batchPointReadVerdict, F as claimsVerdict, H as contributionHealthVerdict, I as createClaimsVerdictThunk, J as missingRequiredExtras, K as recordedRevisionOriginsVerdict, L as requireExtras, M as resolveBundle, N as statementExecutionVerdict, P as uniqueSidecarBatchVerdict } from '../resolve-D_H8MHtq.js';
5
+ export { D as DeleteLegacyRecordedAnchorMapOptions, M as MigrateLegacyRecordedTimeOptions, a as MigrateLegacyRecordedTimeResult, b as MigrateRecordedAnchorOptions, R as RepairInvertedWindowsOptions, c as RepairInvertedWindowsReport, d as RepairRelation, e as RepairRelationScope, f as deleteLegacyRecordedAnchorMap, m as migrateLegacyRecordedTime, g as migrateRecordedAnchor, r as repairInvertedValidityWindows } from '../repair-validity-windows-GMdaS2AH.js';
6
+ export { R as RecordedInstant } from '../temporal-y0Aep9Su.js';
4
7
  import 'zod';
5
8
 
6
9
  /**
@@ -40,4 +43,87 @@ import 'zod';
40
43
  */
41
44
  declare function resolveStampedValidityLowerBound(statedValidFrom: string | null | undefined, validTo: string | undefined, writeInstant: string): string | undefined;
42
45
 
43
- export { resolveStampedValidityLowerBound };
46
+ /**
47
+ * I21. The brand is what makes a BOUND member type-distinguishable from a
48
+ * PORT member: without it, `binding.getNodes` at a rewired site still has a
49
+ * receiver assignable to `Pick<GraphBackend, …>`, and a syntactic scanner
50
+ * could never tell a bound value from an unbound one.
51
+ */
52
+ declare const BUNDLE_BINDING: unique symbol;
53
+ /** Every named member, guaranteed present — bound off the port, never a port member itself. */
54
+ type BundleBinding<M extends OptionalGraphBackendMember> = Required<Pick<GraphBackend, M>> & Readonly<{
55
+ [BUNDLE_BINDING]: true;
56
+ }>;
57
+ /**
58
+ * The graduated twin of {@link BundleBinding}: a bundle with no required
59
+ * core cannot promise every member is present, so its bundle-wide "members"
60
+ * accessor (`uniqueSidecarBatchMembers`, `batchPointReadMembers`,
61
+ * `contributionHealthMembers`) reports whichever extras the verdict marks
62
+ * present — never all of them by construction, and never a cast that claims
63
+ * otherwise.
64
+ */
65
+ type PartialBundleBinding<M extends OptionalGraphBackendMember> = Readonly<Partial<Pick<GraphBackend, M>>> & Readonly<{
66
+ [BUNDLE_BINDING]: true;
67
+ }>;
68
+ /**
69
+ * Bind a gated bundle's core off the port the calls execute on. The port
70
+ * parameter is the STRUCTURAL MINIMUM over the members (ruling B-1), so
71
+ * every one of the pilot's receiver shapes is accepted:
72
+ * `GraphBackend`, `TransactionBackend`, `WriteTarget`, `IdentityTarget`,
73
+ * `Pick<GraphBackend, "dialect" | "executeStatement">` and the
74
+ * `RevisionOriginBackend`-shaped `Pick<GraphBackend, "dialect" |
75
+ * "ensureRevisionOriginsTable" | "execute" | "executeStatement">`.
76
+ *
77
+ * @throws {ConfigurationError} with the bundle's `portSurfaceCode` when the
78
+ * verdict says a core member is present and the port lacks it (I20).
79
+ */
80
+ declare function bindCore<const D extends GatedBundleDefinition<OptionalGraphBackendMember, string, OptionalGraphBackendMember>, M extends D["core"][number]>(port: Readonly<Partial<Pick<GraphBackend, M>>>, verdict: Extract<BundleVerdictOf<D>, {
81
+ supported: true;
82
+ }>, definition: D): BundleBinding<M>;
83
+ /**
84
+ * Bind one graduated extra. Takes the EXTRA's own verdict, not the bundle's:
85
+ * `requireExtras` (`resolve.ts`) narrows `verdict.extras.someExtra` at an
86
+ * `if`/assertion, not `verdict` as a whole, so a signature demanding the
87
+ * whole narrowed verdict would compile only after that call — the common
88
+ * case is the fallback branch, which never calls `requireExtras` at all.
89
+ *
90
+ * @throws {ConfigurationError} with the bundle's `portSurfaceCode` when the
91
+ * extra verdict says present and the port lacks the member (I20).
92
+ */
93
+ declare function bindExtra<const M extends OptionalGraphBackendMember>(port: Readonly<Partial<Pick<GraphBackend, M>>>, extraVerdict: Extract<ExtraVerdict<M>, {
94
+ present: true;
95
+ }>, bundle: CapabilityBundleId): BundleBinding<M>;
96
+ /**
97
+ * The FALLBACK arm of I20's disposition-keyed port-mismatch split (ruling,
98
+ * B8 blocker): binds an extra when the verdict says it is present AND the
99
+ * port can reach it, otherwise returns `undefined` — collapsing "the verdict
100
+ * says absent" and "the port cannot reach it" into the site's single declared
101
+ * fallback, which is exactly the shape a `fallback`-dispositioned row already
102
+ * has. Used ONLY at call sites whose registry operation row disposes
103
+ * `fallback`; a `refuse` row keeps calling {@link bindExtra} (or
104
+ * {@link bindCore}) so its port mismatch still throws (I20's REFUSE arm).
105
+ *
106
+ * Deliberately does NOT consult the row's disposition itself: an extra's own
107
+ * disposition and its operation row's disposition can differ (`
108
+ * checkUniqueBatch` is a `fallback` extra owned by both a `fallback` row and
109
+ * two `refuse` rows), so only the call site — which knows which row it is —
110
+ * can choose the arm.
111
+ */
112
+ declare function bindExtraIfReachable<const M extends OptionalGraphBackendMember>(port: Readonly<Partial<Pick<GraphBackend, M>>>, extraVerdict: ExtraVerdict<M>, bundle: CapabilityBundleId): BundleBinding<M> | undefined;
113
+ declare function claimsMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof CLAIMS)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof CLAIMS>, {
114
+ supported: true;
115
+ }>): BundleBinding<(typeof CLAIMS)["core"][number]>;
116
+ declare function statementExecutionMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof STATEMENT_EXECUTION)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof STATEMENT_EXECUTION>, {
117
+ supported: true;
118
+ }>): BundleBinding<(typeof STATEMENT_EXECUTION)["core"][number]>;
119
+ declare function recordedRevisionOriginsMembers(port: Readonly<Partial<Pick<GraphBackend, (typeof RECORDED_REVISION_ORIGINS)["core"][number]>>>, verdict: Extract<BundleVerdictOf<typeof RECORDED_REVISION_ORIGINS>, {
120
+ supported: true;
121
+ }>): BundleBinding<(typeof RECORDED_REVISION_ORIGINS)["core"][number]>;
122
+ type UniqueSidecarBatchExtraMember = ExtraMember<typeof UNIQUE_SIDECAR_BATCH, keyof ExtrasOf<typeof UNIQUE_SIDECAR_BATCH>>;
123
+ declare function uniqueSidecarBatchMembers(port: Readonly<Partial<Pick<GraphBackend, UniqueSidecarBatchExtraMember>>>, verdict: BundleVerdictOf<typeof UNIQUE_SIDECAR_BATCH>): PartialBundleBinding<UniqueSidecarBatchExtraMember>;
124
+ type BatchPointReadExtraMember = ExtraMember<typeof BATCH_POINT_READ, keyof ExtrasOf<typeof BATCH_POINT_READ>>;
125
+ declare function batchPointReadMembers(port: Readonly<Partial<Pick<GraphBackend, BatchPointReadExtraMember>>>, verdict: BundleVerdictOf<typeof BATCH_POINT_READ>): PartialBundleBinding<BatchPointReadExtraMember>;
126
+ type ContributionHealthExtraMember = ExtraMember<typeof CONTRIBUTION_HEALTH, keyof ExtrasOf<typeof CONTRIBUTION_HEALTH>>;
127
+ declare function contributionHealthMembers(port: Readonly<Partial<Pick<GraphBackend, ContributionHealthExtraMember>>>, verdict: BundleVerdictOf<typeof CONTRIBUTION_HEALTH>): PartialBundleBinding<ContributionHealthExtraMember>;
128
+
129
+ export { BATCH_POINT_READ, type BundleBinding, BundleVerdictOf, CLAIMS, CONTRIBUTION_HEALTH, CapabilityBundleId, ExtraMember, ExtraVerdict, ExtrasOf, GatedBundleDefinition, GraphBackend, OptionalGraphBackendMember, type PartialBundleBinding, RECORDED_REVISION_ORIGINS, STATEMENT_EXECUTION, UNIQUE_SIDECAR_BATCH, batchPointReadMembers, bindCore, bindExtra, bindExtraIfReachable, claimsMembers, contributionHealthMembers, recordedRevisionOriginsMembers, resolveStampedValidityLowerBound, statementExecutionMembers, uniqueSidecarBatchMembers };
@@ -1,17 +1,14 @@
1
- export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from '../chunk-NACVVDWB.js';
2
- import '../chunk-6SWPJEYN.js';
3
- import '../chunk-OMZ37BM2.js';
4
- import '../chunk-NVY5CJFP.js';
5
- export { D1_MAX_BIND_PARAMETERS, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, rowPropsToJsonText, rowPropsToObject } from '../chunk-6LN7FIVU.js';
6
- import '../chunk-DZAICA5J.js';
7
- export { resolveStampedValidityLowerBound } from '../chunk-5K2BKEBD.js';
8
- import '../chunk-SDBBMD4N.js';
1
+ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor, repairInvertedValidityWindows } from '../chunk-I5IOSA27.js';
2
+ import '../chunk-IRCWIA3R.js';
3
+ export { assertRecursiveTraversal, assumeRecursiveTraversalSupported, batchPointReadVerdict, claimsVerdict, contributionHealthVerdict, createClaimsVerdictThunk, missingRequiredExtras, recordedRevisionOriginsVerdict, recursiveTraversalUnsupportedError, requireExtras, resolveBundle, resolveRecursiveTraversal, statementExecutionVerdict, uniqueSidecarBatchVerdict } from '../chunk-XORONCV3.js';
4
+ export { BATCH_POINT_READ, CAPABILITY_BUNDLES, CLAIMS, CONTRIBUTION_HEALTH, D1_MAX_BIND_PARAMETERS, DATABASE_EXTENSION_NAMES, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, RECORDED_REVISION_ORIGINS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, STATEMENT_EXECUTION, UNBUNDLED_OPTIONAL_MEMBERS, UNIQUE_SIDECAR_BATCH, WS5B_SEED_BUNDLES, batchPointReadMembers, bindCore, bindExtra, bindExtraIfReachable, claimsMembers, contributionHealthMembers, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, recordedRevisionOriginsMembers, requireWriteFence, resolveWriteFencePlan, rowPropsToJsonText, rowPropsToObject, statementExecutionMembers, uniqueSidecarBatchMembers } from '../chunk-LKZDQ2B4.js';
5
+ import '../chunk-6NKSE5AU.js';
6
+ export { resolveStampedValidityLowerBound } from '../chunk-K46SDNQD.js';
9
7
  import '../chunk-2EBMPJBO.js';
10
- export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-ZDKTPBGV.js';
11
- export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-3DMMGT6S.js';
8
+ export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-PC5NGH5A.js';
9
+ export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-7QFRK6PU.js';
12
10
  export { ALL_META_EDGE_NAMES } from '../chunk-JXXDZTMN.js';
13
- import '../chunk-ZLONH2UD.js';
14
- import '../chunk-FWJKWH6U.js';
11
+ import '../chunk-YDEJQWOL.js';
15
12
  import '../chunk-DYATYRY4.js';
16
13
  //# sourceMappingURL=index.js.map
17
14
  //# sourceMappingURL=index.js.map
@@ -1,22 +1,26 @@
1
1
  'use strict';
2
2
 
3
- var chunkUGHQV7MP_cjs = require('../../chunk-UGHQV7MP.cjs');
4
- require('../../chunk-3QNZ5SAJ.cjs');
5
- require('../../chunk-ROR5ZR6A.cjs');
6
- require('../../chunk-CICO5GXD.cjs');
7
- require('../../chunk-FA2AFWLP.cjs');
8
- var chunkHDL2ARHX_cjs = require('../../chunk-HDL2ARHX.cjs');
9
- require('../../chunk-WODMN3Q2.cjs');
10
- require('../../chunk-PWLJ77UV.cjs');
11
- require('../../chunk-SIT26LAZ.cjs');
12
- require('../../chunk-5PRKMB24.cjs');
13
- require('../../chunk-TQHGE7UC.cjs');
14
- require('../../chunk-OI2GQ25X.cjs');
3
+ var chunkB3MN7EJR_cjs = require('../../chunk-B3MN7EJR.cjs');
4
+ var chunk5WWEYV4H_cjs = require('../../chunk-5WWEYV4H.cjs');
5
+ require('../../chunk-LLFPQOBA.cjs');
6
+ require('../../chunk-TIJUA4I6.cjs');
7
+ require('../../chunk-UYKDYE5D.cjs');
8
+ require('../../chunk-36SX6QXP.cjs');
9
+ require('../../chunk-EKG2UXNX.cjs');
10
+ require('../../chunk-FMMW3KX7.cjs');
11
+ require('../../chunk-NLX5OWK7.cjs');
12
+ require('../../chunk-NUQ2YFFH.cjs');
13
+ require('../../chunk-CRZ56SZU.cjs');
14
+ require('../../chunk-M5MSP3BI.cjs');
15
+ require('../../chunk-I7YAY2VQ.cjs');
15
16
  require('../../chunk-ZY4GXIVN.cjs');
17
+ require('../../chunk-JVA3KDEA.cjs');
18
+ require('../../chunk-A4C4NJ5U.cjs');
16
19
  require('../../chunk-NAUA4PW5.cjs');
17
- require('../../chunk-L3LQNR34.cjs');
18
- require('../../chunk-EDN4Y4ZG.cjs');
19
- require('../../chunk-MRDBBHIZ.cjs');
20
+ require('../../chunk-H2VWDQWC.cjs');
21
+ require('../../chunk-H5IJSROF.cjs');
22
+ require('../../chunk-RWUWTJQY.cjs');
23
+ require('../../chunk-X4GDXBOP.cjs');
20
24
  require('../../chunk-A7J2YDDI.cjs');
21
25
  require('../../chunk-N66HCGCY.cjs');
22
26
 
@@ -24,55 +28,59 @@ require('../../chunk-N66HCGCY.cjs');
24
28
 
25
29
  Object.defineProperty(exports, "createPostgresBackend", {
26
30
  enumerable: true,
27
- get: function () { return chunkUGHQV7MP_cjs.createPostgresBackend; }
31
+ get: function () { return chunkB3MN7EJR_cjs.createPostgresBackend; }
28
32
  });
29
33
  Object.defineProperty(exports, "createPostgresTables", {
30
34
  enumerable: true,
31
- get: function () { return chunkHDL2ARHX_cjs.createPostgresTables; }
35
+ get: function () { return chunk5WWEYV4H_cjs.createPostgresTables; }
36
+ });
37
+ Object.defineProperty(exports, "edgeClaims", {
38
+ enumerable: true,
39
+ get: function () { return chunk5WWEYV4H_cjs.edgeClaims; }
32
40
  });
33
41
  Object.defineProperty(exports, "edges", {
34
42
  enumerable: true,
35
- get: function () { return chunkHDL2ARHX_cjs.edges; }
43
+ get: function () { return chunk5WWEYV4H_cjs.edges; }
36
44
  });
37
45
  Object.defineProperty(exports, "fulltext", {
38
46
  enumerable: true,
39
- get: function () { return chunkHDL2ARHX_cjs.fulltext; }
47
+ get: function () { return chunk5WWEYV4H_cjs.fulltext; }
40
48
  });
41
49
  Object.defineProperty(exports, "generatePostgresDDL", {
42
50
  enumerable: true,
43
- get: function () { return chunkHDL2ARHX_cjs.generatePostgresDDL; }
51
+ get: function () { return chunk5WWEYV4H_cjs.generatePostgresDDL; }
44
52
  });
45
53
  Object.defineProperty(exports, "generatePostgresMigrationSQL", {
46
54
  enumerable: true,
47
- get: function () { return chunkHDL2ARHX_cjs.generatePostgresMigrationSQL; }
55
+ get: function () { return chunk5WWEYV4H_cjs.generatePostgresMigrationSQL; }
48
56
  });
49
57
  Object.defineProperty(exports, "nodes", {
50
58
  enumerable: true,
51
- get: function () { return chunkHDL2ARHX_cjs.nodes; }
59
+ get: function () { return chunk5WWEYV4H_cjs.nodes; }
52
60
  });
53
61
  Object.defineProperty(exports, "recordedClock", {
54
62
  enumerable: true,
55
- get: function () { return chunkHDL2ARHX_cjs.recordedClock; }
63
+ get: function () { return chunk5WWEYV4H_cjs.recordedClock; }
56
64
  });
57
65
  Object.defineProperty(exports, "recordedEdges", {
58
66
  enumerable: true,
59
- get: function () { return chunkHDL2ARHX_cjs.recordedEdges; }
67
+ get: function () { return chunk5WWEYV4H_cjs.recordedEdges; }
60
68
  });
61
69
  Object.defineProperty(exports, "recordedNodes", {
62
70
  enumerable: true,
63
- get: function () { return chunkHDL2ARHX_cjs.recordedNodes; }
71
+ get: function () { return chunk5WWEYV4H_cjs.recordedNodes; }
64
72
  });
65
73
  Object.defineProperty(exports, "schemaVersions", {
66
74
  enumerable: true,
67
- get: function () { return chunkHDL2ARHX_cjs.schemaVersions; }
75
+ get: function () { return chunk5WWEYV4H_cjs.schemaVersions; }
68
76
  });
69
77
  Object.defineProperty(exports, "tables", {
70
78
  enumerable: true,
71
- get: function () { return chunkHDL2ARHX_cjs.tables; }
79
+ get: function () { return chunk5WWEYV4H_cjs.tables; }
72
80
  });
73
81
  Object.defineProperty(exports, "uniques", {
74
82
  enumerable: true,
75
- get: function () { return chunkHDL2ARHX_cjs.uniques; }
83
+ get: function () { return chunk5WWEYV4H_cjs.uniques; }
76
84
  });
77
85
  //# sourceMappingURL=index.cjs.map
78
86
  //# sourceMappingURL=index.cjs.map
@@ -1,14 +1,14 @@
1
- import { aK as FulltextStrategy, cL as VectorStrategy, d as BackendCapabilities, b as AdapterBackend } from '../../types-BqFZTQmV.cjs';
2
- export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig } from '../../types-BqFZTQmV.cjs';
1
+ import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.cjs';
3
3
  import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
4
- import { S as SerializedResourceDeclaration } from '../../ddl-BL1NZLMY.cjs';
5
- export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-BL1NZLMY.cjs';
6
- import { P as PostgresTables } from '../../postgres-DMj39MEu.cjs';
7
- export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-DMj39MEu.cjs';
4
+ import { S as SerializedResourceDeclaration } from '../../ddl-Ufebz5q5.cjs';
5
+ export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-Ufebz5q5.cjs';
6
+ import { P as PostgresTables } from '../../postgres-CqvtFC2y.cjs';
7
+ export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edgeClaims, b as edges, f as fulltext, n as nodes, r as recordedClock, d as recordedEdges, g as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-CqvtFC2y.cjs';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/pg-core';
10
10
  import 'drizzle-orm/relations';
11
- import '../../sqlite-YppHrNFb.cjs';
11
+ import '../../sqlite-D1mXO9Kp.cjs';
12
12
  import 'drizzle-orm/sqlite-core';
13
13
 
14
14
  /**
@@ -1,14 +1,14 @@
1
- import { aK as FulltextStrategy, cL as VectorStrategy, d as BackendCapabilities, b as AdapterBackend } from '../../types-BqFZTQmV.js';
2
- export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig } from '../../types-BqFZTQmV.js';
1
+ import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-6yf0Vv-_.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.js';
3
3
  import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
4
- import { S as SerializedResourceDeclaration } from '../../ddl-D_oW-EVO.js';
5
- export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-D_oW-EVO.js';
6
- import { P as PostgresTables } from '../../postgres-CcL4bAHS.js';
7
- export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-CcL4bAHS.js';
4
+ import { S as SerializedResourceDeclaration } from '../../ddl-BvcbgzHo.js';
5
+ export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-BvcbgzHo.js';
6
+ import { P as PostgresTables } from '../../postgres-BPLSVyHM.js';
7
+ export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edgeClaims, b as edges, f as fulltext, n as nodes, r as recordedClock, d as recordedEdges, g as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-BPLSVyHM.js';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/pg-core';
10
10
  import 'drizzle-orm/relations';
11
- import '../../sqlite-D7Oz0SQh.js';
11
+ import '../../sqlite-MZA3oZNB.js';
12
12
  import 'drizzle-orm/sqlite-core';
13
13
 
14
14
  /**
@@ -1,20 +1,24 @@
1
- export { createPostgresBackend } from '../../chunk-7LZJNLA5.js';
2
- import '../../chunk-Z2JCLZFJ.js';
3
- import '../../chunk-JONXFAPO.js';
4
- import '../../chunk-OVI7IXYX.js';
5
- import '../../chunk-YIURNGXI.js';
6
- export { createPostgresTables, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-6SWPJEYN.js';
7
- import '../../chunk-OMZ37BM2.js';
8
- import '../../chunk-JBQQ7THH.js';
9
- import '../../chunk-UGHG7PGX.js';
10
- import '../../chunk-6LN7FIVU.js';
11
- import '../../chunk-5K2BKEBD.js';
12
- import '../../chunk-SDBBMD4N.js';
1
+ export { createPostgresBackend } from '../../chunk-K67P5DLL.js';
2
+ export { createPostgresTables, edgeClaims, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-UKOVGCRN.js';
3
+ import '../../chunk-PVFFH7TL.js';
4
+ import '../../chunk-CBOD7TXH.js';
5
+ import '../../chunk-SLGGT2XD.js';
6
+ import '../../chunk-VUQZNUHU.js';
7
+ import '../../chunk-IRCWIA3R.js';
8
+ import '../../chunk-NGQDGL5X.js';
9
+ import '../../chunk-QG5VEOKX.js';
10
+ import '../../chunk-LKZDQ2B4.js';
11
+ import '../../chunk-RVUL2HXY.js';
12
+ import '../../chunk-K46SDNQD.js';
13
+ import '../../chunk-36VYWVQU.js';
13
14
  import '../../chunk-K34OPSJK.js';
15
+ import '../../chunk-7G5IYROL.js';
16
+ import '../../chunk-4QKOZYMV.js';
14
17
  import '../../chunk-2EBMPJBO.js';
15
- import '../../chunk-ZDKTPBGV.js';
16
- import '../../chunk-3DMMGT6S.js';
17
- import '../../chunk-ZLONH2UD.js';
18
+ import '../../chunk-PC5NGH5A.js';
19
+ import '../../chunk-7QFRK6PU.js';
20
+ import '../../chunk-HZUB5CON.js';
21
+ import '../../chunk-YDEJQWOL.js';
18
22
  import '../../chunk-FWJKWH6U.js';
19
23
  import '../../chunk-DYATYRY4.js';
20
24
  //# sourceMappingURL=index.js.map
@@ -1,70 +1,15 @@
1
1
  'use strict';
2
2
 
3
- var chunk2O4PCIZ6_cjs = require('../../chunk-2O4PCIZ6.cjs');
4
- require('../../chunk-UGHQV7MP.cjs');
5
- require('../../chunk-3QNZ5SAJ.cjs');
6
- var chunkSR725PWF_cjs = require('../../chunk-SR725PWF.cjs');
7
- require('../../chunk-ROR5ZR6A.cjs');
8
- require('../../chunk-CICO5GXD.cjs');
9
- require('../../chunk-FA2AFWLP.cjs');
10
- var chunkHDL2ARHX_cjs = require('../../chunk-HDL2ARHX.cjs');
11
- require('../../chunk-WODMN3Q2.cjs');
12
- require('../../chunk-JB6T4GLL.cjs');
13
- require('../../chunk-3KOY4FH3.cjs');
14
- require('../../chunk-3FPR224C.cjs');
15
- require('../../chunk-26YKDNUD.cjs');
16
- require('../../chunk-JFRT7S3B.cjs');
17
- require('../../chunk-EZEEWCFJ.cjs');
18
- require('../../chunk-PWLJ77UV.cjs');
19
- require('../../chunk-SIT26LAZ.cjs');
20
- require('../../chunk-3U5ABFDW.cjs');
21
- var chunk5PRKMB24_cjs = require('../../chunk-5PRKMB24.cjs');
22
- require('../../chunk-BFUOME67.cjs');
23
- require('../../chunk-FQPEMEWX.cjs');
24
- require('../../chunk-2QGYQBS2.cjs');
25
- require('../../chunk-TQHGE7UC.cjs');
26
- require('../../chunk-AOSSQDVO.cjs');
27
- require('../../chunk-OI2GQ25X.cjs');
28
- require('../../chunk-LRQKXRXO.cjs');
29
- require('../../chunk-ZY4GXIVN.cjs');
30
- require('../../chunk-NAUA4PW5.cjs');
31
- require('../../chunk-L3LQNR34.cjs');
32
- require('../../chunk-EDN4Y4ZG.cjs');
33
- require('../../chunk-7EO3TCQB.cjs');
34
- require('../../chunk-RT5ZY4XA.cjs');
35
- require('../../chunk-HAHNRASW.cjs');
36
- require('../../chunk-GYEG3ZLZ.cjs');
37
- require('../../chunk-XUO3KQFO.cjs');
38
- require('../../chunk-6NGW27EO.cjs');
39
- require('../../chunk-MRDBBHIZ.cjs');
40
- require('../../chunk-A7J2YDDI.cjs');
41
- require('../../chunk-N66HCGCY.cjs');
3
+ var chunkIVQBLXBK_cjs = require('../../chunk-IVQBLXBK.cjs');
4
+ require('../../chunk-X4GDXBOP.cjs');
42
5
 
43
6
  // src/backend/postgres/pglite-store.ts
44
- function withoutSchemaOverride(schemaManagement) {
45
- if (schemaManagement === void 0) return {};
46
- const { schema: smuggled, ...rest } = schemaManagement;
47
- return rest;
48
- }
49
7
  async function createLocalPgliteStore(graph, options = {}) {
50
- const tables = options.store?.schema === void 0 ? void 0 : chunkHDL2ARHX_cjs.createPostgresTables(options.store.schema.tables);
51
- const { backend } = await chunk2O4PCIZ6_cjs.createLocalPgliteBackend({
52
- ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
53
- ...options.vector === false ? { vector: false } : {},
54
- ...tables === void 0 ? {} : { tables }
55
- });
56
- try {
57
- const [store] = await chunkSR725PWF_cjs.createStoreWithSchema(graph, backend, {
58
- ...options.store,
59
- // The type already excludes `schema` here; the runtime strip guards
60
- // untyped callers, so the provisioned schema (or the default tables)
61
- // can never diverge from the one the Store reads.
62
- ...withoutSchemaOverride(options.schemaManagement)
63
- });
64
- return store;
65
- } catch (error) {
66
- return chunk5PRKMB24_cjs.closeAfterFailure(backend, error);
67
- }
8
+ const impl = await chunkIVQBLXBK_cjs.loadDrizzleBackedModule(
9
+ "./postgres/pglite",
10
+ () => import('../../pglite-store-impl-GJG3Y7RP.cjs')
11
+ );
12
+ return impl.createLocalPgliteStoreImpl(graph, options);
68
13
  }
69
14
 
70
15
  exports.createLocalPgliteStore = createLocalPgliteStore;
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/backend/postgres/pglite-store.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoEA,SAAS,sBACP,gBAAA,EACsC;AACtC,EAAA,IAAI,gBAAA,KAAqB,MAAA,EAAW,OAAO,EAAC;AAC5C,EAAA,MAAM,EAAE,MAAA,EAAQ,QAAA,EAAU,GAAG,MAAK,GAChC,gBAAA;AAEF,EAAA,OAAO,IAAA;AACT;AAyBA,eAAsB,sBAAA,CACpB,KAAA,EACA,OAAA,GAAmC,EAAC,EACwB;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,sCAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAMC,0CAAA,CAAyB;AAAA,IACjD,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,MAAA,KAAW,KAAA,GAAQ,EAAE,MAAA,EAAQ,KAAA,KAAmB,EAAC;AAAA,IAC7D,GAAI,MAAA,KAAW,MAAA,GAAY,EAAC,GAAI,EAAE,MAAA;AAAO,GAC1C,CAAA;AACD,EAAA,IAAI;AACF,IAAA,MAAM,CAAC,KAAK,CAAA,GAAI,MAAMC,uCAAA,CAAsB,OAAO,OAAA,EAAS;AAAA,MAC1D,GAAG,OAAA,CAAQ,KAAA;AAAA;AAAA;AAAA;AAAA,MAIX,GAAG,qBAAA,CAAsB,OAAA,CAAQ,gBAAgB;AAAA,KAClD,CAAA;AACD,IAAA,OAAO,KAAA;AAAA,EACT,SAAS,KAAA,EAAO;AACd,IAAA,OAAOC,mCAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store.cjs","sourcesContent":["/**\n * Batteries-included local PostgreSQL Store backed by PGlite.\n *\n * This entrypoint owns the connection and intentionally exposes the portable\n * TypeGraph Store surface rather than the adapter-native Drizzle handle.\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n createStoreWithSchema,\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport {\n type HistoryStoreOptions,\n type LiveStoreOptions,\n type RecordedReadStoreOptions,\n type StoreOptions,\n type UnboundLiveStoreOptions,\n} from \"../../store/types\";\nimport { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n\nexport type { GraphIdentityConfig } from \"../../core/define-graph\";\nexport type {\n IdentityAssertion,\n IdentityAssertionId,\n IdentityAssertionResult,\n IdentityFacade,\n IdentityNode,\n IdentityNodeRefInput,\n IdentityPair,\n IdentityReadFacade,\n IdentityRelation,\n IdentityWriteSummary,\n} from \"../../identity\";\nexport type {\n ContributionDiagnostic,\n ContributionDiagnosticState,\n ContributionRepairEntry,\n ContributionRepairResult,\n} from \"../types\";\n\nexport type LocalPgliteStoreOptions<\n TStoreOptions extends StoreOptions = StoreOptions,\n> = Readonly<{\n /** PGlite data directory. Defaults to an in-memory database. */\n dataDir?: string;\n /** Whether to load pgvector. Defaults to true. */\n vector?: boolean;\n /** Store behavior, including hooks, history, and custom table names. */\n store?: TStoreOptions;\n /**\n * Schema initialization and migration policy. `schema` is excluded here:\n * the effective SqlSchema has exactly one source — `store.schema` — which\n * this constructor also uses to provision the physical tables, so a\n * second schema could name tables that were never created.\n */\n schemaManagement?: Omit<SchemaManagerOptions, \"schema\">;\n}>;\n\n/**\n * Drops a smuggled `schema` from the nested schema-management options: the\n * effective `SqlSchema` has exactly one source (`store.schema`), which also\n * drives physical table provisioning in this constructor.\n */\nfunction withoutSchemaOverride(\n schemaManagement: Omit<SchemaManagerOptions, \"schema\"> | undefined,\n): Omit<SchemaManagerOptions, \"schema\"> {\n if (schemaManagement === undefined) return {};\n const { schema: smuggled, ...rest } =\n schemaManagement as SchemaManagerOptions;\n void smuggled;\n return rest;\n}\n\n/** Creates, provisions, and returns a full typed local PGlite Store. */\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options?: LocalPgliteStoreOptions<UnboundLiveStoreOptions>,\n): Promise<Store<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<HistoryStoreOptions> &\n Readonly<{ store: HistoryStoreOptions }>,\n): Promise<HistoryStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<RecordedReadStoreOptions> &\n Readonly<{ store: RecordedReadStoreOptions }>,\n): Promise<RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<LiveStoreOptions>,\n): Promise<Store<G> | RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>>;\nexport async function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions = {},\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createPostgresTables(options.store.schema.tables);\n const { backend } = await createLocalPgliteBackend({\n ...(options.dataDir === undefined ? {} : { dataDir: options.dataDir }),\n ...(options.vector === false ? { vector: false as const } : {}),\n ...(tables === undefined ? {} : { tables }),\n });\n try {\n const [store] = await createStoreWithSchema(graph, backend, {\n ...options.store,\n // The type already excludes `schema` here; the runtime strip guards\n // untyped callers, so the provisioned schema (or the default tables)\n // can never diverge from the one the Store reads.\n ...withoutSchemaOverride(options.schemaManagement),\n });\n return store;\n } catch (error) {\n return closeAfterFailure(backend, error);\n }\n}\n"]}
1
+ {"version":3,"sources":["../../../src/backend/postgres/pglite-store.ts"],"names":["loadDrizzleBackedModule"],"mappings":";;;;;;AAmFA,eAAsB,sBAAA,CACpB,KAAA,EACA,OAAA,GAAmC,EAAC,EACwB;AAC5D,EAAA,MAAM,OAAO,MAAMA,yCAAA;AAAA,IACjB,mBAAA;AAAA,IACA,MAAM,OAAO,sCAAqB;AAAA,GACpC;AACA,EAAA,OAAO,IAAA,CAAK,0BAAA,CAA2B,KAAA,EAAO,OAAO,CAAA;AACvD","file":"pglite-store.cjs","sourcesContent":["/**\n * Batteries-included local PostgreSQL Store backed by PGlite.\n *\n * This entrypoint owns the connection and intentionally exposes the portable\n * TypeGraph Store surface rather than the adapter-native Drizzle handle.\n */\nimport { type GraphDef } from \"../../core/define-graph\";\nimport { type SchemaManagerOptions } from \"../../schema/manager\";\nimport {\n type HistoryStore,\n type RecordedReadStore,\n type Store,\n} from \"../../store/store\";\nimport {\n type HistoryStoreOptions,\n type LiveStoreOptions,\n type RecordedReadStoreOptions,\n type StoreOptions,\n type UnboundLiveStoreOptions,\n} from \"../../store/types\";\nimport { loadDrizzleBackedModule } from \"../missing-peer-ledger\";\n\nexport type { GraphIdentityConfig } from \"../../core/define-graph\";\nexport type {\n IdentityAssertion,\n IdentityAssertionId,\n IdentityAssertionResult,\n IdentityFacade,\n IdentityNode,\n IdentityNodeRefInput,\n IdentityPair,\n IdentityReadFacade,\n IdentityRelation,\n IdentityWriteSummary,\n} from \"../../identity\";\nexport type {\n ContributionDiagnostic,\n ContributionDiagnosticState,\n ContributionRepairEntry,\n ContributionRepairResult,\n} from \"../types\";\n\nexport type LocalPgliteStoreOptions<\n TStoreOptions extends StoreOptions = StoreOptions,\n> = Readonly<{\n /** PGlite data directory. Defaults to an in-memory database. */\n dataDir?: string;\n /** Whether to load pgvector. Defaults to true. */\n vector?: boolean;\n /** Store behavior, including hooks, history, and custom table names. */\n store?: TStoreOptions;\n /**\n * Schema initialization and migration policy. `schema` is excluded here:\n * the effective SqlSchema has exactly one source — `store.schema` — which\n * this constructor also uses to provision the physical tables, so a\n * second schema could name tables that were never created.\n */\n schemaManagement?: Omit<SchemaManagerOptions, \"schema\">;\n}>;\n\n/** Creates, provisions, and returns a full typed local PGlite Store. */\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options?: LocalPgliteStoreOptions<UnboundLiveStoreOptions>,\n): Promise<Store<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<HistoryStoreOptions> &\n Readonly<{ store: HistoryStoreOptions }>,\n): Promise<HistoryStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<RecordedReadStoreOptions> &\n Readonly<{ store: RecordedReadStoreOptions }>,\n): Promise<RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions<LiveStoreOptions>,\n): Promise<Store<G> | RecordedReadStore<G>>;\nexport function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>>;\nexport async function createLocalPgliteStore<G extends GraphDef>(\n graph: G,\n options: LocalPgliteStoreOptions = {},\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const impl = await loadDrizzleBackedModule(\n \"./postgres/pglite\",\n () => import(\"./pglite-store-impl\"),\n );\n return impl.createLocalPgliteStoreImpl(graph, options);\n}\n"]}
@@ -1,12 +1,12 @@
1
- import { d8 as GraphDef } from '../../types-BqFZTQmV.cjs';
2
- export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig } from '../../types-BqFZTQmV.cjs';
3
- import { S as SchemaManagerOptions } from '../../manager-CYaff3n3.cjs';
4
- import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-bphCSo7z.cjs';
5
- export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-bphCSo7z.cjs';
1
+ import { d as GraphDef } from '../../types-6yf0Vv-_.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.cjs';
3
+ import { S as SchemaManagerOptions } from '../../manager-D_t7oK69.cjs';
4
+ import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-CuFX7fCx.cjs';
5
+ export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-CuFX7fCx.cjs';
6
6
  import 'zod';
7
- import '../../materialize-indexes-DTtAnvfY.cjs';
8
- import '../../temporal-5GqpYCk2.cjs';
9
- import '../../searchable-DHJMh_nj.cjs';
7
+ import '../../temporal-CpyEiRY8.cjs';
8
+ import '../../searchable-ClgET_i7.cjs';
9
+ import '../../resolve-WEW8gWws.cjs';
10
10
 
11
11
  /**
12
12
  * Batteries-included local PostgreSQL Store backed by PGlite.
@@ -1,12 +1,12 @@
1
- import { d8 as GraphDef } from '../../types-BqFZTQmV.js';
2
- export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig } from '../../types-BqFZTQmV.js';
3
- import { S as SchemaManagerOptions } from '../../manager-D9eRT_ns.js';
4
- import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-DRrFCx5x.js';
5
- export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-DRrFCx5x.js';
1
+ import { d as GraphDef } from '../../types-6yf0Vv-_.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-6yf0Vv-_.js';
3
+ import { S as SchemaManagerOptions } from '../../manager-B68OrPR2.js';
4
+ import { S as StoreOptions, U as UnboundLiveStoreOptions, a as Store, H as HistoryStoreOptions, b as HistoryStore, R as RecordedReadStoreOptions, c as RecordedReadStore, L as LiveStoreOptions } from '../../store-D-ZjXQpW.js';
5
+ export { I as IdentityAssertion, d as IdentityAssertionId, e as IdentityAssertionResult, f as IdentityFacade, g as IdentityNode, h as IdentityNodeRefInput, i as IdentityPair, j as IdentityReadFacade, k as IdentityRelation, l as IdentityWriteSummary } from '../../store-D-ZjXQpW.js';
6
6
  import 'zod';
7
- import '../../materialize-indexes-DJ3ykH59.js';
8
- import '../../temporal-CbnLzTmM.js';
9
- import '../../searchable-bpE1bBfc.js';
7
+ import '../../temporal-y0Aep9Su.js';
8
+ import '../../searchable-C_UREI9K.js';
9
+ import '../../resolve-D_H8MHtq.js';
10
10
 
11
11
  /**
12
12
  * Batteries-included local PostgreSQL Store backed by PGlite.
@@ -1,68 +1,13 @@
1
- import { createLocalPgliteBackend } from '../../chunk-JPD2CTC3.js';
2
- import '../../chunk-7LZJNLA5.js';
3
- import '../../chunk-Z2JCLZFJ.js';
4
- import { createStoreWithSchema } from '../../chunk-BRRP76WO.js';
5
- import '../../chunk-JONXFAPO.js';
6
- import '../../chunk-OVI7IXYX.js';
7
- import '../../chunk-YIURNGXI.js';
8
- import { createPostgresTables } from '../../chunk-6SWPJEYN.js';
9
- import '../../chunk-OMZ37BM2.js';
10
- import '../../chunk-KF6K7TGH.js';
11
- import '../../chunk-I4GAZH5Z.js';
12
- import '../../chunk-2TYSSBU5.js';
13
- import '../../chunk-SHFBB23Q.js';
14
- import '../../chunk-ZFMCDJGB.js';
15
- import '../../chunk-S5TERQVW.js';
16
- import '../../chunk-JBQQ7THH.js';
17
- import '../../chunk-UGHG7PGX.js';
18
- import '../../chunk-NVY5CJFP.js';
19
- import { closeAfterFailure } from '../../chunk-6LN7FIVU.js';
20
- import '../../chunk-HEV35TGT.js';
21
- import '../../chunk-GLHXM7C4.js';
22
- import '../../chunk-DZAICA5J.js';
23
- import '../../chunk-5K2BKEBD.js';
24
- import '../../chunk-KKBDXCLQ.js';
25
- import '../../chunk-SDBBMD4N.js';
26
- import '../../chunk-P6YLZTRE.js';
27
- import '../../chunk-K34OPSJK.js';
28
- import '../../chunk-2EBMPJBO.js';
29
- import '../../chunk-ZDKTPBGV.js';
30
- import '../../chunk-3DMMGT6S.js';
31
- import '../../chunk-AMKPPFUO.js';
32
- import '../../chunk-W6OG3HDG.js';
33
- import '../../chunk-PC2UBAUB.js';
34
- import '../../chunk-D5R42W5D.js';
35
- import '../../chunk-JXXDZTMN.js';
36
- import '../../chunk-XVWOYKIK.js';
37
- import '../../chunk-ZLONH2UD.js';
38
- import '../../chunk-FWJKWH6U.js';
39
- import '../../chunk-DYATYRY4.js';
1
+ import { loadDrizzleBackedModule } from '../../chunk-OTWE63BW.js';
2
+ import '../../chunk-YDEJQWOL.js';
40
3
 
41
4
  // src/backend/postgres/pglite-store.ts
42
- function withoutSchemaOverride(schemaManagement) {
43
- if (schemaManagement === void 0) return {};
44
- const { schema: smuggled, ...rest } = schemaManagement;
45
- return rest;
46
- }
47
5
  async function createLocalPgliteStore(graph, options = {}) {
48
- const tables = options.store?.schema === void 0 ? void 0 : createPostgresTables(options.store.schema.tables);
49
- const { backend } = await createLocalPgliteBackend({
50
- ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
51
- ...options.vector === false ? { vector: false } : {},
52
- ...tables === void 0 ? {} : { tables }
53
- });
54
- try {
55
- const [store] = await createStoreWithSchema(graph, backend, {
56
- ...options.store,
57
- // The type already excludes `schema` here; the runtime strip guards
58
- // untyped callers, so the provisioned schema (or the default tables)
59
- // can never diverge from the one the Store reads.
60
- ...withoutSchemaOverride(options.schemaManagement)
61
- });
62
- return store;
63
- } catch (error) {
64
- return closeAfterFailure(backend, error);
65
- }
6
+ const impl = await loadDrizzleBackedModule(
7
+ "./postgres/pglite",
8
+ () => import('../../pglite-store-impl-6EMZGL7K.js')
9
+ );
10
+ return impl.createLocalPgliteStoreImpl(graph, options);
66
11
  }
67
12
 
68
13
  export { createLocalPgliteStore };