@nicia-ai/typegraph 0.44.0 → 0.46.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 (392) hide show
  1. package/dist/backend/drizzle/indexes.cjs +11 -11
  2. package/dist/backend/drizzle/indexes.d.cts +1 -1
  3. package/dist/backend/drizzle/indexes.d.ts +1 -1
  4. package/dist/backend/drizzle/indexes.js +7 -7
  5. package/dist/backend/index.cjs +53 -54
  6. package/dist/backend/index.d.cts +3 -3
  7. package/dist/backend/index.d.ts +3 -3
  8. package/dist/backend/index.js +13 -14
  9. package/dist/backend/postgres/index.cjs +29 -30
  10. package/dist/backend/postgres/index.d.cts +7 -7
  11. package/dist/backend/postgres/index.d.ts +7 -7
  12. package/dist/backend/postgres/index.js +16 -17
  13. package/dist/backend/postgres/pglite-store.cjs +48 -43
  14. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  15. package/dist/backend/postgres/pglite-store.d.cts +15 -9
  16. package/dist/backend/postgres/pglite-store.d.ts +15 -9
  17. package/dist/backend/postgres/pglite-store.js +44 -39
  18. package/dist/backend/postgres/pglite-store.js.map +1 -1
  19. package/dist/backend/postgres/pglite.cjs +18 -19
  20. package/dist/backend/postgres/pglite.d.cts +4 -4
  21. package/dist/backend/postgres/pglite.d.ts +4 -4
  22. package/dist/backend/postgres/pglite.js +17 -18
  23. package/dist/backend/sqlite/index.cjs +26 -27
  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 +14 -15
  27. package/dist/backend/sqlite/libsql.cjs +21 -22
  28. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  29. package/dist/backend/sqlite/libsql.d.cts +15 -8
  30. package/dist/backend/sqlite/libsql.d.ts +15 -8
  31. package/dist/backend/sqlite/libsql.js +17 -18
  32. package/dist/backend/sqlite/libsql.js.map +1 -1
  33. package/dist/backend/sqlite/local-store.cjs +49 -44
  34. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  35. package/dist/backend/sqlite/local-store.d.cts +15 -10
  36. package/dist/backend/sqlite/local-store.d.ts +15 -10
  37. package/dist/backend/sqlite/local-store.js +45 -40
  38. package/dist/backend/sqlite/local-store.js.map +1 -1
  39. package/dist/backend/sqlite/local.cjs +19 -20
  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 +17 -18
  43. package/dist/{chunk-XMYJY7NI.js → chunk-2LG2XB2M.js} +3 -3
  44. package/dist/{chunk-XMYJY7NI.js.map → chunk-2LG2XB2M.js.map} +1 -1
  45. package/dist/{chunk-QGKILWGZ.cjs → chunk-2NA5DYLO.cjs} +4 -4
  46. package/dist/{chunk-QGKILWGZ.cjs.map → chunk-2NA5DYLO.cjs.map} +1 -1
  47. package/dist/{chunk-5MUSU4ZP.cjs → chunk-3DHZCOT7.cjs} +20 -20
  48. package/dist/chunk-3DHZCOT7.cjs.map +1 -0
  49. package/dist/{chunk-OVUUTCPJ.cjs → chunk-4UGOKMI5.cjs} +268 -150
  50. package/dist/chunk-4UGOKMI5.cjs.map +1 -0
  51. package/dist/{chunk-FRHHDHKH.js → chunk-5262ZMTR.js} +26 -5
  52. package/dist/chunk-5262ZMTR.js.map +1 -0
  53. package/dist/{chunk-HOIFFY4M.js → chunk-5763DULU.js} +248 -76
  54. package/dist/chunk-5763DULU.js.map +1 -0
  55. package/dist/{chunk-7G32LIQM.js → chunk-5UVRGXD3.js} +277 -7
  56. package/dist/chunk-5UVRGXD3.js.map +1 -0
  57. package/dist/{chunk-IIT5K7SK.cjs → chunk-62ZP23AW.cjs} +15 -15
  58. package/dist/{chunk-IIT5K7SK.cjs.map → chunk-62ZP23AW.cjs.map} +1 -1
  59. package/dist/{chunk-S4KQ5LV4.js → chunk-775A4ZMN.js} +40 -6
  60. package/dist/chunk-775A4ZMN.js.map +1 -0
  61. package/dist/{chunk-QYWINYEA.cjs → chunk-7BQXPCGN.cjs} +830 -170
  62. package/dist/chunk-7BQXPCGN.cjs.map +1 -0
  63. package/dist/{chunk-FJMPR3OH.cjs → chunk-7EO3TCQB.cjs} +33 -7
  64. package/dist/chunk-7EO3TCQB.cjs.map +1 -0
  65. package/dist/chunk-7GT72YHH.cjs +1979 -0
  66. package/dist/chunk-7GT72YHH.cjs.map +1 -0
  67. package/dist/{chunk-SQRD2CYF.js → chunk-7VQXLT5O.js} +717 -76
  68. package/dist/chunk-7VQXLT5O.js.map +1 -0
  69. package/dist/{chunk-BCP7LLOY.js → chunk-7Z5OR7KO.js} +2706 -625
  70. package/dist/chunk-7Z5OR7KO.js.map +1 -0
  71. package/dist/chunk-A4OC4DVN.cjs +12 -0
  72. package/dist/{chunk-4SZ6XPTG.cjs.map → chunk-A4OC4DVN.cjs.map} +1 -1
  73. package/dist/{chunk-TDXIBCGY.cjs → chunk-A7J2YDDI.cjs} +5 -3
  74. package/dist/chunk-A7J2YDDI.cjs.map +1 -0
  75. package/dist/{chunk-FMMIX6N4.js → chunk-AKLS3BYZ.js} +56 -5
  76. package/dist/chunk-AKLS3BYZ.js.map +1 -0
  77. package/dist/{chunk-D7PG5D5K.js → chunk-AMKPPFUO.js} +32 -6
  78. package/dist/chunk-AMKPPFUO.js.map +1 -0
  79. package/dist/{chunk-PAW2XUZN.js → chunk-ASTI57H3.js} +3 -3
  80. package/dist/{chunk-PAW2XUZN.js.map → chunk-ASTI57H3.js.map} +1 -1
  81. package/dist/{chunk-FMGEZBAQ.js → chunk-BKCUOV7A.js} +27 -5
  82. package/dist/chunk-BKCUOV7A.js.map +1 -0
  83. package/dist/chunk-BSFJMMV3.cjs +268 -0
  84. package/dist/chunk-BSFJMMV3.cjs.map +1 -0
  85. package/dist/{chunk-63KCKSSH.js → chunk-C23WSN5E.js} +209 -24
  86. package/dist/chunk-C23WSN5E.js.map +1 -0
  87. package/dist/{chunk-JRP3VGHS.js → chunk-CBTIUB76.js} +3 -3
  88. package/dist/{chunk-JRP3VGHS.js.map → chunk-CBTIUB76.js.map} +1 -1
  89. package/dist/chunk-CNV4TXJG.js +58 -0
  90. package/dist/chunk-CNV4TXJG.js.map +1 -0
  91. package/dist/{chunk-QB6VMOJ2.cjs → chunk-CXBHOOIQ.cjs} +45 -10
  92. package/dist/chunk-CXBHOOIQ.cjs.map +1 -0
  93. package/dist/{chunk-46GDII45.js → chunk-DCQVHAYQ.js} +5 -5
  94. package/dist/{chunk-46GDII45.js.map → chunk-DCQVHAYQ.js.map} +1 -1
  95. package/dist/chunk-DLNROMQ7.js +306 -0
  96. package/dist/chunk-DLNROMQ7.js.map +1 -0
  97. package/dist/chunk-DYATYRY4.js +47 -0
  98. package/dist/chunk-DYATYRY4.js.map +1 -0
  99. package/dist/chunk-E4WNQBEF.cjs +217 -0
  100. package/dist/chunk-E4WNQBEF.cjs.map +1 -0
  101. package/dist/{chunk-G6Q5UM7U.js → chunk-FWJKWH6U.js} +5 -3
  102. package/dist/chunk-FWJKWH6U.js.map +1 -0
  103. package/dist/{chunk-BNUFUFAU.js → chunk-HFHTMECK.js} +7 -7
  104. package/dist/chunk-HFHTMECK.js.map +1 -0
  105. package/dist/{chunk-TFMVL4QH.js → chunk-I5MOXA4H.js} +20 -14
  106. package/dist/chunk-I5MOXA4H.js.map +1 -0
  107. package/dist/{chunk-4MB3AQAQ.js → chunk-J3WZ3FA2.js} +77 -3
  108. package/dist/chunk-J3WZ3FA2.js.map +1 -0
  109. package/dist/{chunk-UR7W5YQK.js → chunk-JBQQ7THH.js} +5 -3
  110. package/dist/chunk-JBQQ7THH.js.map +1 -0
  111. package/dist/chunk-JIVMTW7W.js +3393 -0
  112. package/dist/chunk-JIVMTW7W.js.map +1 -0
  113. package/dist/{chunk-2Y4IFKW7.js → chunk-JXA2ZP2Q.js} +6 -17
  114. package/dist/chunk-JXA2ZP2Q.js.map +1 -0
  115. package/dist/{chunk-GYA4JRP5.js → chunk-JXXDZTMN.js} +2 -2
  116. package/dist/chunk-JXXDZTMN.js.map +1 -0
  117. package/dist/chunk-JZUR7ZWE.js +254 -0
  118. package/dist/chunk-JZUR7ZWE.js.map +1 -0
  119. package/dist/chunk-K5ELX2GT.js +248 -0
  120. package/dist/chunk-K5ELX2GT.js.map +1 -0
  121. package/dist/chunk-LBJKZXDE.cjs +257 -0
  122. package/dist/chunk-LBJKZXDE.cjs.map +1 -0
  123. package/dist/{chunk-FGO5JFVJ.cjs → chunk-M4BDU5RX.cjs} +12 -12
  124. package/dist/{chunk-FGO5JFVJ.cjs.map → chunk-M4BDU5RX.cjs.map} +1 -1
  125. package/dist/{chunk-MIJKEVV7.js → chunk-MSY7FSX4.js} +37 -4
  126. package/dist/chunk-MSY7FSX4.js.map +1 -0
  127. package/dist/{chunk-ST3LPB2V.cjs → chunk-MUK4BU7K.cjs} +788 -146
  128. package/dist/chunk-MUK4BU7K.cjs.map +1 -0
  129. package/dist/{chunk-MCHP7RHZ.cjs → chunk-MXJDTH5B.cjs} +64 -41
  130. package/dist/chunk-MXJDTH5B.cjs.map +1 -0
  131. package/dist/{chunk-2VLBGQBY.cjs → chunk-N3257XE6.cjs} +724 -577
  132. package/dist/chunk-N3257XE6.cjs.map +1 -0
  133. package/dist/chunk-N66HCGCY.cjs +57 -0
  134. package/dist/chunk-N66HCGCY.cjs.map +1 -0
  135. package/dist/{chunk-CPEL3YIR.cjs → chunk-NFCVHQ5P.cjs} +55 -22
  136. package/dist/chunk-NFCVHQ5P.cjs.map +1 -0
  137. package/dist/{chunk-C4F7VJ5D.cjs → chunk-NI72YOJB.cjs} +84 -2
  138. package/dist/chunk-NI72YOJB.cjs.map +1 -0
  139. package/dist/{chunk-EE7N5XXQ.cjs → chunk-NK5Q7UNE.cjs} +10 -21
  140. package/dist/chunk-NK5Q7UNE.cjs.map +1 -0
  141. package/dist/{chunk-PHXITZE4.js → chunk-NMWDXFPH.js} +4 -4
  142. package/dist/{chunk-PHXITZE4.js.map → chunk-NMWDXFPH.js.map} +1 -1
  143. package/dist/{chunk-FSXTPBRN.js → chunk-NQ6BRJBE.js} +416 -850
  144. package/dist/chunk-NQ6BRJBE.js.map +1 -0
  145. package/dist/chunk-OH5E5KIO.js +2057 -0
  146. package/dist/chunk-OH5E5KIO.js.map +1 -0
  147. package/dist/chunk-ONU3HIED.cjs +2082 -0
  148. package/dist/chunk-ONU3HIED.cjs.map +1 -0
  149. package/dist/{chunk-STQ3BSED.cjs → chunk-PNN7RHVR.cjs} +66 -44
  150. package/dist/chunk-PNN7RHVR.cjs.map +1 -0
  151. package/dist/{chunk-6DCB664D.js → chunk-PQBQG7IM.js} +3 -3
  152. package/dist/{chunk-6DCB664D.js.map → chunk-PQBQG7IM.js.map} +1 -1
  153. package/dist/{chunk-ACSVZPK7.cjs → chunk-PWLJ77UV.cjs} +5 -3
  154. package/dist/chunk-PWLJ77UV.cjs.map +1 -0
  155. package/dist/chunk-Q7Q4WSLJ.cjs +328 -0
  156. package/dist/chunk-Q7Q4WSLJ.cjs.map +1 -0
  157. package/dist/{chunk-BEFM74L2.js → chunk-QLRESYPU.js} +637 -493
  158. package/dist/chunk-QLRESYPU.js.map +1 -0
  159. package/dist/{chunk-SBPC5IP3.js → chunk-QWX5YA3K.js} +784 -202
  160. package/dist/chunk-QWX5YA3K.js.map +1 -0
  161. package/dist/{chunk-TCRIQMBU.js → chunk-RJS7DECT.js} +8 -9
  162. package/dist/chunk-RJS7DECT.js.map +1 -0
  163. package/dist/{chunk-6JZUSDY2.cjs → chunk-RMQLSPA2.cjs} +297 -27
  164. package/dist/chunk-RMQLSPA2.cjs.map +1 -0
  165. package/dist/{chunk-SJDMVITW.cjs → chunk-RT5ZY4XA.cjs} +6 -5
  166. package/dist/chunk-RT5ZY4XA.cjs.map +1 -0
  167. package/dist/{chunk-IJTLXNGJ.js → chunk-T4XNKYXB.js} +780 -127
  168. package/dist/chunk-T4XNKYXB.js.map +1 -0
  169. package/dist/{chunk-PDGEXGS6.cjs → chunk-TQR4KBY2.cjs} +354 -182
  170. package/dist/chunk-TQR4KBY2.cjs.map +1 -0
  171. package/dist/chunk-TTAITEPJ.cjs +755 -0
  172. package/dist/chunk-TTAITEPJ.cjs.map +1 -0
  173. package/dist/{chunk-NN3QSOVS.cjs → chunk-U5SON7R2.cjs} +27 -27
  174. package/dist/{chunk-NN3QSOVS.cjs.map → chunk-U5SON7R2.cjs.map} +1 -1
  175. package/dist/{chunk-A2I2XO52.cjs → chunk-U63GDNRC.cjs} +32 -26
  176. package/dist/chunk-U63GDNRC.cjs.map +1 -0
  177. package/dist/{chunk-YNULOIR5.cjs → chunk-UDISNXDL.cjs} +64 -43
  178. package/dist/chunk-UDISNXDL.cjs.map +1 -0
  179. package/dist/{chunk-GWEDD3DH.js → chunk-UV3SN74I.js} +5 -5
  180. package/dist/{chunk-GWEDD3DH.js.map → chunk-UV3SN74I.js.map} +1 -1
  181. package/dist/{chunk-U5W4LKZV.cjs → chunk-VCRRKBLN.cjs} +9 -9
  182. package/dist/{chunk-U5W4LKZV.cjs.map → chunk-VCRRKBLN.cjs.map} +1 -1
  183. package/dist/{chunk-EFELJVLA.js → chunk-VGTJPTIC.js} +28 -5
  184. package/dist/chunk-VGTJPTIC.js.map +1 -0
  185. package/dist/chunk-VQH4VAWD.cjs +12 -0
  186. package/dist/{chunk-EPTSMFH7.cjs.map → chunk-VQH4VAWD.cjs.map} +1 -1
  187. package/dist/{chunk-SNXVDZAJ.js → chunk-W6OG3HDG.js} +5 -4
  188. package/dist/chunk-W6OG3HDG.js.map +1 -0
  189. package/dist/chunk-WDGA7IYB.js +207 -0
  190. package/dist/chunk-WDGA7IYB.js.map +1 -0
  191. package/dist/chunk-WEVQJ5LH.js +736 -0
  192. package/dist/chunk-WEVQJ5LH.js.map +1 -0
  193. package/dist/{chunk-3PRKZW6D.cjs → chunk-XBYVV3MP.cjs} +60 -5
  194. package/dist/chunk-XBYVV3MP.cjs.map +1 -0
  195. package/dist/{chunk-GFRGG2US.cjs → chunk-XCAGZAKP.cjs} +7 -7
  196. package/dist/{chunk-GFRGG2US.cjs.map → chunk-XCAGZAKP.cjs.map} +1 -1
  197. package/dist/{chunk-XR4YZFKW.cjs → chunk-XDF2UPEQ.cjs} +3864 -1783
  198. package/dist/chunk-XDF2UPEQ.cjs.map +1 -0
  199. package/dist/{chunk-7V2FGGI2.cjs → chunk-XMQSEJCF.cjs} +632 -1080
  200. package/dist/chunk-XMQSEJCF.cjs.map +1 -0
  201. package/dist/chunk-XNLIZYRZ.cjs +3432 -0
  202. package/dist/chunk-XNLIZYRZ.cjs.map +1 -0
  203. package/dist/{chunk-66UVLHQA.cjs → chunk-XNSI2FJO.cjs} +99 -100
  204. package/dist/chunk-XNSI2FJO.cjs.map +1 -0
  205. package/dist/chunk-XQSCL77R.cjs +60 -0
  206. package/dist/chunk-XQSCL77R.cjs.map +1 -0
  207. package/dist/{chunk-SVJ5GEXW.cjs → chunk-XUO3KQFO.cjs} +2 -2
  208. package/dist/chunk-XUO3KQFO.cjs.map +1 -0
  209. package/dist/{chunk-HJH3RMXG.cjs → chunk-YAAM3M2S.cjs} +10 -10
  210. package/dist/{chunk-HJH3RMXG.cjs.map → chunk-YAAM3M2S.cjs.map} +1 -1
  211. package/dist/{chunk-ATLN63JA.js → chunk-YBFHZUXX.js} +6 -6
  212. package/dist/{chunk-ATLN63JA.js.map → chunk-YBFHZUXX.js.map} +1 -1
  213. package/dist/{chunk-K3BUWSFR.js → chunk-YDFDBE6D.js} +119 -6
  214. package/dist/chunk-YDFDBE6D.js.map +1 -0
  215. package/dist/{chunk-OSZPLZIV.cjs → chunk-YVWGEQJE.cjs} +318 -132
  216. package/dist/chunk-YVWGEQJE.cjs.map +1 -0
  217. package/dist/{chunk-QT6V3YRH.js → chunk-YWGVVALJ.js} +3 -3
  218. package/dist/{chunk-QT6V3YRH.js.map → chunk-YWGVVALJ.js.map} +1 -1
  219. package/dist/core/index.cjs +40 -41
  220. package/dist/core/index.d.cts +4 -5
  221. package/dist/core/index.d.ts +4 -5
  222. package/dist/core/index.js +8 -9
  223. package/dist/{ddl-eWg7hx6R.d.cts → ddl-BJcOp4WZ.d.cts} +3 -3
  224. package/dist/{ddl-D5369kOY.d.ts → ddl-BXfGHbPN.d.ts} +3 -3
  225. package/dist/graph-extension/index.cjs +26 -23
  226. package/dist/graph-extension/index.d.cts +16 -6
  227. package/dist/graph-extension/index.d.ts +16 -6
  228. package/dist/graph-extension/index.js +7 -8
  229. package/dist/graph-merge/index.cjs +2459 -655
  230. package/dist/graph-merge/index.cjs.map +1 -1
  231. package/dist/graph-merge/index.d.cts +170 -33
  232. package/dist/graph-merge/index.d.ts +170 -33
  233. package/dist/graph-merge/index.js +2269 -468
  234. package/dist/graph-merge/index.js.map +1 -1
  235. package/dist/{index-By89Sezh.d.ts → index-BSHvKfok.d.ts} +221 -10
  236. package/dist/{index-DcQ3Sxs-.d.cts → index-DxaYCv8Y.d.cts} +221 -10
  237. package/dist/index.cjs +330 -269
  238. package/dist/index.cjs.map +1 -1
  239. package/dist/index.d.cts +590 -576
  240. package/dist/index.d.ts +590 -576
  241. package/dist/index.js +73 -50
  242. package/dist/index.js.map +1 -1
  243. package/dist/indexes/index.cjs +17 -17
  244. package/dist/indexes/index.d.cts +4 -4
  245. package/dist/indexes/index.d.ts +4 -4
  246. package/dist/indexes/index.js +10 -10
  247. package/dist/interchange/index.cjs +165 -50
  248. package/dist/interchange/index.cjs.map +1 -1
  249. package/dist/interchange/index.d.cts +261 -16
  250. package/dist/interchange/index.d.ts +261 -16
  251. package/dist/interchange/index.js +128 -24
  252. package/dist/interchange/index.js.map +1 -1
  253. package/dist/{manager-B0KjKE93.d.ts → manager-CfZAimti.d.ts} +36 -5
  254. package/dist/{manager-Cn0NFIhN.d.cts → manager-HGk6E_HW.d.cts} +36 -5
  255. package/dist/{materialize-indexes-BD4V3svD.d.ts → materialize-indexes-6A7dWGtb.d.cts} +10 -2
  256. package/dist/{materialize-indexes-DVRhd5h4.d.cts → materialize-indexes-BMJP6Tms.d.ts} +10 -2
  257. package/dist/{postgres-DaEWvN4x.d.cts → postgres-DFYWENdR.d.cts} +1961 -439
  258. package/dist/{postgres-u0a0HN2D.d.ts → postgres-e7a9TdvR.d.ts} +1961 -439
  259. package/dist/profiler/index.cjs +15 -15
  260. package/dist/profiler/index.d.cts +9 -10
  261. package/dist/profiler/index.d.ts +9 -10
  262. package/dist/profiler/index.js +4 -4
  263. package/dist/provenance/index.cjs +46 -48
  264. package/dist/provenance/index.cjs.map +1 -1
  265. package/dist/provenance/index.d.cts +7 -7
  266. package/dist/provenance/index.d.ts +7 -7
  267. package/dist/provenance/index.js +12 -14
  268. package/dist/provenance/index.js.map +1 -1
  269. package/dist/schema/index.cjs +50 -49
  270. package/dist/schema/index.d.cts +9 -16
  271. package/dist/schema/index.d.ts +9 -16
  272. package/dist/schema/index.js +23 -22
  273. package/dist/{searchable-CnYEancP.d.ts → searchable-9OQoPuRs.d.ts} +1 -2
  274. package/dist/{searchable-BT7j9_IK.d.cts → searchable-CIje5XYD.d.cts} +1 -2
  275. package/dist/{sqlite-BrMoSsI7.d.cts → sqlite-DerU5tc7.d.ts} +2029 -347
  276. package/dist/{sqlite-CHhZUyO5.d.ts → sqlite-DitnISa9.d.cts} +2029 -347
  277. package/dist/{store-view-Bvdku0Ht.d.ts → store-DawaWWjJ.d.ts} +3145 -2556
  278. package/dist/{store-view-w-md0nQ4.d.cts → store-RwTJx8LX.d.cts} +3145 -2556
  279. package/dist/{temporal-BCORwUau.d.cts → temporal-Bn-Fi8FJ.d.cts} +1 -1
  280. package/dist/{temporal--x9T8K4S.d.ts → temporal-BtM4UALv.d.ts} +1 -1
  281. package/dist/{types-6-WJmSD4.d.cts → types-CoIx8HX5.d.cts} +1 -1
  282. package/dist/{types-Cjvkj0jA.d.ts → types-HkveCCx0.d.cts} +866 -21
  283. package/dist/{types-Cjvkj0jA.d.cts → types-HkveCCx0.d.ts} +866 -21
  284. package/dist/{types-COODtTJU.d.ts → types-KFfk-8Ah.d.ts} +1 -1
  285. package/dist/{where-CUQmCR6d.d.cts → where--fk7_0kv.d.cts} +1 -1
  286. package/dist/{where-5xVawAwL.d.ts → where-ws5hf-Ov.d.ts} +1 -1
  287. package/package.json +1 -1
  288. package/dist/chunk-2BIG7U6E.cjs +0 -83
  289. package/dist/chunk-2BIG7U6E.cjs.map +0 -1
  290. package/dist/chunk-2L54C2C2.js +0 -144
  291. package/dist/chunk-2L54C2C2.js.map +0 -1
  292. package/dist/chunk-2VLBGQBY.cjs.map +0 -1
  293. package/dist/chunk-2WDD2NO3.js +0 -59
  294. package/dist/chunk-2WDD2NO3.js.map +0 -1
  295. package/dist/chunk-2Y4IFKW7.js.map +0 -1
  296. package/dist/chunk-35S6P5ZU.js +0 -27
  297. package/dist/chunk-35S6P5ZU.js.map +0 -1
  298. package/dist/chunk-3PRKZW6D.cjs.map +0 -1
  299. package/dist/chunk-4MB3AQAQ.js.map +0 -1
  300. package/dist/chunk-4SZ6XPTG.cjs +0 -12
  301. package/dist/chunk-5MUSU4ZP.cjs.map +0 -1
  302. package/dist/chunk-63KCKSSH.js.map +0 -1
  303. package/dist/chunk-66UVLHQA.cjs.map +0 -1
  304. package/dist/chunk-6JZUSDY2.cjs.map +0 -1
  305. package/dist/chunk-764JHTLT.cjs +0 -15
  306. package/dist/chunk-764JHTLT.cjs.map +0 -1
  307. package/dist/chunk-7G32LIQM.js.map +0 -1
  308. package/dist/chunk-7V2FGGI2.cjs.map +0 -1
  309. package/dist/chunk-A2I2XO52.cjs.map +0 -1
  310. package/dist/chunk-A4PBRX4C.cjs +0 -100
  311. package/dist/chunk-A4PBRX4C.cjs.map +0 -1
  312. package/dist/chunk-ACSVZPK7.cjs.map +0 -1
  313. package/dist/chunk-ALFUGRYB.cjs +0 -1282
  314. package/dist/chunk-ALFUGRYB.cjs.map +0 -1
  315. package/dist/chunk-B75XRV3O.js +0 -125
  316. package/dist/chunk-B75XRV3O.js.map +0 -1
  317. package/dist/chunk-BCP7LLOY.js.map +0 -1
  318. package/dist/chunk-BEFM74L2.js.map +0 -1
  319. package/dist/chunk-BNUFUFAU.js.map +0 -1
  320. package/dist/chunk-C4F7VJ5D.cjs.map +0 -1
  321. package/dist/chunk-CPEL3YIR.cjs.map +0 -1
  322. package/dist/chunk-D7PG5D5K.js.map +0 -1
  323. package/dist/chunk-DI74SMXS.cjs +0 -29
  324. package/dist/chunk-DI74SMXS.cjs.map +0 -1
  325. package/dist/chunk-DK2S42XB.js +0 -77
  326. package/dist/chunk-DK2S42XB.js.map +0 -1
  327. package/dist/chunk-DRACN6XG.js +0 -27
  328. package/dist/chunk-DRACN6XG.js.map +0 -1
  329. package/dist/chunk-EE7N5XXQ.cjs.map +0 -1
  330. package/dist/chunk-EFELJVLA.js.map +0 -1
  331. package/dist/chunk-EPTSMFH7.cjs +0 -12
  332. package/dist/chunk-EQ7JKLZO.cjs +0 -157
  333. package/dist/chunk-EQ7JKLZO.cjs.map +0 -1
  334. package/dist/chunk-FJMPR3OH.cjs.map +0 -1
  335. package/dist/chunk-FMGEZBAQ.js.map +0 -1
  336. package/dist/chunk-FMMIX6N4.js.map +0 -1
  337. package/dist/chunk-FRHHDHKH.js.map +0 -1
  338. package/dist/chunk-FSXTPBRN.js.map +0 -1
  339. package/dist/chunk-G6Q5UM7U.js.map +0 -1
  340. package/dist/chunk-GYA4JRP5.js.map +0 -1
  341. package/dist/chunk-HOHAJ2NR.cjs +0 -61
  342. package/dist/chunk-HOHAJ2NR.cjs.map +0 -1
  343. package/dist/chunk-HOIFFY4M.js.map +0 -1
  344. package/dist/chunk-IIMQJYAM.js +0 -81
  345. package/dist/chunk-IIMQJYAM.js.map +0 -1
  346. package/dist/chunk-IJTLXNGJ.js.map +0 -1
  347. package/dist/chunk-ITE4IXAK.js +0 -25
  348. package/dist/chunk-ITE4IXAK.js.map +0 -1
  349. package/dist/chunk-K3BUWSFR.js.map +0 -1
  350. package/dist/chunk-KCO5EFJU.js +0 -79
  351. package/dist/chunk-KCO5EFJU.js.map +0 -1
  352. package/dist/chunk-KKYELPZ2.cjs +0 -83
  353. package/dist/chunk-KKYELPZ2.cjs.map +0 -1
  354. package/dist/chunk-MCHP7RHZ.cjs.map +0 -1
  355. package/dist/chunk-MIJKEVV7.js.map +0 -1
  356. package/dist/chunk-NCX65HBY.cjs +0 -1396
  357. package/dist/chunk-NCX65HBY.cjs.map +0 -1
  358. package/dist/chunk-OSZPLZIV.cjs.map +0 -1
  359. package/dist/chunk-OVUUTCPJ.cjs.map +0 -1
  360. package/dist/chunk-PDGEXGS6.cjs.map +0 -1
  361. package/dist/chunk-QB6VMOJ2.cjs.map +0 -1
  362. package/dist/chunk-QMQLUA66.js +0 -12
  363. package/dist/chunk-QMQLUA66.js.map +0 -1
  364. package/dist/chunk-QYWINYEA.cjs.map +0 -1
  365. package/dist/chunk-S4KQ5LV4.js.map +0 -1
  366. package/dist/chunk-SBPC5IP3.js.map +0 -1
  367. package/dist/chunk-SJDMVITW.cjs.map +0 -1
  368. package/dist/chunk-SNXVDZAJ.js.map +0 -1
  369. package/dist/chunk-SQRD2CYF.js.map +0 -1
  370. package/dist/chunk-ST3LPB2V.cjs.map +0 -1
  371. package/dist/chunk-STQ3BSED.cjs.map +0 -1
  372. package/dist/chunk-SVJ5GEXW.cjs.map +0 -1
  373. package/dist/chunk-TCRIQMBU.js.map +0 -1
  374. package/dist/chunk-TDXIBCGY.cjs.map +0 -1
  375. package/dist/chunk-TFMVL4QH.js.map +0 -1
  376. package/dist/chunk-TRF4EBJT.cjs +0 -30
  377. package/dist/chunk-TRF4EBJT.cjs.map +0 -1
  378. package/dist/chunk-TVLKA4AY.js +0 -94
  379. package/dist/chunk-TVLKA4AY.js.map +0 -1
  380. package/dist/chunk-UR7W5YQK.js.map +0 -1
  381. package/dist/chunk-VITTKBWF.js +0 -1263
  382. package/dist/chunk-VITTKBWF.js.map +0 -1
  383. package/dist/chunk-WBUFJ7BS.cjs +0 -131
  384. package/dist/chunk-WBUFJ7BS.cjs.map +0 -1
  385. package/dist/chunk-XR4YZFKW.cjs.map +0 -1
  386. package/dist/chunk-YNULOIR5.cjs.map +0 -1
  387. package/dist/chunk-ZDH3DX3C.cjs +0 -30
  388. package/dist/chunk-ZDH3DX3C.cjs.map +0 -1
  389. package/dist/chunk-ZTAJL4DT.cjs +0 -85
  390. package/dist/chunk-ZTAJL4DT.cjs.map +0 -1
  391. package/dist/define-graph-DVF-oN1i.d.cts +0 -173
  392. package/dist/define-graph-SvYXOl78.d.ts +0 -173
@@ -1,5 +1,5 @@
1
- import { K as KindEntity } from './types-Cjvkj0jA.js';
2
- import { M as MaterializeIndexesResult, S as SchemaDiff } from './materialize-indexes-BD4V3svD.js';
1
+ import { K as KindEntity } from './types-HkveCCx0.js';
2
+ import { M as MaterializeIndexesResult, S as SchemaDiff } from './materialize-indexes-BMJP6Tms.js';
3
3
 
4
4
  /**
5
5
  * TypeGraph Error Hierarchy
@@ -81,7 +81,66 @@ type ValidationIssue = Readonly<{
81
81
  message: string;
82
82
  /** Zod error code if from Zod validation */
83
83
  code?: string;
84
+ /**
85
+ * The identity assertion the issue is about, carried structurally so
86
+ * consumers (e.g. interchange import error reporting) never have to parse
87
+ * the human-readable message for it.
88
+ */
89
+ assertionId?: string;
84
90
  }>;
91
+ /**
92
+ * The stable {@link ValidationIssue.code} every inverted-validity-window
93
+ * refusal carries, so a caller can recognize that specific failure without
94
+ * matching on the message. `ValidationError`'s own code is the family-wide
95
+ * `VALIDATION_ERROR`, so the discriminator lives on the issue — mirroring the
96
+ * identity-import window refusal (`IDENTITY_IMPORT_INVALID_WINDOW`).
97
+ *
98
+ * A write carrying it was refused because `validTo` precedes the row's
99
+ * effective `validFrom`: the row would have stopped being true before it
100
+ * started, observable at no `asOf` coordinate at all. Zero-width windows
101
+ * (`validTo === validFrom`) are legal and never raise it.
102
+ */
103
+ declare const INVERTED_VALIDITY_WINDOW_CODE = "INVERTED_VALIDITY_WINDOW";
104
+ /**
105
+ * The stable {@link ValidationIssue.code} carried by a refusal to accept a
106
+ * `validFrom` the write cannot apply: the target row is LIVE, and an in-place
107
+ * update never rewrites a live row's lower bound — that bound is history.
108
+ * `ValidationError`'s own code is the family-wide `VALIDATION_ERROR`, so the
109
+ * discriminator lives on the issue — mirroring
110
+ * {@link INVERTED_VALIDITY_WINDOW_CODE}.
111
+ *
112
+ * Only a bound naming a DIFFERENT instant than the row already stores raises it.
113
+ * Restating the stored bound is legal and writes nothing new, and a resurrection
114
+ * — which does rewrite `valid_from` — applies a stated bound rather than
115
+ * refusing it.
116
+ *
117
+ * The message names both instants: the one stated and the one the row stores, so
118
+ * the caller can restate the stored bound without a second read.
119
+ */
120
+ declare const IMMUTABLE_VALIDITY_LOWER_BOUND_CODE = "IMMUTABLE_VALIDITY_LOWER_BOUND";
121
+ /**
122
+ * Stable {@link ValidationIssue.code} for an edge-id ownership mismatch.
123
+ *
124
+ * Edge ids are graph-global. A collection-scoped write therefore has to prove
125
+ * that the stored row has the collection's kind and, when the caller supplies
126
+ * endpoints, the same immutable endpoints. This refusal prevents a collection
127
+ * from mutating another kind's row and prevents an upsert from silently
128
+ * ignoring an attempted repoint.
129
+ */
130
+ declare const EDGE_IDENTITY_MISMATCH_CODE = "EDGE_IDENTITY_MISMATCH";
131
+ /**
132
+ * The stable {@link ValidationIssue.code} every "this id is already taken"
133
+ * create refusal carries, whichever way the create found out: its own existence
134
+ * probe, or the engine refusing the INSERT. `ValidationError`'s own code is the
135
+ * family-wide `VALIDATION_ERROR`, so the discriminator lives on the issue —
136
+ * mirroring {@link INVERTED_VALIDITY_WINDOW_CODE}.
137
+ *
138
+ * `details.entityType` says whether a node or an edge was refused and
139
+ * `details.kind` names its kind. `details.id` names the taken id, and is absent
140
+ * only when the refused statement inserted MORE THAN ONE row: the engine reports
141
+ * that the statement collided without saying which row did.
142
+ */
143
+ declare const ENTITY_ALREADY_EXISTS_CODE = "ENTITY_ALREADY_EXISTS";
85
144
  /**
86
145
  * Details for ValidationError.
87
146
  */
@@ -91,7 +150,7 @@ type ValidationErrorDetails = Readonly<{
91
150
  /** Kind/type name of the entity */
92
151
  kind?: string;
93
152
  /** Operation being performed */
94
- operation?: "create" | "update";
153
+ operation?: "create" | "update" | "delete" | "hardDelete";
95
154
  /** Entity ID if updating */
96
155
  id?: string;
97
156
  /** Individual validation issues */
@@ -315,6 +374,71 @@ declare class DisjointError extends TypeGraphError {
315
374
  cause?: unknown;
316
375
  });
317
376
  }
377
+ type IdentityContradictionErrorDetails = Readonly<{
378
+ /**
379
+ * The identity write that could not stand. `merge` is the post-write
380
+ * affected-class assertion a graph merge runs inside its commit
381
+ * transaction, which names the whole merge rather than a single assertion
382
+ * because the contradiction is a property of the state the merge would
383
+ * leave behind.
384
+ */
385
+ operation: "assertSame" | "assertDifferent" | "fold" | "import" | "merge";
386
+ a: Readonly<{
387
+ kind: string;
388
+ id: string;
389
+ }>;
390
+ b: Readonly<{
391
+ kind: string;
392
+ id: string;
393
+ }>;
394
+ reason: "different-assertion" | "same-class" | "disjoint-kinds";
395
+ conflictingAssertionId?: string;
396
+ conflictingKinds?: readonly [string, string];
397
+ }>;
398
+ /** Thrown when an identity mutation would make the ledger contradictory. */
399
+ declare class IdentityContradictionError extends TypeGraphError {
400
+ readonly details: IdentityContradictionErrorDetails;
401
+ constructor(details: IdentityContradictionErrorDetails, options?: Readonly<{
402
+ cause?: unknown;
403
+ }>);
404
+ }
405
+ type IdentitySeparationViolationErrorDetails = Readonly<{
406
+ graphId: string;
407
+ /**
408
+ * `"database"` when the CHECK constraint on the separation relation aborted
409
+ * the write — the backstop firing as designed. `"writer"` when the write was
410
+ * accepted, which means the relation was provisioned without its constraint
411
+ * and only the writer's own re-check caught the contradiction.
412
+ */
413
+ enforcedBy: "database" | "writer";
414
+ /** The single class key both endpoints collapsed onto. */
415
+ classKey: string;
416
+ /** The `different` assertion whose endpoints landed in one class. */
417
+ assertionId: string;
418
+ a: Readonly<{
419
+ kind: string;
420
+ id: string;
421
+ }>;
422
+ b: Readonly<{
423
+ kind: string;
424
+ id: string;
425
+ }>;
426
+ }>;
427
+ /**
428
+ * Thrown when the derived separation relation refuses a write that would place
429
+ * both endpoints of a current `different` assertion in one identity class.
430
+ *
431
+ * This is the database-level backstop beneath the plan-time simulation and the
432
+ * applier's validation. Reaching it means an earlier layer let a contradiction
433
+ * through: the transaction is aborted rather than committed, but the layer that
434
+ * should have refused it typed and early is worth investigating.
435
+ */
436
+ declare class IdentitySeparationViolationError extends TypeGraphError {
437
+ readonly details: IdentitySeparationViolationErrorDetails;
438
+ constructor(details: IdentitySeparationViolationErrorDetails, options?: Readonly<{
439
+ cause?: unknown;
440
+ }>);
441
+ }
318
442
  /**
319
443
  * Details for RestrictedDeleteError.
320
444
  */
@@ -486,8 +610,12 @@ declare class EagerMaterializationError extends TypeGraphError {
486
610
  get failedIndexNames(): readonly string[];
487
611
  }
488
612
  /**
489
- * Details for StaleVersionError. `actual` is `0` when no active version
490
- * exists yet (initial-commit race where another writer initialized first).
613
+ * Details for StaleVersionError. `actual` is the active version the rejecting
614
+ * read observed, and is `0` only when the graph genuinely has no active version
615
+ * (an initial-commit race where another writer initialized first, or a graph
616
+ * whose schema rows were removed out of band). A concurrent advance always
617
+ * reports the newly active version, so `0` is a reliable signal of absence
618
+ * rather than of contention.
491
619
  */
492
620
  type StaleVersionErrorDetails = Readonly<{
493
621
  graphId: string;
@@ -495,9 +623,10 @@ type StaleVersionErrorDetails = Readonly<{
495
623
  actual: number;
496
624
  }>;
497
625
  /**
498
- * Thrown by `commitSchemaVersion` and `setActiveVersion` when the
499
- * caller's view of the active schema version is out of date — another
500
- * writer has already advanced it.
626
+ * Thrown by `commitSchemaVersion`, `setActiveVersion`, and the schema write
627
+ * fence a schema-managed Store write takes, when the caller's view of the
628
+ * active schema version is out of date — another writer has already advanced
629
+ * it.
501
630
  *
502
631
  * Recovery: re-read the active version with `getActiveSchema(graphId)`,
503
632
  * recompute against the new baseline, and retry. This is a routine
@@ -546,6 +675,49 @@ declare class ConfigurationError extends TypeGraphError {
546
675
  suggestion?: string;
547
676
  });
548
677
  }
678
+ /**
679
+ * Why a destructive contribution rebuild is refused.
680
+ *
681
+ * - `vector-source-unavailable` — the projection is vector storage.
682
+ * TypeGraph stores caller-supplied embeddings and nothing else: the
683
+ * vectors exist only in the table a rebuild would drop, so there is no
684
+ * source to reconstruct them from. Dropping anyway would silently
685
+ * destroy the embeddings and hand back storage that looks healthy and
686
+ * returns nothing. `store.reembedVectorField(kind, fieldPath, {
687
+ * embed })` is the sanctioned destructive path — it takes the callback
688
+ * that can regenerate what the drop destroys.
689
+ * - `no-drop-ddl` — the active strategy declares no `dropDdl` for the
690
+ * contribution, so TypeGraph does not know how to tear its storage
691
+ * down. Synthesizing a `DROP TABLE` from the resolved name would
692
+ * guess at a teardown the strategy never sanctioned.
693
+ * - `no-schema-fence` — the backend exposes no transactional schema
694
+ * fence (`schemaWriteTransaction`), so the drop, recreate, refill, and
695
+ * stamp could not be made atomic. Running them unfenced could leave
696
+ * storage attested but empty, or a concurrent schema writer
697
+ * interleaved with the drop.
698
+ * - `shared-storage-in-use` — the contribution's recorded shape is stale,
699
+ * so only recreating its storage repairs it, but that storage is one
700
+ * table holding other graphs' rows as well. Their content is derived
701
+ * from their own nodes through their own schemas, so this process cannot
702
+ * put it back. A rebuild that dropped anyway would leave every other
703
+ * graph's search silently empty; one that re-stamped this graph's marker
704
+ * without the drop would bless a physical shape nothing verified.
705
+ */
706
+ type ContributionRebuildRefusal = "vector-source-unavailable" | "no-drop-ddl" | "no-schema-fence" | "shared-storage-in-use";
707
+ /**
708
+ * Thrown when `store.rebuildContribution()` cannot honor a rebuild.
709
+ *
710
+ * A refusal, never a partial attempt: nothing has been dropped when this
711
+ * throws. The point is that the alternative — proceeding — destroys data
712
+ * that cannot be reconstructed, so the operation declines instead of
713
+ * quietly doing less than its name promises.
714
+ */
715
+ declare class ContributionRebuildUnsupportedError extends TypeGraphError {
716
+ readonly reason: ContributionRebuildRefusal;
717
+ constructor(reason: ContributionRebuildRefusal, details?: Readonly<Record<string, unknown>>, options?: {
718
+ cause?: unknown;
719
+ });
720
+ }
549
721
  /**
550
722
  * Thrown when an iterative graph algorithm exhausts its caller-visible round
551
723
  * budget before reaching its convergence predicate.
@@ -585,7 +757,7 @@ declare class UnsupportedBackendCapabilityError extends TypeGraphError {
585
757
  constructor(operation: string, capability: string, details?: Readonly<Record<string, unknown>>, suggestion?: string);
586
758
  }
587
759
  /** Stable reasons an intentionally trusted initial import can be rejected. */
588
- type TrustedImportErrorReason = "backend_unsupported" | "database_not_empty" | "fulltext_unsupported" | "history_unsupported" | "invalid_stream" | "revision_tracking_unsupported" | "uniqueness_unsupported" | "vector_unsupported";
760
+ type TrustedImportErrorReason = "backend_unsupported" | "database_not_empty" | "fulltext_unsupported" | "history_unsupported" | "identity_unsupported" | "invalid_stream" | "revision_tracking_unsupported" | "uniqueness_unsupported" | "vector_unsupported";
589
761
  /** Thrown when the trusted initial-import contract is unavailable or violated. */
590
762
  declare class TrustedImportError extends TypeGraphError {
591
763
  constructor(message: string, reason: TrustedImportErrorReason, details?: Readonly<Record<string, unknown>>, options?: Readonly<{
@@ -593,6 +765,26 @@ declare class TrustedImportError extends TypeGraphError {
593
765
  suggestion?: string;
594
766
  }>);
595
767
  }
768
+ /**
769
+ * Thrown to a graph export stream's consumer when the caller's `AbortSignal`
770
+ * settled the stream instead of it reaching its end.
771
+ *
772
+ * Raised only after the export has given back everything it took, so receiving
773
+ * it means the connection is already usable again. WHAT it took depends on the
774
+ * backend: an export on one reporting `capabilities.transactions` holds a
775
+ * repeatable-read snapshot (and, on a serialized connection, that connection's
776
+ * stream lease), and both are settled before this is thrown; an export on a
777
+ * backend without transactions holds neither, and its remaining reads are
778
+ * simply abandoned — its already-delivered chunks were never one snapshot to
779
+ * begin with. The message says which case applies. `cause` carries the signal's
780
+ * own `reason` when the caller supplied one.
781
+ */
782
+ declare class ExportStreamCancelledError extends TypeGraphError {
783
+ constructor(message: string, details?: Readonly<Record<string, unknown>>, options?: Readonly<{
784
+ cause?: unknown;
785
+ suggestion?: string;
786
+ }>);
787
+ }
596
788
  /**
597
789
  * The stable `details.code` values raised by the recorded-capture guards on a
598
790
  * history- or revision-tracked store. These are the sanctioned branch points
@@ -710,6 +902,25 @@ declare class StoreNotInitializedError extends TypeGraphError {
710
902
  type DatabaseOperationErrorDetails = Readonly<{
711
903
  operation: string;
712
904
  entity: string;
905
+ /**
906
+ * `"duplicate_key"` means the engine refused the write because the entity's
907
+ * identity is already taken — the shape a concurrent create of the same new id
908
+ * produces on an engine that does not serialize the two writers. It is a
909
+ * *classified* driver failure, so callers that own a better error for the
910
+ * condition (the create paths, which report it as "already exists") translate
911
+ * it rather than surfacing it.
912
+ */
913
+ reason?: "no_row_returned" | "duplicate_key";
914
+ /**
915
+ * The entities the failed statement tried to insert, carried structurally so a
916
+ * translating caller never has to parse the driver's message for them. One
917
+ * element for a single insert; for a batch, every row in the failing chunk —
918
+ * the engine reports the collision without saying which row lost.
919
+ */
920
+ attempted?: readonly Readonly<{
921
+ kind: string;
922
+ id: string;
923
+ }>[];
713
924
  }>;
714
925
  /**
715
926
  * Thrown when a database operation fails unexpectedly.
@@ -857,4 +1068,4 @@ declare function isConstraintError(error: unknown): boolean;
857
1068
  */
858
1069
  declare function getErrorSuggestion(error: unknown): string | undefined;
859
1070
 
860
- export { TrustedImportError as $, NodeNotFoundError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, type NodeNotFoundErrorDetails as F, GraphAlgorithmConvergenceError as G, type RecordedCaptureGuardCode as H, InvalidEdgeWeightError as I, type RecordedCaptureGuardError as J, KindNotFoundError as K, RestrictedDeleteError as L, MIGRATION_FAILURE_REASONS as M, NodeConstraintNotFoundError as N, type RestrictedDeleteErrorDetails as O, type SchemaContentConflictErrorDetails as P, SchemaMismatchError as Q, RECORDED_CAPTURE_GUARD_CODES as R, SchemaContentConflictError as S, type SchemaMismatchErrorDetails as T, StaleVersionError as U, type ValidationIssue as V, type StaleVersionErrorDetails as W, StoreNotInitializedError as X, type StoreNotInitializedErrorDetails as Y, type StoreNotInitializedReason as Z, TransactionClosedError as _, ValidationError as a, type TrustedImportErrorReason as a0, TypeGraphError as a1, type TypeGraphErrorOptions as a2, UniquenessError as a3, type UniquenessErrorDetails as a4, UnsupportedBackendCapabilityError as a5, UnsupportedPredicateError as a6, type ValidationErrorDetails as a7, VersionConflictError as a8, type VersionConflictErrorDetails as a9, getErrorSuggestion as aa, isConstraintError as ab, isRecordedCaptureGuardError as ac, isSystemError as ad, isTypeGraphError as ae, isUserRecoverable as af, type CardinalityErrorDetails as b, CompilerInvariantError as c, ConfigurationError as d, type DatabaseOperationErrorDetails as e, DisjointError as f, type DisjointErrorDetails as g, type EagerMaterializationErrorDetails as h, EdgeNotFoundError as i, type EdgeNotFoundErrorDetails as j, EmbeddingDimensionChangedError as k, type EmbeddingDimensionChangedErrorDetails as l, EndpointError as m, type EndpointErrorDetails as n, EndpointNotFoundError as o, type EndpointNotFoundErrorDetails as p, type ErrorCategory as q, type InvalidEdgeWeightErrorDetails as r, type InvalidEdgeWeightReason as s, type KindNotFoundErrorDetails as t, MigrationError as u, type MigrationErrorDetails as v, type MigrationFailureReason as w, type NodeConstraintNotFoundErrorDetails as x, NodeIndexNotFoundError as y, type NodeIndexNotFoundErrorDetails as z };
1071
+ export { type RecordedCaptureGuardError as $, IdentitySeparationViolationError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EDGE_IDENTITY_MISMATCH_CODE as E, type IdentitySeparationViolationErrorDetails as F, GraphAlgorithmConvergenceError as G, InvalidEdgeWeightError as H, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as I, type InvalidEdgeWeightErrorDetails as J, type InvalidEdgeWeightReason as K, KindNotFoundError as L, type KindNotFoundErrorDetails as M, MIGRATION_FAILURE_REASONS as N, MigrationError as O, type MigrationErrorDetails as P, type MigrationFailureReason as Q, NodeConstraintNotFoundError as R, type NodeConstraintNotFoundErrorDetails as S, TypeGraphError as T, NodeIndexNotFoundError as U, type ValidationIssue as V, type NodeIndexNotFoundErrorDetails as W, NodeNotFoundError as X, type NodeNotFoundErrorDetails as Y, RECORDED_CAPTURE_GUARD_CODES as Z, type RecordedCaptureGuardCode as _, ValidationError as a, RestrictedDeleteError as a0, type RestrictedDeleteErrorDetails as a1, SchemaContentConflictError as a2, type SchemaContentConflictErrorDetails as a3, SchemaMismatchError as a4, type SchemaMismatchErrorDetails as a5, StaleVersionError as a6, type StaleVersionErrorDetails as a7, StoreNotInitializedError as a8, type StoreNotInitializedErrorDetails as a9, type StoreNotInitializedReason as aa, TransactionClosedError as ab, TrustedImportError as ac, type TrustedImportErrorReason as ad, UniquenessError as ae, type UniquenessErrorDetails as af, UnsupportedBackendCapabilityError as ag, UnsupportedPredicateError as ah, type ValidationErrorDetails as ai, VersionConflictError as aj, type VersionConflictErrorDetails as ak, getErrorSuggestion as al, isConstraintError as am, isRecordedCaptureGuardError as an, isSystemError as ao, isTypeGraphError as ap, isUserRecoverable as aq, type TypeGraphErrorOptions as b, type CardinalityErrorDetails as c, CompilerInvariantError as d, ConfigurationError as e, type ContributionRebuildRefusal as f, ContributionRebuildUnsupportedError as g, type DatabaseOperationErrorDetails as h, DisjointError as i, type DisjointErrorDetails as j, ENTITY_ALREADY_EXISTS_CODE as k, EagerMaterializationError as l, type EagerMaterializationErrorDetails as m, EdgeNotFoundError as n, type EdgeNotFoundErrorDetails as o, EmbeddingDimensionChangedError as p, type EmbeddingDimensionChangedErrorDetails as q, EndpointError as r, type EndpointErrorDetails as s, EndpointNotFoundError as t, type EndpointNotFoundErrorDetails as u, type ErrorCategory as v, ExportStreamCancelledError as w, INVERTED_VALIDITY_WINDOW_CODE as x, IdentityContradictionError as y, type IdentityContradictionErrorDetails as z };
@@ -1,5 +1,5 @@
1
- import { K as KindEntity } from './types-Cjvkj0jA.cjs';
2
- import { M as MaterializeIndexesResult, S as SchemaDiff } from './materialize-indexes-DVRhd5h4.cjs';
1
+ import { K as KindEntity } from './types-HkveCCx0.cjs';
2
+ import { M as MaterializeIndexesResult, S as SchemaDiff } from './materialize-indexes-6A7dWGtb.cjs';
3
3
 
4
4
  /**
5
5
  * TypeGraph Error Hierarchy
@@ -81,7 +81,66 @@ type ValidationIssue = Readonly<{
81
81
  message: string;
82
82
  /** Zod error code if from Zod validation */
83
83
  code?: string;
84
+ /**
85
+ * The identity assertion the issue is about, carried structurally so
86
+ * consumers (e.g. interchange import error reporting) never have to parse
87
+ * the human-readable message for it.
88
+ */
89
+ assertionId?: string;
84
90
  }>;
91
+ /**
92
+ * The stable {@link ValidationIssue.code} every inverted-validity-window
93
+ * refusal carries, so a caller can recognize that specific failure without
94
+ * matching on the message. `ValidationError`'s own code is the family-wide
95
+ * `VALIDATION_ERROR`, so the discriminator lives on the issue — mirroring the
96
+ * identity-import window refusal (`IDENTITY_IMPORT_INVALID_WINDOW`).
97
+ *
98
+ * A write carrying it was refused because `validTo` precedes the row's
99
+ * effective `validFrom`: the row would have stopped being true before it
100
+ * started, observable at no `asOf` coordinate at all. Zero-width windows
101
+ * (`validTo === validFrom`) are legal and never raise it.
102
+ */
103
+ declare const INVERTED_VALIDITY_WINDOW_CODE = "INVERTED_VALIDITY_WINDOW";
104
+ /**
105
+ * The stable {@link ValidationIssue.code} carried by a refusal to accept a
106
+ * `validFrom` the write cannot apply: the target row is LIVE, and an in-place
107
+ * update never rewrites a live row's lower bound — that bound is history.
108
+ * `ValidationError`'s own code is the family-wide `VALIDATION_ERROR`, so the
109
+ * discriminator lives on the issue — mirroring
110
+ * {@link INVERTED_VALIDITY_WINDOW_CODE}.
111
+ *
112
+ * Only a bound naming a DIFFERENT instant than the row already stores raises it.
113
+ * Restating the stored bound is legal and writes nothing new, and a resurrection
114
+ * — which does rewrite `valid_from` — applies a stated bound rather than
115
+ * refusing it.
116
+ *
117
+ * The message names both instants: the one stated and the one the row stores, so
118
+ * the caller can restate the stored bound without a second read.
119
+ */
120
+ declare const IMMUTABLE_VALIDITY_LOWER_BOUND_CODE = "IMMUTABLE_VALIDITY_LOWER_BOUND";
121
+ /**
122
+ * Stable {@link ValidationIssue.code} for an edge-id ownership mismatch.
123
+ *
124
+ * Edge ids are graph-global. A collection-scoped write therefore has to prove
125
+ * that the stored row has the collection's kind and, when the caller supplies
126
+ * endpoints, the same immutable endpoints. This refusal prevents a collection
127
+ * from mutating another kind's row and prevents an upsert from silently
128
+ * ignoring an attempted repoint.
129
+ */
130
+ declare const EDGE_IDENTITY_MISMATCH_CODE = "EDGE_IDENTITY_MISMATCH";
131
+ /**
132
+ * The stable {@link ValidationIssue.code} every "this id is already taken"
133
+ * create refusal carries, whichever way the create found out: its own existence
134
+ * probe, or the engine refusing the INSERT. `ValidationError`'s own code is the
135
+ * family-wide `VALIDATION_ERROR`, so the discriminator lives on the issue —
136
+ * mirroring {@link INVERTED_VALIDITY_WINDOW_CODE}.
137
+ *
138
+ * `details.entityType` says whether a node or an edge was refused and
139
+ * `details.kind` names its kind. `details.id` names the taken id, and is absent
140
+ * only when the refused statement inserted MORE THAN ONE row: the engine reports
141
+ * that the statement collided without saying which row did.
142
+ */
143
+ declare const ENTITY_ALREADY_EXISTS_CODE = "ENTITY_ALREADY_EXISTS";
85
144
  /**
86
145
  * Details for ValidationError.
87
146
  */
@@ -91,7 +150,7 @@ type ValidationErrorDetails = Readonly<{
91
150
  /** Kind/type name of the entity */
92
151
  kind?: string;
93
152
  /** Operation being performed */
94
- operation?: "create" | "update";
153
+ operation?: "create" | "update" | "delete" | "hardDelete";
95
154
  /** Entity ID if updating */
96
155
  id?: string;
97
156
  /** Individual validation issues */
@@ -315,6 +374,71 @@ declare class DisjointError extends TypeGraphError {
315
374
  cause?: unknown;
316
375
  });
317
376
  }
377
+ type IdentityContradictionErrorDetails = Readonly<{
378
+ /**
379
+ * The identity write that could not stand. `merge` is the post-write
380
+ * affected-class assertion a graph merge runs inside its commit
381
+ * transaction, which names the whole merge rather than a single assertion
382
+ * because the contradiction is a property of the state the merge would
383
+ * leave behind.
384
+ */
385
+ operation: "assertSame" | "assertDifferent" | "fold" | "import" | "merge";
386
+ a: Readonly<{
387
+ kind: string;
388
+ id: string;
389
+ }>;
390
+ b: Readonly<{
391
+ kind: string;
392
+ id: string;
393
+ }>;
394
+ reason: "different-assertion" | "same-class" | "disjoint-kinds";
395
+ conflictingAssertionId?: string;
396
+ conflictingKinds?: readonly [string, string];
397
+ }>;
398
+ /** Thrown when an identity mutation would make the ledger contradictory. */
399
+ declare class IdentityContradictionError extends TypeGraphError {
400
+ readonly details: IdentityContradictionErrorDetails;
401
+ constructor(details: IdentityContradictionErrorDetails, options?: Readonly<{
402
+ cause?: unknown;
403
+ }>);
404
+ }
405
+ type IdentitySeparationViolationErrorDetails = Readonly<{
406
+ graphId: string;
407
+ /**
408
+ * `"database"` when the CHECK constraint on the separation relation aborted
409
+ * the write — the backstop firing as designed. `"writer"` when the write was
410
+ * accepted, which means the relation was provisioned without its constraint
411
+ * and only the writer's own re-check caught the contradiction.
412
+ */
413
+ enforcedBy: "database" | "writer";
414
+ /** The single class key both endpoints collapsed onto. */
415
+ classKey: string;
416
+ /** The `different` assertion whose endpoints landed in one class. */
417
+ assertionId: string;
418
+ a: Readonly<{
419
+ kind: string;
420
+ id: string;
421
+ }>;
422
+ b: Readonly<{
423
+ kind: string;
424
+ id: string;
425
+ }>;
426
+ }>;
427
+ /**
428
+ * Thrown when the derived separation relation refuses a write that would place
429
+ * both endpoints of a current `different` assertion in one identity class.
430
+ *
431
+ * This is the database-level backstop beneath the plan-time simulation and the
432
+ * applier's validation. Reaching it means an earlier layer let a contradiction
433
+ * through: the transaction is aborted rather than committed, but the layer that
434
+ * should have refused it typed and early is worth investigating.
435
+ */
436
+ declare class IdentitySeparationViolationError extends TypeGraphError {
437
+ readonly details: IdentitySeparationViolationErrorDetails;
438
+ constructor(details: IdentitySeparationViolationErrorDetails, options?: Readonly<{
439
+ cause?: unknown;
440
+ }>);
441
+ }
318
442
  /**
319
443
  * Details for RestrictedDeleteError.
320
444
  */
@@ -486,8 +610,12 @@ declare class EagerMaterializationError extends TypeGraphError {
486
610
  get failedIndexNames(): readonly string[];
487
611
  }
488
612
  /**
489
- * Details for StaleVersionError. `actual` is `0` when no active version
490
- * exists yet (initial-commit race where another writer initialized first).
613
+ * Details for StaleVersionError. `actual` is the active version the rejecting
614
+ * read observed, and is `0` only when the graph genuinely has no active version
615
+ * (an initial-commit race where another writer initialized first, or a graph
616
+ * whose schema rows were removed out of band). A concurrent advance always
617
+ * reports the newly active version, so `0` is a reliable signal of absence
618
+ * rather than of contention.
491
619
  */
492
620
  type StaleVersionErrorDetails = Readonly<{
493
621
  graphId: string;
@@ -495,9 +623,10 @@ type StaleVersionErrorDetails = Readonly<{
495
623
  actual: number;
496
624
  }>;
497
625
  /**
498
- * Thrown by `commitSchemaVersion` and `setActiveVersion` when the
499
- * caller's view of the active schema version is out of date — another
500
- * writer has already advanced it.
626
+ * Thrown by `commitSchemaVersion`, `setActiveVersion`, and the schema write
627
+ * fence a schema-managed Store write takes, when the caller's view of the
628
+ * active schema version is out of date — another writer has already advanced
629
+ * it.
501
630
  *
502
631
  * Recovery: re-read the active version with `getActiveSchema(graphId)`,
503
632
  * recompute against the new baseline, and retry. This is a routine
@@ -546,6 +675,49 @@ declare class ConfigurationError extends TypeGraphError {
546
675
  suggestion?: string;
547
676
  });
548
677
  }
678
+ /**
679
+ * Why a destructive contribution rebuild is refused.
680
+ *
681
+ * - `vector-source-unavailable` — the projection is vector storage.
682
+ * TypeGraph stores caller-supplied embeddings and nothing else: the
683
+ * vectors exist only in the table a rebuild would drop, so there is no
684
+ * source to reconstruct them from. Dropping anyway would silently
685
+ * destroy the embeddings and hand back storage that looks healthy and
686
+ * returns nothing. `store.reembedVectorField(kind, fieldPath, {
687
+ * embed })` is the sanctioned destructive path — it takes the callback
688
+ * that can regenerate what the drop destroys.
689
+ * - `no-drop-ddl` — the active strategy declares no `dropDdl` for the
690
+ * contribution, so TypeGraph does not know how to tear its storage
691
+ * down. Synthesizing a `DROP TABLE` from the resolved name would
692
+ * guess at a teardown the strategy never sanctioned.
693
+ * - `no-schema-fence` — the backend exposes no transactional schema
694
+ * fence (`schemaWriteTransaction`), so the drop, recreate, refill, and
695
+ * stamp could not be made atomic. Running them unfenced could leave
696
+ * storage attested but empty, or a concurrent schema writer
697
+ * interleaved with the drop.
698
+ * - `shared-storage-in-use` — the contribution's recorded shape is stale,
699
+ * so only recreating its storage repairs it, but that storage is one
700
+ * table holding other graphs' rows as well. Their content is derived
701
+ * from their own nodes through their own schemas, so this process cannot
702
+ * put it back. A rebuild that dropped anyway would leave every other
703
+ * graph's search silently empty; one that re-stamped this graph's marker
704
+ * without the drop would bless a physical shape nothing verified.
705
+ */
706
+ type ContributionRebuildRefusal = "vector-source-unavailable" | "no-drop-ddl" | "no-schema-fence" | "shared-storage-in-use";
707
+ /**
708
+ * Thrown when `store.rebuildContribution()` cannot honor a rebuild.
709
+ *
710
+ * A refusal, never a partial attempt: nothing has been dropped when this
711
+ * throws. The point is that the alternative — proceeding — destroys data
712
+ * that cannot be reconstructed, so the operation declines instead of
713
+ * quietly doing less than its name promises.
714
+ */
715
+ declare class ContributionRebuildUnsupportedError extends TypeGraphError {
716
+ readonly reason: ContributionRebuildRefusal;
717
+ constructor(reason: ContributionRebuildRefusal, details?: Readonly<Record<string, unknown>>, options?: {
718
+ cause?: unknown;
719
+ });
720
+ }
549
721
  /**
550
722
  * Thrown when an iterative graph algorithm exhausts its caller-visible round
551
723
  * budget before reaching its convergence predicate.
@@ -585,7 +757,7 @@ declare class UnsupportedBackendCapabilityError extends TypeGraphError {
585
757
  constructor(operation: string, capability: string, details?: Readonly<Record<string, unknown>>, suggestion?: string);
586
758
  }
587
759
  /** Stable reasons an intentionally trusted initial import can be rejected. */
588
- type TrustedImportErrorReason = "backend_unsupported" | "database_not_empty" | "fulltext_unsupported" | "history_unsupported" | "invalid_stream" | "revision_tracking_unsupported" | "uniqueness_unsupported" | "vector_unsupported";
760
+ type TrustedImportErrorReason = "backend_unsupported" | "database_not_empty" | "fulltext_unsupported" | "history_unsupported" | "identity_unsupported" | "invalid_stream" | "revision_tracking_unsupported" | "uniqueness_unsupported" | "vector_unsupported";
589
761
  /** Thrown when the trusted initial-import contract is unavailable or violated. */
590
762
  declare class TrustedImportError extends TypeGraphError {
591
763
  constructor(message: string, reason: TrustedImportErrorReason, details?: Readonly<Record<string, unknown>>, options?: Readonly<{
@@ -593,6 +765,26 @@ declare class TrustedImportError extends TypeGraphError {
593
765
  suggestion?: string;
594
766
  }>);
595
767
  }
768
+ /**
769
+ * Thrown to a graph export stream's consumer when the caller's `AbortSignal`
770
+ * settled the stream instead of it reaching its end.
771
+ *
772
+ * Raised only after the export has given back everything it took, so receiving
773
+ * it means the connection is already usable again. WHAT it took depends on the
774
+ * backend: an export on one reporting `capabilities.transactions` holds a
775
+ * repeatable-read snapshot (and, on a serialized connection, that connection's
776
+ * stream lease), and both are settled before this is thrown; an export on a
777
+ * backend without transactions holds neither, and its remaining reads are
778
+ * simply abandoned — its already-delivered chunks were never one snapshot to
779
+ * begin with. The message says which case applies. `cause` carries the signal's
780
+ * own `reason` when the caller supplied one.
781
+ */
782
+ declare class ExportStreamCancelledError extends TypeGraphError {
783
+ constructor(message: string, details?: Readonly<Record<string, unknown>>, options?: Readonly<{
784
+ cause?: unknown;
785
+ suggestion?: string;
786
+ }>);
787
+ }
596
788
  /**
597
789
  * The stable `details.code` values raised by the recorded-capture guards on a
598
790
  * history- or revision-tracked store. These are the sanctioned branch points
@@ -710,6 +902,25 @@ declare class StoreNotInitializedError extends TypeGraphError {
710
902
  type DatabaseOperationErrorDetails = Readonly<{
711
903
  operation: string;
712
904
  entity: string;
905
+ /**
906
+ * `"duplicate_key"` means the engine refused the write because the entity's
907
+ * identity is already taken — the shape a concurrent create of the same new id
908
+ * produces on an engine that does not serialize the two writers. It is a
909
+ * *classified* driver failure, so callers that own a better error for the
910
+ * condition (the create paths, which report it as "already exists") translate
911
+ * it rather than surfacing it.
912
+ */
913
+ reason?: "no_row_returned" | "duplicate_key";
914
+ /**
915
+ * The entities the failed statement tried to insert, carried structurally so a
916
+ * translating caller never has to parse the driver's message for them. One
917
+ * element for a single insert; for a batch, every row in the failing chunk —
918
+ * the engine reports the collision without saying which row lost.
919
+ */
920
+ attempted?: readonly Readonly<{
921
+ kind: string;
922
+ id: string;
923
+ }>[];
713
924
  }>;
714
925
  /**
715
926
  * Thrown when a database operation fails unexpectedly.
@@ -857,4 +1068,4 @@ declare function isConstraintError(error: unknown): boolean;
857
1068
  */
858
1069
  declare function getErrorSuggestion(error: unknown): string | undefined;
859
1070
 
860
- export { TrustedImportError as $, NodeNotFoundError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, type NodeNotFoundErrorDetails as F, GraphAlgorithmConvergenceError as G, type RecordedCaptureGuardCode as H, InvalidEdgeWeightError as I, type RecordedCaptureGuardError as J, KindNotFoundError as K, RestrictedDeleteError as L, MIGRATION_FAILURE_REASONS as M, NodeConstraintNotFoundError as N, type RestrictedDeleteErrorDetails as O, type SchemaContentConflictErrorDetails as P, SchemaMismatchError as Q, RECORDED_CAPTURE_GUARD_CODES as R, SchemaContentConflictError as S, type SchemaMismatchErrorDetails as T, StaleVersionError as U, type ValidationIssue as V, type StaleVersionErrorDetails as W, StoreNotInitializedError as X, type StoreNotInitializedErrorDetails as Y, type StoreNotInitializedReason as Z, TransactionClosedError as _, ValidationError as a, type TrustedImportErrorReason as a0, TypeGraphError as a1, type TypeGraphErrorOptions as a2, UniquenessError as a3, type UniquenessErrorDetails as a4, UnsupportedBackendCapabilityError as a5, UnsupportedPredicateError as a6, type ValidationErrorDetails as a7, VersionConflictError as a8, type VersionConflictErrorDetails as a9, getErrorSuggestion as aa, isConstraintError as ab, isRecordedCaptureGuardError as ac, isSystemError as ad, isTypeGraphError as ae, isUserRecoverable as af, type CardinalityErrorDetails as b, CompilerInvariantError as c, ConfigurationError as d, type DatabaseOperationErrorDetails as e, DisjointError as f, type DisjointErrorDetails as g, type EagerMaterializationErrorDetails as h, EdgeNotFoundError as i, type EdgeNotFoundErrorDetails as j, EmbeddingDimensionChangedError as k, type EmbeddingDimensionChangedErrorDetails as l, EndpointError as m, type EndpointErrorDetails as n, EndpointNotFoundError as o, type EndpointNotFoundErrorDetails as p, type ErrorCategory as q, type InvalidEdgeWeightErrorDetails as r, type InvalidEdgeWeightReason as s, type KindNotFoundErrorDetails as t, MigrationError as u, type MigrationErrorDetails as v, type MigrationFailureReason as w, type NodeConstraintNotFoundErrorDetails as x, NodeIndexNotFoundError as y, type NodeIndexNotFoundErrorDetails as z };
1071
+ export { type RecordedCaptureGuardError as $, IdentitySeparationViolationError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EDGE_IDENTITY_MISMATCH_CODE as E, type IdentitySeparationViolationErrorDetails as F, GraphAlgorithmConvergenceError as G, InvalidEdgeWeightError as H, IMMUTABLE_VALIDITY_LOWER_BOUND_CODE as I, type InvalidEdgeWeightErrorDetails as J, type InvalidEdgeWeightReason as K, KindNotFoundError as L, type KindNotFoundErrorDetails as M, MIGRATION_FAILURE_REASONS as N, MigrationError as O, type MigrationErrorDetails as P, type MigrationFailureReason as Q, NodeConstraintNotFoundError as R, type NodeConstraintNotFoundErrorDetails as S, TypeGraphError as T, NodeIndexNotFoundError as U, type ValidationIssue as V, type NodeIndexNotFoundErrorDetails as W, NodeNotFoundError as X, type NodeNotFoundErrorDetails as Y, RECORDED_CAPTURE_GUARD_CODES as Z, type RecordedCaptureGuardCode as _, ValidationError as a, RestrictedDeleteError as a0, type RestrictedDeleteErrorDetails as a1, SchemaContentConflictError as a2, type SchemaContentConflictErrorDetails as a3, SchemaMismatchError as a4, type SchemaMismatchErrorDetails as a5, StaleVersionError as a6, type StaleVersionErrorDetails as a7, StoreNotInitializedError as a8, type StoreNotInitializedErrorDetails as a9, type StoreNotInitializedReason as aa, TransactionClosedError as ab, TrustedImportError as ac, type TrustedImportErrorReason as ad, UniquenessError as ae, type UniquenessErrorDetails as af, UnsupportedBackendCapabilityError as ag, UnsupportedPredicateError as ah, type ValidationErrorDetails as ai, VersionConflictError as aj, type VersionConflictErrorDetails as ak, getErrorSuggestion as al, isConstraintError as am, isRecordedCaptureGuardError as an, isSystemError as ao, isTypeGraphError as ap, isUserRecoverable as aq, type TypeGraphErrorOptions as b, type CardinalityErrorDetails as c, CompilerInvariantError as d, ConfigurationError as e, type ContributionRebuildRefusal as f, ContributionRebuildUnsupportedError as g, type DatabaseOperationErrorDetails as h, DisjointError as i, type DisjointErrorDetails as j, ENTITY_ALREADY_EXISTS_CODE as k, EagerMaterializationError as l, type EagerMaterializationErrorDetails as m, EdgeNotFoundError as n, type EdgeNotFoundErrorDetails as o, EmbeddingDimensionChangedError as p, type EmbeddingDimensionChangedErrorDetails as q, EndpointError as r, type EndpointErrorDetails as s, EndpointNotFoundError as t, type EndpointNotFoundErrorDetails as u, type ErrorCategory as v, ExportStreamCancelledError as w, INVERTED_VALIDITY_WINDOW_CODE as x, IdentityContradictionError as y, type IdentityContradictionErrorDetails as z };