@nicia-ai/typegraph 0.46.1 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (296) hide show
  1. package/README.md +20 -1
  2. package/dist/backend/drizzle/indexes.cjs +9 -9
  3. package/dist/backend/drizzle/indexes.d.cts +1 -1
  4. package/dist/backend/drizzle/indexes.d.ts +1 -1
  5. package/dist/backend/drizzle/indexes.js +5 -5
  6. package/dist/backend/index.cjs +50 -49
  7. package/dist/backend/index.d.cts +3 -3
  8. package/dist/backend/index.d.ts +3 -3
  9. package/dist/backend/index.js +11 -10
  10. package/dist/backend/postgres/index.cjs +27 -26
  11. package/dist/backend/postgres/index.d.cts +6 -6
  12. package/dist/backend/postgres/index.d.ts +6 -6
  13. package/dist/backend/postgres/index.js +14 -13
  14. package/dist/backend/postgres/pglite-store.cjs +34 -33
  15. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  16. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  17. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  18. package/dist/backend/postgres/pglite-store.js +30 -29
  19. package/dist/backend/postgres/pglite-store.js.map +1 -1
  20. package/dist/backend/postgres/pglite.cjs +16 -15
  21. package/dist/backend/postgres/pglite.d.cts +3 -3
  22. package/dist/backend/postgres/pglite.d.ts +3 -3
  23. package/dist/backend/postgres/pglite.js +15 -14
  24. package/dist/backend/sqlite/index.cjs +24 -23
  25. package/dist/backend/sqlite/index.d.cts +6 -6
  26. package/dist/backend/sqlite/index.d.ts +6 -6
  27. package/dist/backend/sqlite/index.js +12 -11
  28. package/dist/backend/sqlite/libsql.cjs +19 -18
  29. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  30. package/dist/backend/sqlite/libsql.d.cts +3 -3
  31. package/dist/backend/sqlite/libsql.d.ts +3 -3
  32. package/dist/backend/sqlite/libsql.js +14 -13
  33. package/dist/backend/sqlite/libsql.js.map +1 -1
  34. package/dist/backend/sqlite/local-store.cjs +35 -34
  35. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +8 -8
  37. package/dist/backend/sqlite/local-store.d.ts +8 -8
  38. package/dist/backend/sqlite/local-store.js +31 -30
  39. package/dist/backend/sqlite/local-store.js.map +1 -1
  40. package/dist/backend/sqlite/local.cjs +17 -16
  41. package/dist/backend/sqlite/local.d.cts +3 -3
  42. package/dist/backend/sqlite/local.d.ts +3 -3
  43. package/dist/backend/sqlite/local.js +15 -14
  44. package/dist/{chunk-NK5Q7UNE.cjs → chunk-26YKDNUD.cjs} +10 -10
  45. package/dist/{chunk-NK5Q7UNE.cjs.map → chunk-26YKDNUD.cjs.map} +1 -1
  46. package/dist/{chunk-PQBQG7IM.js → chunk-3DMMGT6S.js} +3 -3
  47. package/dist/{chunk-PQBQG7IM.js.map → chunk-3DMMGT6S.js.map} +1 -1
  48. package/dist/{chunk-XBYVV3MP.cjs → chunk-3HGRTCDU.cjs} +6 -4
  49. package/dist/chunk-3HGRTCDU.cjs.map +1 -0
  50. package/dist/{chunk-NFCVHQ5P.cjs → chunk-3U5ABFDW.cjs} +26 -26
  51. package/dist/{chunk-NFCVHQ5P.cjs.map → chunk-3U5ABFDW.cjs.map} +1 -1
  52. package/dist/{chunk-MCLYU6BN.cjs → chunk-425IZOQ5.cjs} +11 -164
  53. package/dist/chunk-425IZOQ5.cjs.map +1 -0
  54. package/dist/{chunk-M4BDU5RX.cjs → chunk-5FBRVORR.cjs} +12 -12
  55. package/dist/{chunk-M4BDU5RX.cjs.map → chunk-5FBRVORR.cjs.map} +1 -1
  56. package/dist/{chunk-C23WSN5E.js → chunk-5FT3TLPK.js} +20 -14
  57. package/dist/chunk-5FT3TLPK.js.map +1 -0
  58. package/dist/{chunk-YBFHZUXX.js → chunk-5UMTUOM5.js} +6 -6
  59. package/dist/{chunk-YBFHZUXX.js.map → chunk-5UMTUOM5.js.map} +1 -1
  60. package/dist/{chunk-HFHTMECK.js → chunk-6FWSNSRE.js} +7 -7
  61. package/dist/{chunk-HFHTMECK.js.map → chunk-6FWSNSRE.js.map} +1 -1
  62. package/dist/{chunk-65E3XWGF.cjs → chunk-6JVZSOHQ.cjs} +91 -91
  63. package/dist/{chunk-65E3XWGF.cjs.map → chunk-6JVZSOHQ.cjs.map} +1 -1
  64. package/dist/chunk-6KFLYYOC.cjs +161 -0
  65. package/dist/chunk-6KFLYYOC.cjs.map +1 -0
  66. package/dist/{chunk-LBJKZXDE.cjs → chunk-6NGW27EO.cjs} +10 -10
  67. package/dist/{chunk-LBJKZXDE.cjs.map → chunk-6NGW27EO.cjs.map} +1 -1
  68. package/dist/{chunk-5UVRGXD3.js → chunk-6SWPJEYN.js} +5 -5
  69. package/dist/{chunk-5UVRGXD3.js.map → chunk-6SWPJEYN.js.map} +1 -1
  70. package/dist/{chunk-BKCUOV7A.js → chunk-7SQSZN2J.js} +5 -5
  71. package/dist/{chunk-BKCUOV7A.js.map → chunk-7SQSZN2J.js.map} +1 -1
  72. package/dist/{chunk-YAAM3M2S.cjs → chunk-AMMWA76F.cjs} +51 -59
  73. package/dist/chunk-AMMWA76F.cjs.map +1 -0
  74. package/dist/{chunk-62ZP23AW.cjs → chunk-AOSSQDVO.cjs} +13 -13
  75. package/dist/{chunk-62ZP23AW.cjs.map → chunk-AOSSQDVO.cjs.map} +1 -1
  76. package/dist/{chunk-NLI2AVEF.js → chunk-AVGUJWVX.js} +30 -10
  77. package/dist/chunk-AVGUJWVX.js.map +1 -0
  78. package/dist/{chunk-TQR4KBY2.cjs → chunk-BCQ76AXA.cjs} +262 -155
  79. package/dist/chunk-BCQ76AXA.cjs.map +1 -0
  80. package/dist/{chunk-CXBHOOIQ.cjs → chunk-BFUOME67.cjs} +11 -11
  81. package/dist/{chunk-CXBHOOIQ.cjs.map → chunk-BFUOME67.cjs.map} +1 -1
  82. package/dist/{chunk-PNTCATDE.cjs → chunk-BR7SHKGM.cjs} +1672 -1400
  83. package/dist/chunk-BR7SHKGM.cjs.map +1 -0
  84. package/dist/{chunk-ASTI57H3.js → chunk-CHAOFCHV.js} +3 -3
  85. package/dist/{chunk-ASTI57H3.js.map → chunk-CHAOFCHV.js.map} +1 -1
  86. package/dist/chunk-CICO5GXD.cjs +12 -0
  87. package/dist/{chunk-A4OC4DVN.cjs.map → chunk-CICO5GXD.cjs.map} +1 -1
  88. package/dist/{chunk-T4XNKYXB.js → chunk-D5R42W5D.js} +4 -4
  89. package/dist/{chunk-T4XNKYXB.js.map → chunk-D5R42W5D.js.map} +1 -1
  90. package/dist/{chunk-S6PW7VV5.js → chunk-DJZTXBWY.js} +410 -138
  91. package/dist/chunk-DJZTXBWY.js.map +1 -0
  92. package/dist/{chunk-UDISNXDL.cjs → chunk-DO7SAMEK.cjs} +47 -47
  93. package/dist/{chunk-UDISNXDL.cjs.map → chunk-DO7SAMEK.cjs.map} +1 -1
  94. package/dist/{chunk-VCRRKBLN.cjs → chunk-EDN4Y4ZG.cjs} +9 -9
  95. package/dist/{chunk-VCRRKBLN.cjs.map → chunk-EDN4Y4ZG.cjs.map} +1 -1
  96. package/dist/{chunk-YVWGEQJE.cjs → chunk-EMIB2RXD.cjs} +139 -133
  97. package/dist/chunk-EMIB2RXD.cjs.map +1 -0
  98. package/dist/{chunk-2Z2Z3ZD6.js → chunk-EP4RUYD6.js} +3 -3
  99. package/dist/{chunk-2Z2Z3ZD6.js.map → chunk-EP4RUYD6.js.map} +1 -1
  100. package/dist/{chunk-M3WP7RQZ.js → chunk-FNOMT74T.js} +10 -8
  101. package/dist/chunk-FNOMT74T.js.map +1 -0
  102. package/dist/{chunk-E4WNQBEF.cjs → chunk-FQPEMEWX.cjs} +12 -12
  103. package/dist/{chunk-E4WNQBEF.cjs.map → chunk-FQPEMEWX.cjs.map} +1 -1
  104. package/dist/{chunk-WDGA7IYB.js → chunk-GLHXM7C4.js} +3 -3
  105. package/dist/{chunk-WDGA7IYB.js.map → chunk-GLHXM7C4.js.map} +1 -1
  106. package/dist/{chunk-7BQXPCGN.cjs → chunk-GYEG3ZLZ.cjs} +10 -10
  107. package/dist/{chunk-7BQXPCGN.cjs.map → chunk-GYEG3ZLZ.cjs.map} +1 -1
  108. package/dist/{chunk-VLT6PEWR.cjs → chunk-GYUJZARH.cjs} +4 -4
  109. package/dist/{chunk-VLT6PEWR.cjs.map → chunk-GYUJZARH.cjs.map} +1 -1
  110. package/dist/{chunk-RMQLSPA2.cjs → chunk-HDL2ARHX.cjs} +27 -27
  111. package/dist/{chunk-RMQLSPA2.cjs.map → chunk-HDL2ARHX.cjs.map} +1 -1
  112. package/dist/{chunk-775A4ZMN.js → chunk-HEV35TGT.js} +4 -4
  113. package/dist/{chunk-775A4ZMN.js.map → chunk-HEV35TGT.js.map} +1 -1
  114. package/dist/{chunk-3DHZCOT7.cjs → chunk-I4G3SQPF.cjs} +20 -20
  115. package/dist/{chunk-3DHZCOT7.cjs.map → chunk-I4G3SQPF.cjs.map} +1 -1
  116. package/dist/{chunk-VGTJPTIC.js → chunk-JONXFAPO.js} +5 -5
  117. package/dist/{chunk-VGTJPTIC.js.map → chunk-JONXFAPO.js.map} +1 -1
  118. package/dist/{chunk-BSFJMMV3.cjs → chunk-JR6SX5RH.cjs} +4 -4
  119. package/dist/{chunk-BSFJMMV3.cjs.map → chunk-JR6SX5RH.cjs.map} +1 -1
  120. package/dist/{chunk-YBQOHKHN.cjs → chunk-KABFHAL7.cjs} +100 -99
  121. package/dist/chunk-KABFHAL7.cjs.map +1 -0
  122. package/dist/{chunk-7VQXLT5O.js → chunk-KH7XW7VV.js} +111 -27
  123. package/dist/chunk-KH7XW7VV.js.map +1 -0
  124. package/dist/{chunk-DCQVHAYQ.js → chunk-KKBDXCLQ.js} +4 -4
  125. package/dist/{chunk-DCQVHAYQ.js.map → chunk-KKBDXCLQ.js.map} +1 -1
  126. package/dist/{chunk-4UGOKMI5.cjs → chunk-L3LQNR34.cjs} +161 -161
  127. package/dist/{chunk-4UGOKMI5.cjs.map → chunk-L3LQNR34.cjs.map} +1 -1
  128. package/dist/{chunk-NMWDXFPH.js → chunk-LEWHMOUY.js} +46 -56
  129. package/dist/chunk-LEWHMOUY.js.map +1 -0
  130. package/dist/{chunk-U63GDNRC.cjs → chunk-LRQKXRXO.cjs} +4 -4
  131. package/dist/{chunk-U63GDNRC.cjs.map → chunk-LRQKXRXO.cjs.map} +1 -1
  132. package/dist/{chunk-5763DULU.js → chunk-M35DF33T.js} +147 -40
  133. package/dist/chunk-M35DF33T.js.map +1 -0
  134. package/dist/{chunk-Q3G6A4I3.cjs → chunk-MFZR4QKM.cjs} +30 -28
  135. package/dist/chunk-MFZR4QKM.cjs.map +1 -0
  136. package/dist/chunk-MKJ4KXL5.cjs +12 -0
  137. package/dist/{chunk-VQH4VAWD.cjs.map → chunk-MKJ4KXL5.cjs.map} +1 -1
  138. package/dist/{chunk-NI72YOJB.cjs → chunk-MRDBBHIZ.cjs} +70 -2
  139. package/dist/chunk-MRDBBHIZ.cjs.map +1 -0
  140. package/dist/{chunk-DTVWX77L.cjs → chunk-MX4DHSQP.cjs} +1023 -360
  141. package/dist/chunk-MX4DHSQP.cjs.map +1 -0
  142. package/dist/{chunk-2LG2XB2M.js → chunk-MYKHJI2J.js} +3 -3
  143. package/dist/{chunk-2LG2XB2M.js.map → chunk-MYKHJI2J.js.map} +1 -1
  144. package/dist/{chunk-JZUR7ZWE.js → chunk-NAZ2RA4L.js} +3 -3
  145. package/dist/{chunk-JZUR7ZWE.js.map → chunk-NAZ2RA4L.js.map} +1 -1
  146. package/dist/{chunk-XL7SLCXS.js → chunk-NG2RB5WL.js} +4 -145
  147. package/dist/chunk-NG2RB5WL.js.map +1 -0
  148. package/dist/{chunk-GF3KXUTW.js → chunk-NNQ6A3RM.js} +803 -143
  149. package/dist/chunk-NNQ6A3RM.js.map +1 -0
  150. package/dist/{chunk-MSY7FSX4.js → chunk-NVY5CJFP.js} +4 -4
  151. package/dist/{chunk-MSY7FSX4.js.map → chunk-NVY5CJFP.js.map} +1 -1
  152. package/dist/{chunk-XCAGZAKP.cjs → chunk-OI2GQ25X.cjs} +7 -7
  153. package/dist/{chunk-XCAGZAKP.cjs.map → chunk-OI2GQ25X.cjs.map} +1 -1
  154. package/dist/{chunk-PF6F5NLJ.cjs → chunk-OIFSOPSR.cjs} +259 -238
  155. package/dist/chunk-OIFSOPSR.cjs.map +1 -0
  156. package/dist/{chunk-UV3SN74I.js → chunk-OMZ37BM2.js} +5 -5
  157. package/dist/{chunk-UV3SN74I.js.map → chunk-OMZ37BM2.js.map} +1 -1
  158. package/dist/{chunk-PNN7RHVR.cjs → chunk-OORXGFL5.cjs} +48 -48
  159. package/dist/{chunk-PNN7RHVR.cjs.map → chunk-OORXGFL5.cjs.map} +1 -1
  160. package/dist/{chunk-YWGVVALJ.js → chunk-OVI7IXYX.js} +3 -3
  161. package/dist/{chunk-YWGVVALJ.js.map → chunk-OVI7IXYX.js.map} +1 -1
  162. package/dist/{chunk-I5MOXA4H.js → chunk-P6YLZTRE.js} +3 -3
  163. package/dist/{chunk-I5MOXA4H.js.map → chunk-P6YLZTRE.js.map} +1 -1
  164. package/dist/{chunk-WQZLUGVR.js → chunk-QS3NQZVC.js} +82 -16
  165. package/dist/chunk-QS3NQZVC.js.map +1 -0
  166. package/dist/{chunk-5262ZMTR.js → chunk-QTD6HX4O.js} +5 -5
  167. package/dist/{chunk-5262ZMTR.js.map → chunk-QTD6HX4O.js.map} +1 -1
  168. package/dist/{chunk-MXJDTH5B.cjs → chunk-ROR5ZR6A.cjs} +45 -45
  169. package/dist/{chunk-MXJDTH5B.cjs.map → chunk-ROR5ZR6A.cjs.map} +1 -1
  170. package/dist/{chunk-CBTIUB76.js → chunk-SDBBMD4N.js} +3 -3
  171. package/dist/{chunk-CBTIUB76.js.map → chunk-SDBBMD4N.js.map} +1 -1
  172. package/dist/{chunk-L65OU2U3.js → chunk-SE6EGQSD.js} +78 -16
  173. package/dist/chunk-SE6EGQSD.js.map +1 -0
  174. package/dist/{chunk-JXA2ZP2Q.js → chunk-SHFBB23Q.js} +4 -4
  175. package/dist/{chunk-JXA2ZP2Q.js.map → chunk-SHFBB23Q.js.map} +1 -1
  176. package/dist/{chunk-AKLS3BYZ.js → chunk-SHSSRCFR.js} +5 -3
  177. package/dist/chunk-SHSSRCFR.js.map +1 -0
  178. package/dist/{chunk-2NA5DYLO.cjs → chunk-TZEGUG6D.cjs} +4 -4
  179. package/dist/{chunk-2NA5DYLO.cjs.map → chunk-TZEGUG6D.cjs.map} +1 -1
  180. package/dist/{chunk-CMWHLBVN.cjs → chunk-U5EDAVOJ.cjs} +140 -74
  181. package/dist/chunk-U5EDAVOJ.cjs.map +1 -0
  182. package/dist/{chunk-MUK4BU7K.cjs → chunk-UPAJHMW3.cjs} +210 -126
  183. package/dist/chunk-UPAJHMW3.cjs.map +1 -0
  184. package/dist/{chunk-PT7RIRIZ.cjs → chunk-WGX7JH7E.cjs} +235 -170
  185. package/dist/chunk-WGX7JH7E.cjs.map +1 -0
  186. package/dist/{chunk-U5SON7R2.cjs → chunk-WODMN3Q2.cjs} +27 -27
  187. package/dist/{chunk-U5SON7R2.cjs.map → chunk-WODMN3Q2.cjs.map} +1 -1
  188. package/dist/{chunk-K5ELX2GT.js → chunk-XVWOYKIK.js} +3 -3
  189. package/dist/{chunk-K5ELX2GT.js.map → chunk-XVWOYKIK.js.map} +1 -1
  190. package/dist/chunk-XY5OMOJD.js +147 -0
  191. package/dist/chunk-XY5OMOJD.js.map +1 -0
  192. package/dist/{chunk-LGHCOKTT.js → chunk-XYBQI6LE.js} +14 -14
  193. package/dist/{chunk-LGHCOKTT.js.map → chunk-XYBQI6LE.js.map} +1 -1
  194. package/dist/{chunk-YDFDBE6D.js → chunk-ZDKTPBGV.js} +4 -4
  195. package/dist/{chunk-YDFDBE6D.js.map → chunk-ZDKTPBGV.js.map} +1 -1
  196. package/dist/{chunk-MZLPX2R7.js → chunk-ZHNXLS3C.js} +9 -8
  197. package/dist/chunk-ZHNXLS3C.js.map +1 -0
  198. package/dist/{chunk-J3WZ3FA2.js → chunk-ZLONH2UD.js} +67 -3
  199. package/dist/chunk-ZLONH2UD.js.map +1 -0
  200. package/dist/core/index.cjs +28 -27
  201. package/dist/core/index.d.cts +4 -4
  202. package/dist/core/index.d.ts +4 -4
  203. package/dist/core/index.js +8 -7
  204. package/dist/{ddl-BXfGHbPN.d.ts → ddl-CprnMXJ-.d.ts} +3 -3
  205. package/dist/{ddl-BJcOp4WZ.d.cts → ddl-DJA7Lci5.d.cts} +3 -3
  206. package/dist/graph-extension/index.cjs +20 -20
  207. package/dist/graph-extension/index.d.cts +4 -4
  208. package/dist/graph-extension/index.d.ts +4 -4
  209. package/dist/graph-extension/index.js +4 -4
  210. package/dist/graph-merge/index.cjs +3204 -635
  211. package/dist/graph-merge/index.cjs.map +1 -1
  212. package/dist/graph-merge/index.d.cts +502 -60
  213. package/dist/graph-merge/index.d.ts +502 -60
  214. package/dist/graph-merge/index.js +2979 -427
  215. package/dist/graph-merge/index.js.map +1 -1
  216. package/dist/{index-BSHvKfok.d.ts → index-CHTv4XMZ.d.cts} +64 -3
  217. package/dist/{index-DxaYCv8Y.d.cts → index-CzoJ3MUw.d.ts} +64 -3
  218. package/dist/index.cjs +232 -215
  219. package/dist/index.cjs.map +1 -1
  220. package/dist/index.d.cts +11 -11
  221. package/dist/index.d.ts +11 -11
  222. package/dist/index.js +35 -34
  223. package/dist/index.js.map +1 -1
  224. package/dist/indexes/index.cjs +13 -13
  225. package/dist/indexes/index.d.cts +4 -4
  226. package/dist/indexes/index.d.ts +4 -4
  227. package/dist/indexes/index.js +6 -6
  228. package/dist/interchange/index.cjs +53 -52
  229. package/dist/interchange/index.cjs.map +1 -1
  230. package/dist/interchange/index.d.cts +17 -13
  231. package/dist/interchange/index.d.ts +17 -13
  232. package/dist/interchange/index.js +17 -16
  233. package/dist/interchange/index.js.map +1 -1
  234. package/dist/{manager-CfZAimti.d.ts → manager-B6sOQzcQ.d.ts} +2 -2
  235. package/dist/{manager-HGk6E_HW.d.cts → manager-DlY1vlla.d.cts} +2 -2
  236. package/dist/{materialize-indexes-BMJP6Tms.d.ts → materialize-indexes-DQL4xcpf.d.ts} +1 -1
  237. package/dist/{materialize-indexes-6A7dWGtb.d.cts → materialize-indexes-sskhp-c_.d.cts} +1 -1
  238. package/dist/{postgres-DFYWENdR.d.cts → postgres-B6YOUcaK.d.ts} +1 -1
  239. package/dist/{postgres-e7a9TdvR.d.ts → postgres-BXy_nyMs.d.cts} +1 -1
  240. package/dist/profiler/index.d.cts +9 -9
  241. package/dist/profiler/index.d.ts +9 -9
  242. package/dist/provenance/index.cjs +43 -42
  243. package/dist/provenance/index.cjs.map +1 -1
  244. package/dist/provenance/index.d.cts +7 -7
  245. package/dist/provenance/index.d.ts +7 -7
  246. package/dist/provenance/index.js +10 -9
  247. package/dist/provenance/index.js.map +1 -1
  248. package/dist/schema/index.cjs +45 -44
  249. package/dist/schema/index.d.cts +6 -6
  250. package/dist/schema/index.d.ts +6 -6
  251. package/dist/schema/index.js +18 -17
  252. package/dist/{searchable-CIje5XYD.d.cts → searchable-0Cn_lY8U.d.cts} +1 -1
  253. package/dist/{searchable-9OQoPuRs.d.ts → searchable-D9gMiwcS.d.ts} +1 -1
  254. package/dist/{sqlite-DerU5tc7.d.ts → sqlite-ClXuBYAj.d.ts} +1 -1
  255. package/dist/{sqlite-DitnISa9.d.cts → sqlite-DioSxaPe.d.cts} +1 -1
  256. package/dist/{store-ClQ-MZQS.d.ts → store-5j-w5onJ.d.ts} +128 -69
  257. package/dist/{store-B0h6x7wo.d.cts → store-CFedKGU5.d.cts} +128 -69
  258. package/dist/{temporal-Bn-Fi8FJ.d.cts → temporal-Ce1pG0S1.d.cts} +1 -1
  259. package/dist/{temporal-BtM4UALv.d.ts → temporal-CjO9FH1l.d.ts} +1 -1
  260. package/dist/{types-KFfk-8Ah.d.ts → types-BrdOFu48.d.ts} +1 -1
  261. package/dist/{types-HkveCCx0.d.ts → types-DKkMJZjR.d.cts} +39 -12
  262. package/dist/{types-HkveCCx0.d.cts → types-DKkMJZjR.d.ts} +39 -12
  263. package/dist/{types-CoIx8HX5.d.cts → types-oj_OGAaZ.d.cts} +1 -1
  264. package/dist/{where-ws5hf-Ov.d.ts → where-C8w2627G.d.ts} +1 -1
  265. package/dist/{where--fk7_0kv.d.cts → where-D1wKCJ4Q.d.cts} +1 -1
  266. package/package.json +1 -1
  267. package/dist/chunk-5763DULU.js.map +0 -1
  268. package/dist/chunk-7VQXLT5O.js.map +0 -1
  269. package/dist/chunk-A4OC4DVN.cjs +0 -12
  270. package/dist/chunk-AKLS3BYZ.js.map +0 -1
  271. package/dist/chunk-C23WSN5E.js.map +0 -1
  272. package/dist/chunk-CMWHLBVN.cjs.map +0 -1
  273. package/dist/chunk-DTVWX77L.cjs.map +0 -1
  274. package/dist/chunk-GF3KXUTW.js.map +0 -1
  275. package/dist/chunk-J3WZ3FA2.js.map +0 -1
  276. package/dist/chunk-L65OU2U3.js.map +0 -1
  277. package/dist/chunk-M3WP7RQZ.js.map +0 -1
  278. package/dist/chunk-MCLYU6BN.cjs.map +0 -1
  279. package/dist/chunk-MUK4BU7K.cjs.map +0 -1
  280. package/dist/chunk-MZLPX2R7.js.map +0 -1
  281. package/dist/chunk-NI72YOJB.cjs.map +0 -1
  282. package/dist/chunk-NLI2AVEF.js.map +0 -1
  283. package/dist/chunk-NMWDXFPH.js.map +0 -1
  284. package/dist/chunk-PF6F5NLJ.cjs.map +0 -1
  285. package/dist/chunk-PNTCATDE.cjs.map +0 -1
  286. package/dist/chunk-PT7RIRIZ.cjs.map +0 -1
  287. package/dist/chunk-Q3G6A4I3.cjs.map +0 -1
  288. package/dist/chunk-S6PW7VV5.js.map +0 -1
  289. package/dist/chunk-TQR4KBY2.cjs.map +0 -1
  290. package/dist/chunk-VQH4VAWD.cjs +0 -12
  291. package/dist/chunk-WQZLUGVR.js.map +0 -1
  292. package/dist/chunk-XBYVV3MP.cjs.map +0 -1
  293. package/dist/chunk-XL7SLCXS.js.map +0 -1
  294. package/dist/chunk-YAAM3M2S.cjs.map +0 -1
  295. package/dist/chunk-YBQOHKHN.cjs.map +0 -1
  296. package/dist/chunk-YVWGEQJE.cjs.map +0 -1
@@ -1,19 +1,20 @@
1
- export { createPostgresBackend } from '../../chunk-5763DULU.js';
2
- import '../../chunk-7VQXLT5O.js';
3
- import '../../chunk-VGTJPTIC.js';
4
- import '../../chunk-YWGVVALJ.js';
5
- import '../../chunk-NMWDXFPH.js';
6
- export { createPostgresTables, edges, fulltext, generatePostgresDDL, generatePostgresMigrationSQL, nodes, recordedClock, recordedEdges, recordedNodes, schemaVersions, tables, uniques } from '../../chunk-5UVRGXD3.js';
7
- import '../../chunk-UV3SN74I.js';
1
+ export { createPostgresBackend } from '../../chunk-M35DF33T.js';
2
+ import '../../chunk-KH7XW7VV.js';
3
+ import '../../chunk-JONXFAPO.js';
4
+ import '../../chunk-OVI7IXYX.js';
5
+ import '../../chunk-LEWHMOUY.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
8
  import '../../chunk-JBQQ7THH.js';
9
- import '../../chunk-JZUR7ZWE.js';
10
- import '../../chunk-AKLS3BYZ.js';
11
- import '../../chunk-CBTIUB76.js';
9
+ import '../../chunk-NAZ2RA4L.js';
10
+ import '../../chunk-SHSSRCFR.js';
11
+ import '../../chunk-NG2RB5WL.js';
12
+ import '../../chunk-SDBBMD4N.js';
12
13
  import '../../chunk-K34OPSJK.js';
13
14
  import '../../chunk-2EBMPJBO.js';
14
- import '../../chunk-YDFDBE6D.js';
15
- import '../../chunk-PQBQG7IM.js';
16
- import '../../chunk-J3WZ3FA2.js';
15
+ import '../../chunk-ZDKTPBGV.js';
16
+ import '../../chunk-3DMMGT6S.js';
17
+ import '../../chunk-ZLONH2UD.js';
17
18
  import '../../chunk-FWJKWH6U.js';
18
19
  import '../../chunk-DYATYRY4.js';
19
20
  //# sourceMappingURL=index.js.map
@@ -1,41 +1,42 @@
1
1
  'use strict';
2
2
 
3
- var chunkM4BDU5RX_cjs = require('../../chunk-M4BDU5RX.cjs');
4
- require('../../chunk-TQR4KBY2.cjs');
5
- require('../../chunk-MUK4BU7K.cjs');
6
- var chunkPNTCATDE_cjs = require('../../chunk-PNTCATDE.cjs');
7
- require('../../chunk-MXJDTH5B.cjs');
8
- require('../../chunk-A4OC4DVN.cjs');
9
- require('../../chunk-YAAM3M2S.cjs');
10
- var chunkRMQLSPA2_cjs = require('../../chunk-RMQLSPA2.cjs');
11
- require('../../chunk-U5SON7R2.cjs');
12
- require('../../chunk-PT7RIRIZ.cjs');
13
- require('../../chunk-Q3G6A4I3.cjs');
14
- require('../../chunk-65E3XWGF.cjs');
15
- require('../../chunk-NK5Q7UNE.cjs');
16
- require('../../chunk-DTVWX77L.cjs');
17
- require('../../chunk-PF6F5NLJ.cjs');
3
+ var chunk5FBRVORR_cjs = require('../../chunk-5FBRVORR.cjs');
4
+ require('../../chunk-BCQ76AXA.cjs');
5
+ require('../../chunk-UPAJHMW3.cjs');
6
+ var chunkBR7SHKGM_cjs = require('../../chunk-BR7SHKGM.cjs');
7
+ require('../../chunk-ROR5ZR6A.cjs');
8
+ require('../../chunk-CICO5GXD.cjs');
9
+ require('../../chunk-AMMWA76F.cjs');
10
+ var chunkHDL2ARHX_cjs = require('../../chunk-HDL2ARHX.cjs');
11
+ require('../../chunk-WODMN3Q2.cjs');
12
+ require('../../chunk-WGX7JH7E.cjs');
13
+ require('../../chunk-MFZR4QKM.cjs');
14
+ require('../../chunk-6JVZSOHQ.cjs');
15
+ require('../../chunk-26YKDNUD.cjs');
16
+ require('../../chunk-MX4DHSQP.cjs');
17
+ require('../../chunk-OIFSOPSR.cjs');
18
18
  require('../../chunk-PWLJ77UV.cjs');
19
- require('../../chunk-BSFJMMV3.cjs');
20
- require('../../chunk-NFCVHQ5P.cjs');
21
- var chunkXBYVV3MP_cjs = require('../../chunk-XBYVV3MP.cjs');
22
- require('../../chunk-CXBHOOIQ.cjs');
23
- require('../../chunk-E4WNQBEF.cjs');
24
- require('../../chunk-MCLYU6BN.cjs');
25
- require('../../chunk-62ZP23AW.cjs');
26
- require('../../chunk-XCAGZAKP.cjs');
27
- require('../../chunk-U63GDNRC.cjs');
19
+ require('../../chunk-JR6SX5RH.cjs');
20
+ require('../../chunk-3U5ABFDW.cjs');
21
+ var chunk3HGRTCDU_cjs = require('../../chunk-3HGRTCDU.cjs');
22
+ require('../../chunk-BFUOME67.cjs');
23
+ require('../../chunk-FQPEMEWX.cjs');
24
+ require('../../chunk-6KFLYYOC.cjs');
25
+ require('../../chunk-425IZOQ5.cjs');
26
+ require('../../chunk-AOSSQDVO.cjs');
27
+ require('../../chunk-OI2GQ25X.cjs');
28
+ require('../../chunk-LRQKXRXO.cjs');
28
29
  require('../../chunk-ZY4GXIVN.cjs');
29
30
  require('../../chunk-NAUA4PW5.cjs');
30
- require('../../chunk-4UGOKMI5.cjs');
31
- require('../../chunk-VCRRKBLN.cjs');
31
+ require('../../chunk-L3LQNR34.cjs');
32
+ require('../../chunk-EDN4Y4ZG.cjs');
32
33
  require('../../chunk-7EO3TCQB.cjs');
33
34
  require('../../chunk-RT5ZY4XA.cjs');
34
35
  require('../../chunk-HAHNRASW.cjs');
35
- require('../../chunk-7BQXPCGN.cjs');
36
+ require('../../chunk-GYEG3ZLZ.cjs');
36
37
  require('../../chunk-XUO3KQFO.cjs');
37
- require('../../chunk-LBJKZXDE.cjs');
38
- require('../../chunk-NI72YOJB.cjs');
38
+ require('../../chunk-6NGW27EO.cjs');
39
+ require('../../chunk-MRDBBHIZ.cjs');
39
40
  require('../../chunk-A7J2YDDI.cjs');
40
41
  require('../../chunk-N66HCGCY.cjs');
41
42
 
@@ -46,14 +47,14 @@ function withoutSchemaOverride(schemaManagement) {
46
47
  return rest;
47
48
  }
48
49
  async function createLocalPgliteStore(graph, options = {}) {
49
- const tables = options.store?.schema === void 0 ? void 0 : chunkRMQLSPA2_cjs.createPostgresTables(options.store.schema.tables);
50
- const { backend } = await chunkM4BDU5RX_cjs.createLocalPgliteBackend({
50
+ const tables = options.store?.schema === void 0 ? void 0 : chunkHDL2ARHX_cjs.createPostgresTables(options.store.schema.tables);
51
+ const { backend } = await chunk5FBRVORR_cjs.createLocalPgliteBackend({
51
52
  ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
52
53
  ...options.vector === false ? { vector: false } : {},
53
54
  ...tables === void 0 ? {} : { tables }
54
55
  });
55
56
  try {
56
- const [store] = await chunkPNTCATDE_cjs.createStoreWithSchema(graph, backend, {
57
+ const [store] = await chunkBR7SHKGM_cjs.createStoreWithSchema(graph, backend, {
57
58
  ...options.store,
58
59
  // The type already excludes `schema` here; the runtime strip guards
59
60
  // untyped callers, so the provisioned schema (or the default tables)
@@ -62,7 +63,7 @@ async function createLocalPgliteStore(graph, options = {}) {
62
63
  });
63
64
  return store;
64
65
  } catch (error) {
65
- return chunkXBYVV3MP_cjs.closeAfterFailure(backend, error);
66
+ return chunk3HGRTCDU_cjs.closeAfterFailure(backend, error);
66
67
  }
67
68
  }
68
69
 
@@ -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":["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,12 +1,12 @@
1
- import { d as GraphDef } from '../../types-HkveCCx0.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.cjs';
3
- import { S as SchemaManagerOptions } from '../../manager-HGk6E_HW.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-B0h6x7wo.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-B0h6x7wo.cjs';
1
+ import { d as GraphDef } from '../../types-DKkMJZjR.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.cjs';
3
+ import { S as SchemaManagerOptions } from '../../manager-DlY1vlla.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-CFedKGU5.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-CFedKGU5.cjs';
6
6
  import 'zod';
7
- import '../../materialize-indexes-6A7dWGtb.cjs';
8
- import '../../temporal-Bn-Fi8FJ.cjs';
9
- import '../../searchable-CIje5XYD.cjs';
7
+ import '../../materialize-indexes-sskhp-c_.cjs';
8
+ import '../../temporal-Ce1pG0S1.cjs';
9
+ import '../../searchable-0Cn_lY8U.cjs';
10
10
 
11
11
  /**
12
12
  * Batteries-included local PostgreSQL Store backed by PGlite.
@@ -1,12 +1,12 @@
1
- import { d as GraphDef } from '../../types-HkveCCx0.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.js';
3
- import { S as SchemaManagerOptions } from '../../manager-CfZAimti.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-ClQ-MZQS.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-ClQ-MZQS.js';
1
+ import { d as GraphDef } from '../../types-DKkMJZjR.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.js';
3
+ import { S as SchemaManagerOptions } from '../../manager-B6sOQzcQ.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-5j-w5onJ.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-5j-w5onJ.js';
6
6
  import 'zod';
7
- import '../../materialize-indexes-BMJP6Tms.js';
8
- import '../../temporal-BtM4UALv.js';
9
- import '../../searchable-9OQoPuRs.js';
7
+ import '../../materialize-indexes-DQL4xcpf.js';
8
+ import '../../temporal-CjO9FH1l.js';
9
+ import '../../searchable-D9gMiwcS.js';
10
10
 
11
11
  /**
12
12
  * Batteries-included local PostgreSQL Store backed by PGlite.
@@ -1,39 +1,40 @@
1
- import { createLocalPgliteBackend } from '../../chunk-YBFHZUXX.js';
2
- import '../../chunk-5763DULU.js';
3
- import '../../chunk-7VQXLT5O.js';
4
- import { createStoreWithSchema } from '../../chunk-S6PW7VV5.js';
5
- import '../../chunk-VGTJPTIC.js';
6
- import '../../chunk-YWGVVALJ.js';
7
- import '../../chunk-NMWDXFPH.js';
8
- import { createPostgresTables } from '../../chunk-5UVRGXD3.js';
9
- import '../../chunk-UV3SN74I.js';
10
- import '../../chunk-L65OU2U3.js';
11
- import '../../chunk-M3WP7RQZ.js';
12
- import '../../chunk-LGHCOKTT.js';
13
- import '../../chunk-JXA2ZP2Q.js';
14
- import '../../chunk-GF3KXUTW.js';
15
- import '../../chunk-NLI2AVEF.js';
1
+ import { createLocalPgliteBackend } from '../../chunk-5UMTUOM5.js';
2
+ import '../../chunk-M35DF33T.js';
3
+ import '../../chunk-KH7XW7VV.js';
4
+ import { createStoreWithSchema } from '../../chunk-DJZTXBWY.js';
5
+ import '../../chunk-JONXFAPO.js';
6
+ import '../../chunk-OVI7IXYX.js';
7
+ import '../../chunk-LEWHMOUY.js';
8
+ import { createPostgresTables } from '../../chunk-6SWPJEYN.js';
9
+ import '../../chunk-OMZ37BM2.js';
10
+ import '../../chunk-SE6EGQSD.js';
11
+ import '../../chunk-FNOMT74T.js';
12
+ import '../../chunk-XYBQI6LE.js';
13
+ import '../../chunk-SHFBB23Q.js';
14
+ import '../../chunk-NNQ6A3RM.js';
15
+ import '../../chunk-AVGUJWVX.js';
16
16
  import '../../chunk-JBQQ7THH.js';
17
- import '../../chunk-JZUR7ZWE.js';
18
- import '../../chunk-MSY7FSX4.js';
19
- import { closeAfterFailure } from '../../chunk-AKLS3BYZ.js';
20
- import '../../chunk-775A4ZMN.js';
21
- import '../../chunk-WDGA7IYB.js';
22
- import '../../chunk-XL7SLCXS.js';
23
- import '../../chunk-DCQVHAYQ.js';
24
- import '../../chunk-CBTIUB76.js';
25
- import '../../chunk-I5MOXA4H.js';
17
+ import '../../chunk-NAZ2RA4L.js';
18
+ import '../../chunk-NVY5CJFP.js';
19
+ import { closeAfterFailure } from '../../chunk-SHSSRCFR.js';
20
+ import '../../chunk-HEV35TGT.js';
21
+ import '../../chunk-GLHXM7C4.js';
22
+ import '../../chunk-XY5OMOJD.js';
23
+ import '../../chunk-NG2RB5WL.js';
24
+ import '../../chunk-KKBDXCLQ.js';
25
+ import '../../chunk-SDBBMD4N.js';
26
+ import '../../chunk-P6YLZTRE.js';
26
27
  import '../../chunk-K34OPSJK.js';
27
28
  import '../../chunk-2EBMPJBO.js';
28
- import '../../chunk-YDFDBE6D.js';
29
- import '../../chunk-PQBQG7IM.js';
29
+ import '../../chunk-ZDKTPBGV.js';
30
+ import '../../chunk-3DMMGT6S.js';
30
31
  import '../../chunk-AMKPPFUO.js';
31
32
  import '../../chunk-W6OG3HDG.js';
32
33
  import '../../chunk-PC2UBAUB.js';
33
- import '../../chunk-T4XNKYXB.js';
34
+ import '../../chunk-D5R42W5D.js';
34
35
  import '../../chunk-JXXDZTMN.js';
35
- import '../../chunk-K5ELX2GT.js';
36
- import '../../chunk-J3WZ3FA2.js';
36
+ import '../../chunk-XVWOYKIK.js';
37
+ import '../../chunk-ZLONH2UD.js';
37
38
  import '../../chunk-FWJKWH6U.js';
38
39
  import '../../chunk-DYATYRY4.js';
39
40
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../src/backend/postgres/pglite-store.ts"],"names":[],"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,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,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,MAAM,qBAAA,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,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store.js","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":[],"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,SACA,oBAAA,CAAqB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AACpD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,MAAM,wBAAA,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,MAAM,qBAAA,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,OAAO,iBAAA,CAAkB,SAAS,KAAK,CAAA;AAAA,EACzC;AACF","file":"pglite-store.js","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,22 +1,23 @@
1
1
  'use strict';
2
2
 
3
- var chunkM4BDU5RX_cjs = require('../../chunk-M4BDU5RX.cjs');
4
- require('../../chunk-TQR4KBY2.cjs');
5
- require('../../chunk-MUK4BU7K.cjs');
6
- require('../../chunk-MXJDTH5B.cjs');
7
- require('../../chunk-A4OC4DVN.cjs');
8
- require('../../chunk-YAAM3M2S.cjs');
9
- require('../../chunk-RMQLSPA2.cjs');
10
- require('../../chunk-U5SON7R2.cjs');
3
+ var chunk5FBRVORR_cjs = require('../../chunk-5FBRVORR.cjs');
4
+ require('../../chunk-BCQ76AXA.cjs');
5
+ require('../../chunk-UPAJHMW3.cjs');
6
+ require('../../chunk-ROR5ZR6A.cjs');
7
+ require('../../chunk-CICO5GXD.cjs');
8
+ require('../../chunk-AMMWA76F.cjs');
9
+ require('../../chunk-HDL2ARHX.cjs');
10
+ require('../../chunk-WODMN3Q2.cjs');
11
11
  require('../../chunk-PWLJ77UV.cjs');
12
- require('../../chunk-BSFJMMV3.cjs');
13
- require('../../chunk-XBYVV3MP.cjs');
14
- require('../../chunk-XCAGZAKP.cjs');
12
+ require('../../chunk-JR6SX5RH.cjs');
13
+ require('../../chunk-3HGRTCDU.cjs');
14
+ require('../../chunk-425IZOQ5.cjs');
15
+ require('../../chunk-OI2GQ25X.cjs');
15
16
  require('../../chunk-ZY4GXIVN.cjs');
16
17
  require('../../chunk-NAUA4PW5.cjs');
17
- require('../../chunk-4UGOKMI5.cjs');
18
- require('../../chunk-VCRRKBLN.cjs');
19
- require('../../chunk-NI72YOJB.cjs');
18
+ require('../../chunk-L3LQNR34.cjs');
19
+ require('../../chunk-EDN4Y4ZG.cjs');
20
+ require('../../chunk-MRDBBHIZ.cjs');
20
21
  require('../../chunk-A7J2YDDI.cjs');
21
22
  require('../../chunk-N66HCGCY.cjs');
22
23
 
@@ -24,7 +25,7 @@ require('../../chunk-N66HCGCY.cjs');
24
25
 
25
26
  Object.defineProperty(exports, "createLocalPgliteBackend", {
26
27
  enumerable: true,
27
- get: function () { return chunkM4BDU5RX_cjs.createLocalPgliteBackend; }
28
+ get: function () { return chunk5FBRVORR_cjs.createLocalPgliteBackend; }
28
29
  });
29
30
  //# sourceMappingURL=pglite.cjs.map
30
31
  //# sourceMappingURL=pglite.cjs.map
@@ -1,10 +1,10 @@
1
1
  import { Extension, PGlite } from '@electric-sql/pglite';
2
2
  import { PgliteDatabase } from 'drizzle-orm/pglite';
3
- import { A as AdapterBackend } from '../../types-HkveCCx0.cjs';
4
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.cjs';
3
+ import { A as AdapterBackend } from '../../types-DKkMJZjR.cjs';
4
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.cjs';
5
5
  import { a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
6
6
  export { A as AnyPgDatabase } from '../../postgres-execution-fKW0qRiN.cjs';
7
- import { P as PostgresTables } from '../../postgres-DFYWENdR.cjs';
7
+ import { P as PostgresTables } from '../../postgres-BXy_nyMs.cjs';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/pg-core';
10
10
  import 'drizzle-orm/relations';
@@ -1,10 +1,10 @@
1
1
  import { Extension, PGlite } from '@electric-sql/pglite';
2
2
  import { PgliteDatabase } from 'drizzle-orm/pglite';
3
- import { A as AdapterBackend } from '../../types-HkveCCx0.js';
4
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.js';
3
+ import { A as AdapterBackend } from '../../types-DKkMJZjR.js';
4
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.js';
5
5
  import { a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.js';
6
6
  export { A as AnyPgDatabase } from '../../postgres-execution-fKW0qRiN.js';
7
- import { P as PostgresTables } from '../../postgres-e7a9TdvR.js';
7
+ import { P as PostgresTables } from '../../postgres-B6YOUcaK.js';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/pg-core';
10
10
  import 'drizzle-orm/relations';
@@ -1,20 +1,21 @@
1
- export { createLocalPgliteBackend } from '../../chunk-YBFHZUXX.js';
2
- import '../../chunk-5763DULU.js';
3
- import '../../chunk-7VQXLT5O.js';
4
- import '../../chunk-VGTJPTIC.js';
5
- import '../../chunk-YWGVVALJ.js';
6
- import '../../chunk-NMWDXFPH.js';
7
- import '../../chunk-5UVRGXD3.js';
8
- import '../../chunk-UV3SN74I.js';
1
+ export { createLocalPgliteBackend } from '../../chunk-5UMTUOM5.js';
2
+ import '../../chunk-M35DF33T.js';
3
+ import '../../chunk-KH7XW7VV.js';
4
+ import '../../chunk-JONXFAPO.js';
5
+ import '../../chunk-OVI7IXYX.js';
6
+ import '../../chunk-LEWHMOUY.js';
7
+ import '../../chunk-6SWPJEYN.js';
8
+ import '../../chunk-OMZ37BM2.js';
9
9
  import '../../chunk-JBQQ7THH.js';
10
- import '../../chunk-JZUR7ZWE.js';
11
- import '../../chunk-AKLS3BYZ.js';
12
- import '../../chunk-CBTIUB76.js';
10
+ import '../../chunk-NAZ2RA4L.js';
11
+ import '../../chunk-SHSSRCFR.js';
12
+ import '../../chunk-NG2RB5WL.js';
13
+ import '../../chunk-SDBBMD4N.js';
13
14
  import '../../chunk-K34OPSJK.js';
14
15
  import '../../chunk-2EBMPJBO.js';
15
- import '../../chunk-YDFDBE6D.js';
16
- import '../../chunk-PQBQG7IM.js';
17
- import '../../chunk-J3WZ3FA2.js';
16
+ import '../../chunk-ZDKTPBGV.js';
17
+ import '../../chunk-3DMMGT6S.js';
18
+ import '../../chunk-ZLONH2UD.js';
18
19
  import '../../chunk-FWJKWH6U.js';
19
20
  import '../../chunk-DYATYRY4.js';
20
21
  //# sourceMappingURL=pglite.js.map
@@ -1,19 +1,20 @@
1
1
  'use strict';
2
2
 
3
- var chunkYVWGEQJE_cjs = require('../../chunk-YVWGEQJE.cjs');
4
- require('../../chunk-MUK4BU7K.cjs');
5
- require('../../chunk-YAAM3M2S.cjs');
6
- var chunkRMQLSPA2_cjs = require('../../chunk-RMQLSPA2.cjs');
7
- require('../../chunk-U5SON7R2.cjs');
3
+ var chunkEMIB2RXD_cjs = require('../../chunk-EMIB2RXD.cjs');
4
+ require('../../chunk-UPAJHMW3.cjs');
5
+ require('../../chunk-AMMWA76F.cjs');
6
+ var chunkHDL2ARHX_cjs = require('../../chunk-HDL2ARHX.cjs');
7
+ require('../../chunk-WODMN3Q2.cjs');
8
8
  require('../../chunk-PWLJ77UV.cjs');
9
- require('../../chunk-BSFJMMV3.cjs');
10
- require('../../chunk-XBYVV3MP.cjs');
11
- require('../../chunk-XCAGZAKP.cjs');
9
+ require('../../chunk-JR6SX5RH.cjs');
10
+ require('../../chunk-3HGRTCDU.cjs');
11
+ require('../../chunk-425IZOQ5.cjs');
12
+ require('../../chunk-OI2GQ25X.cjs');
12
13
  require('../../chunk-ZY4GXIVN.cjs');
13
14
  require('../../chunk-NAUA4PW5.cjs');
14
- require('../../chunk-4UGOKMI5.cjs');
15
- require('../../chunk-VCRRKBLN.cjs');
16
- require('../../chunk-NI72YOJB.cjs');
15
+ require('../../chunk-L3LQNR34.cjs');
16
+ require('../../chunk-EDN4Y4ZG.cjs');
17
+ require('../../chunk-MRDBBHIZ.cjs');
17
18
  require('../../chunk-A7J2YDDI.cjs');
18
19
  require('../../chunk-N66HCGCY.cjs');
19
20
 
@@ -21,51 +22,51 @@ require('../../chunk-N66HCGCY.cjs');
21
22
 
22
23
  Object.defineProperty(exports, "createSqliteBackend", {
23
24
  enumerable: true,
24
- get: function () { return chunkYVWGEQJE_cjs.createSqliteBackend; }
25
+ get: function () { return chunkEMIB2RXD_cjs.createSqliteBackend; }
25
26
  });
26
27
  Object.defineProperty(exports, "createSqliteTables", {
27
28
  enumerable: true,
28
- get: function () { return chunkRMQLSPA2_cjs.createSqliteTables; }
29
+ get: function () { return chunkHDL2ARHX_cjs.createSqliteTables; }
29
30
  });
30
31
  Object.defineProperty(exports, "edges", {
31
32
  enumerable: true,
32
- get: function () { return chunkRMQLSPA2_cjs.edges2; }
33
+ get: function () { return chunkHDL2ARHX_cjs.edges2; }
33
34
  });
34
35
  Object.defineProperty(exports, "generateSqliteDDL", {
35
36
  enumerable: true,
36
- get: function () { return chunkRMQLSPA2_cjs.generateSqliteDDL; }
37
+ get: function () { return chunkHDL2ARHX_cjs.generateSqliteDDL; }
37
38
  });
38
39
  Object.defineProperty(exports, "generateSqliteMigrationSQL", {
39
40
  enumerable: true,
40
- get: function () { return chunkRMQLSPA2_cjs.generateSqliteMigrationSQL; }
41
+ get: function () { return chunkHDL2ARHX_cjs.generateSqliteMigrationSQL; }
41
42
  });
42
43
  Object.defineProperty(exports, "nodes", {
43
44
  enumerable: true,
44
- get: function () { return chunkRMQLSPA2_cjs.nodes2; }
45
+ get: function () { return chunkHDL2ARHX_cjs.nodes2; }
45
46
  });
46
47
  Object.defineProperty(exports, "recordedClock", {
47
48
  enumerable: true,
48
- get: function () { return chunkRMQLSPA2_cjs.recordedClock2; }
49
+ get: function () { return chunkHDL2ARHX_cjs.recordedClock2; }
49
50
  });
50
51
  Object.defineProperty(exports, "recordedEdges", {
51
52
  enumerable: true,
52
- get: function () { return chunkRMQLSPA2_cjs.recordedEdges2; }
53
+ get: function () { return chunkHDL2ARHX_cjs.recordedEdges2; }
53
54
  });
54
55
  Object.defineProperty(exports, "recordedNodes", {
55
56
  enumerable: true,
56
- get: function () { return chunkRMQLSPA2_cjs.recordedNodes2; }
57
+ get: function () { return chunkHDL2ARHX_cjs.recordedNodes2; }
57
58
  });
58
59
  Object.defineProperty(exports, "schemaVersions", {
59
60
  enumerable: true,
60
- get: function () { return chunkRMQLSPA2_cjs.schemaVersions2; }
61
+ get: function () { return chunkHDL2ARHX_cjs.schemaVersions2; }
61
62
  });
62
63
  Object.defineProperty(exports, "tables", {
63
64
  enumerable: true,
64
- get: function () { return chunkRMQLSPA2_cjs.tables2; }
65
+ get: function () { return chunkHDL2ARHX_cjs.tables2; }
65
66
  });
66
67
  Object.defineProperty(exports, "uniques", {
67
68
  enumerable: true,
68
- get: function () { return chunkRMQLSPA2_cjs.uniques2; }
69
+ get: function () { return chunkHDL2ARHX_cjs.uniques2; }
69
70
  });
70
71
  //# sourceMappingURL=index.cjs.map
71
72
  //# sourceMappingURL=index.cjs.map
@@ -1,13 +1,13 @@
1
- import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-HkveCCx0.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.cjs';
1
+ import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-DKkMJZjR.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.cjs';
3
3
  import { S as SqliteExecutionProfileHints, A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.cjs';
4
4
  export { a as SqliteTransactionMode } from '../../sqlite-execution-DwbE2a9y.cjs';
5
- import { S as SqliteTables } from '../../sqlite-DitnISa9.cjs';
6
- export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-DitnISa9.cjs';
7
- export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-BJcOp4WZ.cjs';
5
+ import { S as SqliteTables } from '../../sqlite-DioSxaPe.cjs';
6
+ export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-DioSxaPe.cjs';
7
+ export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-DJA7Lci5.cjs';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/sqlite-core';
10
- import '../../postgres-DFYWENdR.cjs';
10
+ import '../../postgres-BXy_nyMs.cjs';
11
11
  import 'drizzle-orm/pg-core';
12
12
 
13
13
  /**
@@ -1,13 +1,13 @@
1
- import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-HkveCCx0.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-HkveCCx0.js';
1
+ import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-DKkMJZjR.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig } from '../../types-DKkMJZjR.js';
3
3
  import { S as SqliteExecutionProfileHints, A as AnySqliteDatabase } from '../../sqlite-execution-DwbE2a9y.js';
4
4
  export { a as SqliteTransactionMode } from '../../sqlite-execution-DwbE2a9y.js';
5
- import { S as SqliteTables } from '../../sqlite-DerU5tc7.js';
6
- export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-DerU5tc7.js';
7
- export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-BXfGHbPN.js';
5
+ import { S as SqliteTables } from '../../sqlite-ClXuBYAj.js';
6
+ export { C as CreateSqliteTablesOptions, a as SqliteTableNames, c as createSqliteTables, e as edges, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../sqlite-ClXuBYAj.js';
7
+ export { b as generateSqliteDDL, c as generateSqliteMigrationSQL } from '../../ddl-CprnMXJ-.js';
8
8
  import 'zod';
9
9
  import 'drizzle-orm/sqlite-core';
10
- import '../../postgres-e7a9TdvR.js';
10
+ import '../../postgres-B6YOUcaK.js';
11
11
  import 'drizzle-orm/pg-core';
12
12
 
13
13
  /**
@@ -1,17 +1,18 @@
1
- export { createSqliteBackend } from '../../chunk-C23WSN5E.js';
2
- import '../../chunk-7VQXLT5O.js';
3
- import '../../chunk-NMWDXFPH.js';
4
- export { createSqliteTables, edges2 as edges, generateSqliteDDL, generateSqliteMigrationSQL, nodes2 as nodes, recordedClock2 as recordedClock, recordedEdges2 as recordedEdges, recordedNodes2 as recordedNodes, schemaVersions2 as schemaVersions, tables2 as tables, uniques2 as uniques } from '../../chunk-5UVRGXD3.js';
5
- import '../../chunk-UV3SN74I.js';
1
+ export { createSqliteBackend } from '../../chunk-5FT3TLPK.js';
2
+ import '../../chunk-KH7XW7VV.js';
3
+ import '../../chunk-LEWHMOUY.js';
4
+ export { createSqliteTables, edges2 as edges, generateSqliteDDL, generateSqliteMigrationSQL, nodes2 as nodes, recordedClock2 as recordedClock, recordedEdges2 as recordedEdges, recordedNodes2 as recordedNodes, schemaVersions2 as schemaVersions, tables2 as tables, uniques2 as uniques } from '../../chunk-6SWPJEYN.js';
5
+ import '../../chunk-OMZ37BM2.js';
6
6
  import '../../chunk-JBQQ7THH.js';
7
- import '../../chunk-JZUR7ZWE.js';
8
- import '../../chunk-AKLS3BYZ.js';
9
- import '../../chunk-CBTIUB76.js';
7
+ import '../../chunk-NAZ2RA4L.js';
8
+ import '../../chunk-SHSSRCFR.js';
9
+ import '../../chunk-NG2RB5WL.js';
10
+ import '../../chunk-SDBBMD4N.js';
10
11
  import '../../chunk-K34OPSJK.js';
11
12
  import '../../chunk-2EBMPJBO.js';
12
- import '../../chunk-YDFDBE6D.js';
13
- import '../../chunk-PQBQG7IM.js';
14
- import '../../chunk-J3WZ3FA2.js';
13
+ import '../../chunk-ZDKTPBGV.js';
14
+ import '../../chunk-3DMMGT6S.js';
15
+ import '../../chunk-ZLONH2UD.js';
15
16
  import '../../chunk-FWJKWH6U.js';
16
17
  import '../../chunk-DYATYRY4.js';
17
18
  //# sourceMappingURL=index.js.map