@nicia-ai/typegraph 0.33.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 (284) hide show
  1. package/README.md +20 -0
  2. package/dist/backend/postgres/index.cjs +30 -26
  3. package/dist/backend/postgres/index.d.cts +39 -7
  4. package/dist/backend/postgres/index.d.ts +39 -7
  5. package/dist/backend/postgres/index.js +17 -13
  6. package/dist/backend/postgres/pglite.cjs +22 -18
  7. package/dist/backend/postgres/pglite.cjs.map +1 -1
  8. package/dist/backend/postgres/pglite.d.cts +4 -4
  9. package/dist/backend/postgres/pglite.d.ts +4 -4
  10. package/dist/backend/postgres/pglite.js +17 -13
  11. package/dist/backend/postgres/pglite.js.map +1 -1
  12. package/dist/backend/sqlite/index.cjs +26 -23
  13. package/dist/backend/sqlite/index.d.cts +8 -8
  14. package/dist/backend/sqlite/index.d.ts +8 -8
  15. package/dist/backend/sqlite/index.js +14 -11
  16. package/dist/backend/sqlite/libsql.cjs +21 -17
  17. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  18. package/dist/backend/sqlite/libsql.d.cts +13 -6
  19. package/dist/backend/sqlite/libsql.d.ts +13 -6
  20. package/dist/backend/sqlite/libsql.js +17 -13
  21. package/dist/backend/sqlite/libsql.js.map +1 -1
  22. package/dist/backend/sqlite/local.cjs +102 -18
  23. package/dist/backend/sqlite/local.cjs.map +1 -1
  24. package/dist/backend/sqlite/local.d.cts +95 -5
  25. package/dist/backend/sqlite/local.d.ts +95 -5
  26. package/dist/backend/sqlite/local.js +96 -13
  27. package/dist/backend/sqlite/local.js.map +1 -1
  28. package/dist/{chunk-JHOBXD7O.js → chunk-3TWF3SH4.js} +332 -64
  29. package/dist/chunk-3TWF3SH4.js.map +1 -0
  30. package/dist/chunk-4JEZZJ6S.cjs +1271 -0
  31. package/dist/chunk-4JEZZJ6S.cjs.map +1 -0
  32. package/dist/{chunk-I4W7MKVG.cjs → chunk-4TOD4LBZ.cjs} +249 -294
  33. package/dist/chunk-4TOD4LBZ.cjs.map +1 -0
  34. package/dist/chunk-55MZDDZV.js +239 -0
  35. package/dist/chunk-55MZDDZV.js.map +1 -0
  36. package/dist/{chunk-LM2IC4ZJ.cjs → chunk-5A6FNS6N.cjs} +75 -19
  37. package/dist/chunk-5A6FNS6N.cjs.map +1 -0
  38. package/dist/{chunk-FDN43KXV.cjs → chunk-5AQIKK56.cjs} +65 -24
  39. package/dist/chunk-5AQIKK56.cjs.map +1 -0
  40. package/dist/{chunk-IZ4PCL47.js → chunk-5SEGFTZX.js} +4 -66
  41. package/dist/chunk-5SEGFTZX.js.map +1 -0
  42. package/dist/{chunk-CWFPJ3RC.js → chunk-6FR2MMS6.js} +7 -7
  43. package/dist/chunk-6FR2MMS6.js.map +1 -0
  44. package/dist/chunk-7YSP4V4R.cjs +69 -0
  45. package/dist/chunk-7YSP4V4R.cjs.map +1 -0
  46. package/dist/chunk-A42GCBGX.cjs +28 -0
  47. package/dist/chunk-A42GCBGX.cjs.map +1 -0
  48. package/dist/chunk-ACSVZPK7.cjs +21 -0
  49. package/dist/chunk-ACSVZPK7.cjs.map +1 -0
  50. package/dist/{chunk-OIE2UPVG.cjs → chunk-BLZDPRXT.cjs} +52 -21
  51. package/dist/chunk-BLZDPRXT.cjs.map +1 -0
  52. package/dist/chunk-BYPOGQWK.js +25 -0
  53. package/dist/chunk-BYPOGQWK.js.map +1 -0
  54. package/dist/{chunk-NG5N7R45.cjs → chunk-CK5BVQOW.cjs} +325 -213
  55. package/dist/chunk-CK5BVQOW.cjs.map +1 -0
  56. package/dist/chunk-CTTSDJLY.cjs +261 -0
  57. package/dist/chunk-CTTSDJLY.cjs.map +1 -0
  58. package/dist/chunk-CUHM5CWJ.cjs +12 -0
  59. package/dist/chunk-CUHM5CWJ.cjs.map +1 -0
  60. package/dist/chunk-CZQ3FO2Q.js +2320 -0
  61. package/dist/chunk-CZQ3FO2Q.js.map +1 -0
  62. package/dist/{chunk-CFNT3ITG.cjs → chunk-D7ZEOS56.cjs} +25 -52
  63. package/dist/chunk-D7ZEOS56.cjs.map +1 -0
  64. package/dist/chunk-DFVLCOP6.js +10 -0
  65. package/dist/chunk-DFVLCOP6.js.map +1 -0
  66. package/dist/chunk-DI74SMXS.cjs +29 -0
  67. package/dist/chunk-DI74SMXS.cjs.map +1 -0
  68. package/dist/{chunk-KY5SDVA7.cjs → chunk-EM3CWPND.cjs} +442 -113
  69. package/dist/chunk-EM3CWPND.cjs.map +1 -0
  70. package/dist/chunk-EMF62TZG.cjs +1176 -0
  71. package/dist/chunk-EMF62TZG.cjs.map +1 -0
  72. package/dist/chunk-EOLERH7Y.cjs +40 -0
  73. package/dist/chunk-EOLERH7Y.cjs.map +1 -0
  74. package/dist/{chunk-3QRBXYT5.cjs → chunk-FACJJWGF.cjs} +24 -6
  75. package/dist/chunk-FACJJWGF.cjs.map +1 -0
  76. package/dist/{chunk-KTIEB7VH.cjs → chunk-FL472AMI.cjs} +49 -165
  77. package/dist/chunk-FL472AMI.cjs.map +1 -0
  78. package/dist/{chunk-4RBAJVEC.cjs → chunk-FN35DLCN.cjs} +31 -9
  79. package/dist/chunk-FN35DLCN.cjs.map +1 -0
  80. package/dist/{chunk-C4C4Q7A6.js → chunk-FPIZFYHE.js} +12 -35
  81. package/dist/chunk-FPIZFYHE.js.map +1 -0
  82. package/dist/{chunk-XKNAK27R.js → chunk-FRV5Q5IO.js} +64 -8
  83. package/dist/chunk-FRV5Q5IO.js.map +1 -0
  84. package/dist/{chunk-K5P5OZXS.js → chunk-G6Q5UM7U.js} +2 -2
  85. package/dist/{chunk-K5P5OZXS.js.map → chunk-G6Q5UM7U.js.map} +1 -1
  86. package/dist/chunk-GSQ6NPH6.cjs +100 -0
  87. package/dist/chunk-GSQ6NPH6.cjs.map +1 -0
  88. package/dist/chunk-GUR2FNB5.cjs +12 -0
  89. package/dist/{chunk-6ZR4QC3O.cjs.map → chunk-GUR2FNB5.cjs.map} +1 -1
  90. package/dist/{chunk-ZFWNO3GE.cjs → chunk-H7YNSMA7.cjs} +107 -2
  91. package/dist/chunk-H7YNSMA7.cjs.map +1 -0
  92. package/dist/{chunk-GYVBEZAO.js → chunk-I7ZUZKFD.js} +47 -19
  93. package/dist/chunk-I7ZUZKFD.js.map +1 -0
  94. package/dist/chunk-ITE4IXAK.js +25 -0
  95. package/dist/chunk-ITE4IXAK.js.map +1 -0
  96. package/dist/{chunk-D3EWZ67S.cjs → chunk-J7WFGBJR.cjs} +3372 -4970
  97. package/dist/chunk-J7WFGBJR.cjs.map +1 -0
  98. package/dist/{chunk-PYD3UCDU.js → chunk-JBTOYDMN.js} +202 -251
  99. package/dist/chunk-JBTOYDMN.js.map +1 -0
  100. package/dist/{chunk-XVUJY72M.js → chunk-K3PPLHY7.js} +234 -118
  101. package/dist/chunk-K3PPLHY7.js.map +1 -0
  102. package/dist/{chunk-454I6GDF.js → chunk-KBGQIPRQ.js} +102 -3
  103. package/dist/chunk-KBGQIPRQ.js.map +1 -0
  104. package/dist/chunk-KMI7LYAF.js +1252 -0
  105. package/dist/chunk-KMI7LYAF.js.map +1 -0
  106. package/dist/{chunk-JIEJCTDS.cjs → chunk-LGEALRC6.cjs} +21 -4
  107. package/dist/chunk-LGEALRC6.cjs.map +1 -0
  108. package/dist/{chunk-TQOYM4LN.js → chunk-MP2JQKSG.js} +21 -5
  109. package/dist/chunk-MP2JQKSG.js.map +1 -0
  110. package/dist/{chunk-3642VBVC.cjs → chunk-O7UN7OXA.cjs} +389 -121
  111. package/dist/chunk-O7UN7OXA.cjs.map +1 -0
  112. package/dist/chunk-OHMP6N2J.js +47 -0
  113. package/dist/chunk-OHMP6N2J.js.map +1 -0
  114. package/dist/{chunk-6NRFUHMS.js → chunk-OR5ZA5WP.js} +135 -24
  115. package/dist/chunk-OR5ZA5WP.js.map +1 -0
  116. package/dist/{chunk-PRMKPFN5.js → chunk-Q5TEXCTB.js} +61 -6
  117. package/dist/chunk-Q5TEXCTB.js.map +1 -0
  118. package/dist/chunk-QNKSQTKQ.js +1312 -0
  119. package/dist/chunk-QNKSQTKQ.js.map +1 -0
  120. package/dist/{chunk-YCV72E6L.js → chunk-QOTI55H7.js} +7 -116
  121. package/dist/chunk-QOTI55H7.js.map +1 -0
  122. package/dist/{chunk-QBYTJSAY.js → chunk-QWEUYILR.js} +99 -34
  123. package/dist/chunk-QWEUYILR.js.map +1 -0
  124. package/dist/{chunk-OS6KS3HV.js → chunk-RGP33ZJ5.js} +485 -82
  125. package/dist/chunk-RGP33ZJ5.js.map +1 -0
  126. package/dist/chunk-RGPG7EOJ.js +94 -0
  127. package/dist/chunk-RGPG7EOJ.js.map +1 -0
  128. package/dist/{chunk-WWVV44DY.cjs → chunk-S55OV6PW.cjs} +15 -15
  129. package/dist/chunk-S55OV6PW.cjs.map +1 -0
  130. package/dist/{chunk-3E7SNSIA.cjs → chunk-SJDMVITW.cjs} +4 -4
  131. package/dist/{chunk-3E7SNSIA.cjs.map → chunk-SJDMVITW.cjs.map} +1 -1
  132. package/dist/{chunk-XLUNB2TZ.js → chunk-SNXVDZAJ.js} +3 -3
  133. package/dist/{chunk-XLUNB2TZ.js.map → chunk-SNXVDZAJ.js.map} +1 -1
  134. package/dist/{chunk-CEF2QOTO.js → chunk-T2WUSPDA.js} +49 -8
  135. package/dist/chunk-T2WUSPDA.js.map +1 -0
  136. package/dist/{chunk-YW7GHMF4.cjs → chunk-TCOCYN2P.cjs} +75 -20
  137. package/dist/chunk-TCOCYN2P.cjs.map +1 -0
  138. package/dist/{chunk-FLRCVI2G.cjs → chunk-TDXIBCGY.cjs} +2 -2
  139. package/dist/{chunk-FLRCVI2G.cjs.map → chunk-TDXIBCGY.cjs.map} +1 -1
  140. package/dist/chunk-TEDRJXOG.cjs +32 -0
  141. package/dist/chunk-TEDRJXOG.cjs.map +1 -0
  142. package/dist/{chunk-WLP6TKFB.js → chunk-UES55P7G.js} +2809 -4398
  143. package/dist/chunk-UES55P7G.js.map +1 -0
  144. package/dist/{chunk-EF3Z645U.cjs → chunk-UMDVATGY.cjs} +6 -72
  145. package/dist/chunk-UMDVATGY.cjs.map +1 -0
  146. package/dist/chunk-UR7W5YQK.js +18 -0
  147. package/dist/chunk-UR7W5YQK.js.map +1 -0
  148. package/dist/chunk-UT3S4SEN.js +31 -0
  149. package/dist/chunk-UT3S4SEN.js.map +1 -0
  150. package/dist/{chunk-3IR2GEMJ.cjs → chunk-UUT7UN2N.cjs} +149 -38
  151. package/dist/chunk-UUT7UN2N.cjs.map +1 -0
  152. package/dist/{chunk-PIHXFF73.js → chunk-UZV3AZKF.js} +21 -3
  153. package/dist/chunk-UZV3AZKF.js.map +1 -0
  154. package/dist/{chunk-DJYRRDHA.js → chunk-VHMPG6UL.js} +29 -7
  155. package/dist/chunk-VHMPG6UL.js.map +1 -0
  156. package/dist/{chunk-MBLXCV2Y.cjs → chunk-VPYHY3LJ.cjs} +111 -43
  157. package/dist/chunk-VPYHY3LJ.cjs.map +1 -0
  158. package/dist/{chunk-WYTUF3QO.js → chunk-VSPCZAXF.js} +3 -3
  159. package/dist/{chunk-WYTUF3QO.js.map → chunk-VSPCZAXF.js.map} +1 -1
  160. package/dist/chunk-W63OVYY4.js +29 -0
  161. package/dist/chunk-W63OVYY4.js.map +1 -0
  162. package/dist/{chunk-UPDMJEW6.js → chunk-WDBCBWC4.js} +356 -30
  163. package/dist/chunk-WDBCBWC4.js.map +1 -0
  164. package/dist/chunk-WJT7OU7E.cjs +1334 -0
  165. package/dist/chunk-WJT7OU7E.cjs.map +1 -0
  166. package/dist/chunk-XOX22WHL.cjs +2383 -0
  167. package/dist/chunk-XOX22WHL.cjs.map +1 -0
  168. package/dist/{ddl-CVnHJcar.d.ts → ddl-C2rZ-Aen.d.ts} +4 -4
  169. package/dist/{ddl-Dxt_fBHr.d.cts → ddl-CZz7a0E8.d.cts} +4 -4
  170. package/dist/{extension-types-YGFJPrzK.d.cts → extension-types-ixRpJVUp.d.cts} +24 -1
  171. package/dist/{extension-types-YGFJPrzK.d.ts → extension-types-ixRpJVUp.d.ts} +24 -1
  172. package/dist/{types-DGylBhWo.d.ts → fulltext-strategy-B57yvC5Q.d.ts} +2558 -2125
  173. package/dist/{types-C_UnQOQp.d.cts → fulltext-strategy-CDkSSYhq.d.cts} +2558 -2125
  174. package/dist/graph-extension/index.cjs +21 -19
  175. package/dist/graph-extension/index.d.cts +4 -4
  176. package/dist/graph-extension/index.d.ts +4 -4
  177. package/dist/graph-extension/index.js +6 -4
  178. package/dist/graph-merge/index.cjs +408 -169
  179. package/dist/graph-merge/index.cjs.map +1 -1
  180. package/dist/graph-merge/index.d.cts +63 -33
  181. package/dist/graph-merge/index.d.ts +63 -33
  182. package/dist/graph-merge/index.js +286 -47
  183. package/dist/graph-merge/index.js.map +1 -1
  184. package/dist/{index-DGX6D9j1.d.ts → index-6CSUAq-x.d.ts} +234 -93
  185. package/dist/{index-SEvUHDA6.d.cts → index-Bks_3HHK.d.cts} +234 -93
  186. package/dist/index.cjs +240 -211
  187. package/dist/index.cjs.map +1 -1
  188. package/dist/index.d.cts +11 -11
  189. package/dist/index.d.ts +11 -11
  190. package/dist/index.js +35 -27
  191. package/dist/index.js.map +1 -1
  192. package/dist/indexes/index.cjs +28 -27
  193. package/dist/indexes/index.d.cts +5 -5
  194. package/dist/indexes/index.d.ts +5 -5
  195. package/dist/indexes/index.js +10 -9
  196. package/dist/interchange/index.cjs +47 -17
  197. package/dist/interchange/index.d.cts +126 -12
  198. package/dist/interchange/index.d.ts +126 -12
  199. package/dist/interchange/index.js +14 -4
  200. package/dist/{manager-BYl_zyZR.d.cts → manager-DwQi8eV0.d.cts} +9 -2
  201. package/dist/{manager-C0_r0ALf.d.ts → manager-ejUCB52T.d.ts} +9 -2
  202. package/dist/{materialize-indexes-D20xNluI.d.cts → materialize-indexes-B4e9360H.d.cts} +20 -4
  203. package/dist/{materialize-indexes-CAkIYFV-.d.ts → materialize-indexes-te9TPMMJ.d.ts} +20 -4
  204. package/dist/{postgres-_9psmVGm.d.cts → postgres-CfEqsRMp.d.cts} +152 -1
  205. package/dist/{postgres-MzBPkYzq.d.ts → postgres-DQ5R6rzV.d.ts} +152 -1
  206. package/dist/profiler/index.cjs +11 -11
  207. package/dist/profiler/index.d.cts +7 -7
  208. package/dist/profiler/index.d.ts +7 -7
  209. package/dist/profiler/index.js +4 -4
  210. package/dist/provenance/index.cjs +590 -0
  211. package/dist/provenance/index.cjs.map +1 -0
  212. package/dist/provenance/index.d.cts +73 -0
  213. package/dist/provenance/index.d.ts +73 -0
  214. package/dist/provenance/index.js +588 -0
  215. package/dist/provenance/index.js.map +1 -0
  216. package/dist/schema/index.cjs +55 -38
  217. package/dist/schema/index.cjs.map +1 -1
  218. package/dist/schema/index.d.cts +57 -57
  219. package/dist/schema/index.d.ts +57 -57
  220. package/dist/schema/index.js +30 -13
  221. package/dist/schema/index.js.map +1 -1
  222. package/dist/{sqlite-gm44dShb.d.ts → sqlite-D7zBinNR.d.cts} +92 -1
  223. package/dist/{sqlite-BfksSb45.d.cts → sqlite-DvQndLky.d.ts} +92 -1
  224. package/dist/{store-view-FfE5_7eo.d.ts → store-view-BSpqvAxK.d.cts} +445 -46
  225. package/dist/{store-view-9jQ2rPum.d.cts → store-view-CKbHFRnn.d.ts} +445 -46
  226. package/dist/{types-B6mhrcLv.d.cts → types-Bv9DcS_E.d.cts} +2 -2
  227. package/dist/{types-CdWxK-nD.d.ts → types-CoxuV7EJ.d.ts} +2 -2
  228. package/dist/{where-Bpp2ul_z.d.cts → where-7RKFOsXt.d.ts} +2 -2
  229. package/dist/{where-BsEXraKW.d.ts → where-DdMIXOtH.d.cts} +2 -2
  230. package/package.json +21 -14
  231. package/dist/chunk-2YMGNYXY.js +0 -40
  232. package/dist/chunk-2YMGNYXY.js.map +0 -1
  233. package/dist/chunk-3642VBVC.cjs.map +0 -1
  234. package/dist/chunk-3EUKJEQ3.js +0 -77
  235. package/dist/chunk-3EUKJEQ3.js.map +0 -1
  236. package/dist/chunk-3IR2GEMJ.cjs.map +0 -1
  237. package/dist/chunk-3QRBXYT5.cjs.map +0 -1
  238. package/dist/chunk-454I6GDF.js.map +0 -1
  239. package/dist/chunk-4RBAJVEC.cjs.map +0 -1
  240. package/dist/chunk-6NRFUHMS.js.map +0 -1
  241. package/dist/chunk-6ZR4QC3O.cjs +0 -12
  242. package/dist/chunk-73KASJGO.cjs +0 -52
  243. package/dist/chunk-73KASJGO.cjs.map +0 -1
  244. package/dist/chunk-BF3ZDEUE.cjs +0 -773
  245. package/dist/chunk-BF3ZDEUE.cjs.map +0 -1
  246. package/dist/chunk-C4C4Q7A6.js.map +0 -1
  247. package/dist/chunk-CEF2QOTO.js.map +0 -1
  248. package/dist/chunk-CFNT3ITG.cjs.map +0 -1
  249. package/dist/chunk-CWFPJ3RC.js.map +0 -1
  250. package/dist/chunk-D3EWZ67S.cjs.map +0 -1
  251. package/dist/chunk-DJYRRDHA.js.map +0 -1
  252. package/dist/chunk-EF3Z645U.cjs.map +0 -1
  253. package/dist/chunk-FDN43KXV.cjs.map +0 -1
  254. package/dist/chunk-GYVBEZAO.js.map +0 -1
  255. package/dist/chunk-HTGDWIDE.cjs +0 -89
  256. package/dist/chunk-HTGDWIDE.cjs.map +0 -1
  257. package/dist/chunk-I4W7MKVG.cjs.map +0 -1
  258. package/dist/chunk-IZ4PCL47.js.map +0 -1
  259. package/dist/chunk-JHOBXD7O.js.map +0 -1
  260. package/dist/chunk-JIEJCTDS.cjs.map +0 -1
  261. package/dist/chunk-KTIEB7VH.cjs.map +0 -1
  262. package/dist/chunk-KY5SDVA7.cjs.map +0 -1
  263. package/dist/chunk-LM2IC4ZJ.cjs.map +0 -1
  264. package/dist/chunk-MBLXCV2Y.cjs.map +0 -1
  265. package/dist/chunk-NG5N7R45.cjs.map +0 -1
  266. package/dist/chunk-OIE2UPVG.cjs.map +0 -1
  267. package/dist/chunk-OS6KS3HV.js.map +0 -1
  268. package/dist/chunk-PIHXFF73.js.map +0 -1
  269. package/dist/chunk-PRMKPFN5.js.map +0 -1
  270. package/dist/chunk-PYD3UCDU.js.map +0 -1
  271. package/dist/chunk-QBYTJSAY.js.map +0 -1
  272. package/dist/chunk-SPT5JMME.js +0 -610
  273. package/dist/chunk-SPT5JMME.js.map +0 -1
  274. package/dist/chunk-SST7XDY6.cjs +0 -624
  275. package/dist/chunk-SST7XDY6.cjs.map +0 -1
  276. package/dist/chunk-TQOYM4LN.js.map +0 -1
  277. package/dist/chunk-UPDMJEW6.js.map +0 -1
  278. package/dist/chunk-WLP6TKFB.js.map +0 -1
  279. package/dist/chunk-WWVV44DY.cjs.map +0 -1
  280. package/dist/chunk-XKNAK27R.js.map +0 -1
  281. package/dist/chunk-XVUJY72M.js.map +0 -1
  282. package/dist/chunk-YCV72E6L.js.map +0 -1
  283. package/dist/chunk-YW7GHMF4.cjs.map +0 -1
  284. package/dist/chunk-ZFWNO3GE.cjs.map +0 -1
@@ -1,15 +1,16 @@
1
1
  'use strict';
2
2
 
3
3
  var chunkAW4A3P5A_cjs = require('../chunk-AW4A3P5A.cjs');
4
- var chunk3QRBXYT5_cjs = require('../chunk-3QRBXYT5.cjs');
5
- var chunk3IR2GEMJ_cjs = require('../chunk-3IR2GEMJ.cjs');
6
- require('../chunk-EF3Z645U.cjs');
7
- require('../chunk-ZFWNO3GE.cjs');
8
- var chunkWWVV44DY_cjs = require('../chunk-WWVV44DY.cjs');
9
- require('../chunk-CFNT3ITG.cjs');
10
- require('../chunk-73KASJGO.cjs');
11
- require('../chunk-3E7SNSIA.cjs');
12
- require('../chunk-FLRCVI2G.cjs');
4
+ var chunkS55OV6PW_cjs = require('../chunk-S55OV6PW.cjs');
5
+ var chunkFACJJWGF_cjs = require('../chunk-FACJJWGF.cjs');
6
+ var chunkUUT7UN2N_cjs = require('../chunk-UUT7UN2N.cjs');
7
+ require('../chunk-TEDRJXOG.cjs');
8
+ require('../chunk-D7ZEOS56.cjs');
9
+ require('../chunk-UMDVATGY.cjs');
10
+ require('../chunk-7YSP4V4R.cjs');
11
+ require('../chunk-H7YNSMA7.cjs');
12
+ require('../chunk-SJDMVITW.cjs');
13
+ require('../chunk-TDXIBCGY.cjs');
13
14
 
14
15
 
15
16
 
@@ -33,41 +34,41 @@ Object.defineProperty(exports, "toDeclaredIndexes", {
33
34
  enumerable: true,
34
35
  get: function () { return chunkAW4A3P5A_cjs.toDeclaredIndexes; }
35
36
  });
36
- Object.defineProperty(exports, "generateEdgeIndexDDL", {
37
+ Object.defineProperty(exports, "buildPostgresEdgeIndexBuilders", {
37
38
  enumerable: true,
38
- get: function () { return chunk3QRBXYT5_cjs.generateEdgeIndexDDL; }
39
+ get: function () { return chunkS55OV6PW_cjs.buildPostgresEdgeIndexBuilders; }
39
40
  });
40
- Object.defineProperty(exports, "generateIndexDDL", {
41
+ Object.defineProperty(exports, "buildPostgresNodeIndexBuilders", {
41
42
  enumerable: true,
42
- get: function () { return chunk3QRBXYT5_cjs.generateIndexDDL; }
43
+ get: function () { return chunkS55OV6PW_cjs.buildPostgresNodeIndexBuilders; }
43
44
  });
44
- Object.defineProperty(exports, "generateNodeIndexDDL", {
45
+ Object.defineProperty(exports, "buildSqliteEdgeIndexBuilders", {
45
46
  enumerable: true,
46
- get: function () { return chunk3QRBXYT5_cjs.generateNodeIndexDDL; }
47
+ get: function () { return chunkS55OV6PW_cjs.buildSqliteEdgeIndexBuilders; }
47
48
  });
48
- Object.defineProperty(exports, "defineEdgeIndex", {
49
+ Object.defineProperty(exports, "buildSqliteNodeIndexBuilders", {
49
50
  enumerable: true,
50
- get: function () { return chunk3IR2GEMJ_cjs.defineEdgeIndex; }
51
+ get: function () { return chunkS55OV6PW_cjs.buildSqliteNodeIndexBuilders; }
51
52
  });
52
- Object.defineProperty(exports, "defineNodeIndex", {
53
+ Object.defineProperty(exports, "generateEdgeIndexDDL", {
53
54
  enumerable: true,
54
- get: function () { return chunk3IR2GEMJ_cjs.defineNodeIndex; }
55
+ get: function () { return chunkFACJJWGF_cjs.generateEdgeIndexDDL; }
55
56
  });
56
- Object.defineProperty(exports, "buildPostgresEdgeIndexBuilders", {
57
+ Object.defineProperty(exports, "generateIndexDDL", {
57
58
  enumerable: true,
58
- get: function () { return chunkWWVV44DY_cjs.buildPostgresEdgeIndexBuilders; }
59
+ get: function () { return chunkFACJJWGF_cjs.generateIndexDDL; }
59
60
  });
60
- Object.defineProperty(exports, "buildPostgresNodeIndexBuilders", {
61
+ Object.defineProperty(exports, "generateNodeIndexDDL", {
61
62
  enumerable: true,
62
- get: function () { return chunkWWVV44DY_cjs.buildPostgresNodeIndexBuilders; }
63
+ get: function () { return chunkFACJJWGF_cjs.generateNodeIndexDDL; }
63
64
  });
64
- Object.defineProperty(exports, "buildSqliteEdgeIndexBuilders", {
65
+ Object.defineProperty(exports, "defineEdgeIndex", {
65
66
  enumerable: true,
66
- get: function () { return chunkWWVV44DY_cjs.buildSqliteEdgeIndexBuilders; }
67
+ get: function () { return chunkUUT7UN2N_cjs.defineEdgeIndex; }
67
68
  });
68
- Object.defineProperty(exports, "buildSqliteNodeIndexBuilders", {
69
+ Object.defineProperty(exports, "defineNodeIndex", {
69
70
  enumerable: true,
70
- get: function () { return chunkWWVV44DY_cjs.buildSqliteNodeIndexBuilders; }
71
+ get: function () { return chunkUUT7UN2N_cjs.defineNodeIndex; }
71
72
  });
72
73
  //# sourceMappingURL=index.cjs.map
73
74
  //# sourceMappingURL=index.cjs.map
@@ -1,12 +1,12 @@
1
- import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-C_UnQOQp.cjs';
2
- export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-C_UnQOQp.cjs';
3
- export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-Bpp2ul_z.cjs';
1
+ import { c as EdgeIndexDeclaration, f as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../fulltext-strategy-CDkSSYhq.cjs';
2
+ export { E as EdgeIndexConfig, g as EdgeIndexDirection, h as EdgeIndexWhereBuilder, i as IndexOrigin, j as IndexScope, e as IndexWhereExpression, k as IndexWhereFieldBuilder, l as IndexWhereInput, N as NodeIndexConfig, m as NodeIndexWhereBuilder, n as SystemColumnName, o as VectorIndexDeclaration, p as VectorIndexImplementation, q as VectorIndexMetric, r as VectorIndexParams } from '../fulltext-strategy-CDkSSYhq.cjs';
3
+ export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-DdMIXOtH.cjs';
4
4
  import { SQLWrapper } from 'drizzle-orm';
5
5
  import { IndexBuilder } from 'drizzle-orm/pg-core';
6
6
  import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
7
- import { D as DeclaredIndex } from '../types-B6mhrcLv.cjs';
7
+ import { D as DeclaredIndex } from '../types-Bv9DcS_E.cjs';
8
+ import '../extension-types-ixRpJVUp.cjs';
8
9
  import 'zod';
9
- import '../extension-types-YGFJPrzK.cjs';
10
10
 
11
11
  type GenerateIndexDdlOptions = Readonly<{
12
12
  nodesTableName?: string | undefined;
@@ -1,12 +1,12 @@
1
- import { c as EdgeIndexDeclaration, p as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../types-DGylBhWo.js';
2
- export { E as EdgeIndexConfig, q as EdgeIndexDirection, r as EdgeIndexWhereBuilder, s as IndexOrigin, t as IndexScope, e as IndexWhereExpression, u as IndexWhereFieldBuilder, v as IndexWhereInput, N as NodeIndexConfig, w as NodeIndexWhereBuilder, x as SystemColumnName, y as VectorIndexDeclaration, z as VectorIndexImplementation, C as VectorIndexMetric, D as VectorIndexParams } from '../types-DGylBhWo.js';
3
- export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-BsEXraKW.js';
1
+ import { c as EdgeIndexDeclaration, f as SqlDialect, R as RelationalIndexDeclaration, d as NodeIndexDeclaration, I as IndexDeclaration } from '../fulltext-strategy-B57yvC5Q.js';
2
+ export { E as EdgeIndexConfig, g as EdgeIndexDirection, h as EdgeIndexWhereBuilder, i as IndexOrigin, j as IndexScope, e as IndexWhereExpression, k as IndexWhereFieldBuilder, l as IndexWhereInput, N as NodeIndexConfig, m as NodeIndexWhereBuilder, n as SystemColumnName, o as VectorIndexDeclaration, p as VectorIndexImplementation, q as VectorIndexMetric, r as VectorIndexParams } from '../fulltext-strategy-B57yvC5Q.js';
3
+ export { a as andWhere, d as defineEdgeIndex, b as defineNodeIndex, n as notWhere, o as orWhere } from '../where-7RKFOsXt.js';
4
4
  import { SQLWrapper } from 'drizzle-orm';
5
5
  import { IndexBuilder } from 'drizzle-orm/pg-core';
6
6
  import { IndexBuilder as IndexBuilder$1 } from 'drizzle-orm/sqlite-core';
7
- import { D as DeclaredIndex } from '../types-CdWxK-nD.js';
7
+ import { D as DeclaredIndex } from '../types-CoxuV7EJ.js';
8
+ import '../extension-types-ixRpJVUp.js';
8
9
  import 'zod';
9
- import '../extension-types-YGFJPrzK.js';
10
10
 
11
11
  type GenerateIndexDdlOptions = Readonly<{
12
12
  nodesTableName?: string | undefined;
@@ -1,12 +1,13 @@
1
1
  export { andWhere, notWhere, orWhere, toDeclaredIndex, toDeclaredIndexes } from '../chunk-A3W7QG7K.js';
2
- export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-PIHXFF73.js';
3
- export { defineEdgeIndex, defineNodeIndex } from '../chunk-6NRFUHMS.js';
4
- import '../chunk-IZ4PCL47.js';
5
- import '../chunk-454I6GDF.js';
6
- export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders } from '../chunk-CWFPJ3RC.js';
7
- import '../chunk-C4C4Q7A6.js';
8
- import '../chunk-2YMGNYXY.js';
9
- import '../chunk-XLUNB2TZ.js';
10
- import '../chunk-K5P5OZXS.js';
2
+ export { buildPostgresEdgeIndexBuilders, buildPostgresNodeIndexBuilders, buildSqliteEdgeIndexBuilders, buildSqliteNodeIndexBuilders } from '../chunk-6FR2MMS6.js';
3
+ export { generateEdgeIndexDDL, generateIndexDDL, generateNodeIndexDDL } from '../chunk-UZV3AZKF.js';
4
+ export { defineEdgeIndex, defineNodeIndex } from '../chunk-OR5ZA5WP.js';
5
+ import '../chunk-W63OVYY4.js';
6
+ import '../chunk-FPIZFYHE.js';
7
+ import '../chunk-5SEGFTZX.js';
8
+ import '../chunk-OHMP6N2J.js';
9
+ import '../chunk-KBGQIPRQ.js';
10
+ import '../chunk-SNXVDZAJ.js';
11
+ import '../chunk-G6Q5UM7U.js';
11
12
  //# sourceMappingURL=index.js.map
12
13
  //# sourceMappingURL=index.js.map
@@ -1,63 +1,93 @@
1
1
  'use strict';
2
2
 
3
- var chunkSST7XDY6_cjs = require('../chunk-SST7XDY6.cjs');
4
- require('../chunk-MBLXCV2Y.cjs');
5
- require('../chunk-ZFWNO3GE.cjs');
6
- require('../chunk-JIEJCTDS.cjs');
3
+ var chunk4JEZZJ6S_cjs = require('../chunk-4JEZZJ6S.cjs');
4
+ require('../chunk-WJT7OU7E.cjs');
5
+ require('../chunk-VPYHY3LJ.cjs');
6
+ require('../chunk-D7ZEOS56.cjs');
7
+ require('../chunk-GSQ6NPH6.cjs');
8
+ require('../chunk-XOX22WHL.cjs');
9
+ require('../chunk-EOLERH7Y.cjs');
10
+ require('../chunk-4TOD4LBZ.cjs');
11
+ require('../chunk-BLZDPRXT.cjs');
12
+ require('../chunk-7YSP4V4R.cjs');
13
+ require('../chunk-H7YNSMA7.cjs');
14
+ require('../chunk-SJDMVITW.cjs');
15
+ require('../chunk-LGEALRC6.cjs');
16
+ require('../chunk-TDXIBCGY.cjs');
7
17
 
8
18
 
9
19
 
10
20
  Object.defineProperty(exports, "ConflictStrategySchema", {
11
21
  enumerable: true,
12
- get: function () { return chunkSST7XDY6_cjs.ConflictStrategySchema; }
22
+ get: function () { return chunk4JEZZJ6S_cjs.ConflictStrategySchema; }
13
23
  });
14
24
  Object.defineProperty(exports, "ExportOptionsSchema", {
15
25
  enumerable: true,
16
- get: function () { return chunkSST7XDY6_cjs.ExportOptionsSchema; }
26
+ get: function () { return chunk4JEZZJ6S_cjs.ExportOptionsSchema; }
27
+ });
28
+ Object.defineProperty(exports, "ExportStreamOptionsSchema", {
29
+ enumerable: true,
30
+ get: function () { return chunk4JEZZJ6S_cjs.ExportStreamOptionsSchema; }
17
31
  });
18
32
  Object.defineProperty(exports, "FORMAT_VERSION", {
19
33
  enumerable: true,
20
- get: function () { return chunkSST7XDY6_cjs.FORMAT_VERSION; }
34
+ get: function () { return chunk4JEZZJ6S_cjs.FORMAT_VERSION; }
35
+ });
36
+ Object.defineProperty(exports, "GraphDataHeaderSchema", {
37
+ enumerable: true,
38
+ get: function () { return chunk4JEZZJ6S_cjs.GraphDataHeaderSchema; }
21
39
  });
22
40
  Object.defineProperty(exports, "GraphDataSchema", {
23
41
  enumerable: true,
24
- get: function () { return chunkSST7XDY6_cjs.GraphDataSchema; }
42
+ get: function () { return chunk4JEZZJ6S_cjs.GraphDataSchema; }
25
43
  });
26
44
  Object.defineProperty(exports, "GraphDataSourceSchema", {
27
45
  enumerable: true,
28
- get: function () { return chunkSST7XDY6_cjs.GraphDataSourceSchema; }
46
+ get: function () { return chunk4JEZZJ6S_cjs.GraphDataSourceSchema; }
47
+ });
48
+ Object.defineProperty(exports, "GraphInterchangeChunkSchema", {
49
+ enumerable: true,
50
+ get: function () { return chunk4JEZZJ6S_cjs.GraphInterchangeChunkSchema; }
29
51
  });
30
52
  Object.defineProperty(exports, "ImportErrorSchema", {
31
53
  enumerable: true,
32
- get: function () { return chunkSST7XDY6_cjs.ImportErrorSchema; }
54
+ get: function () { return chunk4JEZZJ6S_cjs.ImportErrorSchema; }
33
55
  });
34
56
  Object.defineProperty(exports, "ImportOptionsSchema", {
35
57
  enumerable: true,
36
- get: function () { return chunkSST7XDY6_cjs.ImportOptionsSchema; }
58
+ get: function () { return chunk4JEZZJ6S_cjs.ImportOptionsSchema; }
37
59
  });
38
60
  Object.defineProperty(exports, "ImportResultSchema", {
39
61
  enumerable: true,
40
- get: function () { return chunkSST7XDY6_cjs.ImportResultSchema; }
62
+ get: function () { return chunk4JEZZJ6S_cjs.ImportResultSchema; }
41
63
  });
42
64
  Object.defineProperty(exports, "InterchangeEdgeSchema", {
43
65
  enumerable: true,
44
- get: function () { return chunkSST7XDY6_cjs.InterchangeEdgeSchema; }
66
+ get: function () { return chunk4JEZZJ6S_cjs.InterchangeEdgeSchema; }
45
67
  });
46
68
  Object.defineProperty(exports, "InterchangeNodeSchema", {
47
69
  enumerable: true,
48
- get: function () { return chunkSST7XDY6_cjs.InterchangeNodeSchema; }
70
+ get: function () { return chunk4JEZZJ6S_cjs.InterchangeNodeSchema; }
49
71
  });
50
72
  Object.defineProperty(exports, "UnknownPropertyStrategySchema", {
51
73
  enumerable: true,
52
- get: function () { return chunkSST7XDY6_cjs.UnknownPropertyStrategySchema; }
74
+ get: function () { return chunk4JEZZJ6S_cjs.UnknownPropertyStrategySchema; }
53
75
  });
54
76
  Object.defineProperty(exports, "exportGraph", {
55
77
  enumerable: true,
56
- get: function () { return chunkSST7XDY6_cjs.exportGraph; }
78
+ get: function () { return chunk4JEZZJ6S_cjs.exportGraph; }
79
+ });
80
+ Object.defineProperty(exports, "exportGraphStream", {
81
+ enumerable: true,
82
+ get: function () { return chunk4JEZZJ6S_cjs.exportGraphStream; }
57
83
  });
58
84
  Object.defineProperty(exports, "importGraph", {
59
85
  enumerable: true,
60
- get: function () { return chunkSST7XDY6_cjs.importGraph; }
86
+ get: function () { return chunk4JEZZJ6S_cjs.importGraph; }
87
+ });
88
+ Object.defineProperty(exports, "importGraphStream", {
89
+ enumerable: true,
90
+ get: function () { return chunk4JEZZJ6S_cjs.importGraphStream; }
61
91
  });
62
92
  //# sourceMappingURL=index.cjs.map
63
93
  //# sourceMappingURL=index.cjs.map
@@ -1,12 +1,12 @@
1
1
  import { z } from 'zod';
2
- import { G as GraphDef } from '../manager-BYl_zyZR.cjs';
3
- import { S as Store } from '../store-view-9jQ2rPum.cjs';
4
- import '../extension-types-YGFJPrzK.cjs';
5
- import '../types-C_UnQOQp.cjs';
2
+ import { G as GraphDef } from '../manager-DwQi8eV0.cjs';
3
+ import { S as Store } from '../store-view-BSpqvAxK.cjs';
4
+ import '../extension-types-ixRpJVUp.cjs';
5
+ import '../fulltext-strategy-CDkSSYhq.cjs';
6
6
  import 'drizzle-orm';
7
7
  import 'drizzle-orm/pg-core';
8
8
  import 'drizzle-orm/sqlite-core';
9
- import '../materialize-indexes-D20xNluI.cjs';
9
+ import '../materialize-indexes-B4e9360H.cjs';
10
10
 
11
11
  /**
12
12
  * Graph interchange format types.
@@ -33,7 +33,7 @@ declare const InterchangeNodeSchema: z.ZodObject<{
33
33
  kind: z.ZodString;
34
34
  id: z.ZodString;
35
35
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
36
- validFrom: z.ZodOptional<z.ZodISODateTime>;
36
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
37
37
  validTo: z.ZodOptional<z.ZodISODateTime>;
38
38
  meta: z.ZodOptional<z.ZodObject<{
39
39
  version: z.ZodOptional<z.ZodNumber>;
@@ -60,7 +60,7 @@ declare const InterchangeEdgeSchema: z.ZodObject<{
60
60
  id: z.ZodString;
61
61
  }, z.core.$strip>;
62
62
  properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
63
- validFrom: z.ZodOptional<z.ZodISODateTime>;
63
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
64
64
  validTo: z.ZodOptional<z.ZodISODateTime>;
65
65
  meta: z.ZodOptional<z.ZodObject<{
66
66
  createdAt: z.ZodOptional<z.ZodISODateTime>;
@@ -110,8 +110,18 @@ declare const ImportOptionsSchema: z.ZodObject<{
110
110
  }>>;
111
111
  validateReferences: z.ZodDefault<z.ZodBoolean>;
112
112
  batchSize: z.ZodDefault<z.ZodNumber>;
113
+ refreshStatistics: z.ZodOptional<z.ZodBoolean>;
114
+ onStreamChunkError: z.ZodDefault<z.ZodEnum<{
115
+ abort: "abort";
116
+ continue: "continue";
117
+ }>>;
113
118
  }, z.core.$strip>;
114
- type ImportOptions = z.infer<typeof ImportOptionsSchema>;
119
+ /**
120
+ * Caller-facing options: fields with schema defaults are optional.
121
+ * `importGraph` parses these once at its boundary; internal stages
122
+ * consume {@link ResolvedImportOptions} with every default applied.
123
+ */
124
+ type ImportOptions = z.input<typeof ImportOptionsSchema>;
115
125
  /**
116
126
  * Source metadata for graph data.
117
127
  *
@@ -149,7 +159,7 @@ declare const GraphDataSchema: z.ZodObject<{
149
159
  kind: z.ZodString;
150
160
  id: z.ZodString;
151
161
  properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
152
- validFrom: z.ZodOptional<z.ZodISODateTime>;
162
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
153
163
  validTo: z.ZodOptional<z.ZodISODateTime>;
154
164
  meta: z.ZodOptional<z.ZodObject<{
155
165
  version: z.ZodOptional<z.ZodNumber>;
@@ -169,7 +179,7 @@ declare const GraphDataSchema: z.ZodObject<{
169
179
  id: z.ZodString;
170
180
  }, z.core.$strip>;
171
181
  properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
172
- validFrom: z.ZodOptional<z.ZodISODateTime>;
182
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
173
183
  validTo: z.ZodOptional<z.ZodISODateTime>;
174
184
  meta: z.ZodOptional<z.ZodObject<{
175
185
  createdAt: z.ZodOptional<z.ZodISODateTime>;
@@ -178,6 +188,76 @@ declare const GraphDataSchema: z.ZodObject<{
178
188
  }, z.core.$strip>>;
179
189
  }, z.core.$strip>;
180
190
  type GraphData = z.infer<typeof GraphDataSchema>;
191
+ /** The metadata envelope emitted before streamed graph entities. */
192
+ declare const GraphDataHeaderSchema: z.ZodObject<{
193
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
194
+ type: z.ZodLiteral<"typegraph-export">;
195
+ graphId: z.ZodString;
196
+ schemaVersion: z.ZodNumber;
197
+ }, z.core.$strip>, z.ZodObject<{
198
+ type: z.ZodLiteral<"external">;
199
+ description: z.ZodOptional<z.ZodString>;
200
+ }, z.core.$strip>], "type">;
201
+ formatVersion: z.ZodLiteral<"1.0">;
202
+ exportedAt: z.ZodISODateTime;
203
+ }, z.core.$strip>;
204
+ type GraphDataHeader = z.infer<typeof GraphDataHeaderSchema>;
205
+ /**
206
+ * One bounded unit in the streamed interchange protocol. Nodes always precede
207
+ * edges, so an importer can validate endpoints from rows already written to its
208
+ * target without retaining all prior nodes in memory.
209
+ */
210
+ declare const GraphInterchangeChunkSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
211
+ type: z.ZodLiteral<"header">;
212
+ header: z.ZodObject<{
213
+ source: z.ZodDiscriminatedUnion<[z.ZodObject<{
214
+ type: z.ZodLiteral<"typegraph-export">;
215
+ graphId: z.ZodString;
216
+ schemaVersion: z.ZodNumber;
217
+ }, z.core.$strip>, z.ZodObject<{
218
+ type: z.ZodLiteral<"external">;
219
+ description: z.ZodOptional<z.ZodString>;
220
+ }, z.core.$strip>], "type">;
221
+ formatVersion: z.ZodLiteral<"1.0">;
222
+ exportedAt: z.ZodISODateTime;
223
+ }, z.core.$strip>;
224
+ }, z.core.$strip>, z.ZodObject<{
225
+ type: z.ZodLiteral<"nodes">;
226
+ nodes: z.ZodArray<z.ZodObject<{
227
+ kind: z.ZodString;
228
+ id: z.ZodString;
229
+ properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
230
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
231
+ validTo: z.ZodOptional<z.ZodISODateTime>;
232
+ meta: z.ZodOptional<z.ZodObject<{
233
+ version: z.ZodOptional<z.ZodNumber>;
234
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
235
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
236
+ }, z.core.$strip>>;
237
+ }, z.core.$strip>>;
238
+ }, z.core.$strip>, z.ZodObject<{
239
+ type: z.ZodLiteral<"edges">;
240
+ edges: z.ZodArray<z.ZodObject<{
241
+ kind: z.ZodString;
242
+ id: z.ZodString;
243
+ from: z.ZodObject<{
244
+ kind: z.ZodString;
245
+ id: z.ZodString;
246
+ }, z.core.$strip>;
247
+ to: z.ZodObject<{
248
+ kind: z.ZodString;
249
+ id: z.ZodString;
250
+ }, z.core.$strip>;
251
+ properties: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
252
+ validFrom: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
253
+ validTo: z.ZodOptional<z.ZodISODateTime>;
254
+ meta: z.ZodOptional<z.ZodObject<{
255
+ createdAt: z.ZodOptional<z.ZodISODateTime>;
256
+ updatedAt: z.ZodOptional<z.ZodISODateTime>;
257
+ }, z.core.$strip>>;
258
+ }, z.core.$strip>>;
259
+ }, z.core.$strip>], "type">;
260
+ type GraphInterchangeChunk = z.infer<typeof GraphInterchangeChunkSchema>;
181
261
  /**
182
262
  * An error that occurred during import.
183
263
  */
@@ -233,6 +313,20 @@ declare const ExportOptionsSchema: z.ZodObject<{
233
313
  type ExportOptions = z.infer<typeof ExportOptionsSchema>;
234
314
  /** Export options as accepted by exportGraph (input type with optional defaults) */
235
315
  type ExportOptionsInput = z.input<typeof ExportOptionsSchema>;
316
+ /**
317
+ * Export options for {@link exportGraphStream}. `batchSize` bounds the number
318
+ * of node or edge entities retained for one yielded chunk.
319
+ */
320
+ declare const ExportStreamOptionsSchema: z.ZodObject<{
321
+ nodeKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
322
+ edgeKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
323
+ includeTemporal: z.ZodDefault<z.ZodBoolean>;
324
+ includeMeta: z.ZodDefault<z.ZodBoolean>;
325
+ includeDeleted: z.ZodDefault<z.ZodBoolean>;
326
+ batchSize: z.ZodDefault<z.ZodNumber>;
327
+ }, z.core.$strip>;
328
+ type ExportStreamOptions = z.infer<typeof ExportStreamOptionsSchema>;
329
+ type ExportStreamOptionsInput = z.input<typeof ExportStreamOptionsSchema>;
236
330
 
237
331
  /**
238
332
  * Export graph data from a store.
@@ -253,6 +347,13 @@ type ExportOptionsInput = z.input<typeof ExportOptionsSchema>;
253
347
  * ```
254
348
  */
255
349
  declare function exportGraph<G extends GraphDef>(store: Store<G>, options?: ExportOptionsInput): Promise<GraphData>;
350
+ /**
351
+ * Exports a graph as bounded node and edge chunks. The stream always yields one
352
+ * header, then every node chunk, then every edge chunk. Consumers that write to
353
+ * a network, file, or fresh working copy can process one chunk at a time rather
354
+ * than materializing a graph-sized {@link GraphData} value.
355
+ */
356
+ declare function exportGraphStream<G extends GraphDef>(store: Store<G>, options?: ExportStreamOptionsInput): AsyncIterable<GraphInterchangeChunk>;
256
357
 
257
358
  /**
258
359
  * Import graph data into a store.
@@ -275,6 +376,19 @@ declare function exportGraph<G extends GraphDef>(store: Store<G>, options?: Expo
275
376
  * console.log(`Created ${result.nodes.created} nodes`);
276
377
  * ```
277
378
  */
278
- declare function importGraph<G extends GraphDef>(store: Store<G>, data: GraphData, options: ImportOptions): Promise<ImportResult>;
379
+ declare function importGraph<G extends GraphDef>(store: Store<G>, data: GraphData, rawOptions: ImportOptions): Promise<ImportResult>;
380
+ /**
381
+ * Imports a header-first stream of bounded interchange chunks.
382
+ *
383
+ * Each chunk is committed through the same {@link importGraph} implementation
384
+ * as an in-memory import, so validation and conflict semantics stay identical.
385
+ * Chunks are individually atomic on transactional backends; a consumer needing
386
+ * all-or-nothing behavior can import into a disposable working-copy backend and
387
+ * publish it only after this function succeeds.
388
+ *
389
+ * Nodes must precede edges. Once a node chunk commits, edge validation reads the
390
+ * target store rather than retaining every imported node id in memory.
391
+ */
392
+ declare function importGraphStream<G extends GraphDef>(store: Store<G>, chunks: AsyncIterable<GraphInterchangeChunk>, rawOptions: ImportOptions): Promise<ImportResult>;
279
393
 
280
- export { type ConflictStrategy, ConflictStrategySchema, type ExportOptions, type ExportOptionsInput, ExportOptionsSchema, FORMAT_VERSION, type GraphData, GraphDataSchema, type GraphDataSource, GraphDataSourceSchema, type ImportError, ImportErrorSchema, type ImportOptions, ImportOptionsSchema, type ImportResult, ImportResultSchema, type InterchangeEdge, InterchangeEdgeSchema, type InterchangeNode, InterchangeNodeSchema, type UnknownPropertyStrategy, UnknownPropertyStrategySchema, exportGraph, importGraph };
394
+ export { type ConflictStrategy, ConflictStrategySchema, type ExportOptions, type ExportOptionsInput, ExportOptionsSchema, type ExportStreamOptions, type ExportStreamOptionsInput, ExportStreamOptionsSchema, FORMAT_VERSION, type GraphData, type GraphDataHeader, GraphDataHeaderSchema, GraphDataSchema, type GraphDataSource, GraphDataSourceSchema, type GraphInterchangeChunk, GraphInterchangeChunkSchema, type ImportError, ImportErrorSchema, type ImportOptions, ImportOptionsSchema, type ImportResult, ImportResultSchema, type InterchangeEdge, InterchangeEdgeSchema, type InterchangeNode, InterchangeNodeSchema, type UnknownPropertyStrategy, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream };