@nicia-ai/typegraph 0.38.0 → 0.40.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 (254) hide show
  1. package/dist/backend/drizzle/indexes.cjs +8 -10
  2. package/dist/backend/drizzle/indexes.d.cts +2 -2
  3. package/dist/backend/drizzle/indexes.d.ts +2 -2
  4. package/dist/backend/drizzle/indexes.js +4 -6
  5. package/dist/backend/index.cjs +60 -39
  6. package/dist/backend/index.d.cts +60 -1
  7. package/dist/backend/index.d.ts +60 -1
  8. package/dist/backend/index.js +12 -3
  9. package/dist/backend/postgres/index.cjs +25 -27
  10. package/dist/backend/postgres/index.d.cts +6 -6
  11. package/dist/backend/postgres/index.d.ts +6 -6
  12. package/dist/backend/postgres/index.js +12 -14
  13. package/dist/backend/postgres/pglite-store.cjs +26 -27
  14. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  15. package/dist/backend/postgres/pglite-store.d.cts +6 -5
  16. package/dist/backend/postgres/pglite-store.d.ts +6 -5
  17. package/dist/backend/postgres/pglite-store.js +22 -23
  18. package/dist/backend/postgres/pglite-store.js.map +1 -1
  19. package/dist/backend/postgres/pglite.cjs +14 -16
  20. package/dist/backend/postgres/pglite.d.cts +3 -3
  21. package/dist/backend/postgres/pglite.d.ts +3 -3
  22. package/dist/backend/postgres/pglite.js +13 -15
  23. package/dist/backend/sqlite/index.cjs +26 -28
  24. package/dist/backend/sqlite/index.d.cts +6 -6
  25. package/dist/backend/sqlite/index.d.ts +6 -6
  26. package/dist/backend/sqlite/index.js +10 -12
  27. package/dist/backend/sqlite/libsql.cjs +16 -18
  28. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  29. package/dist/backend/sqlite/libsql.d.cts +3 -3
  30. package/dist/backend/sqlite/libsql.d.ts +3 -3
  31. package/dist/backend/sqlite/libsql.js +15 -17
  32. package/dist/backend/sqlite/libsql.js.map +1 -1
  33. package/dist/backend/sqlite/local-store.cjs +27 -28
  34. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  35. package/dist/backend/sqlite/local-store.d.cts +6 -5
  36. package/dist/backend/sqlite/local-store.d.ts +6 -5
  37. package/dist/backend/sqlite/local-store.js +23 -24
  38. package/dist/backend/sqlite/local-store.js.map +1 -1
  39. package/dist/backend/sqlite/local.cjs +15 -17
  40. package/dist/backend/sqlite/local.d.cts +3 -3
  41. package/dist/backend/sqlite/local.d.ts +3 -3
  42. package/dist/backend/sqlite/local.js +13 -15
  43. package/dist/{chunk-U4JDJKPD.js → chunk-2I3DNNBU.js} +4 -4
  44. package/dist/{chunk-U4JDJKPD.js.map → chunk-2I3DNNBU.js.map} +1 -1
  45. package/dist/{chunk-NPWACFQJ.cjs → chunk-2J5NMMVR.cjs} +43 -43
  46. package/dist/{chunk-NPWACFQJ.cjs.map → chunk-2J5NMMVR.cjs.map} +1 -1
  47. package/dist/{chunk-NU23DUSJ.cjs → chunk-2X73QTIC.cjs} +12 -13
  48. package/dist/chunk-2X73QTIC.cjs.map +1 -0
  49. package/dist/{chunk-A2FGSWMQ.js → chunk-3BL3JFHL.js} +202 -52
  50. package/dist/chunk-3BL3JFHL.js.map +1 -0
  51. package/dist/chunk-3SHAUJRB.js +79 -0
  52. package/dist/chunk-3SHAUJRB.js.map +1 -0
  53. package/dist/{chunk-UPXDVI3T.js → chunk-53BSOG3O.js} +8 -7
  54. package/dist/chunk-53BSOG3O.js.map +1 -0
  55. package/dist/chunk-5J4VNCUD.js +856 -0
  56. package/dist/chunk-5J4VNCUD.js.map +1 -0
  57. package/dist/chunk-5YBDB7UG.cjs +12 -0
  58. package/dist/{chunk-FMNUSGZ4.cjs.map → chunk-5YBDB7UG.cjs.map} +1 -1
  59. package/dist/{chunk-6XDBRDZE.js → chunk-6N7QBIWN.js} +7 -3
  60. package/dist/chunk-6N7QBIWN.js.map +1 -0
  61. package/dist/{chunk-EZH7FNUS.js → chunk-6QP4QXBR.js} +3 -3
  62. package/dist/{chunk-EZH7FNUS.js.map → chunk-6QP4QXBR.js.map} +1 -1
  63. package/dist/{chunk-E6TXEISH.cjs → chunk-7UTUKH4E.cjs} +4 -4
  64. package/dist/{chunk-E6TXEISH.cjs.map → chunk-7UTUKH4E.cjs.map} +1 -1
  65. package/dist/chunk-7WLEQIHA.cjs +605 -0
  66. package/dist/chunk-7WLEQIHA.cjs.map +1 -0
  67. package/dist/{chunk-BQITNFQJ.js → chunk-AQVDAKXH.js} +3 -3
  68. package/dist/{chunk-BQITNFQJ.js.map → chunk-AQVDAKXH.js.map} +1 -1
  69. package/dist/{chunk-X6CNEA32.js → chunk-BUZWMDNL.js} +5 -5
  70. package/dist/{chunk-X6CNEA32.js.map → chunk-BUZWMDNL.js.map} +1 -1
  71. package/dist/{chunk-7M3NACL3.cjs → chunk-CKFBZ4LV.cjs} +4 -4
  72. package/dist/{chunk-7M3NACL3.cjs.map → chunk-CKFBZ4LV.cjs.map} +1 -1
  73. package/dist/{chunk-VBH7ZXSZ.js → chunk-CU3LPYNB.js} +5 -5
  74. package/dist/{chunk-VBH7ZXSZ.js.map → chunk-CU3LPYNB.js.map} +1 -1
  75. package/dist/{chunk-YJDSPA5E.js → chunk-EFZ4S22A.js} +11 -10
  76. package/dist/chunk-EFZ4S22A.js.map +1 -0
  77. package/dist/chunk-ELA3V6UN.js +601 -0
  78. package/dist/chunk-ELA3V6UN.js.map +1 -0
  79. package/dist/{chunk-2SL7OGPR.cjs → chunk-H6I36MGT.cjs} +1037 -887
  80. package/dist/chunk-H6I36MGT.cjs.map +1 -0
  81. package/dist/chunk-HAQVISUF.cjs +1098 -0
  82. package/dist/chunk-HAQVISUF.cjs.map +1 -0
  83. package/dist/{chunk-O5H62ZWJ.cjs → chunk-HP6LWBLB.cjs} +14 -2
  84. package/dist/chunk-HP6LWBLB.cjs.map +1 -0
  85. package/dist/{chunk-BKAKAVRW.cjs → chunk-HQRZEYYB.cjs} +44 -44
  86. package/dist/{chunk-BKAKAVRW.cjs.map → chunk-HQRZEYYB.cjs.map} +1 -1
  87. package/dist/{chunk-XD6X7O5R.js → chunk-I5CRUPKO.js} +9 -10
  88. package/dist/{chunk-XD6X7O5R.js.map → chunk-I5CRUPKO.js.map} +1 -1
  89. package/dist/{chunk-RQPRCEIO.js → chunk-JHK6NPFV.js} +218 -306
  90. package/dist/chunk-JHK6NPFV.js.map +1 -0
  91. package/dist/chunk-JZYMOHHM.cjs +226 -0
  92. package/dist/chunk-JZYMOHHM.cjs.map +1 -0
  93. package/dist/{chunk-CQC6VBAF.cjs → chunk-K4FB2RMO.cjs} +10 -10
  94. package/dist/{chunk-CQC6VBAF.cjs.map → chunk-K4FB2RMO.cjs.map} +1 -1
  95. package/dist/{chunk-ERZ4QPQX.js → chunk-K6CD6W5J.js} +5 -5
  96. package/dist/{chunk-ERZ4QPQX.js.map → chunk-K6CD6W5J.js.map} +1 -1
  97. package/dist/{chunk-LZ3TVJY4.cjs → chunk-KHNKYSGP.cjs} +34 -34
  98. package/dist/{chunk-LZ3TVJY4.cjs.map → chunk-KHNKYSGP.cjs.map} +1 -1
  99. package/dist/{chunk-CWX77JB4.cjs → chunk-KLR77R5A.cjs} +13 -13
  100. package/dist/{chunk-CWX77JB4.cjs.map → chunk-KLR77R5A.cjs.map} +1 -1
  101. package/dist/{chunk-AOL64O4Z.js → chunk-L3DDZUZP.js} +3 -3
  102. package/dist/{chunk-AOL64O4Z.js.map → chunk-L3DDZUZP.js.map} +1 -1
  103. package/dist/{chunk-PZHC5GCD.js → chunk-L5ET7FYQ.js} +3 -3
  104. package/dist/{chunk-PZHC5GCD.js.map → chunk-L5ET7FYQ.js.map} +1 -1
  105. package/dist/{chunk-B63IFHXR.cjs → chunk-LFFVD5ZR.cjs} +41 -41
  106. package/dist/{chunk-B63IFHXR.cjs.map → chunk-LFFVD5ZR.cjs.map} +1 -1
  107. package/dist/chunk-LL5D5T5W.cjs +157 -0
  108. package/dist/chunk-LL5D5T5W.cjs.map +1 -0
  109. package/dist/{chunk-GUUWKPTK.cjs → chunk-LLE25NRD.cjs} +7 -7
  110. package/dist/{chunk-GUUWKPTK.cjs.map → chunk-LLE25NRD.cjs.map} +1 -1
  111. package/dist/chunk-LLHMAHG4.cjs +886 -0
  112. package/dist/chunk-LLHMAHG4.cjs.map +1 -0
  113. package/dist/{chunk-ZHX4KEM7.cjs → chunk-M2RPZS7J.cjs} +10 -10
  114. package/dist/{chunk-ZHX4KEM7.cjs.map → chunk-M2RPZS7J.cjs.map} +1 -1
  115. package/dist/chunk-MNURF4RF.cjs +85 -0
  116. package/dist/chunk-MNURF4RF.cjs.map +1 -0
  117. package/dist/chunk-QOHTVDHU.js +144 -0
  118. package/dist/chunk-QOHTVDHU.js.map +1 -0
  119. package/dist/{chunk-7VLCN3JB.cjs → chunk-QXKVUJLI.cjs} +113 -112
  120. package/dist/chunk-QXKVUJLI.cjs.map +1 -0
  121. package/dist/{chunk-GNPGGLAE.cjs → chunk-QYDUCWD2.cjs} +4 -4
  122. package/dist/{chunk-GNPGGLAE.cjs.map → chunk-QYDUCWD2.cjs.map} +1 -1
  123. package/dist/{chunk-TE5ZA4VX.js → chunk-QZYGZVUI.js} +45 -41
  124. package/dist/chunk-QZYGZVUI.js.map +1 -0
  125. package/dist/{chunk-YLINFV7Z.cjs → chunk-SAMJLDGG.cjs} +114 -110
  126. package/dist/chunk-SAMJLDGG.cjs.map +1 -0
  127. package/dist/{chunk-DOVMTPKE.cjs → chunk-SE422RES.cjs} +27 -27
  128. package/dist/{chunk-DOVMTPKE.cjs.map → chunk-SE422RES.cjs.map} +1 -1
  129. package/dist/{chunk-NWYCOFEZ.cjs → chunk-UCHW2MGP.cjs} +332 -433
  130. package/dist/chunk-UCHW2MGP.cjs.map +1 -0
  131. package/dist/{chunk-XFY73JWD.cjs → chunk-UDS5DZNY.cjs} +498 -1098
  132. package/dist/chunk-UDS5DZNY.cjs.map +1 -0
  133. package/dist/{chunk-KFLXWVUJ.js → chunk-UUIBACKJ.js} +14 -3
  134. package/dist/chunk-UUIBACKJ.js.map +1 -0
  135. package/dist/{chunk-VDYA2HMS.js → chunk-VWEFXG73.js} +3 -3
  136. package/dist/{chunk-VDYA2HMS.js.map → chunk-VWEFXG73.js.map} +1 -1
  137. package/dist/{chunk-G32AO634.js → chunk-W66YCXWT.js} +464 -1048
  138. package/dist/chunk-W66YCXWT.js.map +1 -0
  139. package/dist/{chunk-E6YZRKMM.js → chunk-XMEYZYGE.js} +6 -6
  140. package/dist/{chunk-E6YZRKMM.js.map → chunk-XMEYZYGE.js.map} +1 -1
  141. package/dist/{chunk-G3CSQLLT.js → chunk-Y5UC3IXF.js} +461 -6
  142. package/dist/chunk-Y5UC3IXF.js.map +1 -0
  143. package/dist/{chunk-SDHV2MWU.js → chunk-YGX4PMG6.js} +5 -5
  144. package/dist/{chunk-SDHV2MWU.js.map → chunk-YGX4PMG6.js.map} +1 -1
  145. package/dist/{chunk-KCLZHYPU.cjs → chunk-YIX3BEBR.cjs} +86 -85
  146. package/dist/chunk-YIX3BEBR.cjs.map +1 -0
  147. package/dist/{chunk-X6RDQ5NB.cjs → chunk-YX3H63VV.cjs} +8 -2
  148. package/dist/chunk-YX3H63VV.cjs.map +1 -0
  149. package/dist/chunk-YYLMXERH.js +211 -0
  150. package/dist/chunk-YYLMXERH.js.map +1 -0
  151. package/dist/{chunk-6G5CQ6JX.js → chunk-ZE7E46IZ.js} +5 -5
  152. package/dist/{chunk-6G5CQ6JX.js.map → chunk-ZE7E46IZ.js.map} +1 -1
  153. package/dist/{chunk-Z2PPIVOO.js → chunk-ZVME6OSV.js} +5 -5
  154. package/dist/{chunk-Z2PPIVOO.js.map → chunk-ZVME6OSV.js.map} +1 -1
  155. package/dist/core/index.cjs +15 -3
  156. package/dist/core/index.d.cts +4 -3
  157. package/dist/core/index.d.ts +4 -3
  158. package/dist/core/index.js +2 -2
  159. package/dist/{ddl-Dx3Z0_WC.d.ts → ddl-BLEzHw6j.d.ts} +3 -3
  160. package/dist/{ddl-J6sDyABg.d.cts → ddl-KnCdF_le.d.cts} +3 -3
  161. package/dist/{define-graph-CzEvA_8F.d.cts → define-graph-Cv3CFwKm.d.cts} +1 -1
  162. package/dist/{define-graph-DRo9xpYN.d.ts → define-graph-DQnj3fNH.d.ts} +1 -1
  163. package/dist/graph-merge/index.cjs +40 -43
  164. package/dist/graph-merge/index.cjs.map +1 -1
  165. package/dist/graph-merge/index.d.cts +15 -9
  166. package/dist/graph-merge/index.d.ts +15 -9
  167. package/dist/graph-merge/index.js +19 -22
  168. package/dist/graph-merge/index.js.map +1 -1
  169. package/dist/index.cjs +143 -119
  170. package/dist/index.d.cts +12 -10
  171. package/dist/index.d.ts +12 -10
  172. package/dist/index.js +23 -23
  173. package/dist/indexes/index.cjs +12 -14
  174. package/dist/indexes/index.d.cts +5 -5
  175. package/dist/indexes/index.d.ts +5 -5
  176. package/dist/indexes/index.js +5 -7
  177. package/dist/interchange/index.cjs +29 -30
  178. package/dist/interchange/index.cjs.map +1 -1
  179. package/dist/interchange/index.d.cts +6 -5
  180. package/dist/interchange/index.d.ts +6 -5
  181. package/dist/interchange/index.js +10 -11
  182. package/dist/interchange/index.js.map +1 -1
  183. package/dist/{manager-CASfhmzV.d.ts → manager-DjE6Mhag.d.ts} +2 -2
  184. package/dist/{manager-nCEJiYBb.d.cts → manager-mqee5MVB.d.cts} +2 -2
  185. package/dist/{postgres-DMgIKQU-.d.cts → postgres-Bm4DyFQU.d.cts} +100 -49
  186. package/dist/{postgres-Cl1ZAN1G.d.ts → postgres-DtaVALOZ.d.ts} +100 -49
  187. package/dist/profiler/index.d.cts +8 -7
  188. package/dist/profiler/index.d.ts +8 -7
  189. package/dist/provenance/index.cjs +20 -20
  190. package/dist/provenance/index.d.cts +6 -5
  191. package/dist/provenance/index.d.ts +6 -5
  192. package/dist/provenance/index.js +7 -7
  193. package/dist/schema/index.cjs +26 -28
  194. package/dist/schema/index.cjs.map +1 -1
  195. package/dist/schema/index.d.cts +5 -5
  196. package/dist/schema/index.d.ts +5 -5
  197. package/dist/schema/index.js +7 -9
  198. package/dist/schema/index.js.map +1 -1
  199. package/dist/{temporal-DqtOEo_B.d.ts → searchable-BxlJQVFw.d.cts} +3 -58
  200. package/dist/{temporal-BC_NQV5Y.d.cts → searchable-ChJ29MCd.d.ts} +3 -58
  201. package/dist/{sqlite-BDkW39aa.d.cts → sqlite-DT6tTHOG.d.cts} +124 -97
  202. package/dist/{sqlite-CYfhvESj.d.ts → sqlite-m9Izphk_.d.ts} +124 -97
  203. package/dist/{store-view-BoHqdHjB.d.cts → store-view-C-buB8Q8.d.cts} +46 -31
  204. package/dist/{store-view-Ctq-3OHy.d.ts → store-view-CagdeyNn.d.ts} +46 -31
  205. package/dist/temporal-CyFsSPe8.d.ts +73 -0
  206. package/dist/temporal-Dn_JADWY.d.cts +73 -0
  207. package/dist/{types-CUevi_D1.d.ts → types-CYdXzZef.d.ts} +1 -1
  208. package/dist/{types-COq3-vMC.d.cts → types-CqSfMRW3.d.cts} +1 -1
  209. package/dist/{where-C92TXCzT.d.cts → where-C3-HRgUq.d.cts} +1 -1
  210. package/dist/{where-BdE_cYtx.d.ts → where-sQL4u5h-.d.ts} +1 -1
  211. package/package.json +1 -1
  212. package/dist/chunk-2SL7OGPR.cjs.map +0 -1
  213. package/dist/chunk-6XDBRDZE.js.map +0 -1
  214. package/dist/chunk-7VLCN3JB.cjs.map +0 -1
  215. package/dist/chunk-A2FGSWMQ.js.map +0 -1
  216. package/dist/chunk-DDCIXXOO.js +0 -9
  217. package/dist/chunk-DDCIXXOO.js.map +0 -1
  218. package/dist/chunk-DDCYVIVV.cjs +0 -44
  219. package/dist/chunk-DDCYVIVV.cjs.map +0 -1
  220. package/dist/chunk-EOJFGECD.cjs +0 -284
  221. package/dist/chunk-EOJFGECD.cjs.map +0 -1
  222. package/dist/chunk-FMNUSGZ4.cjs +0 -12
  223. package/dist/chunk-G32AO634.js.map +0 -1
  224. package/dist/chunk-G3CSQLLT.js.map +0 -1
  225. package/dist/chunk-I6FX7AAG.js +0 -39
  226. package/dist/chunk-I6FX7AAG.js.map +0 -1
  227. package/dist/chunk-J6IJARLG.js +0 -94
  228. package/dist/chunk-J6IJARLG.js.map +0 -1
  229. package/dist/chunk-KCLZHYPU.cjs.map +0 -1
  230. package/dist/chunk-KFLXWVUJ.js.map +0 -1
  231. package/dist/chunk-MTNEGGM2.js +0 -273
  232. package/dist/chunk-MTNEGGM2.js.map +0 -1
  233. package/dist/chunk-NU23DUSJ.cjs.map +0 -1
  234. package/dist/chunk-NWYCOFEZ.cjs.map +0 -1
  235. package/dist/chunk-O5H62ZWJ.cjs.map +0 -1
  236. package/dist/chunk-RQPRCEIO.js.map +0 -1
  237. package/dist/chunk-SVUKGWSN.cjs +0 -102
  238. package/dist/chunk-SVUKGWSN.cjs.map +0 -1
  239. package/dist/chunk-TE5ZA4VX.js.map +0 -1
  240. package/dist/chunk-UH2USOMG.cjs +0 -627
  241. package/dist/chunk-UH2USOMG.cjs.map +0 -1
  242. package/dist/chunk-UPXDVI3T.js.map +0 -1
  243. package/dist/chunk-X6RDQ5NB.cjs.map +0 -1
  244. package/dist/chunk-XFY73JWD.cjs.map +0 -1
  245. package/dist/chunk-Y7M44XEK.js +0 -462
  246. package/dist/chunk-Y7M44XEK.js.map +0 -1
  247. package/dist/chunk-YJDSPA5E.js.map +0 -1
  248. package/dist/chunk-YLINFV7Z.cjs.map +0 -1
  249. package/dist/chunk-Z5QHVL5U.cjs +0 -12
  250. package/dist/chunk-Z5QHVL5U.cjs.map +0 -1
  251. package/dist/chunk-ZKZAIX42.cjs +0 -479
  252. package/dist/chunk-ZKZAIX42.cjs.map +0 -1
  253. package/dist/{index-CrFL_ENI.d.cts → types-C5pZeKTl.d.cts} +1 -1
  254. package/dist/{index-Bq7vSPHy.d.ts → types-D8szWDUo.d.ts} +1 -1
@@ -1,11 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var chunkDOVMTPKE_cjs = require('../../chunk-DOVMTPKE.cjs');
4
- require('../../chunk-GUUWKPTK.cjs');
5
- require('../../chunk-UH2USOMG.cjs');
6
- require('../../chunk-Z5QHVL5U.cjs');
7
- require('../../chunk-ZKZAIX42.cjs');
8
- require('../../chunk-X6RDQ5NB.cjs');
3
+ var chunkSE422RES_cjs = require('../../chunk-SE422RES.cjs');
4
+ require('../../chunk-LLE25NRD.cjs');
5
+ require('../../chunk-HAQVISUF.cjs');
6
+ require('../../chunk-YX3H63VV.cjs');
9
7
  require('../../chunk-764JHTLT.cjs');
10
8
  require('../../chunk-SAFZ6JTI.cjs');
11
9
  require('../../chunk-TDXIBCGY.cjs');
@@ -14,19 +12,19 @@ require('../../chunk-TDXIBCGY.cjs');
14
12
 
15
13
  Object.defineProperty(exports, "buildPostgresEdgeIndexBuilders", {
16
14
  enumerable: true,
17
- get: function () { return chunkDOVMTPKE_cjs.buildPostgresEdgeIndexBuilders; }
15
+ get: function () { return chunkSE422RES_cjs.buildPostgresEdgeIndexBuilders; }
18
16
  });
19
17
  Object.defineProperty(exports, "buildPostgresNodeIndexBuilders", {
20
18
  enumerable: true,
21
- get: function () { return chunkDOVMTPKE_cjs.buildPostgresNodeIndexBuilders; }
19
+ get: function () { return chunkSE422RES_cjs.buildPostgresNodeIndexBuilders; }
22
20
  });
23
21
  Object.defineProperty(exports, "buildSqliteEdgeIndexBuilders", {
24
22
  enumerable: true,
25
- get: function () { return chunkDOVMTPKE_cjs.buildSqliteEdgeIndexBuilders; }
23
+ get: function () { return chunkSE422RES_cjs.buildSqliteEdgeIndexBuilders; }
26
24
  });
27
25
  Object.defineProperty(exports, "buildSqliteNodeIndexBuilders", {
28
26
  enumerable: true,
29
- get: function () { return chunkDOVMTPKE_cjs.buildSqliteNodeIndexBuilders; }
27
+ get: function () { return chunkSE422RES_cjs.buildSqliteNodeIndexBuilders; }
30
28
  });
31
29
  //# sourceMappingURL=indexes.cjs.map
32
30
  //# sourceMappingURL=indexes.cjs.map
@@ -1,9 +1,9 @@
1
1
  import { SQLWrapper } from 'drizzle-orm';
2
2
  import { IndexBuilder } from 'drizzle-orm/pg-core';
3
3
  import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
4
- import { I as IndexDeclaration } from '../../index-CrFL_ENI.cjs';
5
- import '../../extension-types-BLEVH4SG.cjs';
4
+ import { I as IndexDeclaration } from '../../types-C5pZeKTl.cjs';
6
5
  import 'zod';
6
+ import '../../extension-types-BLEVH4SG.cjs';
7
7
 
8
8
  declare function buildPostgresNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
9
9
  declare function buildPostgresEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
@@ -1,9 +1,9 @@
1
1
  import { SQLWrapper } from 'drizzle-orm';
2
2
  import { IndexBuilder } from 'drizzle-orm/pg-core';
3
3
  import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
4
- import { I as IndexDeclaration } from '../../index-Bq7vSPHy.js';
5
- import '../../extension-types-BLEVH4SG.js';
4
+ import { I as IndexDeclaration } from '../../types-D8szWDUo.js';
6
5
  import 'zod';
6
+ import '../../extension-types-BLEVH4SG.js';
7
7
 
8
8
  declare function buildPostgresNodeIndexBuilders(table: NodeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
9
9
  declare function buildPostgresEdgeIndexBuilders(table: EdgeIndexTable, indexes: readonly IndexDeclaration[]): readonly IndexBuilder[];
@@ -1,9 +1,7 @@
1
- export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders } from '../../chunk-Z2PPIVOO.js';
2
- import '../../chunk-BQITNFQJ.js';
3
- import '../../chunk-G3CSQLLT.js';
4
- import '../../chunk-DDCIXXOO.js';
5
- import '../../chunk-Y7M44XEK.js';
6
- import '../../chunk-6XDBRDZE.js';
1
+ export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders } from '../../chunk-ZVME6OSV.js';
2
+ import '../../chunk-AQVDAKXH.js';
3
+ import '../../chunk-Y5UC3IXF.js';
4
+ import '../../chunk-6N7QBIWN.js';
7
5
  import '../../chunk-QMQLUA66.js';
8
6
  import '../../chunk-DPNA466P.js';
9
7
  import '../../chunk-G6Q5UM7U.js';
@@ -1,157 +1,178 @@
1
1
  'use strict';
2
2
 
3
- var chunkGNPGGLAE_cjs = require('../chunk-GNPGGLAE.cjs');
4
- var chunkZKZAIX42_cjs = require('../chunk-ZKZAIX42.cjs');
5
- var chunkX6RDQ5NB_cjs = require('../chunk-X6RDQ5NB.cjs');
3
+ var chunk7WLEQIHA_cjs = require('../chunk-7WLEQIHA.cjs');
4
+ require('../chunk-LLHMAHG4.cjs');
5
+ require('../chunk-SE422RES.cjs');
6
+ require('../chunk-JZYMOHHM.cjs');
7
+ var chunkQYDUCWD2_cjs = require('../chunk-QYDUCWD2.cjs');
8
+ require('../chunk-LL5D5T5W.cjs');
9
+ require('../chunk-MNURF4RF.cjs');
10
+ require('../chunk-LLE25NRD.cjs');
11
+ require('../chunk-NAUA4PW5.cjs');
12
+ var chunkHAQVISUF_cjs = require('../chunk-HAQVISUF.cjs');
13
+ var chunkYX3H63VV_cjs = require('../chunk-YX3H63VV.cjs');
6
14
  require('../chunk-764JHTLT.cjs');
7
15
  var chunkSVJ5GEXW_cjs = require('../chunk-SVJ5GEXW.cjs');
8
16
  require('../chunk-SAFZ6JTI.cjs');
17
+ require('../chunk-TDXIBCGY.cjs');
9
18
 
10
19
 
11
20
 
21
+ Object.defineProperty(exports, "deleteLegacyRecordedAnchorMap", {
22
+ enumerable: true,
23
+ get: function () { return chunk7WLEQIHA_cjs.deleteLegacyRecordedAnchorMap; }
24
+ });
25
+ Object.defineProperty(exports, "migrateLegacyRecordedTime", {
26
+ enumerable: true,
27
+ get: function () { return chunk7WLEQIHA_cjs.migrateLegacyRecordedTime; }
28
+ });
29
+ Object.defineProperty(exports, "migrateRecordedAnchor", {
30
+ enumerable: true,
31
+ get: function () { return chunk7WLEQIHA_cjs.migrateRecordedAnchor; }
32
+ });
12
33
  Object.defineProperty(exports, "D1_MAX_BIND_PARAMETERS", {
13
34
  enumerable: true,
14
- get: function () { return chunkGNPGGLAE_cjs.D1_MAX_BIND_PARAMETERS; }
35
+ get: function () { return chunkQYDUCWD2_cjs.D1_MAX_BIND_PARAMETERS; }
15
36
  });
16
37
  Object.defineProperty(exports, "DURABLE_OBJECT_MAX_BIND_PARAMETERS", {
17
38
  enumerable: true,
18
- get: function () { return chunkGNPGGLAE_cjs.DURABLE_OBJECT_MAX_BIND_PARAMETERS; }
39
+ get: function () { return chunkQYDUCWD2_cjs.DURABLE_OBJECT_MAX_BIND_PARAMETERS; }
19
40
  });
20
41
  Object.defineProperty(exports, "MODERN_SQLITE_MAX_BIND_PARAMETERS", {
21
42
  enumerable: true,
22
- get: function () { return chunkGNPGGLAE_cjs.MODERN_SQLITE_MAX_BIND_PARAMETERS; }
43
+ get: function () { return chunkQYDUCWD2_cjs.MODERN_SQLITE_MAX_BIND_PARAMETERS; }
23
44
  });
24
45
  Object.defineProperty(exports, "POSTGRES_CAPABILITIES", {
25
46
  enumerable: true,
26
- get: function () { return chunkGNPGGLAE_cjs.POSTGRES_CAPABILITIES; }
47
+ get: function () { return chunkQYDUCWD2_cjs.POSTGRES_CAPABILITIES; }
27
48
  });
28
49
  Object.defineProperty(exports, "POSTGRES_MAX_BIND_PARAMETERS", {
29
50
  enumerable: true,
30
- get: function () { return chunkGNPGGLAE_cjs.POSTGRES_MAX_BIND_PARAMETERS; }
51
+ get: function () { return chunkQYDUCWD2_cjs.POSTGRES_MAX_BIND_PARAMETERS; }
31
52
  });
32
53
  Object.defineProperty(exports, "SQLITE_CAPABILITIES", {
33
54
  enumerable: true,
34
- get: function () { return chunkGNPGGLAE_cjs.SQLITE_CAPABILITIES; }
55
+ get: function () { return chunkQYDUCWD2_cjs.SQLITE_CAPABILITIES; }
35
56
  });
36
57
  Object.defineProperty(exports, "SQLITE_MAX_BIND_PARAMETERS", {
37
58
  enumerable: true,
38
- get: function () { return chunkGNPGGLAE_cjs.SQLITE_MAX_BIND_PARAMETERS; }
59
+ get: function () { return chunkQYDUCWD2_cjs.SQLITE_MAX_BIND_PARAMETERS; }
39
60
  });
40
61
  Object.defineProperty(exports, "isLiveNodeRow", {
41
62
  enumerable: true,
42
- get: function () { return chunkGNPGGLAE_cjs.isLiveNodeRow; }
63
+ get: function () { return chunkQYDUCWD2_cjs.isLiveNodeRow; }
43
64
  });
44
65
  Object.defineProperty(exports, "isTombstonedNodeRow", {
45
66
  enumerable: true,
46
- get: function () { return chunkGNPGGLAE_cjs.isTombstonedNodeRow; }
67
+ get: function () { return chunkQYDUCWD2_cjs.isTombstonedNodeRow; }
47
68
  });
48
69
  Object.defineProperty(exports, "normalizeGraphAnalyticsCapabilities", {
49
70
  enumerable: true,
50
- get: function () { return chunkGNPGGLAE_cjs.normalizeGraphAnalyticsCapabilities; }
71
+ get: function () { return chunkQYDUCWD2_cjs.normalizeGraphAnalyticsCapabilities; }
51
72
  });
52
73
  Object.defineProperty(exports, "rowPropsToJsonText", {
53
74
  enumerable: true,
54
- get: function () { return chunkGNPGGLAE_cjs.rowPropsToJsonText; }
75
+ get: function () { return chunkQYDUCWD2_cjs.rowPropsToJsonText; }
55
76
  });
56
77
  Object.defineProperty(exports, "rowPropsToObject", {
57
78
  enumerable: true,
58
- get: function () { return chunkGNPGGLAE_cjs.rowPropsToObject; }
79
+ get: function () { return chunkQYDUCWD2_cjs.rowPropsToObject; }
59
80
  });
60
81
  Object.defineProperty(exports, "ALL_FULLTEXT_MODES", {
61
82
  enumerable: true,
62
- get: function () { return chunkZKZAIX42_cjs.ALL_FULLTEXT_MODES; }
83
+ get: function () { return chunkHAQVISUF_cjs.ALL_FULLTEXT_MODES; }
63
84
  });
64
85
  Object.defineProperty(exports, "BASE_CONTRIBUTION_OWNER", {
65
86
  enumerable: true,
66
- get: function () { return chunkZKZAIX42_cjs.BASE_CONTRIBUTION_OWNER; }
87
+ get: function () { return chunkHAQVISUF_cjs.BASE_CONTRIBUTION_OWNER; }
67
88
  });
68
89
  Object.defineProperty(exports, "FULLTEXT_CONTRIBUTION_NAME", {
69
90
  enumerable: true,
70
- get: function () { return chunkZKZAIX42_cjs.FULLTEXT_CONTRIBUTION_NAME; }
91
+ get: function () { return chunkHAQVISUF_cjs.FULLTEXT_CONTRIBUTION_NAME; }
71
92
  });
72
93
  Object.defineProperty(exports, "VECTOR_CONTRIBUTION_PREFIX", {
73
94
  enumerable: true,
74
- get: function () { return chunkZKZAIX42_cjs.VECTOR_CONTRIBUTION_PREFIX; }
95
+ get: function () { return chunkHAQVISUF_cjs.VECTOR_CONTRIBUTION_PREFIX; }
75
96
  });
76
97
  Object.defineProperty(exports, "assertFiniteEmbedding", {
77
98
  enumerable: true,
78
- get: function () { return chunkZKZAIX42_cjs.assertFiniteEmbedding; }
99
+ get: function () { return chunkHAQVISUF_cjs.assertFiniteEmbedding; }
79
100
  });
80
101
  Object.defineProperty(exports, "assertVectorMinScore", {
81
102
  enumerable: true,
82
- get: function () { return chunkZKZAIX42_cjs.assertVectorMinScore; }
103
+ get: function () { return chunkHAQVISUF_cjs.assertVectorMinScore; }
83
104
  });
84
105
  Object.defineProperty(exports, "assertVectorSearchLimit", {
85
106
  enumerable: true,
86
- get: function () { return chunkZKZAIX42_cjs.assertVectorSearchLimit; }
107
+ get: function () { return chunkHAQVISUF_cjs.assertVectorSearchLimit; }
87
108
  });
88
109
  Object.defineProperty(exports, "buildFulltextCapabilities", {
89
110
  enumerable: true,
90
- get: function () { return chunkZKZAIX42_cjs.buildFulltextCapabilities; }
111
+ get: function () { return chunkHAQVISUF_cjs.buildFulltextCapabilities; }
91
112
  });
92
113
  Object.defineProperty(exports, "buildVectorCapabilities", {
93
114
  enumerable: true,
94
- get: function () { return chunkZKZAIX42_cjs.buildVectorCapabilities; }
115
+ get: function () { return chunkHAQVISUF_cjs.buildVectorCapabilities; }
95
116
  });
96
117
  Object.defineProperty(exports, "fts5Strategy", {
97
118
  enumerable: true,
98
- get: function () { return chunkZKZAIX42_cjs.fts5Strategy; }
119
+ get: function () { return chunkHAQVISUF_cjs.fts5Strategy; }
99
120
  });
100
121
  Object.defineProperty(exports, "quoteIdentifier", {
101
122
  enumerable: true,
102
- get: function () { return chunkZKZAIX42_cjs.quoteIdentifier; }
123
+ get: function () { return chunkHAQVISUF_cjs.quoteIdentifier; }
103
124
  });
104
125
  Object.defineProperty(exports, "shortHash", {
105
126
  enumerable: true,
106
- get: function () { return chunkZKZAIX42_cjs.shortHash; }
127
+ get: function () { return chunkHAQVISUF_cjs.shortHash; }
107
128
  });
108
129
  Object.defineProperty(exports, "tsvectorStrategy", {
109
130
  enumerable: true,
110
- get: function () { return chunkZKZAIX42_cjs.tsvectorStrategy; }
131
+ get: function () { return chunkHAQVISUF_cjs.tsvectorStrategy; }
111
132
  });
112
133
  Object.defineProperty(exports, "vectorMinScoreCondition", {
113
134
  enumerable: true,
114
- get: function () { return chunkZKZAIX42_cjs.vectorMinScoreCondition; }
135
+ get: function () { return chunkHAQVISUF_cjs.vectorMinScoreCondition; }
115
136
  });
116
137
  Object.defineProperty(exports, "vectorPhysicalName", {
117
138
  enumerable: true,
118
- get: function () { return chunkZKZAIX42_cjs.vectorPhysicalName; }
139
+ get: function () { return chunkHAQVISUF_cjs.vectorPhysicalName; }
119
140
  });
120
141
  Object.defineProperty(exports, "vectorScoreExpression", {
121
142
  enumerable: true,
122
- get: function () { return chunkZKZAIX42_cjs.vectorScoreExpression; }
143
+ get: function () { return chunkHAQVISUF_cjs.vectorScoreExpression; }
123
144
  });
124
145
  Object.defineProperty(exports, "Placeholder", {
125
146
  enumerable: true,
126
- get: function () { return chunkX6RDQ5NB_cjs.Placeholder; }
147
+ get: function () { return chunkYX3H63VV_cjs.Placeholder; }
127
148
  });
128
149
  Object.defineProperty(exports, "isSqlFragment", {
129
150
  enumerable: true,
130
- get: function () { return chunkX6RDQ5NB_cjs.isSqlFragment; }
151
+ get: function () { return chunkYX3H63VV_cjs.isSqlFragment; }
131
152
  });
132
153
  Object.defineProperty(exports, "isSqlPlaceholder", {
133
154
  enumerable: true,
134
- get: function () { return chunkX6RDQ5NB_cjs.isSqlPlaceholder; }
155
+ get: function () { return chunkYX3H63VV_cjs.isSqlPlaceholder; }
135
156
  });
136
157
  Object.defineProperty(exports, "renderPostgres", {
137
158
  enumerable: true,
138
- get: function () { return chunkX6RDQ5NB_cjs.renderPostgres; }
159
+ get: function () { return chunkYX3H63VV_cjs.renderPostgres; }
139
160
  });
140
161
  Object.defineProperty(exports, "renderSql", {
141
162
  enumerable: true,
142
- get: function () { return chunkX6RDQ5NB_cjs.renderSql; }
163
+ get: function () { return chunkYX3H63VV_cjs.renderSql; }
143
164
  });
144
165
  Object.defineProperty(exports, "renderSqlInline", {
145
166
  enumerable: true,
146
- get: function () { return chunkX6RDQ5NB_cjs.renderSqlInline; }
167
+ get: function () { return chunkYX3H63VV_cjs.renderSqlInline; }
147
168
  });
148
169
  Object.defineProperty(exports, "renderSqlite", {
149
170
  enumerable: true,
150
- get: function () { return chunkX6RDQ5NB_cjs.renderSqlite; }
171
+ get: function () { return chunkYX3H63VV_cjs.renderSqlite; }
151
172
  });
152
173
  Object.defineProperty(exports, "sql", {
153
174
  enumerable: true,
154
- get: function () { return chunkX6RDQ5NB_cjs.sql; }
175
+ get: function () { return chunkYX3H63VV_cjs.sql; }
155
176
  });
156
177
  Object.defineProperty(exports, "ALL_META_EDGE_NAMES", {
157
178
  enumerable: true,
@@ -1,3 +1,62 @@
1
- export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, G as GraphBackend, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aV as SqlTableNames, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../index-CrFL_ENI.cjs';
1
+ import { G as GraphBackend, aV as SqlTableNames } from '../types-C5pZeKTl.cjs';
2
+ export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../types-C5pZeKTl.cjs';
3
+ import { R as RecordedInstant } from '../temporal-Dn_JADWY.cjs';
2
4
  export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.cjs';
3
5
  import 'zod';
6
+
7
+ /**
8
+ * One-time offline migration from timestamp-only recorded relations to numeric
9
+ * revisions. The durable remap table lets applications translate checkpoints
10
+ * stored outside TypeGraph before deleting the migration metadata.
11
+ */
12
+
13
+ type MigrateLegacyRecordedTimeOptions = Readonly<{
14
+ backend: GraphBackend;
15
+ /** Override the backend's recorded table names. */
16
+ tableNames?: Partial<SqlTableNames> | undefined;
17
+ /** Override the durable legacy-anchor mapping table name. */
18
+ mappingTableName?: string | undefined;
19
+ }>;
20
+ type MigrateLegacyRecordedTimeResult = Readonly<{
21
+ /** `true` when timestamp columns were rewritten during this call. */
22
+ migrated: boolean;
23
+ /** Number of graphs represented in the legacy commit order. */
24
+ graphs: number;
25
+ /** Number of distinct legacy anchors available for remapping. */
26
+ anchors: number;
27
+ /** Physical table retaining the old-anchor → revision mapping. */
28
+ mappingTableName: string;
29
+ }>;
30
+ type MigrateRecordedAnchorOptions = Readonly<{
31
+ backend: Pick<GraphBackend, "dialect" | "execute" | "tableNames">;
32
+ graphId: string;
33
+ anchor: string;
34
+ tableNames?: Partial<SqlTableNames> | undefined;
35
+ mappingTableName?: string | undefined;
36
+ }>;
37
+ type DeleteLegacyRecordedAnchorMapOptions = Readonly<{
38
+ backend: Pick<GraphBackend, "dialect" | "execute" | "executeStatement" | "tableNames" | "transaction">;
39
+ graphId: string;
40
+ tableNames?: Partial<SqlTableNames> | undefined;
41
+ mappingTableName?: string | undefined;
42
+ /** Drop the mapping table when this deletion leaves it empty. */
43
+ dropWhenEmpty?: boolean | undefined;
44
+ }>;
45
+ /**
46
+ * Rewrites timestamp-only recorded relations to numeric revisions.
47
+ *
48
+ * Run offline before opening a Store with the new schema. The durable mapping
49
+ * table is retained so external checkpoint stores can call
50
+ * {@link migrateRecordedAnchor}; delete each graph's rows after its downstream
51
+ * checkpoints have been rewritten.
52
+ */
53
+ declare function migrateLegacyRecordedTime(options: MigrateLegacyRecordedTimeOptions): Promise<MigrateLegacyRecordedTimeResult>;
54
+ /** Remaps one timestamp-only checkpoint after {@link migrateLegacyRecordedTime}. */
55
+ declare function migrateRecordedAnchor(options: MigrateRecordedAnchorOptions): Promise<RecordedInstant>;
56
+ /**
57
+ * Deletes one graph's legacy remap rows after downstream checkpoints migrate.
58
+ * Set `dropWhenEmpty` to remove the migration table after the final graph.
59
+ */
60
+ declare function deleteLegacyRecordedAnchorMap(options: DeleteLegacyRecordedAnchorMapOptions): Promise<void>;
61
+
62
+ export { type DeleteLegacyRecordedAnchorMapOptions, GraphBackend, type MigrateLegacyRecordedTimeOptions, type MigrateLegacyRecordedTimeResult, type MigrateRecordedAnchorOptions, RecordedInstant, SqlTableNames, deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor };
@@ -1,3 +1,62 @@
1
- export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, G as GraphBackend, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aV as SqlTableNames, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../index-Bq7vSPHy.js';
1
+ import { G as GraphBackend, aV as SqlTableNames } from '../types-D8szWDUo.js';
2
+ export { bH as ALL_FULLTEXT_MODES, A as AdapterBackend, P as AdapterBackendTransactions, bI as BASE_CONTRIBUTION_OWNER, B as BackendCapabilities, U as BackendIdentity, W as BackendLifecycle, X as BackendMaintenance, Y as BackendTransactions, bJ as CheckUniqueBatchParams, bK as CheckUniqueParams, bL as ClaimIndexMaterializationParams, Z as CommitSchemaVersionExpected, _ as CommitSchemaVersionParams, $ as CompiledRowsSql, a0 as CompiledSelectSql, a1 as CompiledStatementSql, bM as CompiledTemporaryStatementSql, a2 as ContributionMaterializationBackend, bN as ContributionMaterializationIdentity, bO as ContributionMaterializationRow, bP as CountEdgesByKindParams, bQ as CountEdgesFromParams, bR as CountNodesByKindParams, bS as CreateVectorIndexParams, bT as D1_MAX_BIND_PARAMETERS, bU as DURABLE_OBJECT_MAX_BIND_PARAMETERS, bV as DeleteEdgeParams, bW as DeleteEdgesBatchParams, bX as DeleteEmbeddingParams, a4 as DeleteFulltextBatchParams, bY as DeleteFulltextParams, bZ as DeleteNodeParams, b_ as DeleteUniqueParams, b$ as DialectAdapter, c0 as DialectCapabilities, c1 as DialectRecursiveQueryStrategy, c2 as DialectStandardQueryStrategy, c3 as DialectVectorPredicateStrategy, c4 as DropVectorIndexParams, a5 as EdgeEntityReadBackend, a6 as EdgeEntityWriteBackend, c5 as EdgeExistsBetweenParams, E as EdgeIndexDeclaration, b as EdgeIndexDirection, bz as EdgeRow, c6 as FULLTEXT_CONTRIBUTION_NAME, a8 as FilteredApproximateSearch, a9 as FilteredApproximateSearchMode, c7 as FindEdgesByKindParams, c8 as FindEdgesConnectedToParams, c9 as FindNodesByKindParams, aa as FulltextBatchRow, ab as FulltextCapabilities, ac as FulltextOperationBackend, ad as FulltextQueryMode, ae as FulltextSearchParams, af as FulltextSearchResult, F as FulltextStrategy, ag as GraphAnalyticsCapabilities, ah as GraphEntityReadBackend, ai as GraphEntityWriteBackend, aj as GraphLifecycleBackend, ca as GraphReadBackend, cb as HardDeleteEdgeParams, cc as HardDeleteNodeParams, cd as HybridSearchParams, ce as HybridSearchRow, I as IndexDeclaration, cf as IndexDeclarationBase, al as IndexMaterializationBackend, cg as IndexMaterializationRow, d as IndexOrigin, e as IndexScope, f as IndexWhereExpression, ch as IndexWhereLiteral, ci as IndexWhereOp, cj as IndexWhereOperand, D as InferenceType, ck as InsertEdgeParams, cl as InsertNodeParams, cm as InsertSchemaParams, cn as InsertUniqueParams, am as IntentSql, J as JsonPointer, x as JsonSchema, co as KindRemovalRow, cp as LiveNodeRow, cq as MODERN_SQLITE_MAX_BIND_PARAMETERS, av as NodeEntityReadBackend, aw as NodeEntityWriteBackend, N as NodeIndexDeclaration, by as NodeRow, cr as POSTGRES_CAPABILITIES, cs as POSTGRES_MAX_BIND_PARAMETERS, az as Placeholder, aA as QueryExecutionBackend, aB as RawQueryExecutionBackend, aC as RawStatementExecutionBackend, ct as RecordContributionMaterializationParams, cu as RecordIndexMaterializationParams, cv as RecordKindRemovalParams, R as RelationalIndexDeclaration, cw as RelationalIndexMethod, cx as ReleaseIndexMaterializationClaimParams, aE as RemovalMaterializationBackend, aF as RenderedSql, aI as ResolvedSqlTableNames, aJ as RowProps, cy as SQLITE_CAPABILITIES, cz as SQLITE_MAX_BIND_PARAMETERS, aK as SchemaCommitBackend, aL as SchemaReadBackend, C as SchemaVersionRow, w as SerializedClosures, t as SerializedEdgeDef, u as SerializedMetaEdge, s as SerializedNodeDef, y as SerializedOntology, v as SerializedOntologyRelation, q as SerializedSchema, z as SerializedUniqueConstraint, aM as SetActiveVersionParams, aO as SqlChunk, cA as SqlCompilationBackend, S as SqlDialect, aP as SqlFragment, aQ as SqlIdentifierChunk, aR as SqlIntent, aS as SqlParameterChunk, aT as SqlPlaceholderChunk, aW as SqlTag, aX as SqlTextChunk, aY as StrategyTableContribution, k as SystemColumnName, aZ as TableContribution, cB as TombstonedNodeRow, a_ as TransactionBackend, a$ as TransactionOptions, b0 as TransactionReadBackend, b2 as TrustedImportSession, b3 as UniqueConstraintBackend, cC as UniqueRow, cD as UpdateEdgeParams, cE as UpdateNodeParams, cF as UpsertEmbeddingBatchParams, cG as UpsertEmbeddingBatchRow, cH as UpsertEmbeddingParams, b4 as UpsertFulltextBatchParams, cI as UpsertFulltextParams, cJ as VECTOR_CONTRIBUTION_PREFIX, bp as ValueType, b5 as VectorCapabilities, l as VectorIndexDeclaration, m as VectorIndexImplementation, n as VectorIndexMetric, o as VectorIndexParams, cK as VectorIndexType, bG as VectorMetric, b6 as VectorOperationBackend, cL as VectorSearchParams, cM as VectorSearchResult, p as VectorSlot, V as VectorStrategy, cN as assertFiniteEmbedding, cO as assertVectorMinScore, cP as assertVectorSearchLimit, cQ as buildFulltextCapabilities, b7 as buildVectorCapabilities, b9 as fts5Strategy, cR as isLiveNodeRow, bb as isSqlFragment, cS as isSqlPlaceholder, cT as isTombstonedNodeRow, cU as normalizeGraphAnalyticsCapabilities, cV as quoteIdentifier, bh as renderPostgres, bi as renderSql, bj as renderSqlInline, bk as renderSqlite, bl as rowPropsToJsonText, bm as rowPropsToObject, cW as shortHash, bn as sql, bo as tsvectorStrategy, cX as vectorMinScoreCondition, cY as vectorPhysicalName, cZ as vectorScoreExpression } from '../types-D8szWDUo.js';
3
+ import { R as RecordedInstant } from '../temporal-CyFsSPe8.js';
2
4
  export { y as ALL_META_EDGE_NAMES, e as Cardinality, f as Collation, D as DeleteBehavior, j as EndpointExistence, z as ExtensionArrayItemType, B as ExtensionArrayProperty, F as ExtensionBooleanProperty, v as ExtensionEdgeDef, H as ExtensionEdgeIndex, M as ExtensionEmbeddingModifier, O as ExtensionEnumProperty, x as ExtensionIndex, P as ExtensionIndexWhere, u as ExtensionNodeDef, Q as ExtensionNodeIndex, R as ExtensionNumberProperty, S as ExtensionObjectFieldProperty, V as ExtensionObjectProperty, w as ExtensionOntologyRelation, W as ExtensionPropertyModifiers, X as ExtensionPropertyType, Y as ExtensionSearchableModifier, Z as ExtensionStringProperty, _ as ExtensionUniqueConstraint, $ as ExtensionUniqueWhere, G as GraphExtension, k as GraphExtensionVersion, I as IndexEntity, J as JsonValue, l as KindAnnotations, K as KindEntity, a0 as MetaEdgeName, c as NullCheckOp, T as TemporalMode, o as UniquenessScope } from '../extension-types-BLEVH4SG.js';
3
5
  import 'zod';
6
+
7
+ /**
8
+ * One-time offline migration from timestamp-only recorded relations to numeric
9
+ * revisions. The durable remap table lets applications translate checkpoints
10
+ * stored outside TypeGraph before deleting the migration metadata.
11
+ */
12
+
13
+ type MigrateLegacyRecordedTimeOptions = Readonly<{
14
+ backend: GraphBackend;
15
+ /** Override the backend's recorded table names. */
16
+ tableNames?: Partial<SqlTableNames> | undefined;
17
+ /** Override the durable legacy-anchor mapping table name. */
18
+ mappingTableName?: string | undefined;
19
+ }>;
20
+ type MigrateLegacyRecordedTimeResult = Readonly<{
21
+ /** `true` when timestamp columns were rewritten during this call. */
22
+ migrated: boolean;
23
+ /** Number of graphs represented in the legacy commit order. */
24
+ graphs: number;
25
+ /** Number of distinct legacy anchors available for remapping. */
26
+ anchors: number;
27
+ /** Physical table retaining the old-anchor → revision mapping. */
28
+ mappingTableName: string;
29
+ }>;
30
+ type MigrateRecordedAnchorOptions = Readonly<{
31
+ backend: Pick<GraphBackend, "dialect" | "execute" | "tableNames">;
32
+ graphId: string;
33
+ anchor: string;
34
+ tableNames?: Partial<SqlTableNames> | undefined;
35
+ mappingTableName?: string | undefined;
36
+ }>;
37
+ type DeleteLegacyRecordedAnchorMapOptions = Readonly<{
38
+ backend: Pick<GraphBackend, "dialect" | "execute" | "executeStatement" | "tableNames" | "transaction">;
39
+ graphId: string;
40
+ tableNames?: Partial<SqlTableNames> | undefined;
41
+ mappingTableName?: string | undefined;
42
+ /** Drop the mapping table when this deletion leaves it empty. */
43
+ dropWhenEmpty?: boolean | undefined;
44
+ }>;
45
+ /**
46
+ * Rewrites timestamp-only recorded relations to numeric revisions.
47
+ *
48
+ * Run offline before opening a Store with the new schema. The durable mapping
49
+ * table is retained so external checkpoint stores can call
50
+ * {@link migrateRecordedAnchor}; delete each graph's rows after its downstream
51
+ * checkpoints have been rewritten.
52
+ */
53
+ declare function migrateLegacyRecordedTime(options: MigrateLegacyRecordedTimeOptions): Promise<MigrateLegacyRecordedTimeResult>;
54
+ /** Remaps one timestamp-only checkpoint after {@link migrateLegacyRecordedTime}. */
55
+ declare function migrateRecordedAnchor(options: MigrateRecordedAnchorOptions): Promise<RecordedInstant>;
56
+ /**
57
+ * Deletes one graph's legacy remap rows after downstream checkpoints migrate.
58
+ * Set `dropWhenEmpty` to remove the migration table after the final graph.
59
+ */
60
+ declare function deleteLegacyRecordedAnchorMap(options: DeleteLegacyRecordedAnchorMapOptions): Promise<void>;
61
+
62
+ export { type DeleteLegacyRecordedAnchorMapOptions, GraphBackend, type MigrateLegacyRecordedTimeOptions, type MigrateLegacyRecordedTimeResult, type MigrateRecordedAnchorOptions, RecordedInstant, SqlTableNames, deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor };
@@ -1,8 +1,17 @@
1
- export { D1_MAX_BIND_PARAMETERS, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, rowPropsToJsonText, rowPropsToObject } from '../chunk-PZHC5GCD.js';
2
- export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-Y7M44XEK.js';
3
- export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-6XDBRDZE.js';
1
+ export { deleteLegacyRecordedAnchorMap, migrateLegacyRecordedTime, migrateRecordedAnchor } from '../chunk-ELA3V6UN.js';
2
+ import '../chunk-5J4VNCUD.js';
3
+ import '../chunk-ZVME6OSV.js';
4
+ import '../chunk-YYLMXERH.js';
5
+ export { D1_MAX_BIND_PARAMETERS, DURABLE_OBJECT_MAX_BIND_PARAMETERS, MODERN_SQLITE_MAX_BIND_PARAMETERS, POSTGRES_CAPABILITIES, POSTGRES_MAX_BIND_PARAMETERS, SQLITE_CAPABILITIES, SQLITE_MAX_BIND_PARAMETERS, isLiveNodeRow, isTombstonedNodeRow, normalizeGraphAnalyticsCapabilities, rowPropsToJsonText, rowPropsToObject } from '../chunk-L5ET7FYQ.js';
6
+ import '../chunk-QOHTVDHU.js';
7
+ import '../chunk-3SHAUJRB.js';
8
+ import '../chunk-AQVDAKXH.js';
9
+ import '../chunk-2EBMPJBO.js';
10
+ export { ALL_FULLTEXT_MODES, BASE_CONTRIBUTION_OWNER, FULLTEXT_CONTRIBUTION_NAME, VECTOR_CONTRIBUTION_PREFIX, assertFiniteEmbedding, assertVectorMinScore, assertVectorSearchLimit, buildFulltextCapabilities, buildVectorCapabilities, fts5Strategy, quoteIdentifier, shortHash, tsvectorStrategy, vectorMinScoreCondition, vectorPhysicalName, vectorScoreExpression } from '../chunk-Y5UC3IXF.js';
11
+ export { Placeholder, isSqlFragment, isSqlPlaceholder, renderPostgres, renderSql, renderSqlInline, renderSqlite, sql } from '../chunk-6N7QBIWN.js';
4
12
  import '../chunk-QMQLUA66.js';
5
13
  export { ALL_META_EDGE_NAMES } from '../chunk-GYA4JRP5.js';
6
14
  import '../chunk-DPNA466P.js';
15
+ import '../chunk-G6Q5UM7U.js';
7
16
  //# sourceMappingURL=index.js.map
8
17
  //# sourceMappingURL=index.js.map
@@ -1,23 +1,21 @@
1
1
  'use strict';
2
2
 
3
- var chunk7VLCN3JB_cjs = require('../../chunk-7VLCN3JB.cjs');
4
- var chunkXFY73JWD_cjs = require('../../chunk-XFY73JWD.cjs');
5
- require('../../chunk-B63IFHXR.cjs');
6
- require('../../chunk-FMNUSGZ4.cjs');
7
- require('../../chunk-EOJFGECD.cjs');
8
- require('../../chunk-E6TXEISH.cjs');
9
- require('../../chunk-DOVMTPKE.cjs');
3
+ var chunkQXKVUJLI_cjs = require('../../chunk-QXKVUJLI.cjs');
4
+ require('../../chunk-UDS5DZNY.cjs');
5
+ require('../../chunk-LFFVD5ZR.cjs');
6
+ require('../../chunk-5YBDB7UG.cjs');
7
+ require('../../chunk-7UTUKH4E.cjs');
8
+ var chunkLLHMAHG4_cjs = require('../../chunk-LLHMAHG4.cjs');
9
+ require('../../chunk-SE422RES.cjs');
10
10
  require('../../chunk-ZDH3DX3C.cjs');
11
- require('../../chunk-GNPGGLAE.cjs');
11
+ require('../../chunk-QYDUCWD2.cjs');
12
12
  require('../../chunk-ACSVZPK7.cjs');
13
- require('../../chunk-O5H62ZWJ.cjs');
14
- require('../../chunk-GUUWKPTK.cjs');
13
+ require('../../chunk-HP6LWBLB.cjs');
14
+ require('../../chunk-LLE25NRD.cjs');
15
15
  require('../../chunk-ZY4GXIVN.cjs');
16
16
  require('../../chunk-NAUA4PW5.cjs');
17
- require('../../chunk-UH2USOMG.cjs');
18
- require('../../chunk-Z5QHVL5U.cjs');
19
- require('../../chunk-ZKZAIX42.cjs');
20
- require('../../chunk-X6RDQ5NB.cjs');
17
+ require('../../chunk-HAQVISUF.cjs');
18
+ require('../../chunk-YX3H63VV.cjs');
21
19
  require('../../chunk-764JHTLT.cjs');
22
20
  require('../../chunk-SAFZ6JTI.cjs');
23
21
  require('../../chunk-TDXIBCGY.cjs');
@@ -26,55 +24,55 @@ require('../../chunk-TDXIBCGY.cjs');
26
24
 
27
25
  Object.defineProperty(exports, "createPostgresBackend", {
28
26
  enumerable: true,
29
- get: function () { return chunk7VLCN3JB_cjs.createPostgresBackend; }
27
+ get: function () { return chunkQXKVUJLI_cjs.createPostgresBackend; }
30
28
  });
31
29
  Object.defineProperty(exports, "createPostgresTables", {
32
30
  enumerable: true,
33
- get: function () { return chunkXFY73JWD_cjs.createPostgresTables; }
31
+ get: function () { return chunkLLHMAHG4_cjs.createPostgresTables; }
34
32
  });
35
33
  Object.defineProperty(exports, "edges", {
36
34
  enumerable: true,
37
- get: function () { return chunkXFY73JWD_cjs.edges; }
35
+ get: function () { return chunkLLHMAHG4_cjs.edges; }
38
36
  });
39
37
  Object.defineProperty(exports, "fulltext", {
40
38
  enumerable: true,
41
- get: function () { return chunkXFY73JWD_cjs.fulltext; }
39
+ get: function () { return chunkLLHMAHG4_cjs.fulltext; }
42
40
  });
43
41
  Object.defineProperty(exports, "generatePostgresDDL", {
44
42
  enumerable: true,
45
- get: function () { return chunkXFY73JWD_cjs.generatePostgresDDL; }
43
+ get: function () { return chunkLLHMAHG4_cjs.generatePostgresDDL; }
46
44
  });
47
45
  Object.defineProperty(exports, "generatePostgresMigrationSQL", {
48
46
  enumerable: true,
49
- get: function () { return chunkXFY73JWD_cjs.generatePostgresMigrationSQL; }
47
+ get: function () { return chunkLLHMAHG4_cjs.generatePostgresMigrationSQL; }
50
48
  });
51
49
  Object.defineProperty(exports, "nodes", {
52
50
  enumerable: true,
53
- get: function () { return chunkXFY73JWD_cjs.nodes; }
51
+ get: function () { return chunkLLHMAHG4_cjs.nodes; }
54
52
  });
55
53
  Object.defineProperty(exports, "recordedClock", {
56
54
  enumerable: true,
57
- get: function () { return chunkXFY73JWD_cjs.recordedClock; }
55
+ get: function () { return chunkLLHMAHG4_cjs.recordedClock; }
58
56
  });
59
57
  Object.defineProperty(exports, "recordedEdges", {
60
58
  enumerable: true,
61
- get: function () { return chunkXFY73JWD_cjs.recordedEdges; }
59
+ get: function () { return chunkLLHMAHG4_cjs.recordedEdges; }
62
60
  });
63
61
  Object.defineProperty(exports, "recordedNodes", {
64
62
  enumerable: true,
65
- get: function () { return chunkXFY73JWD_cjs.recordedNodes; }
63
+ get: function () { return chunkLLHMAHG4_cjs.recordedNodes; }
66
64
  });
67
65
  Object.defineProperty(exports, "schemaVersions", {
68
66
  enumerable: true,
69
- get: function () { return chunkXFY73JWD_cjs.schemaVersions; }
67
+ get: function () { return chunkLLHMAHG4_cjs.schemaVersions; }
70
68
  });
71
69
  Object.defineProperty(exports, "tables", {
72
70
  enumerable: true,
73
- get: function () { return chunkXFY73JWD_cjs.tables; }
71
+ get: function () { return chunkLLHMAHG4_cjs.tables; }
74
72
  });
75
73
  Object.defineProperty(exports, "uniques", {
76
74
  enumerable: true,
77
- get: function () { return chunkXFY73JWD_cjs.uniques; }
75
+ get: function () { return chunkLLHMAHG4_cjs.uniques; }
78
76
  });
79
77
  //# sourceMappingURL=index.cjs.map
80
78
  //# sourceMappingURL=index.cjs.map
@@ -1,13 +1,13 @@
1
1
  import { A as AnyPgDatabase, a as AnyPgTransaction } from '../../postgres-execution-fKW0qRiN.cjs';
2
- import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../index-CrFL_ENI.cjs';
3
- import { P as PostgresTables } from '../../postgres-DMgIKQU-.cjs';
4
- export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-DMgIKQU-.cjs';
5
- export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-J6sDyABg.cjs';
2
+ import { F as FulltextStrategy, V as VectorStrategy, B as BackendCapabilities, A as AdapterBackend } from '../../types-C5pZeKTl.cjs';
3
+ import { P as PostgresTables } from '../../postgres-Bm4DyFQU.cjs';
4
+ export { C as CreatePostgresTablesOptions, a as PostgresTableNames, c as createPostgresTables, e as edges, f as fulltext, n as nodes, r as recordedClock, b as recordedEdges, d as recordedNodes, s as schemaVersions, t as tables, u as uniques } from '../../postgres-Bm4DyFQU.cjs';
5
+ export { g as generatePostgresDDL, a as generatePostgresMigrationSQL } from '../../ddl-KnCdF_le.cjs';
6
6
  import 'drizzle-orm/pg-core';
7
7
  import 'drizzle-orm/relations';
8
- import '../../extension-types-BLEVH4SG.cjs';
9
8
  import 'zod';
10
- import '../../sqlite-BDkW39aa.cjs';
9
+ import '../../extension-types-BLEVH4SG.cjs';
10
+ import '../../sqlite-DT6tTHOG.cjs';
11
11
  import 'drizzle-orm/sqlite-core';
12
12
 
13
13
  /**