@nicia-ai/typegraph 0.65.0 → 0.66.1

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 (196) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/dist/{atomic-mutation-program-BznZQ06C.d.ts → atomic-mutation-program-BhP75Qn0.d.ts} +1 -1
  3. package/dist/{atomic-mutation-program-Bfu5z-je.d.cts → atomic-mutation-program-DMdmc4s0.d.cts} +1 -1
  4. package/dist/backend/drizzle/engine/index.cjs +13 -13
  5. package/dist/backend/drizzle/engine/index.d.cts +9 -9
  6. package/dist/backend/drizzle/engine/index.d.ts +9 -9
  7. package/dist/backend/drizzle/engine/index.js +8 -8
  8. package/dist/backend/drizzle/indexes.d.cts +1 -1
  9. package/dist/backend/drizzle/indexes.d.ts +1 -1
  10. package/dist/backend/index.cjs +91 -91
  11. package/dist/backend/index.d.cts +7 -7
  12. package/dist/backend/index.d.ts +7 -7
  13. package/dist/backend/index.js +8 -8
  14. package/dist/backend/postgres/index.cjs +23 -23
  15. package/dist/backend/postgres/index.d.cts +8 -8
  16. package/dist/backend/postgres/index.d.ts +8 -8
  17. package/dist/backend/postgres/index.js +8 -8
  18. package/dist/backend/postgres/pglite-store.cjs +1 -1
  19. package/dist/backend/postgres/pglite-store.d.cts +6 -6
  20. package/dist/backend/postgres/pglite-store.d.ts +6 -6
  21. package/dist/backend/postgres/pglite-store.js +1 -1
  22. package/dist/backend/postgres/pglite.cjs +10 -10
  23. package/dist/backend/postgres/pglite.d.cts +3 -3
  24. package/dist/backend/postgres/pglite.d.ts +3 -3
  25. package/dist/backend/postgres/pglite.js +9 -9
  26. package/dist/backend/sqlite/index.cjs +21 -21
  27. package/dist/backend/sqlite/index.d.cts +7 -7
  28. package/dist/backend/sqlite/index.d.ts +7 -7
  29. package/dist/backend/sqlite/index.js +8 -8
  30. package/dist/backend/sqlite/libsql.cjs +14 -14
  31. package/dist/backend/sqlite/libsql.d.cts +3 -3
  32. package/dist/backend/sqlite/libsql.d.ts +3 -3
  33. package/dist/backend/sqlite/libsql.js +8 -8
  34. package/dist/backend/sqlite/local-store.cjs +1 -1
  35. package/dist/backend/sqlite/local-store.d.cts +6 -6
  36. package/dist/backend/sqlite/local-store.d.ts +6 -6
  37. package/dist/backend/sqlite/local-store.js +1 -1
  38. package/dist/backend/sqlite/local.cjs +10 -10
  39. package/dist/backend/sqlite/local.d.cts +3 -3
  40. package/dist/backend/sqlite/local.d.ts +3 -3
  41. package/dist/backend/sqlite/local.js +9 -9
  42. package/dist/{chunk-PFXNQFFY.js → chunk-2DJKHZQ4.js} +75 -8
  43. package/dist/chunk-2DJKHZQ4.js.map +1 -0
  44. package/dist/{chunk-337ONI2I.js → chunk-3SUZXB5X.js} +146 -80
  45. package/dist/chunk-3SUZXB5X.js.map +1 -0
  46. package/dist/{chunk-4VTCIEK3.js → chunk-4TQOIBWH.js} +3 -3
  47. package/dist/{chunk-4VTCIEK3.js.map → chunk-4TQOIBWH.js.map} +1 -1
  48. package/dist/{chunk-JRWKRBI5.cjs → chunk-5JOCIMQ3.cjs} +6 -6
  49. package/dist/{chunk-JRWKRBI5.cjs.map → chunk-5JOCIMQ3.cjs.map} +1 -1
  50. package/dist/{chunk-BWQA3POT.cjs → chunk-6B3LQUYG.cjs} +206 -138
  51. package/dist/chunk-6B3LQUYG.cjs.map +1 -0
  52. package/dist/{chunk-RQPCUHIH.js → chunk-6ECNYQDW.js} +3 -3
  53. package/dist/{chunk-RQPCUHIH.js.map → chunk-6ECNYQDW.js.map} +1 -1
  54. package/dist/{chunk-OLB75LRQ.js → chunk-6GKKAQMW.js} +5 -5
  55. package/dist/{chunk-OLB75LRQ.js.map → chunk-6GKKAQMW.js.map} +1 -1
  56. package/dist/{chunk-OC5ROP7V.cjs → chunk-6JRVV2SS.cjs} +8 -2
  57. package/dist/chunk-6JRVV2SS.cjs.map +1 -0
  58. package/dist/{chunk-DSX3P4S5.cjs → chunk-76OB5RSH.cjs} +6 -6
  59. package/dist/{chunk-DSX3P4S5.cjs.map → chunk-76OB5RSH.cjs.map} +1 -1
  60. package/dist/{chunk-DHRLOQLQ.cjs → chunk-7LQTDGV5.cjs} +11 -11
  61. package/dist/{chunk-DHRLOQLQ.cjs.map → chunk-7LQTDGV5.cjs.map} +1 -1
  62. package/dist/{chunk-Q25QYSOH.js → chunk-7YJHUY4T.js} +9 -9
  63. package/dist/{chunk-Q25QYSOH.js.map → chunk-7YJHUY4T.js.map} +1 -1
  64. package/dist/{chunk-JERQGJKG.cjs → chunk-ANMCKLZQ.cjs} +18 -18
  65. package/dist/{chunk-JERQGJKG.cjs.map → chunk-ANMCKLZQ.cjs.map} +1 -1
  66. package/dist/{chunk-BBOMNH44.js → chunk-BABP4D5B.js} +3 -3
  67. package/dist/{chunk-BBOMNH44.js.map → chunk-BABP4D5B.js.map} +1 -1
  68. package/dist/{chunk-EVGZ2TRQ.js → chunk-BE75G3M5.js} +3 -3
  69. package/dist/{chunk-EVGZ2TRQ.js.map → chunk-BE75G3M5.js.map} +1 -1
  70. package/dist/{chunk-FXGZT3WO.cjs → chunk-BX42F7IJ.cjs} +41 -41
  71. package/dist/{chunk-FXGZT3WO.cjs.map → chunk-BX42F7IJ.cjs.map} +1 -1
  72. package/dist/{chunk-G6T23JU7.js → chunk-CDKNGCE7.js} +3 -3
  73. package/dist/{chunk-G6T23JU7.js.map → chunk-CDKNGCE7.js.map} +1 -1
  74. package/dist/{chunk-BNTJ5YFO.cjs → chunk-EACDHXJL.cjs} +4 -4
  75. package/dist/{chunk-BNTJ5YFO.cjs.map → chunk-EACDHXJL.cjs.map} +1 -1
  76. package/dist/{chunk-SNDJUTMB.cjs → chunk-EBQX7MYL.cjs} +72 -72
  77. package/dist/{chunk-SNDJUTMB.cjs.map → chunk-EBQX7MYL.cjs.map} +1 -1
  78. package/dist/{chunk-GKSAEUX6.js → chunk-FXOFJ4FS.js} +7 -7
  79. package/dist/{chunk-GKSAEUX6.js.map → chunk-FXOFJ4FS.js.map} +1 -1
  80. package/dist/{chunk-ZOWRACZQ.cjs → chunk-G7OKJDMG.cjs} +5 -5
  81. package/dist/{chunk-ZOWRACZQ.cjs.map → chunk-G7OKJDMG.cjs.map} +1 -1
  82. package/dist/{chunk-MKJPBSID.cjs → chunk-I7SBZJI2.cjs} +4 -4
  83. package/dist/{chunk-MKJPBSID.cjs.map → chunk-I7SBZJI2.cjs.map} +1 -1
  84. package/dist/{chunk-H346QK3V.cjs → chunk-K7YACILO.cjs} +9 -9
  85. package/dist/{chunk-H346QK3V.cjs.map → chunk-K7YACILO.cjs.map} +1 -1
  86. package/dist/{chunk-3KWF25MF.cjs → chunk-MN325MG4.cjs} +313 -246
  87. package/dist/chunk-MN325MG4.cjs.map +1 -0
  88. package/dist/{chunk-KDNRACRG.cjs → chunk-MRUOOAIQ.cjs} +4 -4
  89. package/dist/{chunk-KDNRACRG.cjs.map → chunk-MRUOOAIQ.cjs.map} +1 -1
  90. package/dist/{chunk-HTSJTWUT.js → chunk-OF63ZHSD.js} +4 -4
  91. package/dist/{chunk-HTSJTWUT.js.map → chunk-OF63ZHSD.js.map} +1 -1
  92. package/dist/{chunk-NGA3THGU.cjs → chunk-QR7W37HG.cjs} +14 -14
  93. package/dist/{chunk-NGA3THGU.cjs.map → chunk-QR7W37HG.cjs.map} +1 -1
  94. package/dist/{chunk-QFEO4M5W.js → chunk-RTPMG6LQ.js} +11 -11
  95. package/dist/{chunk-QFEO4M5W.js.map → chunk-RTPMG6LQ.js.map} +1 -1
  96. package/dist/{chunk-PFD4NUYV.js → chunk-SSDHR2C2.js} +3 -3
  97. package/dist/{chunk-PFD4NUYV.js.map → chunk-SSDHR2C2.js.map} +1 -1
  98. package/dist/{chunk-THK3SCQA.js → chunk-SYXTWPX6.js} +5 -5
  99. package/dist/{chunk-THK3SCQA.js.map → chunk-SYXTWPX6.js.map} +1 -1
  100. package/dist/{chunk-XSLQYGNR.cjs → chunk-T3VU3YRQ.cjs} +69 -69
  101. package/dist/{chunk-XSLQYGNR.cjs.map → chunk-T3VU3YRQ.cjs.map} +1 -1
  102. package/dist/{chunk-MIBWA6HX.js → chunk-TR7QTODF.js} +213 -33
  103. package/dist/chunk-TR7QTODF.js.map +1 -0
  104. package/dist/{chunk-AD3NLSV5.js → chunk-TU22BFMP.js} +8 -2
  105. package/dist/chunk-TU22BFMP.js.map +1 -0
  106. package/dist/{chunk-WTMSUIRO.js → chunk-UFKYMQJ5.js} +3 -3
  107. package/dist/{chunk-WTMSUIRO.js.map → chunk-UFKYMQJ5.js.map} +1 -1
  108. package/dist/{chunk-35LDKSMM.cjs → chunk-VNJMM2QQ.cjs} +30 -30
  109. package/dist/{chunk-35LDKSMM.cjs.map → chunk-VNJMM2QQ.cjs.map} +1 -1
  110. package/dist/{chunk-53ZEBIMD.js → chunk-WB55URNM.js} +6 -6
  111. package/dist/{chunk-53ZEBIMD.js.map → chunk-WB55URNM.js.map} +1 -1
  112. package/dist/{chunk-L2GBVYRU.cjs → chunk-WWSYGZED.cjs} +11 -11
  113. package/dist/{chunk-L2GBVYRU.cjs.map → chunk-WWSYGZED.cjs.map} +1 -1
  114. package/dist/{chunk-D2JPOFRZ.cjs → chunk-WY3IFEKV.cjs} +191 -191
  115. package/dist/{chunk-D2JPOFRZ.cjs.map → chunk-WY3IFEKV.cjs.map} +1 -1
  116. package/dist/{chunk-3RSFLZ7A.cjs → chunk-Y4X6ODVY.cjs} +943 -763
  117. package/dist/chunk-Y4X6ODVY.cjs.map +1 -0
  118. package/dist/{chunk-VZRXXABW.js → chunk-YHMXF7OZ.js} +5 -5
  119. package/dist/{chunk-VZRXXABW.js.map → chunk-YHMXF7OZ.js.map} +1 -1
  120. package/dist/{chunk-VROJKWZ7.js → chunk-ZONDBN6H.js} +5 -5
  121. package/dist/{chunk-VROJKWZ7.js.map → chunk-ZONDBN6H.js.map} +1 -1
  122. package/dist/core/index.d.cts +3 -3
  123. package/dist/core/index.d.ts +3 -3
  124. package/dist/{ddl-DvW9aobX.d.ts → ddl-2q7xLM1X.d.ts} +3 -3
  125. package/dist/{ddl-BjuXbPfw.d.cts → ddl-D_09BfbN.d.cts} +3 -3
  126. package/dist/graph-extension/index.d.cts +2 -2
  127. package/dist/graph-extension/index.d.ts +2 -2
  128. package/dist/graph-merge/index.cjs +156 -156
  129. package/dist/graph-merge/index.d.cts +7 -7
  130. package/dist/graph-merge/index.d.ts +7 -7
  131. package/dist/graph-merge/index.js +14 -14
  132. package/dist/{graph-templates-1vMqlPsu.d.cts → graph-templates-B5Q7oYAA.d.cts} +2 -2
  133. package/dist/{graph-templates-Y52w16dH.d.ts → graph-templates-D9N-Z9kw.d.ts} +2 -2
  134. package/dist/index.cjs +99 -99
  135. package/dist/index.d.cts +10 -10
  136. package/dist/index.d.ts +10 -10
  137. package/dist/index.js +18 -18
  138. package/dist/indexes/index.d.cts +4 -4
  139. package/dist/indexes/index.d.ts +4 -4
  140. package/dist/{ingestion-import-target-CCKeXZbW.d.ts → ingestion-import-target-B8EU6ug2.d.ts} +1 -1
  141. package/dist/{ingestion-import-target-774QRgkF.d.cts → ingestion-import-target-C5sHNFJF.d.cts} +1 -1
  142. package/dist/interchange/index.cjs +34 -34
  143. package/dist/interchange/index.d.cts +7 -7
  144. package/dist/interchange/index.d.ts +7 -7
  145. package/dist/interchange/index.js +11 -11
  146. package/dist/{local-store-impl-DFKS7QTV.js → local-store-impl-ERPNYOCL.js} +18 -18
  147. package/dist/{local-store-impl-DFKS7QTV.js.map → local-store-impl-ERPNYOCL.js.map} +1 -1
  148. package/dist/{local-store-impl-3E4VLFCI.cjs → local-store-impl-OUINMCYI.cjs} +22 -22
  149. package/dist/{local-store-impl-3E4VLFCI.cjs.map → local-store-impl-OUINMCYI.cjs.map} +1 -1
  150. package/dist/{pglite-store-impl-N63GGBU2.js → pglite-store-impl-DUJBQZS5.js} +18 -18
  151. package/dist/{pglite-store-impl-N63GGBU2.js.map → pglite-store-impl-DUJBQZS5.js.map} +1 -1
  152. package/dist/{pglite-store-impl-T75O3LVQ.cjs → pglite-store-impl-Z3SOOP75.cjs} +22 -22
  153. package/dist/{pglite-store-impl-T75O3LVQ.cjs.map → pglite-store-impl-Z3SOOP75.cjs.map} +1 -1
  154. package/dist/{postgres-C9gitL71.d.ts → postgres-BbTYW3b_.d.ts} +3 -3
  155. package/dist/{postgres-BONrXHb4.d.cts → postgres-DOBXcZVg.d.cts} +1 -1
  156. package/dist/{postgres-DAFRdnTr.d.ts → postgres-DhZixg92.d.ts} +1 -1
  157. package/dist/{postgres-2FYdVYCm.d.cts → postgres-Dp3MpyJt.d.cts} +3 -3
  158. package/dist/{profile-CAD65CqS.d.ts → profile-Ch5SSewK.d.ts} +8 -8
  159. package/dist/{profile-Bmcg07Ki.d.cts → profile-DppApFgt.d.cts} +8 -8
  160. package/dist/profiler/index.d.cts +8 -8
  161. package/dist/profiler/index.d.ts +8 -8
  162. package/dist/provenance/index.cjs +22 -22
  163. package/dist/provenance/index.d.cts +6 -6
  164. package/dist/provenance/index.d.ts +6 -6
  165. package/dist/provenance/index.js +6 -6
  166. package/dist/{repair-validity-windows-CinP91t7.d.cts → repair-validity-windows-CpP_GpIx.d.cts} +1 -1
  167. package/dist/{repair-validity-windows-BJz4nffP.d.ts → repair-validity-windows-lfe275bY.d.ts} +1 -1
  168. package/dist/{resolve-DgOSlXx_.d.ts → resolve-CoYqHqno.d.cts} +7 -2
  169. package/dist/{resolve-DQXSEN_A.d.cts → resolve-DV0Iposp.d.ts} +7 -2
  170. package/dist/schema/index.cjs +37 -37
  171. package/dist/schema/index.d.cts +7 -7
  172. package/dist/schema/index.d.ts +7 -7
  173. package/dist/schema/index.js +7 -7
  174. package/dist/{searchable-DMdCwkXO.d.cts → searchable-C7Xt6g45.d.cts} +1 -1
  175. package/dist/{searchable-BPRF0Bah.d.ts → searchable-KKXrPet3.d.ts} +1 -1
  176. package/dist/{sqlite-DgbYa-1Y.d.cts → sqlite-BkQM9ZeI.d.cts} +1 -1
  177. package/dist/{sqlite-Co_uIpfs.d.cts → sqlite-BpRtjC36.d.cts} +3 -3
  178. package/dist/{sqlite-DcDAAYow.d.ts → sqlite-CH0Zq0Qv.d.ts} +3 -3
  179. package/dist/{sqlite-UlG5prJQ.d.ts → sqlite-CcCSeXGg.d.ts} +1 -1
  180. package/dist/{store-HxoFyQMu.d.cts → store-3nfPQK5j.d.cts} +30 -7
  181. package/dist/{store-C9T1c9Az.d.ts → store-C8ZPl7OW.d.ts} +30 -7
  182. package/dist/{types-CRCyg1fJ.d.cts → types-BynPp5kU.d.cts} +18 -2
  183. package/dist/{types-CRCyg1fJ.d.ts → types-BynPp5kU.d.ts} +18 -2
  184. package/dist/{types-Dg_prBqC.d.ts → types-C9YwrkSe.d.ts} +1 -1
  185. package/dist/{types-B5AUesS1.d.cts → types-JG-4CG6P.d.cts} +1 -1
  186. package/dist/{where-gRyc3jj_.d.cts → where-D1gBDqQ_.d.cts} +1 -1
  187. package/dist/{where-D-NDKMPw.d.ts → where-D2GqMFp-.d.ts} +1 -1
  188. package/package.json +1 -1
  189. package/dist/chunk-337ONI2I.js.map +0 -1
  190. package/dist/chunk-3KWF25MF.cjs.map +0 -1
  191. package/dist/chunk-3RSFLZ7A.cjs.map +0 -1
  192. package/dist/chunk-AD3NLSV5.js.map +0 -1
  193. package/dist/chunk-BWQA3POT.cjs.map +0 -1
  194. package/dist/chunk-MIBWA6HX.js.map +0 -1
  195. package/dist/chunk-OC5ROP7V.cjs.map +0 -1
  196. package/dist/chunk-PFXNQFFY.js.map +0 -1
@@ -1,27 +1,27 @@
1
- import { createLocalSqliteBackend } from './chunk-VZRXXABW.js';
1
+ import { createLocalSqliteBackend } from './chunk-YHMXF7OZ.js';
2
2
  import './chunk-H4FY6OZK.js';
3
- import { createSqliteTables } from './chunk-PFXNQFFY.js';
3
+ import { createSqliteTables } from './chunk-2DJKHZQ4.js';
4
4
  import './chunk-DX6DIU2S.js';
5
- import { createStoreWithSchema } from './chunk-MIBWA6HX.js';
5
+ import { createStoreWithSchema } from './chunk-TR7QTODF.js';
6
6
  import './chunk-JVWXWAV5.js';
7
7
  import './chunk-D2DMFIH2.js';
8
- import './chunk-HTSJTWUT.js';
8
+ import './chunk-OF63ZHSD.js';
9
9
  import './chunk-XELE7ZOX.js';
10
- import './chunk-BBOMNH44.js';
11
- import './chunk-QFEO4M5W.js';
12
- import './chunk-GKSAEUX6.js';
13
- import './chunk-RQPCUHIH.js';
14
- import './chunk-G6T23JU7.js';
10
+ import './chunk-BABP4D5B.js';
11
+ import './chunk-RTPMG6LQ.js';
12
+ import './chunk-FXOFJ4FS.js';
13
+ import './chunk-6ECNYQDW.js';
14
+ import './chunk-CDKNGCE7.js';
15
15
  import './chunk-N535PWMA.js';
16
- import './chunk-WTMSUIRO.js';
17
- import './chunk-53ZEBIMD.js';
16
+ import './chunk-UFKYMQJ5.js';
17
+ import './chunk-WB55URNM.js';
18
18
  import './chunk-RFMSZ7CF.js';
19
19
  import './chunk-Q2SPDS3B.js';
20
- import './chunk-THK3SCQA.js';
21
- import './chunk-337ONI2I.js';
22
- import './chunk-4VTCIEK3.js';
23
- import './chunk-EVGZ2TRQ.js';
24
- import { closeAfterFailure } from './chunk-AD3NLSV5.js';
20
+ import './chunk-SYXTWPX6.js';
21
+ import './chunk-3SUZXB5X.js';
22
+ import './chunk-4TQOIBWH.js';
23
+ import './chunk-BE75G3M5.js';
24
+ import { closeAfterFailure } from './chunk-TU22BFMP.js';
25
25
  import './chunk-NMRLVAVN.js';
26
26
  import './chunk-OXJNL2PW.js';
27
27
  import './chunk-CY657YYY.js';
@@ -79,5 +79,5 @@ async function createLocalSqliteStoreImpl(graph, options) {
79
79
  }
80
80
 
81
81
  export { createLocalSqliteStoreImpl };
82
- //# sourceMappingURL=local-store-impl-DFKS7QTV.js.map
83
- //# sourceMappingURL=local-store-impl-DFKS7QTV.js.map
82
+ //# sourceMappingURL=local-store-impl-ERPNYOCL.js.map
83
+ //# sourceMappingURL=local-store-impl-ERPNYOCL.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,kBAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,wBAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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":"local-store-impl-DFKS7QTV.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\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/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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/sqlite/local-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACA,kBAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAI,wBAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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":"local-store-impl-ERPNYOCL.js","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\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/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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,29 +1,29 @@
1
1
  'use strict';
2
2
 
3
- var chunkJERQGJKG_cjs = require('./chunk-JERQGJKG.cjs');
3
+ var chunkANMCKLZQ_cjs = require('./chunk-ANMCKLZQ.cjs');
4
4
  require('./chunk-QCD5JKU4.cjs');
5
- var chunk3KWF25MF_cjs = require('./chunk-3KWF25MF.cjs');
5
+ var chunkMN325MG4_cjs = require('./chunk-MN325MG4.cjs');
6
6
  require('./chunk-DCYIUKIM.cjs');
7
- var chunk3RSFLZ7A_cjs = require('./chunk-3RSFLZ7A.cjs');
7
+ var chunkY4X6ODVY_cjs = require('./chunk-Y4X6ODVY.cjs');
8
8
  require('./chunk-CBHZX3G5.cjs');
9
9
  require('./chunk-FZKXBPTS.cjs');
10
- require('./chunk-DSX3P4S5.cjs');
10
+ require('./chunk-76OB5RSH.cjs');
11
11
  require('./chunk-2XQYRCPM.cjs');
12
- require('./chunk-BNTJ5YFO.cjs');
13
- require('./chunk-D2JPOFRZ.cjs');
14
- require('./chunk-35LDKSMM.cjs');
15
- require('./chunk-MKJPBSID.cjs');
16
- require('./chunk-ZOWRACZQ.cjs');
12
+ require('./chunk-EACDHXJL.cjs');
13
+ require('./chunk-WY3IFEKV.cjs');
14
+ require('./chunk-VNJMM2QQ.cjs');
15
+ require('./chunk-I7SBZJI2.cjs');
16
+ require('./chunk-G7OKJDMG.cjs');
17
17
  require('./chunk-R255UE5U.cjs');
18
- require('./chunk-KDNRACRG.cjs');
19
- require('./chunk-FXGZT3WO.cjs');
18
+ require('./chunk-MRUOOAIQ.cjs');
19
+ require('./chunk-BX42F7IJ.cjs');
20
20
  require('./chunk-6YKISECL.cjs');
21
21
  require('./chunk-ICOTLZBV.cjs');
22
- require('./chunk-SNDJUTMB.cjs');
23
- require('./chunk-BWQA3POT.cjs');
24
- require('./chunk-JRWKRBI5.cjs');
25
- require('./chunk-DHRLOQLQ.cjs');
26
- var chunkOC5ROP7V_cjs = require('./chunk-OC5ROP7V.cjs');
22
+ require('./chunk-EBQX7MYL.cjs');
23
+ require('./chunk-6B3LQUYG.cjs');
24
+ require('./chunk-5JOCIMQ3.cjs');
25
+ require('./chunk-7LQTDGV5.cjs');
26
+ var chunk6JRVV2SS_cjs = require('./chunk-6JRVV2SS.cjs');
27
27
  require('./chunk-7D2ZLF4O.cjs');
28
28
  require('./chunk-5ICDVLI3.cjs');
29
29
  require('./chunk-L4L4AV6F.cjs');
@@ -58,8 +58,8 @@ function withoutSchemaOverride(schemaManagement) {
58
58
  return rest;
59
59
  }
60
60
  async function createLocalSqliteStoreImpl(graph, options) {
61
- const tables = options.store?.schema === void 0 ? void 0 : chunk3KWF25MF_cjs.createSqliteTables(options.store.schema.tables);
62
- const { backend } = chunkJERQGJKG_cjs.createLocalSqliteBackend({
61
+ const tables = options.store?.schema === void 0 ? void 0 : chunkMN325MG4_cjs.createSqliteTables(options.store.schema.tables);
62
+ const { backend } = chunkANMCKLZQ_cjs.createLocalSqliteBackend({
63
63
  ...options.path === void 0 ? {} : { path: options.path },
64
64
  ...options.pragmas === void 0 ? {} : { pragmas: options.pragmas },
65
65
  ...options.capabilities === void 0 ? {} : { capabilities: options.capabilities },
@@ -67,7 +67,7 @@ async function createLocalSqliteStoreImpl(graph, options) {
67
67
  ...tables === void 0 ? {} : { tables }
68
68
  });
69
69
  try {
70
- const [store] = await chunk3RSFLZ7A_cjs.createStoreWithSchema(graph, backend, {
70
+ const [store] = await chunkY4X6ODVY_cjs.createStoreWithSchema(graph, backend, {
71
71
  ...options.store,
72
72
  // The type already excludes `schema` here; the runtime strip guards
73
73
  // untyped callers, so the provisioned schema (or the default tables)
@@ -76,10 +76,10 @@ async function createLocalSqliteStoreImpl(graph, options) {
76
76
  });
77
77
  return store;
78
78
  } catch (error) {
79
- return chunkOC5ROP7V_cjs.closeAfterFailure(backend, error);
79
+ return chunk6JRVV2SS_cjs.closeAfterFailure(backend, error);
80
80
  }
81
81
  }
82
82
 
83
83
  exports.createLocalSqliteStoreImpl = createLocalSqliteStoreImpl;
84
- //# sourceMappingURL=local-store-impl-3E4VLFCI.cjs.map
85
- //# sourceMappingURL=local-store-impl-3E4VLFCI.cjs.map
84
+ //# sourceMappingURL=local-store-impl-OUINMCYI.cjs.map
85
+ //# sourceMappingURL=local-store-impl-OUINMCYI.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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":"local-store-impl-3E4VLFCI.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\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/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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/sqlite/local-store-impl.ts"],"names":["createSqliteTables","createLocalSqliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;AAC5D,EAAA,MAAM,MAAA,GACJ,OAAA,CAAQ,KAAA,EAAO,MAAA,KAAW,MAAA,GACxB,SACAA,oCAAA,CAAmB,OAAA,CAAQ,KAAA,CAAM,MAAA,CAAO,MAAM,CAAA;AAClD,EAAA,MAAM,EAAE,OAAA,EAAQ,GAAIC,0CAAA,CAAyB;AAAA,IAC3C,GAAI,QAAQ,IAAA,KAAS,MAAA,GAAY,EAAC,GAAI,EAAE,IAAA,EAAM,OAAA,CAAQ,IAAA,EAAK;AAAA,IAC3D,GAAI,QAAQ,OAAA,KAAY,MAAA,GAAY,EAAC,GAAI,EAAE,OAAA,EAAS,OAAA,CAAQ,OAAA,EAAQ;AAAA,IACpE,GAAI,QAAQ,YAAA,KAAiB,MAAA,GAC3B,EAAC,GACD,EAAE,YAAA,EAAc,OAAA,CAAQ,YAAA,EAAa;AAAA,IACvC,GAAI,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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":"local-store-impl-OUINMCYI.cjs","sourcesContent":["/**\n * `createLocalSqliteStore`'s implementation body, loaded behind a dynamic\n * import from `./local-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `local-store.ts` must hold no static reference to this module\n * — only the `import(\"./local-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createSqliteTables } from \"../drizzle/schema/sqlite\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalSqliteBackend } from \"./local\";\n// Type-only import: the option types are defined in `local-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalSqliteStoreOptions } from \"./local-store\";\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/** {@link createLocalSqliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalSqliteStoreImpl<G extends GraphDef>(\n graph: G,\n options: LocalSqliteStoreOptions,\n): Promise<Store<G> | HistoryStore<G> | RecordedReadStore<G>> {\n const tables =\n options.store?.schema === undefined ?\n undefined\n : createSqliteTables(options.store.schema.tables);\n const { backend } = createLocalSqliteBackend({\n ...(options.path === undefined ? {} : { path: options.path }),\n ...(options.pragmas === undefined ? {} : { pragmas: options.pragmas }),\n ...(options.capabilities === undefined ?\n {}\n : { capabilities: options.capabilities }),\n ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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,25 +1,25 @@
1
- import { createLocalPgliteBackend } from './chunk-VROJKWZ7.js';
2
- import { createPostgresTables } from './chunk-PFXNQFFY.js';
1
+ import { createLocalPgliteBackend } from './chunk-ZONDBN6H.js';
2
+ import { createPostgresTables } from './chunk-2DJKHZQ4.js';
3
3
  import './chunk-DX6DIU2S.js';
4
- import { createStoreWithSchema } from './chunk-MIBWA6HX.js';
4
+ import { createStoreWithSchema } from './chunk-TR7QTODF.js';
5
5
  import './chunk-D2DMFIH2.js';
6
- import './chunk-HTSJTWUT.js';
6
+ import './chunk-OF63ZHSD.js';
7
7
  import './chunk-XELE7ZOX.js';
8
- import './chunk-BBOMNH44.js';
9
- import './chunk-QFEO4M5W.js';
10
- import './chunk-GKSAEUX6.js';
11
- import './chunk-RQPCUHIH.js';
12
- import './chunk-G6T23JU7.js';
8
+ import './chunk-BABP4D5B.js';
9
+ import './chunk-RTPMG6LQ.js';
10
+ import './chunk-FXOFJ4FS.js';
11
+ import './chunk-6ECNYQDW.js';
12
+ import './chunk-CDKNGCE7.js';
13
13
  import './chunk-N535PWMA.js';
14
- import './chunk-WTMSUIRO.js';
15
- import './chunk-53ZEBIMD.js';
14
+ import './chunk-UFKYMQJ5.js';
15
+ import './chunk-WB55URNM.js';
16
16
  import './chunk-RFMSZ7CF.js';
17
17
  import './chunk-Q2SPDS3B.js';
18
- import './chunk-THK3SCQA.js';
19
- import './chunk-337ONI2I.js';
20
- import './chunk-4VTCIEK3.js';
21
- import './chunk-EVGZ2TRQ.js';
22
- import { closeAfterFailure } from './chunk-AD3NLSV5.js';
18
+ import './chunk-SYXTWPX6.js';
19
+ import './chunk-3SUZXB5X.js';
20
+ import './chunk-4TQOIBWH.js';
21
+ import './chunk-BE75G3M5.js';
22
+ import { closeAfterFailure } from './chunk-TU22BFMP.js';
23
23
  import './chunk-NMRLVAVN.js';
24
24
  import './chunk-OXJNL2PW.js';
25
25
  import './chunk-CY657YYY.js';
@@ -76,5 +76,5 @@ async function createLocalPgliteStoreImpl(graph, options) {
76
76
  }
77
77
 
78
78
  export { createLocalPgliteStoreImpl };
79
- //# sourceMappingURL=pglite-store-impl-N63GGBU2.js.map
80
- //# sourceMappingURL=pglite-store-impl-N63GGBU2.js.map
79
+ //# sourceMappingURL=pglite-store-impl-DUJBQZS5.js.map
80
+ //# sourceMappingURL=pglite-store-impl-DUJBQZS5.js.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;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,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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-impl-N63GGBU2.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\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/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<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 ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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-impl.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;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,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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-impl-DUJBQZS5.js","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\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/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<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 ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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,27 +1,27 @@
1
1
  'use strict';
2
2
 
3
- var chunkL2GBVYRU_cjs = require('./chunk-L2GBVYRU.cjs');
4
- var chunk3KWF25MF_cjs = require('./chunk-3KWF25MF.cjs');
3
+ var chunkWWSYGZED_cjs = require('./chunk-WWSYGZED.cjs');
4
+ var chunkMN325MG4_cjs = require('./chunk-MN325MG4.cjs');
5
5
  require('./chunk-DCYIUKIM.cjs');
6
- var chunk3RSFLZ7A_cjs = require('./chunk-3RSFLZ7A.cjs');
6
+ var chunkY4X6ODVY_cjs = require('./chunk-Y4X6ODVY.cjs');
7
7
  require('./chunk-FZKXBPTS.cjs');
8
- require('./chunk-DSX3P4S5.cjs');
8
+ require('./chunk-76OB5RSH.cjs');
9
9
  require('./chunk-2XQYRCPM.cjs');
10
- require('./chunk-BNTJ5YFO.cjs');
11
- require('./chunk-D2JPOFRZ.cjs');
12
- require('./chunk-35LDKSMM.cjs');
13
- require('./chunk-MKJPBSID.cjs');
14
- require('./chunk-ZOWRACZQ.cjs');
10
+ require('./chunk-EACDHXJL.cjs');
11
+ require('./chunk-WY3IFEKV.cjs');
12
+ require('./chunk-VNJMM2QQ.cjs');
13
+ require('./chunk-I7SBZJI2.cjs');
14
+ require('./chunk-G7OKJDMG.cjs');
15
15
  require('./chunk-R255UE5U.cjs');
16
- require('./chunk-KDNRACRG.cjs');
17
- require('./chunk-FXGZT3WO.cjs');
16
+ require('./chunk-MRUOOAIQ.cjs');
17
+ require('./chunk-BX42F7IJ.cjs');
18
18
  require('./chunk-6YKISECL.cjs');
19
19
  require('./chunk-ICOTLZBV.cjs');
20
- require('./chunk-SNDJUTMB.cjs');
21
- require('./chunk-BWQA3POT.cjs');
22
- require('./chunk-JRWKRBI5.cjs');
23
- require('./chunk-DHRLOQLQ.cjs');
24
- var chunkOC5ROP7V_cjs = require('./chunk-OC5ROP7V.cjs');
20
+ require('./chunk-EBQX7MYL.cjs');
21
+ require('./chunk-6B3LQUYG.cjs');
22
+ require('./chunk-5JOCIMQ3.cjs');
23
+ require('./chunk-7LQTDGV5.cjs');
24
+ var chunk6JRVV2SS_cjs = require('./chunk-6JRVV2SS.cjs');
25
25
  require('./chunk-7D2ZLF4O.cjs');
26
26
  require('./chunk-5ICDVLI3.cjs');
27
27
  require('./chunk-L4L4AV6F.cjs');
@@ -56,15 +56,15 @@ function withoutSchemaOverride(schemaManagement) {
56
56
  return rest;
57
57
  }
58
58
  async function createLocalPgliteStoreImpl(graph, options) {
59
- const tables = options.store?.schema === void 0 ? void 0 : chunk3KWF25MF_cjs.createPostgresTables(options.store.schema.tables);
60
- const { backend } = await chunkL2GBVYRU_cjs.createLocalPgliteBackend({
59
+ const tables = options.store?.schema === void 0 ? void 0 : chunkMN325MG4_cjs.createPostgresTables(options.store.schema.tables);
60
+ const { backend } = await chunkWWSYGZED_cjs.createLocalPgliteBackend({
61
61
  ...options.dataDir === void 0 ? {} : { dataDir: options.dataDir },
62
62
  ...options.vector === false ? { vector: false } : {},
63
63
  ...options.fulltext === void 0 ? {} : { fulltext: options.fulltext },
64
64
  ...tables === void 0 ? {} : { tables }
65
65
  });
66
66
  try {
67
- const [store] = await chunk3RSFLZ7A_cjs.createStoreWithSchema(graph, backend, {
67
+ const [store] = await chunkY4X6ODVY_cjs.createStoreWithSchema(graph, backend, {
68
68
  ...options.store,
69
69
  // The type already excludes `schema` here; the runtime strip guards
70
70
  // untyped callers, so the provisioned schema (or the default tables)
@@ -73,10 +73,10 @@ async function createLocalPgliteStoreImpl(graph, options) {
73
73
  });
74
74
  return store;
75
75
  } catch (error) {
76
- return chunkOC5ROP7V_cjs.closeAfterFailure(backend, error);
76
+ return chunk6JRVV2SS_cjs.closeAfterFailure(backend, error);
77
77
  }
78
78
  }
79
79
 
80
80
  exports.createLocalPgliteStoreImpl = createLocalPgliteStoreImpl;
81
- //# sourceMappingURL=pglite-store-impl-T75O3LVQ.cjs.map
82
- //# sourceMappingURL=pglite-store-impl-T75O3LVQ.cjs.map
81
+ //# sourceMappingURL=pglite-store-impl-Z3SOOP75.cjs.map
82
+ //# sourceMappingURL=pglite-store-impl-Z3SOOP75.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/backend/postgres/pglite-store-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;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,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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-impl-T75O3LVQ.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\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/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<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 ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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-impl.ts"],"names":["createPostgresTables","createLocalPgliteBackend","createStoreWithSchema","closeAfterFailure"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,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;AAGA,eAAsB,0BAAA,CACpB,OACA,OAAA,EAC4D;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,QAAQ,QAAA,KAAa,MAAA,GAAY,EAAC,GAAI,EAAE,QAAA,EAAU,OAAA,CAAQ,QAAA,EAAS;AAAA,IACvE,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-impl-Z3SOOP75.cjs","sourcesContent":["/**\n * `createLocalPgliteStore`'s implementation body, loaded behind a dynamic\n * import from `./pglite-store.ts` so a missing `drizzle-orm` peer surfaces as\n * a typed refusal rather than a bare module-resolution stack (design §4.4b).\n *\n * This module owns every value import that reaches `drizzle-orm` for this\n * entrypoint. `pglite-store.ts` must hold no static reference to this module\n * — only the `import(\"./pglite-store-impl\")` expression inside its factory —\n * so the dynamic import survives into its own chunk in both the ESM and CJS\n * shipped artifacts (I12).\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 { createPostgresTables } from \"../drizzle/schema/postgres\";\nimport { closeAfterFailure } from \"../types\";\nimport { createLocalPgliteBackend } from \"./pglite\";\n// Type-only import: the option types are defined in `pglite-store.ts`, which\n// is this module's ONLY caller. A static value import in the other direction\n// would give `collectModuleEdges` a real edge from the store module to this\n// one, turning I12's `load` verdict dirty; a type-only import is erased at\n// runtime (no `verbatimModuleSyntax` in `tsconfig.base.json`), so this\n// back-edge never becomes a value cycle — the same precedent documented at\n// `src/errors/index.ts:26-29`.\nimport type { LocalPgliteStoreOptions } from \"./pglite-store\";\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/** {@link createLocalPgliteStore}'s implementation body, verbatim from before the split. */\nexport async function createLocalPgliteStoreImpl<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 ...(options.fulltext === undefined ? {} : { fulltext: options.fulltext }),\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,6 +1,6 @@
1
- import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-CRCyg1fJ.js';
2
- import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-CAD65CqS.js';
3
- import { a as PostgresTables } from './postgres-DAFRdnTr.js';
1
+ import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.js';
2
+ import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-Ch5SSewK.js';
3
+ import { a as PostgresTables } from './postgres-DhZixg92.js';
4
4
  import { A as AnyPgDatabase, a as AnyPgTransaction } from './postgres-execution-fKW0qRiN.js';
5
5
 
6
6
  /**
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
2
- import { I as IndexDeclaration } from './types-CRCyg1fJ.cjs';
2
+ import { I as IndexDeclaration } from './types-BynPp5kU.cjs';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
2
- import { I as IndexDeclaration } from './types-CRCyg1fJ.js';
2
+ import { I as IndexDeclaration } from './types-BynPp5kU.js';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -1,6 +1,6 @@
1
- import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-CRCyg1fJ.cjs';
2
- import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-Bmcg07Ki.cjs';
3
- import { a as PostgresTables } from './postgres-BONrXHb4.cjs';
1
+ import { S as SchemaProvisioning, d as FulltextStrategy, V as VectorStrategy, B as BundledBackendCapabilityOverrides, A as AdapterBackend } from './types-BynPp5kU.cjs';
2
+ import { S as SerializedResourceDeclaration, a as SqlEngineProfile } from './profile-DppApFgt.cjs';
3
+ import { a as PostgresTables } from './postgres-DOBXcZVg.cjs';
4
4
  import { A as AnyPgDatabase, a as AnyPgTransaction } from './postgres-execution-fKW0qRiN.cjs';
5
5
 
6
6
  /**
@@ -1,6 +1,6 @@
1
- import { dT as SqlFragment, aZ as Cardinality, N as NodeInsertClaim, m as InsertEdgeParams, E as EdgeConvergenceMatch, l as SchemaWriteFenceParams, ei as UpsertFulltextParams, bG as DeleteFulltextParams, eh as UpsertFulltextBatchParams, bF as DeleteFulltextBatchParams, cw as FulltextSearchParams, cJ as HybridSearchParams, j as InsertNodeParams, da as ManagedNodeCreatePlan, eb as UpdateNodeParams, b8 as CompareAndSetNodeParams, ec as UpdateNodeSetParams, dG as ResolvedNodeUpdateBatchParams, bH as DeleteNodeParams, cG as HardDeleteNodeParams, o as ClaimEdgeCardinalityParams, ea as UpdateEdgeParams, bC as DeleteEdgeParams, bD as DeleteEdgesBatchParams, cF as HardDeleteEdgeParams, bt as CountEdgesFromParams, bW as EdgeExistsBetweenParams, cq as FindEdgesConnectedToParams, cr as FindNodesByKindParams, bu as CountNodesByKindParams, cp as FindEdgesByKindParams, aO as FindEdgesByEndpointSetParams, co as FindEdgesByHeterogeneousEndpointSetParams, bs as CountEdgesByKindParams, cX as InsertUniqueParams, bI as DeleteUniqueParams, cI as HardDeleteUniquesByNodeIdsParams, cH as HardDeleteUniquesByConcreteKindParams, b2 as CheckUniqueParams, b1 as CheckUniqueBatchParams, dl as PurgeEdgeClaimsParams, F as FenceSql, cW as InsertSchemaParams, dr as RecordContributionMaterializationParams, bi as ContributionMaterializationIdentity, s as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hL as WriteFenceTarget, hM as SchemaWriteTransactionBackend, b9 as CompiledRowsSql, W as WriteFencePlan, f as SchemaVersionRow, ab as SerializedSchema, d$ as TableContribution, ds as RecordIndexMaterializationParams, dt as RecordKindRemovalParams, dH as ResolvedSqlTableNames, a2 as BackendCapabilities, S as SchemaProvisioning, aT as BackendCatalogProbes, d3 as LineageMembers, bZ as EngineRecordedTimeMembers } from './types-CRCyg1fJ.js';
1
+ import { dV as SqlFragment, aZ as Cardinality, N as NodeInsertClaim, m as InsertEdgeParams, E as EdgeConvergenceMatch, l as SchemaWriteFenceParams, ek as UpsertFulltextParams, bG as DeleteFulltextParams, ej as UpsertFulltextBatchParams, bF as DeleteFulltextBatchParams, cw as FulltextSearchParams, cL as HybridSearchParams, j as InsertNodeParams, dc as ManagedNodeCreatePlan, ed as UpdateNodeParams, b8 as CompareAndSetNodeParams, ee as UpdateNodeSetParams, dI as ResolvedNodeUpdateBatchParams, bH as DeleteNodeParams, cG as HardDeleteNodeParams, o as ClaimEdgeCardinalityParams, ec as UpdateEdgeParams, bC as DeleteEdgeParams, bD as DeleteEdgesBatchParams, cF as HardDeleteEdgeParams, bt as CountEdgesFromParams, bW as EdgeExistsBetweenParams, cq as FindEdgesConnectedToParams, cr as FindNodesByKindParams, bu as CountNodesByKindParams, cp as FindEdgesByKindParams, aO as FindEdgesByEndpointSetParams, co as FindEdgesByHeterogeneousEndpointSetParams, bs as CountEdgesByKindParams, cZ as InsertUniqueParams, bI as DeleteUniqueParams, cI as HardDeleteUniquesByNodeIdsParams, cH as HardDeleteUniquesByConcreteKindParams, b2 as CheckUniqueParams, b1 as CheckUniqueBatchParams, dn as PurgeEdgeClaimsParams, F as FenceSql, cY as InsertSchemaParams, dt as RecordContributionMaterializationParams, bi as ContributionMaterializationIdentity, s as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hN as WriteFenceTarget, hO as SchemaWriteTransactionBackend, b9 as CompiledRowsSql, W as WriteFencePlan, f as SchemaVersionRow, ab as SerializedSchema, e1 as TableContribution, du as RecordIndexMaterializationParams, dv as RecordKindRemovalParams, dJ as ResolvedSqlTableNames, a2 as BackendCapabilities, S as SchemaProvisioning, aT as BackendCatalogProbes, d5 as LineageMembers, bZ as EngineRecordedTimeMembers } from './types-BynPp5kU.js';
2
2
  import { SQL, AnyColumn } from 'drizzle-orm';
3
- import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-BznZQ06C.js';
3
+ import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-BhP75Qn0.js';
4
4
 
5
5
  /**
6
6
  * A relation plus the names its PRIMARY KEY constraint can carry — how far a
@@ -512,12 +512,12 @@ type CreateBaseSchemaMembersDeps = Readonly<{
512
512
  */
513
513
  ensureEdgeMatchIdentityStorage: () => Promise<void>;
514
514
  /**
515
- * DDL for version-3 adoption: ensure recorded identity-assertions storage
516
- * and its structural indexes before creating the three changed-since indexes.
517
- * Older installations can lack the identity-assertions relation even with a
518
- * version-1 or version-2 marker: it originally shipped only in bootstrap DDL.
519
- * Dialect factories generate its table and index DDL from the same schema
520
- * definition as bootstrap, then append `sinceIndexAdoptionDdl` for the
515
+ * DDL for version-3 adoption: ensure recorded node, edge, and identity-assertion
516
+ * storage and its structural indexes before creating the changed-since indexes.
517
+ * Older installations can lack these relations even with a version-1 or
518
+ * version-2 marker: they originally shipped only in bootstrap DDL.
519
+ * Dialect factories generate their table and index DDL from the same schema
520
+ * definitions as bootstrap, then append `sinceIndexAdoptionDdl` for the
521
521
  * `(recordedNodes, recordedEdges, recordedIdentityAssertions)` since indexes.
522
522
  * Fresh bootstrap already creates all of this storage, so the statements
523
523
  * are only exercised by offline `adopt()`.
@@ -1,6 +1,6 @@
1
- import { dT as SqlFragment, aZ as Cardinality, N as NodeInsertClaim, m as InsertEdgeParams, E as EdgeConvergenceMatch, l as SchemaWriteFenceParams, ei as UpsertFulltextParams, bG as DeleteFulltextParams, eh as UpsertFulltextBatchParams, bF as DeleteFulltextBatchParams, cw as FulltextSearchParams, cJ as HybridSearchParams, j as InsertNodeParams, da as ManagedNodeCreatePlan, eb as UpdateNodeParams, b8 as CompareAndSetNodeParams, ec as UpdateNodeSetParams, dG as ResolvedNodeUpdateBatchParams, bH as DeleteNodeParams, cG as HardDeleteNodeParams, o as ClaimEdgeCardinalityParams, ea as UpdateEdgeParams, bC as DeleteEdgeParams, bD as DeleteEdgesBatchParams, cF as HardDeleteEdgeParams, bt as CountEdgesFromParams, bW as EdgeExistsBetweenParams, cq as FindEdgesConnectedToParams, cr as FindNodesByKindParams, bu as CountNodesByKindParams, cp as FindEdgesByKindParams, aO as FindEdgesByEndpointSetParams, co as FindEdgesByHeterogeneousEndpointSetParams, bs as CountEdgesByKindParams, cX as InsertUniqueParams, bI as DeleteUniqueParams, cI as HardDeleteUniquesByNodeIdsParams, cH as HardDeleteUniquesByConcreteKindParams, b2 as CheckUniqueParams, b1 as CheckUniqueBatchParams, dl as PurgeEdgeClaimsParams, F as FenceSql, cW as InsertSchemaParams, dr as RecordContributionMaterializationParams, bi as ContributionMaterializationIdentity, s as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hL as WriteFenceTarget, hM as SchemaWriteTransactionBackend, b9 as CompiledRowsSql, W as WriteFencePlan, f as SchemaVersionRow, ab as SerializedSchema, d$ as TableContribution, ds as RecordIndexMaterializationParams, dt as RecordKindRemovalParams, dH as ResolvedSqlTableNames, a2 as BackendCapabilities, S as SchemaProvisioning, aT as BackendCatalogProbes, d3 as LineageMembers, bZ as EngineRecordedTimeMembers } from './types-CRCyg1fJ.cjs';
1
+ import { dV as SqlFragment, aZ as Cardinality, N as NodeInsertClaim, m as InsertEdgeParams, E as EdgeConvergenceMatch, l as SchemaWriteFenceParams, ek as UpsertFulltextParams, bG as DeleteFulltextParams, ej as UpsertFulltextBatchParams, bF as DeleteFulltextBatchParams, cw as FulltextSearchParams, cL as HybridSearchParams, j as InsertNodeParams, dc as ManagedNodeCreatePlan, ed as UpdateNodeParams, b8 as CompareAndSetNodeParams, ee as UpdateNodeSetParams, dI as ResolvedNodeUpdateBatchParams, bH as DeleteNodeParams, cG as HardDeleteNodeParams, o as ClaimEdgeCardinalityParams, ec as UpdateEdgeParams, bC as DeleteEdgeParams, bD as DeleteEdgesBatchParams, cF as HardDeleteEdgeParams, bt as CountEdgesFromParams, bW as EdgeExistsBetweenParams, cq as FindEdgesConnectedToParams, cr as FindNodesByKindParams, bu as CountNodesByKindParams, cp as FindEdgesByKindParams, aO as FindEdgesByEndpointSetParams, co as FindEdgesByHeterogeneousEndpointSetParams, bs as CountEdgesByKindParams, cZ as InsertUniqueParams, bI as DeleteUniqueParams, cI as HardDeleteUniquesByNodeIdsParams, cH as HardDeleteUniquesByConcreteKindParams, b2 as CheckUniqueParams, b1 as CheckUniqueBatchParams, dn as PurgeEdgeClaimsParams, F as FenceSql, cY as InsertSchemaParams, dt as RecordContributionMaterializationParams, bi as ContributionMaterializationIdentity, s as SqlDialect, d as FulltextStrategy, V as VectorStrategy, hN as WriteFenceTarget, hO as SchemaWriteTransactionBackend, b9 as CompiledRowsSql, W as WriteFencePlan, f as SchemaVersionRow, ab as SerializedSchema, e1 as TableContribution, du as RecordIndexMaterializationParams, dv as RecordKindRemovalParams, dJ as ResolvedSqlTableNames, a2 as BackendCapabilities, S as SchemaProvisioning, aT as BackendCatalogProbes, d5 as LineageMembers, bZ as EngineRecordedTimeMembers } from './types-BynPp5kU.cjs';
2
2
  import { SQL, AnyColumn } from 'drizzle-orm';
3
- import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-Bfu5z-je.cjs';
3
+ import { C as CompiledAtomicSqlStatement, a as AtomicSqlBatchExecutor, Z as AtomicNodePostimageEntry, x as AtomicNodeBatchEntry, k as AtomicEdgeConvergenceEntry, K as AtomicNodeProjectionFamily, R as AtomicNodeResolvedUpdateEntry, D as AtomicNodeBatchResultMode, N as AtomicNodeReplacementEntry, H as AtomicNodeDeleteBatchInput, v as AtomicEdgeResolvedUpdateEntry, p as AtomicEdgeDeleteBatchInput } from './atomic-mutation-program-DMdmc4s0.cjs';
4
4
 
5
5
  /**
6
6
  * A relation plus the names its PRIMARY KEY constraint can carry — how far a
@@ -512,12 +512,12 @@ type CreateBaseSchemaMembersDeps = Readonly<{
512
512
  */
513
513
  ensureEdgeMatchIdentityStorage: () => Promise<void>;
514
514
  /**
515
- * DDL for version-3 adoption: ensure recorded identity-assertions storage
516
- * and its structural indexes before creating the three changed-since indexes.
517
- * Older installations can lack the identity-assertions relation even with a
518
- * version-1 or version-2 marker: it originally shipped only in bootstrap DDL.
519
- * Dialect factories generate its table and index DDL from the same schema
520
- * definition as bootstrap, then append `sinceIndexAdoptionDdl` for the
515
+ * DDL for version-3 adoption: ensure recorded node, edge, and identity-assertion
516
+ * storage and its structural indexes before creating the changed-since indexes.
517
+ * Older installations can lack these relations even with a version-1 or
518
+ * version-2 marker: they originally shipped only in bootstrap DDL.
519
+ * Dialect factories generate their table and index DDL from the same schema
520
+ * definitions as bootstrap, then append `sinceIndexAdoptionDdl` for the
521
521
  * `(recordedNodes, recordedEdges, recordedIdentityAssertions)` since indexes.
522
522
  * Fresh bootstrap already creates all of this storage, so the statements
523
523
  * are only exercised by offline `adopt()`.
@@ -1,12 +1,12 @@
1
- import { e as GraphDef, Q as QueryAst } from '../types-CRCyg1fJ.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-CRCyg1fJ.cjs';
3
- import { b as Store } from '../store-HxoFyQMu.cjs';
4
- export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-HxoFyQMu.cjs';
5
- import { P as ProfilerOptions, a as ProfileReport } from '../types-B5AUesS1.cjs';
6
- export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-B5AUesS1.cjs';
1
+ import { e as GraphDef, Q as QueryAst } from '../types-BynPp5kU.cjs';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-BynPp5kU.cjs';
3
+ import { b as Store } from '../store-3nfPQK5j.cjs';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-3nfPQK5j.cjs';
5
+ import { P as ProfilerOptions, a as ProfileReport } from '../types-JG-4CG6P.cjs';
6
+ export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-JG-4CG6P.cjs';
7
7
  import 'zod';
8
- import '../searchable-DMdCwkXO.cjs';
9
- import '../resolve-DQXSEN_A.cjs';
8
+ import '../searchable-C7Xt6g45.cjs';
9
+ import '../resolve-CoYqHqno.cjs';
10
10
 
11
11
  /**
12
12
  * A Store with profiling capabilities.
@@ -1,12 +1,12 @@
1
- import { e as GraphDef, Q as QueryAst } from '../types-CRCyg1fJ.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-CRCyg1fJ.js';
3
- import { b as Store } from '../store-C9T1c9Az.js';
4
- export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-C9T1c9Az.js';
5
- import { P as ProfilerOptions, a as ProfileReport } from '../types-Dg_prBqC.js';
6
- export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-Dg_prBqC.js';
1
+ import { e as GraphDef, Q as QueryAst } from '../types-BynPp5kU.js';
2
+ export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult } from '../types-BynPp5kU.js';
3
+ import { b as Store } from '../store-C8ZPl7OW.js';
4
+ export { B as BatchReadBuilder, C as CompiledOneStatementRead } from '../store-C8ZPl7OW.js';
5
+ import { P as ProfilerOptions, a as ProfileReport } from '../types-C9YwrkSe.js';
6
+ export { D as DeclaredIndex, I as IndexRecommendation, b as ProfileSummary, c as PropertyAccessStats, d as PropertyPath, R as RecommendationPriority, U as UsageContext } from '../types-C9YwrkSe.js';
7
7
  import 'zod';
8
- import '../searchable-BPRF0Bah.js';
9
- import '../resolve-DgOSlXx_.js';
8
+ import '../searchable-KKXrPet3.js';
9
+ import '../resolve-DV0Iposp.js';
10
10
 
11
11
  /**
12
12
  * A Store with profiling capabilities.