@nicia-ai/typegraph 0.34.0 → 0.35.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 (287) hide show
  1. package/dist/backend/postgres/index.cjs +29 -29
  2. package/dist/backend/postgres/index.d.cts +39 -7
  3. package/dist/backend/postgres/index.d.ts +39 -7
  4. package/dist/backend/postgres/index.js +16 -16
  5. package/dist/backend/postgres/pglite.cjs +21 -21
  6. package/dist/backend/postgres/pglite.d.cts +4 -4
  7. package/dist/backend/postgres/pglite.d.ts +4 -4
  8. package/dist/backend/postgres/pglite.js +16 -16
  9. package/dist/backend/sqlite/index.cjs +25 -26
  10. package/dist/backend/sqlite/index.d.cts +8 -8
  11. package/dist/backend/sqlite/index.d.ts +8 -8
  12. package/dist/backend/sqlite/index.js +13 -14
  13. package/dist/backend/sqlite/libsql.cjs +19 -19
  14. package/dist/backend/sqlite/libsql.d.cts +4 -4
  15. package/dist/backend/sqlite/libsql.d.ts +4 -4
  16. package/dist/backend/sqlite/libsql.js +15 -15
  17. package/dist/backend/sqlite/local.cjs +101 -21
  18. package/dist/backend/sqlite/local.cjs.map +1 -1
  19. package/dist/backend/sqlite/local.d.cts +95 -5
  20. package/dist/backend/sqlite/local.d.ts +95 -5
  21. package/dist/backend/sqlite/local.js +95 -16
  22. package/dist/backend/sqlite/local.js.map +1 -1
  23. package/dist/{chunk-ZV5N4DBG.js → chunk-3TWF3SH4.js} +300 -58
  24. package/dist/chunk-3TWF3SH4.js.map +1 -0
  25. package/dist/chunk-4JEZZJ6S.cjs +1271 -0
  26. package/dist/chunk-4JEZZJ6S.cjs.map +1 -0
  27. package/dist/{chunk-UNNPKQUG.cjs → chunk-4TOD4LBZ.cjs} +246 -155
  28. package/dist/chunk-4TOD4LBZ.cjs.map +1 -0
  29. package/dist/{chunk-QV245VMN.js → chunk-55MZDDZV.js} +100 -6
  30. package/dist/chunk-55MZDDZV.js.map +1 -0
  31. package/dist/{chunk-GQANNXXT.cjs → chunk-5A6FNS6N.cjs} +75 -20
  32. package/dist/chunk-5A6FNS6N.cjs.map +1 -0
  33. package/dist/{chunk-3Z6TW3CT.cjs → chunk-5AQIKK56.cjs} +65 -25
  34. package/dist/chunk-5AQIKK56.cjs.map +1 -0
  35. package/dist/{chunk-BVTWD66D.js → chunk-5SEGFTZX.js} +3 -3
  36. package/dist/{chunk-BVTWD66D.js.map → chunk-5SEGFTZX.js.map} +1 -1
  37. package/dist/{chunk-6GNSY7AV.js → chunk-6FR2MMS6.js} +7 -7
  38. package/dist/chunk-6FR2MMS6.js.map +1 -0
  39. package/dist/chunk-7YSP4V4R.cjs +69 -0
  40. package/dist/chunk-7YSP4V4R.cjs.map +1 -0
  41. package/dist/chunk-A42GCBGX.cjs +28 -0
  42. package/dist/chunk-A42GCBGX.cjs.map +1 -0
  43. package/dist/{chunk-RHZWOJVA.cjs → chunk-BLZDPRXT.cjs} +52 -4
  44. package/dist/chunk-BLZDPRXT.cjs.map +1 -0
  45. package/dist/chunk-BYPOGQWK.js +25 -0
  46. package/dist/chunk-BYPOGQWK.js.map +1 -0
  47. package/dist/{chunk-6HVOHZHS.cjs → chunk-CK5BVQOW.cjs} +213 -168
  48. package/dist/chunk-CK5BVQOW.cjs.map +1 -0
  49. package/dist/{chunk-JJRCLAUN.cjs → chunk-CTTSDJLY.cjs} +116 -10
  50. package/dist/chunk-CTTSDJLY.cjs.map +1 -0
  51. package/dist/chunk-CUHM5CWJ.cjs +12 -0
  52. package/dist/chunk-CUHM5CWJ.cjs.map +1 -0
  53. package/dist/{chunk-A7SZZFAG.js → chunk-CZQ3FO2Q.js} +409 -99
  54. package/dist/chunk-CZQ3FO2Q.js.map +1 -0
  55. package/dist/{chunk-2JXB3NYJ.cjs → chunk-D7ZEOS56.cjs} +25 -32
  56. package/dist/chunk-D7ZEOS56.cjs.map +1 -0
  57. package/dist/chunk-DFVLCOP6.js +10 -0
  58. package/dist/chunk-DFVLCOP6.js.map +1 -0
  59. package/dist/{chunk-UJLOZYKT.cjs → chunk-EM3CWPND.cjs} +441 -115
  60. package/dist/chunk-EM3CWPND.cjs.map +1 -0
  61. package/dist/chunk-EMF62TZG.cjs +1176 -0
  62. package/dist/chunk-EMF62TZG.cjs.map +1 -0
  63. package/dist/chunk-EOLERH7Y.cjs +40 -0
  64. package/dist/chunk-EOLERH7Y.cjs.map +1 -0
  65. package/dist/{chunk-TGJE22RM.cjs → chunk-FACJJWGF.cjs} +24 -6
  66. package/dist/chunk-FACJJWGF.cjs.map +1 -0
  67. package/dist/{chunk-HK5SATYM.cjs → chunk-FL472AMI.cjs} +16 -109
  68. package/dist/chunk-FL472AMI.cjs.map +1 -0
  69. package/dist/{chunk-WVC2Q2FD.cjs → chunk-FN35DLCN.cjs} +31 -9
  70. package/dist/chunk-FN35DLCN.cjs.map +1 -0
  71. package/dist/{chunk-KUTNI6SI.js → chunk-FPIZFYHE.js} +10 -18
  72. package/dist/chunk-FPIZFYHE.js.map +1 -0
  73. package/dist/{chunk-VCGO4V26.js → chunk-FRV5Q5IO.js} +64 -9
  74. package/dist/chunk-FRV5Q5IO.js.map +1 -0
  75. package/dist/{chunk-K5P5OZXS.js → chunk-G6Q5UM7U.js} +2 -2
  76. package/dist/{chunk-K5P5OZXS.js.map → chunk-G6Q5UM7U.js.map} +1 -1
  77. package/dist/chunk-GSQ6NPH6.cjs +100 -0
  78. package/dist/chunk-GSQ6NPH6.cjs.map +1 -0
  79. package/dist/chunk-GUR2FNB5.cjs +12 -0
  80. package/dist/{chunk-HMFK4BXR.cjs.map → chunk-GUR2FNB5.cjs.map} +1 -1
  81. package/dist/{chunk-JQGIPGVL.cjs → chunk-H7YNSMA7.cjs} +43 -2
  82. package/dist/chunk-H7YNSMA7.cjs.map +1 -0
  83. package/dist/{chunk-2MRAX3UE.js → chunk-I7ZUZKFD.js} +47 -4
  84. package/dist/chunk-I7ZUZKFD.js.map +1 -0
  85. package/dist/{chunk-3BRVBQQD.cjs → chunk-J7WFGBJR.cjs} +2445 -2367
  86. package/dist/chunk-J7WFGBJR.cjs.map +1 -0
  87. package/dist/{chunk-V3QNTB7Z.js → chunk-JBTOYDMN.js} +194 -114
  88. package/dist/chunk-JBTOYDMN.js.map +1 -0
  89. package/dist/{chunk-K2TGS3EN.js → chunk-K3PPLHY7.js} +138 -89
  90. package/dist/chunk-K3PPLHY7.js.map +1 -0
  91. package/dist/{chunk-Z5XBMDXU.js → chunk-KBGQIPRQ.js} +42 -3
  92. package/dist/chunk-KBGQIPRQ.js.map +1 -0
  93. package/dist/chunk-KMI7LYAF.js +1252 -0
  94. package/dist/chunk-KMI7LYAF.js.map +1 -0
  95. package/dist/{chunk-JIEJCTDS.cjs → chunk-LGEALRC6.cjs} +21 -4
  96. package/dist/chunk-LGEALRC6.cjs.map +1 -0
  97. package/dist/{chunk-TQOYM4LN.js → chunk-MP2JQKSG.js} +21 -5
  98. package/dist/chunk-MP2JQKSG.js.map +1 -0
  99. package/dist/{chunk-ZP5WHI4C.cjs → chunk-O7UN7OXA.cjs} +358 -116
  100. package/dist/chunk-O7UN7OXA.cjs.map +1 -0
  101. package/dist/chunk-OHMP6N2J.js +47 -0
  102. package/dist/chunk-OHMP6N2J.js.map +1 -0
  103. package/dist/{chunk-4DIBPQNJ.js → chunk-OR5ZA5WP.js} +135 -25
  104. package/dist/chunk-OR5ZA5WP.js.map +1 -0
  105. package/dist/{chunk-DEQFL35G.js → chunk-Q5TEXCTB.js} +61 -7
  106. package/dist/chunk-Q5TEXCTB.js.map +1 -0
  107. package/dist/chunk-QNKSQTKQ.js +1312 -0
  108. package/dist/chunk-QNKSQTKQ.js.map +1 -0
  109. package/dist/{chunk-ZURTTSCM.js → chunk-QOTI55H7.js} +6 -94
  110. package/dist/chunk-QOTI55H7.js.map +1 -0
  111. package/dist/{chunk-CHXTTSC6.js → chunk-QWEUYILR.js} +104 -5
  112. package/dist/chunk-QWEUYILR.js.map +1 -0
  113. package/dist/{chunk-LANHCOXB.js → chunk-RGP33ZJ5.js} +485 -83
  114. package/dist/chunk-RGP33ZJ5.js.map +1 -0
  115. package/dist/chunk-RGPG7EOJ.js +94 -0
  116. package/dist/chunk-RGPG7EOJ.js.map +1 -0
  117. package/dist/{chunk-G6SOJEDI.cjs → chunk-S55OV6PW.cjs} +15 -15
  118. package/dist/chunk-S55OV6PW.cjs.map +1 -0
  119. package/dist/{chunk-3E7SNSIA.cjs → chunk-SJDMVITW.cjs} +4 -4
  120. package/dist/{chunk-3E7SNSIA.cjs.map → chunk-SJDMVITW.cjs.map} +1 -1
  121. package/dist/{chunk-XLUNB2TZ.js → chunk-SNXVDZAJ.js} +3 -3
  122. package/dist/{chunk-XLUNB2TZ.js.map → chunk-SNXVDZAJ.js.map} +1 -1
  123. package/dist/{chunk-RBV7YCQD.js → chunk-T2WUSPDA.js} +49 -9
  124. package/dist/chunk-T2WUSPDA.js.map +1 -0
  125. package/dist/{chunk-KGC4LY5T.cjs → chunk-TCOCYN2P.cjs} +75 -21
  126. package/dist/chunk-TCOCYN2P.cjs.map +1 -0
  127. package/dist/{chunk-FLRCVI2G.cjs → chunk-TDXIBCGY.cjs} +2 -2
  128. package/dist/{chunk-FLRCVI2G.cjs.map → chunk-TDXIBCGY.cjs.map} +1 -1
  129. package/dist/{chunk-ZY4GXIVN.cjs → chunk-TEDRJXOG.cjs} +5 -5
  130. package/dist/{chunk-ZY4GXIVN.cjs.map → chunk-TEDRJXOG.cjs.map} +1 -1
  131. package/dist/{chunk-WLRIWYHQ.js → chunk-UES55P7G.js} +1863 -1785
  132. package/dist/chunk-UES55P7G.js.map +1 -0
  133. package/dist/{chunk-WL2SG7ZV.cjs → chunk-UMDVATGY.cjs} +6 -6
  134. package/dist/{chunk-WL2SG7ZV.cjs.map → chunk-UMDVATGY.cjs.map} +1 -1
  135. package/dist/chunk-UT3S4SEN.js +31 -0
  136. package/dist/chunk-UT3S4SEN.js.map +1 -0
  137. package/dist/{chunk-RRKQAKD6.cjs → chunk-UUT7UN2N.cjs} +149 -39
  138. package/dist/chunk-UUT7UN2N.cjs.map +1 -0
  139. package/dist/{chunk-SHLY4MCM.js → chunk-UZV3AZKF.js} +21 -3
  140. package/dist/chunk-UZV3AZKF.js.map +1 -0
  141. package/dist/{chunk-CYX2JTDG.js → chunk-VHMPG6UL.js} +29 -7
  142. package/dist/chunk-VHMPG6UL.js.map +1 -0
  143. package/dist/{chunk-T6SPUYLX.cjs → chunk-VPYHY3LJ.cjs} +116 -10
  144. package/dist/chunk-VPYHY3LJ.cjs.map +1 -0
  145. package/dist/{chunk-T46GR2VY.js → chunk-VSPCZAXF.js} +3 -3
  146. package/dist/{chunk-T46GR2VY.js.map → chunk-VSPCZAXF.js.map} +1 -1
  147. package/dist/{chunk-K34OPSJK.js → chunk-W63OVYY4.js} +3 -3
  148. package/dist/{chunk-K34OPSJK.js.map → chunk-W63OVYY4.js.map} +1 -1
  149. package/dist/{chunk-RY2VIWAM.js → chunk-WDBCBWC4.js} +355 -32
  150. package/dist/chunk-WDBCBWC4.js.map +1 -0
  151. package/dist/chunk-WJT7OU7E.cjs +1334 -0
  152. package/dist/chunk-WJT7OU7E.cjs.map +1 -0
  153. package/dist/{chunk-5IQIX7LU.cjs → chunk-XOX22WHL.cjs} +476 -163
  154. package/dist/chunk-XOX22WHL.cjs.map +1 -0
  155. package/dist/{ddl-BrmPg61z.d.ts → ddl-C2rZ-Aen.d.ts} +4 -4
  156. package/dist/{ddl-j1-sH6lE.d.cts → ddl-CZz7a0E8.d.cts} +4 -4
  157. package/dist/{extension-types-YGFJPrzK.d.cts → extension-types-ixRpJVUp.d.cts} +24 -1
  158. package/dist/{extension-types-YGFJPrzK.d.ts → extension-types-ixRpJVUp.d.ts} +24 -1
  159. package/dist/{types-DkNnF-7K.d.cts → fulltext-strategy-B57yvC5Q.d.ts} +2562 -2133
  160. package/dist/{types-D1Sqeyxy.d.ts → fulltext-strategy-CDkSSYhq.d.cts} +2562 -2133
  161. package/dist/graph-extension/index.cjs +20 -19
  162. package/dist/graph-extension/index.d.cts +4 -4
  163. package/dist/graph-extension/index.d.ts +4 -4
  164. package/dist/graph-extension/index.js +5 -4
  165. package/dist/graph-merge/index.cjs +255 -164
  166. package/dist/graph-merge/index.cjs.map +1 -1
  167. package/dist/graph-merge/index.d.cts +63 -33
  168. package/dist/graph-merge/index.d.ts +63 -33
  169. package/dist/graph-merge/index.js +135 -44
  170. package/dist/graph-merge/index.js.map +1 -1
  171. package/dist/{index-DGX6D9j1.d.ts → index-6CSUAq-x.d.ts} +234 -93
  172. package/dist/{index-SEvUHDA6.d.cts → index-Bks_3HHK.d.cts} +234 -93
  173. package/dist/index.cjs +208 -188
  174. package/dist/index.d.cts +11 -11
  175. package/dist/index.d.ts +11 -11
  176. package/dist/index.js +33 -33
  177. package/dist/indexes/index.cjs +19 -20
  178. package/dist/indexes/index.d.cts +5 -5
  179. package/dist/indexes/index.d.ts +5 -5
  180. package/dist/indexes/index.js +10 -11
  181. package/dist/interchange/index.cjs +47 -26
  182. package/dist/interchange/index.d.cts +126 -12
  183. package/dist/interchange/index.d.ts +126 -12
  184. package/dist/interchange/index.js +14 -13
  185. package/dist/{manager-ms9cKdc6.d.cts → manager-DwQi8eV0.d.cts} +9 -2
  186. package/dist/{manager-BZUeN_BU.d.ts → manager-ejUCB52T.d.ts} +9 -2
  187. package/dist/{materialize-indexes-D20xNluI.d.cts → materialize-indexes-B4e9360H.d.cts} +20 -4
  188. package/dist/{materialize-indexes-CAkIYFV-.d.ts → materialize-indexes-te9TPMMJ.d.ts} +20 -4
  189. package/dist/{postgres-BhpxGMC5.d.cts → postgres-CfEqsRMp.d.cts} +152 -1
  190. package/dist/{postgres-CWHLwNl1.d.ts → postgres-DQ5R6rzV.d.ts} +152 -1
  191. package/dist/profiler/index.cjs +11 -11
  192. package/dist/profiler/index.d.cts +7 -7
  193. package/dist/profiler/index.d.ts +7 -7
  194. package/dist/profiler/index.js +4 -4
  195. package/dist/provenance/index.cjs +40 -41
  196. package/dist/provenance/index.cjs.map +1 -1
  197. package/dist/provenance/index.d.cts +5 -5
  198. package/dist/provenance/index.d.ts +5 -5
  199. package/dist/provenance/index.js +11 -12
  200. package/dist/provenance/index.js.map +1 -1
  201. package/dist/schema/index.cjs +53 -40
  202. package/dist/schema/index.cjs.map +1 -1
  203. package/dist/schema/index.d.cts +57 -57
  204. package/dist/schema/index.d.ts +57 -57
  205. package/dist/schema/index.js +28 -15
  206. package/dist/schema/index.js.map +1 -1
  207. package/dist/{sqlite-XrDxNaa7.d.cts → sqlite-D7zBinNR.d.cts} +92 -1
  208. package/dist/{sqlite-CGu5SLsw.d.ts → sqlite-DvQndLky.d.ts} +92 -1
  209. package/dist/{store-view-D09po4H6.d.cts → store-view-BSpqvAxK.d.cts} +415 -44
  210. package/dist/{store-view-BlgnhEYf.d.ts → store-view-CKbHFRnn.d.ts} +415 -44
  211. package/dist/{types-DiE1AO7p.d.cts → types-Bv9DcS_E.d.cts} +2 -2
  212. package/dist/{types-B1TbZJYS.d.ts → types-CoxuV7EJ.d.ts} +2 -2
  213. package/dist/{where-DKjuofPr.d.cts → where-7RKFOsXt.d.ts} +2 -2
  214. package/dist/{where-DrUIIWHb.d.ts → where-DdMIXOtH.d.cts} +2 -2
  215. package/package.json +14 -13
  216. package/dist/chunk-2EBMPJBO.js +0 -16
  217. package/dist/chunk-2EBMPJBO.js.map +0 -1
  218. package/dist/chunk-2JXB3NYJ.cjs.map +0 -1
  219. package/dist/chunk-2MRAX3UE.js.map +0 -1
  220. package/dist/chunk-3BRVBQQD.cjs.map +0 -1
  221. package/dist/chunk-3EUKJEQ3.js +0 -77
  222. package/dist/chunk-3EUKJEQ3.js.map +0 -1
  223. package/dist/chunk-3Z6TW3CT.cjs.map +0 -1
  224. package/dist/chunk-4DIBPQNJ.js.map +0 -1
  225. package/dist/chunk-4S2FXGBJ.js +0 -9
  226. package/dist/chunk-4S2FXGBJ.js.map +0 -1
  227. package/dist/chunk-5IQIX7LU.cjs.map +0 -1
  228. package/dist/chunk-6GNSY7AV.js.map +0 -1
  229. package/dist/chunk-6HVOHZHS.cjs.map +0 -1
  230. package/dist/chunk-6SCVW4AS.js +0 -20
  231. package/dist/chunk-6SCVW4AS.js.map +0 -1
  232. package/dist/chunk-A7SZZFAG.js.map +0 -1
  233. package/dist/chunk-CHXTTSC6.js.map +0 -1
  234. package/dist/chunk-CYX2JTDG.js.map +0 -1
  235. package/dist/chunk-DEQFL35G.js.map +0 -1
  236. package/dist/chunk-G6SOJEDI.cjs.map +0 -1
  237. package/dist/chunk-GQANNXXT.cjs.map +0 -1
  238. package/dist/chunk-GZCNZ7QW.js +0 -24
  239. package/dist/chunk-GZCNZ7QW.js.map +0 -1
  240. package/dist/chunk-HK5SATYM.cjs.map +0 -1
  241. package/dist/chunk-HMFK4BXR.cjs +0 -12
  242. package/dist/chunk-HTGDWIDE.cjs +0 -89
  243. package/dist/chunk-HTGDWIDE.cjs.map +0 -1
  244. package/dist/chunk-JIEJCTDS.cjs.map +0 -1
  245. package/dist/chunk-JJRCLAUN.cjs.map +0 -1
  246. package/dist/chunk-JQGIPGVL.cjs.map +0 -1
  247. package/dist/chunk-K2TGS3EN.js.map +0 -1
  248. package/dist/chunk-KGC4LY5T.cjs.map +0 -1
  249. package/dist/chunk-KNHYNQQ3.cjs +0 -663
  250. package/dist/chunk-KNHYNQQ3.cjs.map +0 -1
  251. package/dist/chunk-KUTNI6SI.js.map +0 -1
  252. package/dist/chunk-LANHCOXB.js.map +0 -1
  253. package/dist/chunk-N6WTUSBV.cjs +0 -23
  254. package/dist/chunk-N6WTUSBV.cjs.map +0 -1
  255. package/dist/chunk-NAUA4PW5.cjs +0 -28
  256. package/dist/chunk-NAUA4PW5.cjs.map +0 -1
  257. package/dist/chunk-QV245VMN.js.map +0 -1
  258. package/dist/chunk-RBV7YCQD.js.map +0 -1
  259. package/dist/chunk-RHZWOJVA.cjs.map +0 -1
  260. package/dist/chunk-RRKQAKD6.cjs.map +0 -1
  261. package/dist/chunk-RY2VIWAM.js.map +0 -1
  262. package/dist/chunk-SHLY4MCM.js.map +0 -1
  263. package/dist/chunk-T2DWPQNE.js +0 -649
  264. package/dist/chunk-T2DWPQNE.js.map +0 -1
  265. package/dist/chunk-T6SPUYLX.cjs.map +0 -1
  266. package/dist/chunk-TGJE22RM.cjs.map +0 -1
  267. package/dist/chunk-TOTPVGOG.cjs +0 -774
  268. package/dist/chunk-TOTPVGOG.cjs.map +0 -1
  269. package/dist/chunk-TQOYM4LN.js.map +0 -1
  270. package/dist/chunk-UJLOZYKT.cjs.map +0 -1
  271. package/dist/chunk-UNNPKQUG.cjs.map +0 -1
  272. package/dist/chunk-V3QNTB7Z.js.map +0 -1
  273. package/dist/chunk-VCGO4V26.js.map +0 -1
  274. package/dist/chunk-WLRIWYHQ.js.map +0 -1
  275. package/dist/chunk-WVC2Q2FD.cjs.map +0 -1
  276. package/dist/chunk-XXVEULWX.js +0 -39
  277. package/dist/chunk-XXVEULWX.js.map +0 -1
  278. package/dist/chunk-YAZE7QZR.cjs +0 -32
  279. package/dist/chunk-YAZE7QZR.cjs.map +0 -1
  280. package/dist/chunk-YC6PWTHY.cjs +0 -44
  281. package/dist/chunk-YC6PWTHY.cjs.map +0 -1
  282. package/dist/chunk-Z5HBYM7U.cjs +0 -11
  283. package/dist/chunk-Z5HBYM7U.cjs.map +0 -1
  284. package/dist/chunk-Z5XBMDXU.js.map +0 -1
  285. package/dist/chunk-ZP5WHI4C.cjs.map +0 -1
  286. package/dist/chunk-ZURTTSCM.js.map +0 -1
  287. package/dist/chunk-ZV5N4DBG.js.map +0 -1
@@ -1,5 +1,5 @@
1
- import { K as KindEntity } from './extension-types-YGFJPrzK.js';
2
- import { M as MaterializeIndexesResult } from './materialize-indexes-CAkIYFV-.js';
1
+ import { K as KindEntity } from './extension-types-ixRpJVUp.js';
2
+ import { M as MaterializeIndexesResult } from './materialize-indexes-te9TPMMJ.js';
3
3
 
4
4
  /**
5
5
  * TypeGraph Error Hierarchy
@@ -119,6 +119,13 @@ declare class ValidationError extends TypeGraphError {
119
119
  suggestion?: string;
120
120
  });
121
121
  }
122
+ /**
123
+ * Details for NodeNotFoundError.
124
+ */
125
+ type NodeNotFoundErrorDetails = Readonly<{
126
+ kind: string;
127
+ id: string;
128
+ }>;
122
129
  /**
123
130
  * Thrown when a node is not found.
124
131
  *
@@ -134,18 +141,35 @@ declare class ValidationError extends TypeGraphError {
134
141
  * ```
135
142
  */
136
143
  declare class NodeNotFoundError extends TypeGraphError {
144
+ readonly details: NodeNotFoundErrorDetails;
137
145
  constructor(kind: string, id: string, options?: {
138
146
  cause?: unknown;
139
147
  });
140
148
  }
149
+ /**
150
+ * Details for EdgeNotFoundError.
151
+ */
152
+ type EdgeNotFoundErrorDetails = Readonly<{
153
+ kind: string;
154
+ id: string;
155
+ }>;
141
156
  /**
142
157
  * Thrown when an edge is not found.
143
158
  */
144
159
  declare class EdgeNotFoundError extends TypeGraphError {
160
+ readonly details: EdgeNotFoundErrorDetails;
145
161
  constructor(kind: string, id: string, options?: {
146
162
  cause?: unknown;
147
163
  });
148
164
  }
165
+ /**
166
+ * Details for KindNotFoundError.
167
+ */
168
+ type KindNotFoundErrorDetails = Readonly<{
169
+ kindName: string;
170
+ entity: KindEntity;
171
+ graphId?: string;
172
+ }>;
149
173
  /**
150
174
  * Thrown when an operation references a kind that isn't registered on
151
175
  * the graph — `getNodeCollectionOrThrow` against an unknown kind, a
@@ -156,6 +180,7 @@ declare class EdgeNotFoundError extends TypeGraphError {
156
180
  * process.
157
181
  */
158
182
  declare class KindNotFoundError extends TypeGraphError {
183
+ readonly details: KindNotFoundErrorDetails;
159
184
  readonly kindName: string;
160
185
  readonly entity: KindEntity;
161
186
  constructor(kindName: string, entity: KindEntity, options?: Readonly<{
@@ -164,76 +189,120 @@ declare class KindNotFoundError extends TypeGraphError {
164
189
  cause?: unknown;
165
190
  }>);
166
191
  }
192
+ /**
193
+ * Details for NodeConstraintNotFoundError.
194
+ */
195
+ type NodeConstraintNotFoundErrorDetails = Readonly<{
196
+ constraintName: string;
197
+ kind: string;
198
+ }>;
167
199
  /**
168
200
  * Thrown when a uniqueness constraint name is not found on a node kind.
169
201
  */
170
202
  declare class NodeConstraintNotFoundError extends TypeGraphError {
203
+ readonly details: NodeConstraintNotFoundErrorDetails;
171
204
  constructor(constraintName: string, kind: string, options?: {
172
205
  cause?: unknown;
173
206
  });
174
207
  }
208
+ /**
209
+ * Details for NodeIndexNotFoundError.
210
+ */
211
+ type NodeIndexNotFoundErrorDetails = Readonly<{
212
+ indexName: string;
213
+ kind: string;
214
+ }>;
175
215
  /**
176
216
  * Thrown when a declared node index name is not found on a node kind.
177
217
  */
178
218
  declare class NodeIndexNotFoundError extends TypeGraphError {
219
+ readonly details: NodeIndexNotFoundErrorDetails;
179
220
  constructor(indexName: string, kind: string, options?: {
180
221
  cause?: unknown;
181
222
  });
182
223
  }
224
+ /**
225
+ * Details for EndpointNotFoundError.
226
+ */
227
+ type EndpointNotFoundErrorDetails = Readonly<{
228
+ edgeKind: string;
229
+ endpoint: "from" | "to";
230
+ nodeKind: string;
231
+ nodeId: string;
232
+ }>;
183
233
  /**
184
234
  * Thrown when edge endpoint node does not exist or is deleted.
185
235
  */
186
236
  declare class EndpointNotFoundError extends TypeGraphError {
187
- constructor(details: Readonly<{
188
- edgeKind: string;
189
- endpoint: "from" | "to";
190
- nodeKind: string;
191
- nodeId: string;
192
- }>, options?: {
237
+ readonly details: EndpointNotFoundErrorDetails;
238
+ constructor(details: EndpointNotFoundErrorDetails, options?: {
193
239
  cause?: unknown;
194
240
  });
195
241
  }
242
+ /**
243
+ * Details for EndpointError.
244
+ */
245
+ type EndpointErrorDetails = Readonly<{
246
+ edgeKind: string;
247
+ endpoint: "from" | "to";
248
+ actualKind: string;
249
+ expectedKinds: readonly string[];
250
+ }>;
196
251
  /**
197
252
  * Thrown when edge endpoint has wrong node type.
198
253
  */
199
254
  declare class EndpointError extends TypeGraphError {
200
- constructor(details: Readonly<{
201
- edgeKind: string;
202
- endpoint: "from" | "to";
203
- actualKind: string;
204
- expectedKinds: readonly string[];
205
- }>, options?: {
255
+ readonly details: EndpointErrorDetails;
256
+ constructor(details: EndpointErrorDetails, options?: {
206
257
  cause?: unknown;
207
258
  });
208
259
  }
260
+ /**
261
+ * Details for UniquenessError.
262
+ */
263
+ type UniquenessErrorDetails = Readonly<{
264
+ constraintName: string;
265
+ kind: string;
266
+ existingId: string;
267
+ newId: string;
268
+ fields: readonly string[];
269
+ }>;
209
270
  /**
210
271
  * Thrown when uniqueness constraint is violated.
211
272
  */
212
273
  declare class UniquenessError extends TypeGraphError {
213
- constructor(details: Readonly<{
214
- constraintName: string;
215
- kind: string;
216
- existingId: string;
217
- newId: string;
218
- fields: readonly string[];
219
- }>, options?: {
274
+ readonly details: UniquenessErrorDetails;
275
+ constructor(details: UniquenessErrorDetails, options?: {
220
276
  cause?: unknown;
221
277
  });
222
278
  }
279
+ /**
280
+ * Details for CardinalityError.
281
+ */
282
+ type CardinalityErrorDetails = Readonly<{
283
+ edgeKind: string;
284
+ fromKind: string;
285
+ fromId: string;
286
+ cardinality: string;
287
+ existingCount: number;
288
+ }>;
223
289
  /**
224
290
  * Thrown when cardinality constraint is violated.
225
291
  */
226
292
  declare class CardinalityError extends TypeGraphError {
227
- constructor(details: Readonly<{
228
- edgeKind: string;
229
- fromKind: string;
230
- fromId: string;
231
- cardinality: string;
232
- existingCount: number;
233
- }>, options?: {
293
+ readonly details: CardinalityErrorDetails;
294
+ constructor(details: CardinalityErrorDetails, options?: {
234
295
  cause?: unknown;
235
296
  });
236
297
  }
298
+ /**
299
+ * Details for DisjointError.
300
+ */
301
+ type DisjointErrorDetails = Readonly<{
302
+ nodeId: string;
303
+ attemptedKind: string;
304
+ conflictingKind: string;
305
+ }>;
237
306
  /**
238
307
  * Thrown when disjointness constraint is violated.
239
308
  *
@@ -241,27 +310,38 @@ declare class CardinalityError extends TypeGraphError {
241
310
  * a Person and an Organization if they are declared disjoint.
242
311
  */
243
312
  declare class DisjointError extends TypeGraphError {
244
- constructor(details: Readonly<{
245
- nodeId: string;
246
- attemptedKind: string;
247
- conflictingKind: string;
248
- }>, options?: {
313
+ readonly details: DisjointErrorDetails;
314
+ constructor(details: DisjointErrorDetails, options?: {
249
315
  cause?: unknown;
250
316
  });
251
317
  }
318
+ /**
319
+ * Details for RestrictedDeleteError.
320
+ */
321
+ type RestrictedDeleteErrorDetails = Readonly<{
322
+ nodeKind: string;
323
+ nodeId: string;
324
+ edgeCount: number;
325
+ edgeKinds: readonly string[];
326
+ }>;
252
327
  /**
253
328
  * Thrown when deletion is blocked due to existing edges (restrict behavior).
254
329
  */
255
330
  declare class RestrictedDeleteError extends TypeGraphError {
256
- constructor(details: Readonly<{
257
- nodeKind: string;
258
- nodeId: string;
259
- edgeCount: number;
260
- edgeKinds: readonly string[];
261
- }>, options?: {
331
+ readonly details: RestrictedDeleteErrorDetails;
332
+ constructor(details: RestrictedDeleteErrorDetails, options?: {
262
333
  cause?: unknown;
263
334
  });
264
335
  }
336
+ /**
337
+ * Details for VersionConflictError.
338
+ */
339
+ type VersionConflictErrorDetails = Readonly<{
340
+ kind: string;
341
+ id: string;
342
+ expectedVersion: number;
343
+ actualVersion: number;
344
+ }>;
265
345
  /**
266
346
  * Thrown when optimistic locking detects a concurrent modification.
267
347
  *
@@ -269,40 +349,53 @@ declare class RestrictedDeleteError extends TypeGraphError {
269
349
  * The operation with the stale version fails.
270
350
  */
271
351
  declare class VersionConflictError extends TypeGraphError {
272
- constructor(details: Readonly<{
273
- kind: string;
274
- id: string;
275
- expectedVersion: number;
276
- actualVersion: number;
277
- }>, options?: {
352
+ readonly details: VersionConflictErrorDetails;
353
+ constructor(details: VersionConflictErrorDetails, options?: {
278
354
  cause?: unknown;
279
355
  });
280
356
  }
357
+ /**
358
+ * Details for SchemaMismatchError.
359
+ */
360
+ type SchemaMismatchErrorDetails = Readonly<{
361
+ graphId: string;
362
+ expectedHash: string;
363
+ actualHash: string;
364
+ }>;
281
365
  /**
282
366
  * Thrown when the schema in code doesn't match the schema in the database.
283
367
  */
284
368
  declare class SchemaMismatchError extends TypeGraphError {
285
- constructor(details: Readonly<{
286
- graphId: string;
287
- expectedHash: string;
288
- actualHash: string;
289
- }>, options?: {
369
+ readonly details: SchemaMismatchErrorDetails;
370
+ constructor(details: SchemaMismatchErrorDetails, options?: {
290
371
  cause?: unknown;
291
372
  });
292
373
  }
374
+ /**
375
+ * Details for MigrationError.
376
+ */
377
+ type MigrationErrorDetails = Readonly<{
378
+ graphId: string;
379
+ fromVersion: number;
380
+ toVersion: number;
381
+ reason?: string;
382
+ }>;
293
383
  /**
294
384
  * Thrown when schema migration fails.
295
385
  */
296
386
  declare class MigrationError extends TypeGraphError {
297
- constructor(message: string, details: Readonly<{
298
- graphId: string;
299
- fromVersion: number;
300
- toVersion: number;
301
- reason?: string;
302
- }>, options?: {
387
+ readonly details: MigrationErrorDetails;
388
+ constructor(message: string, details: MigrationErrorDetails, options?: {
303
389
  cause?: unknown;
304
390
  });
305
391
  }
392
+ /**
393
+ * Details for EagerMaterializationError.
394
+ */
395
+ type EagerMaterializationErrorDetails = Readonly<{
396
+ graphId: string;
397
+ failedIndexNames: readonly string[];
398
+ }>;
306
399
  /**
307
400
  * Thrown by `Store.evolve(extension, { eager })` when the schema
308
401
  * commit succeeded but the follow-on `materializeIndexes()` produced
@@ -334,6 +427,7 @@ declare class MigrationError extends TypeGraphError {
334
427
  * ```
335
428
  */
336
429
  declare class EagerMaterializationError extends TypeGraphError {
430
+ readonly details: EagerMaterializationErrorDetails;
337
431
  /**
338
432
  * The full materialization result, including successful and failed
339
433
  * entries. Same shape as `Store.materializeIndexes()` returns.
@@ -346,6 +440,15 @@ declare class EagerMaterializationError extends TypeGraphError {
346
440
  */
347
441
  get failedIndexNames(): readonly string[];
348
442
  }
443
+ /**
444
+ * Details for StaleVersionError. `actual` is `0` when no active version
445
+ * exists yet (initial-commit race where another writer initialized first).
446
+ */
447
+ type StaleVersionErrorDetails = Readonly<{
448
+ graphId: string;
449
+ expected: number;
450
+ actual: number;
451
+ }>;
349
452
  /**
350
453
  * Thrown by `commitSchemaVersion` and `setActiveVersion` when the
351
454
  * caller's view of the active schema version is out of date — another
@@ -354,24 +457,22 @@ declare class EagerMaterializationError extends TypeGraphError {
354
457
  * Recovery: re-read the active version with `getActiveSchema(graphId)`,
355
458
  * recompute against the new baseline, and retry. This is a routine
356
459
  * concurrency signal, not a bug.
357
- *
358
- * `actual` is `0` when no active version exists yet (initial-commit race
359
- * where another writer initialized first).
360
460
  */
361
461
  declare class StaleVersionError extends TypeGraphError {
362
- readonly details: Readonly<{
363
- graphId: string;
364
- expected: number;
365
- actual: number;
366
- }>;
367
- constructor(details: Readonly<{
368
- graphId: string;
369
- expected: number;
370
- actual: number;
371
- }>, options?: {
462
+ readonly details: StaleVersionErrorDetails;
463
+ constructor(details: StaleVersionErrorDetails, options?: {
372
464
  cause?: unknown;
373
465
  });
374
466
  }
467
+ /**
468
+ * Details for SchemaContentConflictError.
469
+ */
470
+ type SchemaContentConflictErrorDetails = Readonly<{
471
+ graphId: string;
472
+ version: number;
473
+ existingHash: string;
474
+ incomingHash: string;
475
+ }>;
375
476
  /**
376
477
  * Thrown by `commitSchemaVersion` when a row already exists at the
377
478
  * target version with a *different* schema hash — i.e. two writers
@@ -383,18 +484,8 @@ declare class StaleVersionError extends TypeGraphError {
383
484
  * deployments writing schemas that hash differently.
384
485
  */
385
486
  declare class SchemaContentConflictError extends TypeGraphError {
386
- readonly details: Readonly<{
387
- graphId: string;
388
- version: number;
389
- existingHash: string;
390
- incomingHash: string;
391
- }>;
392
- constructor(details: Readonly<{
393
- graphId: string;
394
- version: number;
395
- existingHash: string;
396
- incomingHash: string;
397
- }>, options?: {
487
+ readonly details: SchemaContentConflictErrorDetails;
488
+ constructor(details: SchemaContentConflictErrorDetails, options?: {
398
489
  cause?: unknown;
399
490
  });
400
491
  }
@@ -424,6 +515,15 @@ declare class ConfigurationError extends TypeGraphError {
424
515
  * recorded an error. Boot may retry; the hot path refuses.
425
516
  */
426
517
  type StoreNotInitializedReason = "missing" | "stale" | "failed";
518
+ /**
519
+ * Details for StoreNotInitializedError. `graphId`/`reason` are always
520
+ * present; callers may merge additional context (e.g. `logicalName`) via
521
+ * `options.details`.
522
+ */
523
+ type StoreNotInitializedErrorDetails = Readonly<{
524
+ graphId: string;
525
+ reason: StoreNotInitializedReason;
526
+ }> & Readonly<Record<string, unknown>>;
427
527
  /**
428
528
  * Thrown when a fulltext-dependent operation runs against a connection
429
529
  * whose strategy-owned storage has not been durably materialized.
@@ -436,11 +536,22 @@ type StoreNotInitializedReason = "missing" | "stale" | "failed";
436
536
  * loudly here instead of lazily emitting DDL on the hot path.
437
537
  */
438
538
  declare class StoreNotInitializedError extends TypeGraphError {
539
+ readonly details: StoreNotInitializedErrorDetails;
439
540
  constructor(graphId: string, reason: StoreNotInitializedReason, options?: {
440
541
  cause?: unknown;
441
- details?: Record<string, unknown>;
542
+ details?: Readonly<Record<string, unknown>> & Readonly<{
543
+ graphId?: never;
544
+ reason?: never;
545
+ }>;
442
546
  });
443
547
  }
548
+ /**
549
+ * Details for DatabaseOperationError.
550
+ */
551
+ type DatabaseOperationErrorDetails = Readonly<{
552
+ operation: string;
553
+ entity: string;
554
+ }>;
444
555
  /**
445
556
  * Thrown when a database operation fails unexpectedly.
446
557
  *
@@ -448,13 +559,20 @@ declare class StoreNotInitializedError extends TypeGraphError {
448
559
  * not a user-recoverable error.
449
560
  */
450
561
  declare class DatabaseOperationError extends TypeGraphError {
451
- constructor(message: string, details: Readonly<{
452
- operation: string;
453
- entity: string;
454
- }>, options?: {
562
+ readonly details: DatabaseOperationErrorDetails;
563
+ constructor(message: string, details: DatabaseOperationErrorDetails, options?: {
455
564
  cause?: unknown;
456
565
  });
457
566
  }
567
+ /**
568
+ * Details for EmbeddingDimensionChangedError.
569
+ */
570
+ type EmbeddingDimensionChangedErrorDetails = Readonly<{
571
+ kind: string;
572
+ fieldPath: string;
573
+ declaredDimensions?: number;
574
+ storedDimensions?: number;
575
+ }>;
458
576
  /**
459
577
  * Thrown when an embedding field's declared dimension no longer matches the
460
578
  * dimension of its materialized per-field storage — i.e. a field's
@@ -465,12 +583,8 @@ declare class DatabaseOperationError extends TypeGraphError {
465
583
  * the new dimension and re-embed existing rows.
466
584
  */
467
585
  declare class EmbeddingDimensionChangedError extends TypeGraphError {
468
- constructor(message: string, details: Readonly<{
469
- kind: string;
470
- fieldPath: string;
471
- declaredDimensions?: number;
472
- storedDimensions?: number;
473
- }>, options?: {
586
+ readonly details: EmbeddingDimensionChangedErrorDetails;
587
+ constructor(message: string, details: EmbeddingDimensionChangedErrorDetails, options?: {
474
588
  cause?: unknown;
475
589
  });
476
590
  }
@@ -506,6 +620,33 @@ declare class BackendDisposedError extends TypeGraphError {
506
620
  cause?: unknown;
507
621
  });
508
622
  }
623
+ /**
624
+ * Thrown when a statement is issued on a transaction-scoped backend after
625
+ * its transaction boundary has already returned.
626
+ *
627
+ * The usual source is a callback that lets work escape it. `Promise.all`
628
+ * rejects on its first rejection while its siblings keep running, so
629
+ *
630
+ * ```typescript
631
+ * await store.transaction(async (tx) => {
632
+ * await Promise.all([tx.nodes.Doc.create(a), tx.nodes.Doc.create(b)]);
633
+ * });
634
+ * ```
635
+ *
636
+ * leaves `b`'s remaining statements in flight when `a` fails. Those
637
+ * statements have nowhere safe to go: the driver is about to emit `ROLLBACK`
638
+ * on the same pinned connection and then hand it back to the pool, where a
639
+ * late arrival would execute inside somebody else's transaction. TypeGraph
640
+ * refuses them here instead.
641
+ *
642
+ * The error is normally invisible — `Promise.all` has already rejected with
643
+ * the original failure, and discards this one.
644
+ */
645
+ declare class TransactionClosedError extends TypeGraphError {
646
+ constructor(options?: {
647
+ cause?: unknown;
648
+ });
649
+ }
509
650
  /**
510
651
  * Type guard for TypeGraphError.
511
652
  *
@@ -557,4 +698,4 @@ declare function isConstraintError(error: unknown): boolean;
557
698
  */
558
699
  declare function getErrorSuggestion(error: unknown): string | undefined;
559
700
 
560
- export { BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, KindNotFoundError as K, MigrationError as M, NodeConstraintNotFoundError as N, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, ValidationError as a, CompilerInvariantError as b, ConfigurationError as c, DisjointError as d, EdgeNotFoundError as e, EmbeddingDimensionChangedError as f, EndpointError as g, EndpointNotFoundError as h, type ErrorCategory as i, NodeIndexNotFoundError as j, NodeNotFoundError as k, SchemaMismatchError as l, StaleVersionError as m, StoreNotInitializedError as n, type StoreNotInitializedReason as o, type TypeGraphErrorOptions as p, UnsupportedPredicateError as q, type ValidationErrorDetails as r, VersionConflictError as s, getErrorSuggestion as t, isConstraintError as u, isSystemError as v, isTypeGraphError as w, isUserRecoverable as x };
701
+ export { isConstraintError as $, SchemaMismatchError as A, BackendDisposedError as B, CardinalityError as C, DatabaseOperationError as D, EagerMaterializationError as E, type SchemaMismatchErrorDetails as F, StaleVersionError as G, type StaleVersionErrorDetails as H, StoreNotInitializedError as I, type StoreNotInitializedErrorDetails as J, KindNotFoundError as K, type StoreNotInitializedReason as L, MigrationError as M, NodeConstraintNotFoundError as N, TransactionClosedError as O, type TypeGraphErrorOptions as P, type UniquenessErrorDetails as Q, RestrictedDeleteError as R, SchemaContentConflictError as S, TypeGraphError as T, UniquenessError as U, type ValidationIssue as V, UnsupportedPredicateError as W, type ValidationErrorDetails as X, VersionConflictError as Y, type VersionConflictErrorDetails as Z, getErrorSuggestion as _, ValidationError as a, isSystemError as a0, isTypeGraphError as a1, isUserRecoverable as a2, 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 KindNotFoundErrorDetails as r, type MigrationErrorDetails as s, type NodeConstraintNotFoundErrorDetails as t, NodeIndexNotFoundError as u, type NodeIndexNotFoundErrorDetails as v, NodeNotFoundError as w, type NodeNotFoundErrorDetails as x, type RestrictedDeleteErrorDetails as y, type SchemaContentConflictErrorDetails as z };