@nicia-ai/typegraph 0.46.2 → 0.48.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 (310) hide show
  1. package/README.md +20 -1
  2. package/dist/backend/drizzle/indexes.cjs +9 -9
  3. package/dist/backend/drizzle/indexes.d.cts +1 -1
  4. package/dist/backend/drizzle/indexes.d.ts +1 -1
  5. package/dist/backend/drizzle/indexes.js +5 -5
  6. package/dist/backend/index.cjs +58 -49
  7. package/dist/backend/index.d.cts +37 -55
  8. package/dist/backend/index.d.ts +37 -55
  9. package/dist/backend/index.js +11 -10
  10. package/dist/backend/postgres/index.cjs +27 -26
  11. package/dist/backend/postgres/index.d.cts +21 -7
  12. package/dist/backend/postgres/index.d.ts +21 -7
  13. package/dist/backend/postgres/index.js +14 -13
  14. package/dist/backend/postgres/pglite-store.cjs +34 -33
  15. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  16. package/dist/backend/postgres/pglite-store.d.cts +8 -8
  17. package/dist/backend/postgres/pglite-store.d.ts +8 -8
  18. package/dist/backend/postgres/pglite-store.js +30 -29
  19. package/dist/backend/postgres/pglite-store.js.map +1 -1
  20. package/dist/backend/postgres/pglite.cjs +16 -15
  21. package/dist/backend/postgres/pglite.d.cts +3 -3
  22. package/dist/backend/postgres/pglite.d.ts +3 -3
  23. package/dist/backend/postgres/pglite.js +15 -14
  24. package/dist/backend/sqlite/index.cjs +24 -23
  25. package/dist/backend/sqlite/index.d.cts +20 -7
  26. package/dist/backend/sqlite/index.d.ts +20 -7
  27. package/dist/backend/sqlite/index.js +12 -11
  28. package/dist/backend/sqlite/libsql.cjs +19 -18
  29. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  30. package/dist/backend/sqlite/libsql.d.cts +3 -3
  31. package/dist/backend/sqlite/libsql.d.ts +3 -3
  32. package/dist/backend/sqlite/libsql.js +14 -13
  33. package/dist/backend/sqlite/libsql.js.map +1 -1
  34. package/dist/backend/sqlite/local-store.cjs +35 -34
  35. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  36. package/dist/backend/sqlite/local-store.d.cts +8 -8
  37. package/dist/backend/sqlite/local-store.d.ts +8 -8
  38. package/dist/backend/sqlite/local-store.js +31 -30
  39. package/dist/backend/sqlite/local-store.js.map +1 -1
  40. package/dist/backend/sqlite/local.cjs +17 -16
  41. package/dist/backend/sqlite/local.d.cts +3 -3
  42. package/dist/backend/sqlite/local.d.ts +3 -3
  43. package/dist/backend/sqlite/local.js +15 -14
  44. package/dist/{chunk-TCT66A7N.cjs → chunk-26YKDNUD.cjs} +10 -10
  45. package/dist/{chunk-TCT66A7N.cjs.map → chunk-26YKDNUD.cjs.map} +1 -1
  46. package/dist/{chunk-E4OSGBCM.cjs → chunk-2HIYYMWY.cjs} +139 -136
  47. package/dist/chunk-2HIYYMWY.cjs.map +1 -0
  48. package/dist/chunk-2QGYQBS2.cjs +161 -0
  49. package/dist/chunk-2QGYQBS2.cjs.map +1 -0
  50. package/dist/{chunk-GWXXHOLU.js → chunk-2SYZXD54.js} +21 -18
  51. package/dist/chunk-2SYZXD54.js.map +1 -0
  52. package/dist/{chunk-KA4L2NZ3.js → chunk-2TYSSBU5.js} +14 -14
  53. package/dist/{chunk-KA4L2NZ3.js.map → chunk-2TYSSBU5.js.map} +1 -1
  54. package/dist/{chunk-QOJ2L2AD.js → chunk-3DMMGT6S.js} +3 -3
  55. package/dist/{chunk-QOJ2L2AD.js.map → chunk-3DMMGT6S.js.map} +1 -1
  56. package/dist/{chunk-F36KZDFX.cjs → chunk-3FPR224C.cjs} +91 -91
  57. package/dist/{chunk-F36KZDFX.cjs.map → chunk-3FPR224C.cjs.map} +1 -1
  58. package/dist/{chunk-32UETY6S.cjs → chunk-3KOY4FH3.cjs} +207 -28
  59. package/dist/chunk-3KOY4FH3.cjs.map +1 -0
  60. package/dist/{chunk-QU7QLJA4.cjs → chunk-3U5ABFDW.cjs} +26 -26
  61. package/dist/{chunk-QU7QLJA4.cjs.map → chunk-3U5ABFDW.cjs.map} +1 -1
  62. package/dist/{chunk-RFDEYLIK.js → chunk-4WMMBDS5.js} +7 -7
  63. package/dist/chunk-4WMMBDS5.js.map +1 -0
  64. package/dist/{chunk-R7EWHKID.js → chunk-5K2BKEBD.js} +19 -145
  65. package/dist/chunk-5K2BKEBD.js.map +1 -0
  66. package/dist/chunk-5PRKMB24.cjs +124 -0
  67. package/dist/chunk-5PRKMB24.cjs.map +1 -0
  68. package/dist/chunk-6LN7FIVU.js +107 -0
  69. package/dist/chunk-6LN7FIVU.js.map +1 -0
  70. package/dist/{chunk-D6GCNNMK.cjs → chunk-6NGW27EO.cjs} +10 -10
  71. package/dist/{chunk-D6GCNNMK.cjs.map → chunk-6NGW27EO.cjs.map} +1 -1
  72. package/dist/{chunk-WHS2Y43J.js → chunk-6SWPJEYN.js} +5 -5
  73. package/dist/{chunk-WHS2Y43J.js.map → chunk-6SWPJEYN.js.map} +1 -1
  74. package/dist/{chunk-7TKNK32B.js → chunk-7SQSZN2J.js} +5 -5
  75. package/dist/{chunk-7TKNK32B.js.map → chunk-7SQSZN2J.js.map} +1 -1
  76. package/dist/{chunk-UTVQPZPN.cjs → chunk-7XUYFFR4.cjs} +20 -20
  77. package/dist/chunk-7XUYFFR4.cjs.map +1 -0
  78. package/dist/{chunk-KXSMF6PL.js → chunk-ACGSAMD3.js} +39 -34
  79. package/dist/chunk-ACGSAMD3.js.map +1 -0
  80. package/dist/{chunk-PYKF7UIL.cjs → chunk-AOSSQDVO.cjs} +13 -13
  81. package/dist/{chunk-PYKF7UIL.cjs.map → chunk-AOSSQDVO.cjs.map} +1 -1
  82. package/dist/{chunk-AT3MLMJV.js → chunk-AX6JGVTZ.js} +91 -20
  83. package/dist/chunk-AX6JGVTZ.js.map +1 -0
  84. package/dist/{chunk-WA64ZSCA.cjs → chunk-BFUOME67.cjs} +11 -11
  85. package/dist/{chunk-WA64ZSCA.cjs.map → chunk-BFUOME67.cjs.map} +1 -1
  86. package/dist/{chunk-YQ4JONWE.js → chunk-BRRP76WO.js} +401 -131
  87. package/dist/chunk-BRRP76WO.js.map +1 -0
  88. package/dist/{chunk-FCIZNUW5.js → chunk-CHAOFCHV.js} +3 -3
  89. package/dist/{chunk-FCIZNUW5.js.map → chunk-CHAOFCHV.js.map} +1 -1
  90. package/dist/chunk-CICO5GXD.cjs +12 -0
  91. package/dist/{chunk-73MWKDFK.cjs.map → chunk-CICO5GXD.cjs.map} +1 -1
  92. package/dist/{chunk-S3G5VLSW.js → chunk-CT3ZKTOF.js} +7 -6
  93. package/dist/chunk-CT3ZKTOF.js.map +1 -0
  94. package/dist/{chunk-SXWLLQ3D.js → chunk-D5R42W5D.js} +4 -4
  95. package/dist/{chunk-SXWLLQ3D.js.map → chunk-D5R42W5D.js.map} +1 -1
  96. package/dist/{chunk-BZZI7B43.cjs → chunk-DO7SAMEK.cjs} +47 -47
  97. package/dist/{chunk-BZZI7B43.cjs.map → chunk-DO7SAMEK.cjs.map} +1 -1
  98. package/dist/chunk-DZAICA5J.js +147 -0
  99. package/dist/chunk-DZAICA5J.js.map +1 -0
  100. package/dist/{chunk-2ZWM2RFH.cjs → chunk-EDN4Y4ZG.cjs} +9 -9
  101. package/dist/{chunk-2ZWM2RFH.cjs.map → chunk-EDN4Y4ZG.cjs.map} +1 -1
  102. package/dist/{chunk-A4R3H7RU.cjs → chunk-EZEEWCFJ.cjs} +264 -361
  103. package/dist/chunk-EZEEWCFJ.cjs.map +1 -0
  104. package/dist/{chunk-BEB4OFZF.cjs → chunk-FA2AFWLP.cjs} +51 -59
  105. package/dist/chunk-FA2AFWLP.cjs.map +1 -0
  106. package/dist/{chunk-ZBVZ7HXD.cjs → chunk-FQPEMEWX.cjs} +12 -12
  107. package/dist/{chunk-ZBVZ7HXD.cjs.map → chunk-FQPEMEWX.cjs.map} +1 -1
  108. package/dist/{chunk-LNIWCQR4.js → chunk-GLHXM7C4.js} +3 -3
  109. package/dist/{chunk-LNIWCQR4.js.map → chunk-GLHXM7C4.js.map} +1 -1
  110. package/dist/{chunk-6BD6ZBKT.cjs → chunk-GYEG3ZLZ.cjs} +10 -10
  111. package/dist/{chunk-6BD6ZBKT.cjs.map → chunk-GYEG3ZLZ.cjs.map} +1 -1
  112. package/dist/{chunk-A7NMUYEL.cjs → chunk-HDL2ARHX.cjs} +27 -27
  113. package/dist/{chunk-A7NMUYEL.cjs.map → chunk-HDL2ARHX.cjs.map} +1 -1
  114. package/dist/{chunk-5ZJOB5YS.js → chunk-HEV35TGT.js} +4 -4
  115. package/dist/{chunk-5ZJOB5YS.js.map → chunk-HEV35TGT.js.map} +1 -1
  116. package/dist/{chunk-LHYSY6SE.js → chunk-I4GAZH5Z.js} +186 -9
  117. package/dist/chunk-I4GAZH5Z.js.map +1 -0
  118. package/dist/{chunk-BQM5P2NO.cjs → chunk-JB6T4GLL.cjs} +260 -223
  119. package/dist/chunk-JB6T4GLL.cjs.map +1 -0
  120. package/dist/{chunk-QPOQX2DI.cjs → chunk-JFRT7S3B.cjs} +1026 -369
  121. package/dist/chunk-JFRT7S3B.cjs.map +1 -0
  122. package/dist/{chunk-JCNTKRAK.js → chunk-JONXFAPO.js} +5 -5
  123. package/dist/{chunk-JCNTKRAK.js.map → chunk-JONXFAPO.js.map} +1 -1
  124. package/dist/{chunk-WEJHA7AD.js → chunk-KF6K7TGH.js} +109 -75
  125. package/dist/chunk-KF6K7TGH.js.map +1 -0
  126. package/dist/{chunk-EDJDDY6H.js → chunk-KKBDXCLQ.js} +4 -4
  127. package/dist/{chunk-EDJDDY6H.js.map → chunk-KKBDXCLQ.js.map} +1 -1
  128. package/dist/{chunk-ZHOAZD7Q.cjs → chunk-L3LQNR34.cjs} +161 -161
  129. package/dist/{chunk-ZHOAZD7Q.cjs.map → chunk-L3LQNR34.cjs.map} +1 -1
  130. package/dist/{chunk-AF3TWL5C.cjs → chunk-LRQKXRXO.cjs} +4 -4
  131. package/dist/{chunk-AF3TWL5C.cjs.map → chunk-LRQKXRXO.cjs.map} +1 -1
  132. package/dist/chunk-MKJ4KXL5.cjs +12 -0
  133. package/dist/{chunk-6LAXM4J2.cjs.map → chunk-MKJ4KXL5.cjs.map} +1 -1
  134. package/dist/{chunk-KCH7WQA5.cjs → chunk-MRDBBHIZ.cjs} +48 -2
  135. package/dist/chunk-MRDBBHIZ.cjs.map +1 -0
  136. package/dist/{chunk-FXNHZFZV.js → chunk-MYKHJI2J.js} +3 -3
  137. package/dist/{chunk-FXNHZFZV.js.map → chunk-MYKHJI2J.js.map} +1 -1
  138. package/dist/{chunk-Z43KWLZF.js → chunk-NACVVDWB.js} +213 -12
  139. package/dist/chunk-NACVVDWB.js.map +1 -0
  140. package/dist/{chunk-72WUT4GG.js → chunk-NVY5CJFP.js} +4 -4
  141. package/dist/{chunk-72WUT4GG.js.map → chunk-NVY5CJFP.js.map} +1 -1
  142. package/dist/{chunk-WYFB7BN3.js → chunk-OD4SSY2U.js} +166 -48
  143. package/dist/chunk-OD4SSY2U.js.map +1 -0
  144. package/dist/{chunk-ZIH42CRX.cjs → chunk-OI2GQ25X.cjs} +7 -7
  145. package/dist/{chunk-ZIH42CRX.cjs.map → chunk-OI2GQ25X.cjs.map} +1 -1
  146. package/dist/{chunk-AU3IJNNP.js → chunk-OMZ37BM2.js} +5 -5
  147. package/dist/{chunk-AU3IJNNP.js.map → chunk-OMZ37BM2.js.map} +1 -1
  148. package/dist/{chunk-C4DYN2SD.cjs → chunk-OORXGFL5.cjs} +48 -48
  149. package/dist/{chunk-C4DYN2SD.cjs.map → chunk-OORXGFL5.cjs.map} +1 -1
  150. package/dist/{chunk-HNYLMPQQ.cjs → chunk-OTUPEF2W.cjs} +149 -78
  151. package/dist/chunk-OTUPEF2W.cjs.map +1 -0
  152. package/dist/{chunk-BRN3RGD2.js → chunk-OVI7IXYX.js} +3 -3
  153. package/dist/{chunk-BRN3RGD2.js.map → chunk-OVI7IXYX.js.map} +1 -1
  154. package/dist/{chunk-WMKEGJG4.js → chunk-P6YLZTRE.js} +3 -3
  155. package/dist/{chunk-WMKEGJG4.js.map → chunk-P6YLZTRE.js.map} +1 -1
  156. package/dist/{chunk-C2ZP5YS6.cjs → chunk-PFBRJBUL.cjs} +278 -160
  157. package/dist/chunk-PFBRJBUL.cjs.map +1 -0
  158. package/dist/{chunk-EJSYWAEV.js → chunk-QTD6HX4O.js} +5 -5
  159. package/dist/{chunk-EJSYWAEV.js.map → chunk-QTD6HX4O.js.map} +1 -1
  160. package/dist/{chunk-JL5UEBWT.cjs → chunk-ROR5ZR6A.cjs} +45 -45
  161. package/dist/{chunk-JL5UEBWT.cjs.map → chunk-ROR5ZR6A.cjs.map} +1 -1
  162. package/dist/{chunk-EDHV4CBU.js → chunk-S5TERQVW.js} +37 -134
  163. package/dist/chunk-S5TERQVW.js.map +1 -0
  164. package/dist/{chunk-FSLTU57P.js → chunk-SDBBMD4N.js} +3 -3
  165. package/dist/{chunk-FSLTU57P.js.map → chunk-SDBBMD4N.js.map} +1 -1
  166. package/dist/{chunk-36LIJXWC.js → chunk-SHFBB23Q.js} +4 -4
  167. package/dist/{chunk-36LIJXWC.js.map → chunk-SHFBB23Q.js.map} +1 -1
  168. package/dist/chunk-SIT26LAZ.cjs +614 -0
  169. package/dist/chunk-SIT26LAZ.cjs.map +1 -0
  170. package/dist/{chunk-C6KE2HSQ.cjs → chunk-SR725PWF.cjs} +1662 -1392
  171. package/dist/chunk-SR725PWF.cjs.map +1 -0
  172. package/dist/{chunk-S7WIRFNS.cjs → chunk-TKZXMWQF.cjs} +13 -12
  173. package/dist/chunk-TKZXMWQF.cjs.map +1 -0
  174. package/dist/{chunk-5PDSCELM.cjs → chunk-TQHGE7UC.cjs} +29 -164
  175. package/dist/chunk-TQHGE7UC.cjs.map +1 -0
  176. package/dist/{chunk-XBHRKLZU.cjs → chunk-TUNPBZY3.cjs} +4 -4
  177. package/dist/{chunk-XBHRKLZU.cjs.map → chunk-TUNPBZY3.cjs.map} +1 -1
  178. package/dist/{chunk-KOAI3KIV.cjs → chunk-TZEGUG6D.cjs} +4 -4
  179. package/dist/{chunk-KOAI3KIV.cjs.map → chunk-TZEGUG6D.cjs.map} +1 -1
  180. package/dist/chunk-UGHG7PGX.js +592 -0
  181. package/dist/chunk-UGHG7PGX.js.map +1 -0
  182. package/dist/{chunk-N3QTGPC7.cjs → chunk-UMGZDVOA.cjs} +303 -101
  183. package/dist/chunk-UMGZDVOA.cjs.map +1 -0
  184. package/dist/{chunk-RHDOAQCT.cjs → chunk-WCCATHMB.cjs} +140 -135
  185. package/dist/chunk-WCCATHMB.cjs.map +1 -0
  186. package/dist/{chunk-DYPRZ53S.cjs → chunk-WODMN3Q2.cjs} +27 -27
  187. package/dist/{chunk-DYPRZ53S.cjs.map → chunk-WODMN3Q2.cjs.map} +1 -1
  188. package/dist/{chunk-OZJCH7ZS.js → chunk-XVWOYKIK.js} +3 -3
  189. package/dist/{chunk-OZJCH7ZS.js.map → chunk-XVWOYKIK.js.map} +1 -1
  190. package/dist/{chunk-IHRDX7K6.js → chunk-YIURNGXI.js} +46 -56
  191. package/dist/chunk-YIURNGXI.js.map +1 -0
  192. package/dist/{chunk-GWUWRZXW.js → chunk-YVF2EM7B.js} +3 -3
  193. package/dist/{chunk-GWUWRZXW.js.map → chunk-YVF2EM7B.js.map} +1 -1
  194. package/dist/{chunk-EAMVXR5B.js → chunk-ZDKTPBGV.js} +4 -4
  195. package/dist/{chunk-EAMVXR5B.js.map → chunk-ZDKTPBGV.js.map} +1 -1
  196. package/dist/{chunk-A2LJG5GM.js → chunk-ZFMCDJGB.js} +803 -148
  197. package/dist/chunk-ZFMCDJGB.js.map +1 -0
  198. package/dist/{chunk-62ZXBMSD.js → chunk-ZLONH2UD.js} +46 -3
  199. package/dist/chunk-ZLONH2UD.js.map +1 -0
  200. package/dist/core/index.cjs +28 -27
  201. package/dist/core/index.d.cts +4 -4
  202. package/dist/core/index.d.ts +4 -4
  203. package/dist/core/index.js +8 -7
  204. package/dist/ddl-BL1NZLMY.d.cts +78 -0
  205. package/dist/ddl-D_oW-EVO.d.ts +78 -0
  206. package/dist/graph-extension/index.cjs +20 -20
  207. package/dist/graph-extension/index.d.cts +4 -4
  208. package/dist/graph-extension/index.d.ts +4 -4
  209. package/dist/graph-extension/index.js +4 -4
  210. package/dist/graph-merge/index.cjs +3418 -706
  211. package/dist/graph-merge/index.cjs.map +1 -1
  212. package/dist/graph-merge/index.d.cts +550 -58
  213. package/dist/graph-merge/index.d.ts +550 -58
  214. package/dist/graph-merge/index.js +3191 -497
  215. package/dist/graph-merge/index.js.map +1 -1
  216. package/dist/{index-Deyu8IXL.d.ts → index-COs_z6nV.d.cts} +47 -3
  217. package/dist/{index-DrRS51Ld.d.cts → index-D7d1u2gr.d.ts} +47 -3
  218. package/dist/index.cjs +233 -216
  219. package/dist/index.cjs.map +1 -1
  220. package/dist/index.d.cts +12 -12
  221. package/dist/index.d.ts +12 -12
  222. package/dist/index.js +35 -34
  223. package/dist/index.js.map +1 -1
  224. package/dist/indexes/index.cjs +13 -13
  225. package/dist/indexes/index.d.cts +4 -4
  226. package/dist/indexes/index.d.ts +4 -4
  227. package/dist/indexes/index.js +6 -6
  228. package/dist/interchange/index.cjs +53 -52
  229. package/dist/interchange/index.cjs.map +1 -1
  230. package/dist/interchange/index.d.cts +17 -13
  231. package/dist/interchange/index.d.ts +17 -13
  232. package/dist/interchange/index.js +17 -16
  233. package/dist/interchange/index.js.map +1 -1
  234. package/dist/{manager-ptr3JLRP.d.cts → manager-CYaff3n3.d.cts} +2 -2
  235. package/dist/{manager-DX983gJ0.d.ts → manager-D9eRT_ns.d.ts} +2 -2
  236. package/dist/{materialize-indexes-CpXoggWU.d.ts → materialize-indexes-DJ3ykH59.d.ts} +1 -1
  237. package/dist/{materialize-indexes-BXz77YqO.d.cts → materialize-indexes-DTtAnvfY.d.cts} +1 -1
  238. package/dist/{postgres-DwgEXSPI.d.cts → postgres-CcL4bAHS.d.ts} +1 -1
  239. package/dist/{postgres-QdOMHTBz.d.ts → postgres-DMj39MEu.d.cts} +1 -1
  240. package/dist/profiler/index.d.cts +9 -9
  241. package/dist/profiler/index.d.ts +9 -9
  242. package/dist/provenance/index.cjs +46 -46
  243. package/dist/provenance/index.cjs.map +1 -1
  244. package/dist/provenance/index.d.cts +7 -7
  245. package/dist/provenance/index.d.ts +7 -7
  246. package/dist/provenance/index.js +13 -13
  247. package/dist/provenance/index.js.map +1 -1
  248. package/dist/repair-validity-windows-BFNZvd_H.d.cts +166 -0
  249. package/dist/repair-validity-windows-DlUSqwCg.d.ts +166 -0
  250. package/dist/schema/index.cjs +45 -44
  251. package/dist/schema/index.d.cts +6 -6
  252. package/dist/schema/index.d.ts +6 -6
  253. package/dist/schema/index.js +18 -17
  254. package/dist/{searchable-BOUuA83f.d.ts → searchable-DHJMh_nj.d.cts} +1 -1
  255. package/dist/{searchable-BrUh0pdc.d.cts → searchable-bpE1bBfc.d.ts} +1 -1
  256. package/dist/{sqlite-BfYcV61E.d.cts → sqlite-D7Oz0SQh.d.ts} +1 -1
  257. package/dist/{sqlite-DK40XVR1.d.ts → sqlite-YppHrNFb.d.cts} +1 -1
  258. package/dist/{store-FTqBpuJD.d.cts → store-JUVvtmR4.d.cts} +228 -92
  259. package/dist/{store-Bo1psfVZ.d.ts → store-UzrGvZOo.d.ts} +228 -92
  260. package/dist/{temporal-DPtn0HOu.d.ts → temporal-5GqpYCk2.d.cts} +1 -1
  261. package/dist/{temporal-CXewwLTB.d.cts → temporal-CbnLzTmM.d.ts} +1 -1
  262. package/dist/{types-Du78EvpN.d.ts → types-BqFZTQmV.d.cts} +60 -9
  263. package/dist/{types-Du78EvpN.d.cts → types-BqFZTQmV.d.ts} +60 -9
  264. package/dist/{types-CeT7xM4M.d.ts → types-Bx74kaTt.d.ts} +1 -1
  265. package/dist/{types-XR1nHERK.d.cts → types-CXAhpW-c.d.cts} +1 -1
  266. package/dist/{where-CJsp-YUf.d.cts → where-DI_Fqz-X.d.cts} +1 -1
  267. package/dist/{where-CMbFiWwp.d.ts → where-O-k2wgYm.d.ts} +1 -1
  268. package/package.json +1 -1
  269. package/dist/chunk-32UETY6S.cjs.map +0 -1
  270. package/dist/chunk-5PDSCELM.cjs.map +0 -1
  271. package/dist/chunk-62ZXBMSD.js.map +0 -1
  272. package/dist/chunk-6LAXM4J2.cjs +0 -12
  273. package/dist/chunk-73MWKDFK.cjs +0 -12
  274. package/dist/chunk-A2LJG5GM.js.map +0 -1
  275. package/dist/chunk-A4R3H7RU.cjs.map +0 -1
  276. package/dist/chunk-ANKOXPCC.cjs +0 -267
  277. package/dist/chunk-ANKOXPCC.cjs.map +0 -1
  278. package/dist/chunk-AT3MLMJV.js.map +0 -1
  279. package/dist/chunk-BEB4OFZF.cjs.map +0 -1
  280. package/dist/chunk-BQM5P2NO.cjs.map +0 -1
  281. package/dist/chunk-C2ZP5YS6.cjs.map +0 -1
  282. package/dist/chunk-C6KE2HSQ.cjs.map +0 -1
  283. package/dist/chunk-DSAWGCMP.js +0 -254
  284. package/dist/chunk-DSAWGCMP.js.map +0 -1
  285. package/dist/chunk-E4OSGBCM.cjs.map +0 -1
  286. package/dist/chunk-EDHV4CBU.js.map +0 -1
  287. package/dist/chunk-FA6Z7B5L.js +0 -244
  288. package/dist/chunk-FA6Z7B5L.js.map +0 -1
  289. package/dist/chunk-GVAMRRZR.cjs +0 -268
  290. package/dist/chunk-GVAMRRZR.cjs.map +0 -1
  291. package/dist/chunk-GWXXHOLU.js.map +0 -1
  292. package/dist/chunk-HNYLMPQQ.cjs.map +0 -1
  293. package/dist/chunk-IHRDX7K6.js.map +0 -1
  294. package/dist/chunk-KCH7WQA5.cjs.map +0 -1
  295. package/dist/chunk-KXSMF6PL.js.map +0 -1
  296. package/dist/chunk-LHYSY6SE.js.map +0 -1
  297. package/dist/chunk-N3QTGPC7.cjs.map +0 -1
  298. package/dist/chunk-QPOQX2DI.cjs.map +0 -1
  299. package/dist/chunk-R7EWHKID.js.map +0 -1
  300. package/dist/chunk-RFDEYLIK.js.map +0 -1
  301. package/dist/chunk-RHDOAQCT.cjs.map +0 -1
  302. package/dist/chunk-S3G5VLSW.js.map +0 -1
  303. package/dist/chunk-S7WIRFNS.cjs.map +0 -1
  304. package/dist/chunk-UTVQPZPN.cjs.map +0 -1
  305. package/dist/chunk-WEJHA7AD.js.map +0 -1
  306. package/dist/chunk-WYFB7BN3.js.map +0 -1
  307. package/dist/chunk-YQ4JONWE.js.map +0 -1
  308. package/dist/chunk-Z43KWLZF.js.map +0 -1
  309. package/dist/ddl-mE07h_EM.d.cts +0 -38
  310. package/dist/ddl-opIn8DfX.d.ts +0 -38
@@ -0,0 +1,166 @@
1
+ import { R as RecordedInstant } from './temporal-CbnLzTmM.js';
2
+ import { aM as GraphBackend, c8 as SqlTableNames } from './types-BqFZTQmV.js';
3
+
4
+ /**
5
+ * One-time offline migration from timestamp-only recorded relations to numeric
6
+ * revisions. The durable remap table lets applications translate checkpoints
7
+ * stored outside TypeGraph before deleting the migration metadata.
8
+ */
9
+
10
+ type MigrateLegacyRecordedTimeOptions = Readonly<{
11
+ backend: GraphBackend;
12
+ /** Patch selected backend table names; unstated names remain configured. */
13
+ tableNames?: Partial<SqlTableNames> | undefined;
14
+ /** Override the durable legacy-anchor mapping table name. */
15
+ mappingTableName?: string | undefined;
16
+ }>;
17
+ type MigrateLegacyRecordedTimeResult = Readonly<{
18
+ /** `true` when timestamp columns were rewritten during this call. */
19
+ migrated: boolean;
20
+ /** Number of graphs represented in the legacy commit order. */
21
+ graphs: number;
22
+ /** Number of distinct legacy anchors available for remapping. */
23
+ anchors: number;
24
+ /** Physical table retaining the old-anchor → revision mapping. */
25
+ mappingTableName: string;
26
+ }>;
27
+ type MigrateRecordedAnchorOptions = Readonly<{
28
+ backend: Pick<GraphBackend, "dialect" | "execute" | "tableNames">;
29
+ graphId: string;
30
+ anchor: string;
31
+ /** Patch selected backend table names; unstated names remain configured. */
32
+ tableNames?: Partial<SqlTableNames> | undefined;
33
+ mappingTableName?: string | undefined;
34
+ }>;
35
+ type DeleteLegacyRecordedAnchorMapOptions = Readonly<{
36
+ backend: Pick<GraphBackend, "dialect" | "execute" | "executeStatement" | "tableNames" | "transaction">;
37
+ graphId: string;
38
+ /** Patch selected backend table names; unstated names remain configured. */
39
+ tableNames?: Partial<SqlTableNames> | undefined;
40
+ mappingTableName?: string | undefined;
41
+ /** Drop the mapping table when this deletion leaves it empty. */
42
+ dropWhenEmpty?: boolean | undefined;
43
+ }>;
44
+ /**
45
+ * Rewrites timestamp-only recorded relations to numeric revisions.
46
+ *
47
+ * Run offline before opening a Store with the new schema. The durable mapping
48
+ * table is retained so external checkpoint stores can call
49
+ * {@link migrateRecordedAnchor}; delete each graph's rows after its downstream
50
+ * checkpoints have been rewritten.
51
+ */
52
+ declare function migrateLegacyRecordedTime(options: MigrateLegacyRecordedTimeOptions): Promise<MigrateLegacyRecordedTimeResult>;
53
+ /** Remaps one timestamp-only checkpoint after {@link migrateLegacyRecordedTime}. */
54
+ declare function migrateRecordedAnchor(options: MigrateRecordedAnchorOptions): Promise<RecordedInstant>;
55
+ /**
56
+ * Deletes one graph's legacy remap rows after downstream checkpoints migrate.
57
+ * Set `dropWhenEmpty` to remove the migration table after the final graph.
58
+ */
59
+ declare function deleteLegacyRecordedAnchorMap(options: DeleteLegacyRecordedAnchorMapOptions): Promise<void>;
60
+
61
+ /** A relation whose rows carry a validity window this repair can normalize. */
62
+ type RepairRelation = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
63
+ /**
64
+ * Which relations one call scans.
65
+ *
66
+ * `"live-and-recorded"` is the recommended scope. `"live"` is correct in
67
+ * exactly two cases: the store captures no history and the `recorded_*` tables
68
+ * do not exist, or the operator is deliberately preserving the recorded axis as
69
+ * an audit record of what was stored before the repair — and accepts that
70
+ * historical `asOfRecorded` reads keep returning the invisible shape.
71
+ */
72
+ type RepairRelationScope = "live" | "live-and-recorded";
73
+ /** Inputs for detecting or repairing legacy inverted validity windows. */
74
+ type RepairInvertedWindowsOptions = Readonly<{
75
+ backend: GraphBackend;
76
+ /** Omit to sweep every graph in the database. */
77
+ graphId?: string | undefined;
78
+ /** Required: the scope is a decision, not a default. */
79
+ relations: RepairRelationScope;
80
+ /**
81
+ * `"report"` counts and writes nothing; `"apply"` counts and then normalizes
82
+ * the rows it counted.
83
+ */
84
+ mode: "report" | "apply";
85
+ /**
86
+ * Patch selected backend table names, exactly as migrate-recorded-time does.
87
+ * Unstated names continue to come from `backend.tableNames`; see
88
+ * {@link resolvedTableNames}.
89
+ */
90
+ tableNames?: Partial<SqlTableNames> | undefined;
91
+ }>;
92
+ /** Counts and execution guarantees observed by one repair/report call. */
93
+ type RepairInvertedWindowsReport = Readonly<{
94
+ /** Echoes the scope actually scanned — a count of 0 and "not scanned" are different facts. */
95
+ relations: RepairRelationScope;
96
+ /**
97
+ * Rows whose stored window is inverted: found in `"report"` mode, repaired in
98
+ * `"apply"` mode. `undefined` means NOT SCANNED, never "clean".
99
+ */
100
+ counts: Readonly<Record<RepairRelation, number | undefined>>;
101
+ /**
102
+ * Rows whose stored bounds are not canonical ISO and were therefore not
103
+ * classified. SQLite only in substance: on PostgreSQL the columns are
104
+ * `timestamptz`, so a scanned relation always reports `0` (never `undefined`
105
+ * — that value is reserved for "not scanned", on both dialects).
106
+ *
107
+ * `"apply"` refuses while any scanned relation reports a non-zero count:
108
+ * classifying those rows needs a timestamp semantics this repair does not
109
+ * own, and skipping them silently would be an accepted option ignored.
110
+ */
111
+ nonCanonical: Readonly<Record<RepairRelation, number | undefined>>;
112
+ /**
113
+ * Whether every statement of this call ran in ONE transaction. `false` on a
114
+ * backend that reports `capabilities.transactions === false`, where the call
115
+ * degrades to per-relation statements.
116
+ *
117
+ * Reported by the seam, not inferred from backend object identity:
118
+ * {@link runOptionallyInTransaction} explicitly tells its callback whether it
119
+ * opened a transaction. "One snapshot" and "four snapshots" are different
120
+ * facts about a report, and the report must state which occurred even when a
121
+ * custom backend passes the same object into its transaction callback.
122
+ *
123
+ * When `false`, a `"report"`'s counts may come from different snapshots and a
124
+ * crash mid-`"apply"` can leave the live axis repaired and the recorded axis
125
+ * not. Both are survivable the same way: each relation's statement is
126
+ * idempotent and convergent, so a re-run finishes the job and a later
127
+ * `"report"` proves it.
128
+ */
129
+ atomic: boolean;
130
+ }>;
131
+ /**
132
+ * Counts — and, in `"apply"` mode, normalizes — rows whose stored validity
133
+ * window is inverted.
134
+ *
135
+ * ```typescript
136
+ * // Diagnose with the store's backend: `report` reads only, so it runs
137
+ * // anywhere, including a capture-wrapped or statement-less backend.
138
+ * const report = await repairInvertedValidityWindows({
139
+ * backend: anyBackend,
140
+ * relations: "live-and-recorded",
141
+ * mode: "report",
142
+ * });
143
+ *
144
+ * // Repair with the raw one, while writers are stopped.
145
+ * await repairInvertedValidityWindows({
146
+ * backend: rawBackend,
147
+ * relations: "live-and-recorded",
148
+ * mode: "apply",
149
+ * });
150
+ * ```
151
+ *
152
+ * Idempotent and convergent: a second `"apply"` reports zero, because the rows
153
+ * the first one repaired no longer match the predicate.
154
+ *
155
+ * No batching, deliberately. Unlike the recorded-time migration, which rewrites
156
+ * every row, this statement touches only rows the library mis-stored — an empty
157
+ * set on a healthy graph. A deployment that reports a count large enough to
158
+ * worry about should run it per `graphId`.
159
+ *
160
+ * @throws ConfigurationError in `"apply"` mode when the backend cannot execute
161
+ * statements, when the backend is a recorded-capture wrapper, or when any
162
+ * scanned relation stores non-canonical bounds.
163
+ */
164
+ declare function repairInvertedValidityWindows(options: RepairInvertedWindowsOptions): Promise<RepairInvertedWindowsReport>;
165
+
166
+ export { type DeleteLegacyRecordedAnchorMapOptions as D, type MigrateLegacyRecordedTimeOptions as M, type RepairInvertedWindowsOptions as R, type MigrateLegacyRecordedTimeResult as a, type MigrateRecordedAnchorOptions as b, type RepairInvertedWindowsReport as c, type RepairRelation as d, type RepairRelationScope as e, deleteLegacyRecordedAnchorMap as f, migrateRecordedAnchor as g, migrateLegacyRecordedTime as m, repairInvertedValidityWindows as r };
@@ -1,29 +1,30 @@
1
1
  'use strict';
2
2
 
3
- var chunkXBHRKLZU_cjs = require('../chunk-XBHRKLZU.cjs');
4
- var chunkF36KZDFX_cjs = require('../chunk-F36KZDFX.cjs');
5
- require('../chunk-TCT66A7N.cjs');
6
- var chunkQPOQX2DI_cjs = require('../chunk-QPOQX2DI.cjs');
7
- require('../chunk-A4R3H7RU.cjs');
3
+ var chunkTUNPBZY3_cjs = require('../chunk-TUNPBZY3.cjs');
4
+ var chunk3FPR224C_cjs = require('../chunk-3FPR224C.cjs');
5
+ require('../chunk-26YKDNUD.cjs');
6
+ var chunkJFRT7S3B_cjs = require('../chunk-JFRT7S3B.cjs');
7
+ require('../chunk-EZEEWCFJ.cjs');
8
8
  require('../chunk-PWLJ77UV.cjs');
9
- require('../chunk-GVAMRRZR.cjs');
10
- require('../chunk-QU7QLJA4.cjs');
11
- require('../chunk-ANKOXPCC.cjs');
12
- require('../chunk-WA64ZSCA.cjs');
13
- require('../chunk-ZBVZ7HXD.cjs');
14
- require('../chunk-5PDSCELM.cjs');
15
- require('../chunk-AF3TWL5C.cjs');
9
+ require('../chunk-SIT26LAZ.cjs');
10
+ require('../chunk-3U5ABFDW.cjs');
11
+ require('../chunk-5PRKMB24.cjs');
12
+ require('../chunk-BFUOME67.cjs');
13
+ require('../chunk-FQPEMEWX.cjs');
14
+ require('../chunk-2QGYQBS2.cjs');
15
+ require('../chunk-TQHGE7UC.cjs');
16
+ require('../chunk-LRQKXRXO.cjs');
16
17
  require('../chunk-ZY4GXIVN.cjs');
17
18
  require('../chunk-NAUA4PW5.cjs');
18
- require('../chunk-ZHOAZD7Q.cjs');
19
- require('../chunk-2ZWM2RFH.cjs');
19
+ require('../chunk-L3LQNR34.cjs');
20
+ require('../chunk-EDN4Y4ZG.cjs');
20
21
  require('../chunk-7EO3TCQB.cjs');
21
22
  require('../chunk-RT5ZY4XA.cjs');
22
23
  require('../chunk-HAHNRASW.cjs');
23
- require('../chunk-6BD6ZBKT.cjs');
24
+ require('../chunk-GYEG3ZLZ.cjs');
24
25
  require('../chunk-XUO3KQFO.cjs');
25
- require('../chunk-D6GCNNMK.cjs');
26
- require('../chunk-KCH7WQA5.cjs');
26
+ require('../chunk-6NGW27EO.cjs');
27
+ require('../chunk-MRDBBHIZ.cjs');
27
28
  require('../chunk-A7J2YDDI.cjs');
28
29
  require('../chunk-N66HCGCY.cjs');
29
30
 
@@ -31,111 +32,111 @@ require('../chunk-N66HCGCY.cjs');
31
32
 
32
33
  Object.defineProperty(exports, "deserializeSchema", {
33
34
  enumerable: true,
34
- get: function () { return chunkXBHRKLZU_cjs.deserializeSchema; }
35
+ get: function () { return chunkTUNPBZY3_cjs.deserializeSchema; }
35
36
  });
36
37
  Object.defineProperty(exports, "applyDeprecatedKinds", {
37
38
  enumerable: true,
38
- get: function () { return chunkF36KZDFX_cjs.applyDeprecatedKinds; }
39
+ get: function () { return chunk3FPR224C_cjs.applyDeprecatedKinds; }
39
40
  });
40
41
  Object.defineProperty(exports, "assertSchemaCurrent", {
41
42
  enumerable: true,
42
- get: function () { return chunkF36KZDFX_cjs.assertSchemaCurrent; }
43
+ get: function () { return chunk3FPR224C_cjs.assertSchemaCurrent; }
43
44
  });
44
45
  Object.defineProperty(exports, "classifySchemaChanges", {
45
46
  enumerable: true,
46
- get: function () { return chunkF36KZDFX_cjs.classifySchemaChanges; }
47
+ get: function () { return chunk3FPR224C_cjs.classifySchemaChanges; }
47
48
  });
48
49
  Object.defineProperty(exports, "computeSchemaDiff", {
49
50
  enumerable: true,
50
- get: function () { return chunkF36KZDFX_cjs.computeSchemaDiff; }
51
+ get: function () { return chunk3FPR224C_cjs.computeSchemaDiff; }
51
52
  });
52
53
  Object.defineProperty(exports, "computeSchemaHash", {
53
54
  enumerable: true,
54
- get: function () { return chunkF36KZDFX_cjs.computeSchemaHash; }
55
+ get: function () { return chunk3FPR224C_cjs.computeSchemaHash; }
55
56
  });
56
57
  Object.defineProperty(exports, "deserializeWherePredicate", {
57
58
  enumerable: true,
58
- get: function () { return chunkF36KZDFX_cjs.deserializeWherePredicate; }
59
+ get: function () { return chunk3FPR224C_cjs.deserializeWherePredicate; }
59
60
  });
60
61
  Object.defineProperty(exports, "ensureSchema", {
61
62
  enumerable: true,
62
- get: function () { return chunkF36KZDFX_cjs.ensureSchema; }
63
+ get: function () { return chunk3FPR224C_cjs.ensureSchema; }
63
64
  });
64
65
  Object.defineProperty(exports, "getActiveSchema", {
65
66
  enumerable: true,
66
- get: function () { return chunkF36KZDFX_cjs.getActiveSchema; }
67
+ get: function () { return chunk3FPR224C_cjs.getActiveSchema; }
67
68
  });
68
69
  Object.defineProperty(exports, "getCommittedSchemaVersion", {
69
70
  enumerable: true,
70
- get: function () { return chunkF36KZDFX_cjs.getCommittedSchemaVersion; }
71
+ get: function () { return chunk3FPR224C_cjs.getCommittedSchemaVersion; }
71
72
  });
72
73
  Object.defineProperty(exports, "getMigrationActions", {
73
74
  enumerable: true,
74
- get: function () { return chunkF36KZDFX_cjs.getMigrationActions; }
75
+ get: function () { return chunk3FPR224C_cjs.getMigrationActions; }
75
76
  });
76
77
  Object.defineProperty(exports, "getSchemaChanges", {
77
78
  enumerable: true,
78
- get: function () { return chunkF36KZDFX_cjs.getSchemaChanges; }
79
+ get: function () { return chunk3FPR224C_cjs.getSchemaChanges; }
79
80
  });
80
81
  Object.defineProperty(exports, "initializeSchema", {
81
82
  enumerable: true,
82
- get: function () { return chunkF36KZDFX_cjs.initializeSchema; }
83
+ get: function () { return chunk3FPR224C_cjs.initializeSchema; }
83
84
  });
84
85
  Object.defineProperty(exports, "isBackwardsCompatible", {
85
86
  enumerable: true,
86
- get: function () { return chunkF36KZDFX_cjs.isBackwardsCompatible; }
87
+ get: function () { return chunk3FPR224C_cjs.isBackwardsCompatible; }
87
88
  });
88
89
  Object.defineProperty(exports, "isSchemaInitialized", {
89
90
  enumerable: true,
90
- get: function () { return chunkF36KZDFX_cjs.isSchemaInitialized; }
91
+ get: function () { return chunk3FPR224C_cjs.isSchemaInitialized; }
91
92
  });
92
93
  Object.defineProperty(exports, "loadActiveSchemaWithBootstrap", {
93
94
  enumerable: true,
94
- get: function () { return chunkF36KZDFX_cjs.loadActiveSchemaWithBootstrap; }
95
+ get: function () { return chunk3FPR224C_cjs.loadActiveSchemaWithBootstrap; }
95
96
  });
96
97
  Object.defineProperty(exports, "loadAndMergeGraphExtensionDocument", {
97
98
  enumerable: true,
98
- get: function () { return chunkF36KZDFX_cjs.loadAndMergeGraphExtensionDocument; }
99
+ get: function () { return chunk3FPR224C_cjs.loadAndMergeGraphExtensionDocument; }
99
100
  });
100
101
  Object.defineProperty(exports, "migrateSchema", {
101
102
  enumerable: true,
102
- get: function () { return chunkF36KZDFX_cjs.migrateSchema; }
103
+ get: function () { return chunk3FPR224C_cjs.migrateSchema; }
103
104
  });
104
105
  Object.defineProperty(exports, "parseSerializedSchema", {
105
106
  enumerable: true,
106
- get: function () { return chunkF36KZDFX_cjs.parseSerializedSchema; }
107
+ get: function () { return chunk3FPR224C_cjs.parseSerializedSchema; }
107
108
  });
108
109
  Object.defineProperty(exports, "requiresMigration", {
109
110
  enumerable: true,
110
- get: function () { return chunkF36KZDFX_cjs.requiresMigration; }
111
+ get: function () { return chunk3FPR224C_cjs.requiresMigration; }
111
112
  });
112
113
  Object.defineProperty(exports, "rollbackSchema", {
113
114
  enumerable: true,
114
- get: function () { return chunkF36KZDFX_cjs.rollbackSchema; }
115
+ get: function () { return chunk3FPR224C_cjs.rollbackSchema; }
115
116
  });
116
117
  Object.defineProperty(exports, "serializeSchema", {
117
118
  enumerable: true,
118
- get: function () { return chunkF36KZDFX_cjs.serializeSchema; }
119
+ get: function () { return chunk3FPR224C_cjs.serializeSchema; }
119
120
  });
120
121
  Object.defineProperty(exports, "createValidationError", {
121
122
  enumerable: true,
122
- get: function () { return chunkQPOQX2DI_cjs.createValidationError; }
123
+ get: function () { return chunkJFRT7S3B_cjs.createValidationError; }
123
124
  });
124
125
  Object.defineProperty(exports, "validateEdgeProps", {
125
126
  enumerable: true,
126
- get: function () { return chunkQPOQX2DI_cjs.validateEdgeProps; }
127
+ get: function () { return chunkJFRT7S3B_cjs.validateEdgeProps; }
127
128
  });
128
129
  Object.defineProperty(exports, "validateNodeProps", {
129
130
  enumerable: true,
130
- get: function () { return chunkQPOQX2DI_cjs.validateNodeProps; }
131
+ get: function () { return chunkJFRT7S3B_cjs.validateNodeProps; }
131
132
  });
132
133
  Object.defineProperty(exports, "validateProps", {
133
134
  enumerable: true,
134
- get: function () { return chunkQPOQX2DI_cjs.validateProps; }
135
+ get: function () { return chunkJFRT7S3B_cjs.validateProps; }
135
136
  });
136
137
  Object.defineProperty(exports, "wrapZodError", {
137
138
  enumerable: true,
138
- get: function () { return chunkQPOQX2DI_cjs.wrapZodError; }
139
+ get: function () { return chunkJFRT7S3B_cjs.wrapZodError; }
139
140
  });
140
141
  //# sourceMappingURL=index.cjs.map
141
142
  //# sourceMappingURL=index.cjs.map
@@ -1,10 +1,10 @@
1
- import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-Du78EvpN.cjs';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-Du78EvpN.cjs';
3
- import { K as KindRegistry } from '../manager-ptr3JLRP.cjs';
4
- export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-ptr3JLRP.cjs';
5
- export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-BXz77YqO.cjs';
1
+ import { bW as SerializedNodeDef, bU as SerializedEdgeDef, bV as SerializedMetaEdge, bY as SerializedOntologyRelation, bT as SerializedClosures, bZ as SerializedSchema, dj as SchemaHash, bt as NullCheckOp, d8 as GraphDef, bj as KindEntity } from '../types-BqFZTQmV.cjs';
2
+ export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig, bg as JsonSchema, bX as SerializedOntology, b_ as SerializedUniqueConstraint } from '../types-BqFZTQmV.cjs';
3
+ import { K as KindRegistry } from '../manager-CYaff3n3.cjs';
4
+ export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-CYaff3n3.cjs';
5
+ export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-DTtAnvfY.cjs';
6
6
  import { ZodType, ZodError } from 'zod';
7
- import { V as ValidationIssue, a as ValidationError } from '../index-DrRS51Ld.cjs';
7
+ import { V as ValidationIssue, a as ValidationError } from '../index-COs_z6nV.cjs';
8
8
 
9
9
  /**
10
10
  * A deserialized schema provides read-only access to schema metadata.
@@ -1,10 +1,10 @@
1
- import { D as SerializedNodeDef, H as SerializedEdgeDef, M as SerializedMetaEdge, O as SerializedOntologyRelation, P as SerializedClosures, z as SerializedSchema, U as SchemaHash, W as NullCheckOp, d as GraphDef, K as KindEntity } from '../types-Du78EvpN.js';
2
- export { C as ContributionDiagnostic, a as ContributionDiagnosticState, b as ContributionRepairEntry, c as ContributionRepairResult, G as GraphIdentityConfig, X as JsonSchema, Y as SerializedOntology, Z as SerializedUniqueConstraint } from '../types-Du78EvpN.js';
3
- import { K as KindRegistry } from '../manager-DX983gJ0.js';
4
- export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-DX983gJ0.js';
5
- export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-CpXoggWU.js';
1
+ import { bW as SerializedNodeDef, bU as SerializedEdgeDef, bV as SerializedMetaEdge, bY as SerializedOntologyRelation, bT as SerializedClosures, bZ as SerializedSchema, dj as SchemaHash, bt as NullCheckOp, d8 as GraphDef, bj as KindEntity } from '../types-BqFZTQmV.js';
2
+ export { u as ContributionDiagnostic, v as ContributionDiagnosticState, J as ContributionRepairEntry, K as ContributionRepairResult, aR as GraphIdentityConfig, bg as JsonSchema, bX as SerializedOntology, b_ as SerializedUniqueConstraint } from '../types-BqFZTQmV.js';
3
+ import { K as KindRegistry } from '../manager-D9eRT_ns.js';
4
+ export { M as MigrateSchemaOptions, a as MigrationHookContext, S as SchemaManagerOptions, b as SchemaValidationResult, c as applyDeprecatedKinds, d as assertSchemaCurrent, e as ensureSchema, g as getActiveSchema, f as getCommittedSchemaVersion, h as getSchemaChanges, i as initializeSchema, j as isSchemaInitialized, l as loadActiveSchemaWithBootstrap, k as loadAndMergeGraphExtensionDocument, m as migrateSchema, p as parseSerializedSchema, r as requiresMigration, n as rollbackSchema } from '../manager-D9eRT_ns.js';
5
+ export { C as ChangeSeverity, a as ChangeType, D as DeprecatedKindsChange, E as EdgeChange, b as ExtensionChange, I as IdentityChange, c as IndexChange, N as NodeChange, O as OntologyChange, d as SchemaChangeClassification, S as SchemaDiff, e as classifySchemaChanges, f as computeSchemaDiff, g as getMigrationActions, i as isBackwardsCompatible } from '../materialize-indexes-DJ3ykH59.js';
6
6
  import { ZodType, ZodError } from 'zod';
7
- import { V as ValidationIssue, a as ValidationError } from '../index-Deyu8IXL.js';
7
+ import { V as ValidationIssue, a as ValidationError } from '../index-D7d1u2gr.js';
8
8
 
9
9
  /**
10
10
  * A deserialized schema provides read-only access to schema metadata.
@@ -1,27 +1,28 @@
1
- export { deserializeSchema } from '../chunk-GWUWRZXW.js';
2
- export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-KA4L2NZ3.js';
3
- import '../chunk-36LIJXWC.js';
4
- export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-A2LJG5GM.js';
5
- import '../chunk-EDHV4CBU.js';
1
+ export { deserializeSchema } from '../chunk-YVF2EM7B.js';
2
+ export { applyDeprecatedKinds, assertSchemaCurrent, classifySchemaChanges, computeSchemaDiff, computeSchemaHash, deserializeWherePredicate, ensureSchema, getActiveSchema, getCommittedSchemaVersion, getMigrationActions, getSchemaChanges, initializeSchema, isBackwardsCompatible, isSchemaInitialized, loadActiveSchemaWithBootstrap, loadAndMergeGraphExtensionDocument, migrateSchema, parseSerializedSchema, requiresMigration, rollbackSchema, serializeSchema } from '../chunk-2TYSSBU5.js';
3
+ import '../chunk-SHFBB23Q.js';
4
+ export { createValidationError, validateEdgeProps, validateNodeProps, validateProps, wrapZodError } from '../chunk-ZFMCDJGB.js';
5
+ import '../chunk-S5TERQVW.js';
6
6
  import '../chunk-JBQQ7THH.js';
7
- import '../chunk-DSAWGCMP.js';
8
- import '../chunk-72WUT4GG.js';
9
- import '../chunk-FA6Z7B5L.js';
10
- import '../chunk-5ZJOB5YS.js';
11
- import '../chunk-LNIWCQR4.js';
12
- import '../chunk-R7EWHKID.js';
13
- import '../chunk-WMKEGJG4.js';
7
+ import '../chunk-UGHG7PGX.js';
8
+ import '../chunk-NVY5CJFP.js';
9
+ import '../chunk-6LN7FIVU.js';
10
+ import '../chunk-HEV35TGT.js';
11
+ import '../chunk-GLHXM7C4.js';
12
+ import '../chunk-DZAICA5J.js';
13
+ import '../chunk-5K2BKEBD.js';
14
+ import '../chunk-P6YLZTRE.js';
14
15
  import '../chunk-K34OPSJK.js';
15
16
  import '../chunk-2EBMPJBO.js';
16
- import '../chunk-EAMVXR5B.js';
17
- import '../chunk-QOJ2L2AD.js';
17
+ import '../chunk-ZDKTPBGV.js';
18
+ import '../chunk-3DMMGT6S.js';
18
19
  import '../chunk-AMKPPFUO.js';
19
20
  import '../chunk-W6OG3HDG.js';
20
21
  import '../chunk-PC2UBAUB.js';
21
- import '../chunk-SXWLLQ3D.js';
22
+ import '../chunk-D5R42W5D.js';
22
23
  import '../chunk-JXXDZTMN.js';
23
- import '../chunk-OZJCH7ZS.js';
24
- import '../chunk-62ZXBMSD.js';
24
+ import '../chunk-XVWOYKIK.js';
25
+ import '../chunk-ZLONH2UD.js';
25
26
  import '../chunk-FWJKWH6U.js';
26
27
  import '../chunk-DYATYRY4.js';
27
28
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { d as GraphDef, t as VectorSlot } from './types-Du78EvpN.js';
2
+ import { d8 as GraphDef, cK as VectorSlot } from './types-BqFZTQmV.cjs';
3
3
 
4
4
  /**
5
5
  * Embedding type for vector search.
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- import { d as GraphDef, t as VectorSlot } from './types-Du78EvpN.cjs';
2
+ import { d8 as GraphDef, cK as VectorSlot } from './types-BqFZTQmV.js';
3
3
 
4
4
  /**
5
5
  * Embedding type for vector search.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
2
- import { I as IndexDeclaration } from './types-Du78EvpN.cjs';
2
+ import { I as IndexDeclaration } from './types-BqFZTQmV.js';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_sqlite_core from 'drizzle-orm/sqlite-core';
2
- import { I as IndexDeclaration } from './types-Du78EvpN.js';
2
+ import { I as IndexDeclaration } from './types-BqFZTQmV.cjs';
3
3
 
4
4
  /**
5
5
  * Table name configuration.