@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,12 +1,12 @@
1
1
  import { z } from 'zod';
2
- import { G as GraphDef } from '../manager-C0_r0ALf.js';
3
- import { S as Store } from '../store-view-FfE5_7eo.js';
4
- import '../extension-types-YGFJPrzK.js';
5
- import '../types-DGylBhWo.js';
2
+ import { G as GraphDef } from '../manager-ejUCB52T.js';
3
+ import { S as Store } from '../store-view-CKbHFRnn.js';
4
+ import '../extension-types-ixRpJVUp.js';
5
+ import '../fulltext-strategy-B57yvC5Q.js';
6
6
  import 'drizzle-orm';
7
7
  import 'drizzle-orm/pg-core';
8
8
  import 'drizzle-orm/sqlite-core';
9
- import '../materialize-indexes-CAkIYFV-.js';
9
+ import '../materialize-indexes-te9TPMMJ.js';
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 };
@@ -1,6 +1,16 @@
1
- export { ConflictStrategySchema, ExportOptionsSchema, FORMAT_VERSION, GraphDataSchema, GraphDataSourceSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, importGraph } from '../chunk-SPT5JMME.js';
2
- import '../chunk-QBYTJSAY.js';
3
- import '../chunk-454I6GDF.js';
4
- import '../chunk-TQOYM4LN.js';
1
+ export { ConflictStrategySchema, ExportOptionsSchema, ExportStreamOptionsSchema, FORMAT_VERSION, GraphDataHeaderSchema, GraphDataSchema, GraphDataSourceSchema, GraphInterchangeChunkSchema, ImportErrorSchema, ImportOptionsSchema, ImportResultSchema, InterchangeEdgeSchema, InterchangeNodeSchema, UnknownPropertyStrategySchema, exportGraph, exportGraphStream, importGraph, importGraphStream } from '../chunk-KMI7LYAF.js';
2
+ import '../chunk-QNKSQTKQ.js';
3
+ import '../chunk-QWEUYILR.js';
4
+ import '../chunk-FPIZFYHE.js';
5
+ import '../chunk-RGPG7EOJ.js';
6
+ import '../chunk-CZQ3FO2Q.js';
7
+ import '../chunk-UT3S4SEN.js';
8
+ import '../chunk-JBTOYDMN.js';
9
+ import '../chunk-I7ZUZKFD.js';
10
+ import '../chunk-OHMP6N2J.js';
11
+ import '../chunk-KBGQIPRQ.js';
12
+ import '../chunk-SNXVDZAJ.js';
13
+ import '../chunk-MP2JQKSG.js';
14
+ import '../chunk-G6Q5UM7U.js';
5
15
  //# sourceMappingURL=index.js.map
6
16
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-YGFJPrzK.cjs';
2
- import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-C_UnQOQp.cjs';
1
+ import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-ixRpJVUp.cjs';
2
+ import { O as OntologyRelation, I as IndexDeclaration, u as SerializedNodeDef, v as SerializedEdgeDef, s as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './fulltext-strategy-CDkSSYhq.cjs';
3
3
 
4
4
  /** Brand key for GraphDef */
5
5
  declare const GRAPH_DEF_BRAND: "__graphDef";
@@ -296,6 +296,13 @@ declare class KindRegistry {
296
296
  * Uses subsumption: Company is assignable to Organization if Company subClassOf Organization.
297
297
  */
298
298
  isAssignableTo(concreteKind: string, targetKind: string): boolean;
299
+ /**
300
+ * Checks if a concrete kind is assignable to at least one of the given
301
+ * target kinds. Shared by every "is this kind usable where one of these
302
+ * kinds is expected" check (edge endpoint validation, ontology relation
303
+ * endpoint compatibility) so they can't independently drift.
304
+ */
305
+ isAssignableToAny(concreteKind: string, targetKinds: readonly string[]): boolean;
299
306
  /**
300
307
  * Validates that a kind exists in the registry.
301
308
  */
@@ -1,5 +1,5 @@
1
- import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-YGFJPrzK.js';
2
- import { O as OntologyRelation, I as IndexDeclaration, f as SerializedNodeDef, g as SerializedEdgeDef, k as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './types-DGylBhWo.js';
1
+ import { b as NodeRegistration, E as EdgeRegistration, D as DeleteBehavior, T as TemporalMode, G as GraphExtension, N as NodeType, A as AnyEdgeType, c as GraphDefaults, I as IndexEntity } from './extension-types-ixRpJVUp.js';
2
+ import { O as OntologyRelation, I as IndexDeclaration, u as SerializedNodeDef, v as SerializedEdgeDef, s as SerializedSchema, H as SchemaVersionRow, G as GraphBackend } from './fulltext-strategy-B57yvC5Q.js';
3
3
 
4
4
  /** Brand key for GraphDef */
5
5
  declare const GRAPH_DEF_BRAND: "__graphDef";
@@ -296,6 +296,13 @@ declare class KindRegistry {
296
296
  * Uses subsumption: Company is assignable to Organization if Company subClassOf Organization.
297
297
  */
298
298
  isAssignableTo(concreteKind: string, targetKind: string): boolean;
299
+ /**
300
+ * Checks if a concrete kind is assignable to at least one of the given
301
+ * target kinds. Shared by every "is this kind usable where one of these
302
+ * kinds is expected" check (edge endpoint validation, ontology relation
303
+ * endpoint compatibility) so they can't independently drift.
304
+ */
305
+ isAssignableToAny(concreteKind: string, targetKinds: readonly string[]): boolean;
299
306
  /**
300
307
  * Validates that a kind exists in the registry.
301
308
  */
@@ -1,4 +1,4 @@
1
- import { I as IndexEntity } from './extension-types-YGFJPrzK.cjs';
1
+ import { I as IndexEntity } from './extension-types-ixRpJVUp.cjs';
2
2
 
3
3
  /**
4
4
  * Index materialization — runs declared index DDL against the live
@@ -23,9 +23,14 @@ import { I as IndexEntity } from './extension-types-YGFJPrzK.cjs';
23
23
  * only that something with that name exists. Drift detection here
24
24
  * relies on TypeGraph's recorded signature, not on PG metadata.
25
25
  * - Failed `CONCURRENTLY` builds leave invalid indexes behind
26
- * (`pg_index.indisvalid = false`). v1 surfaces this as a `failed`
27
- * result; the operator must drop the invalid index manually before
28
- * retry.
26
+ * (`pg_index.indisvalid = false`). Relational rebuilds self-heal: the
27
+ * claim-holding materializer drops an invalid leftover with the
28
+ * declaration's name before rebuilding (see dropInvalidIndexLeftover).
29
+ * Vector per-field index leftovers remain operator-repair.
30
+ * - Two materializers racing the SAME index name serialize through a
31
+ * durable claim in the status table (see materializeWithClaim) —
32
+ * concurrent same-name expression-index CIC builds deadlock on
33
+ * Postgres (no safe-snapshot exemption).
29
34
  */
30
35
 
31
36
  type MaterializeIndexesOptions = Readonly<{
@@ -33,6 +38,17 @@ type MaterializeIndexesOptions = Readonly<{
33
38
  kinds?: readonly string[];
34
39
  /** Stop on the first failure. Default: false (best-effort). */
35
40
  stopOnError?: boolean;
41
+ /**
42
+ * Refresh planner statistics (ANALYZE) after at least one index was
43
+ * created. A fresh index can be ignored by the planner until statistics
44
+ * exist. Default: true. Applied on non-concurrent builders (SQLite) and
45
+ * on concurrent builders that serialize same-index builds via the
46
+ * cross-caller claim primitive (the bundled Postgres backend); a custom
47
+ * concurrent backend without the primitive skips the refresh — see
48
+ * refreshStatisticsAfterCreation — and should call
49
+ * `store.refreshStatistics()` after materializing.
50
+ */
51
+ refreshStatistics?: boolean;
36
52
  }>;
37
53
  /**
38
54
  * Per-index outcome from `materializeIndexes()`.
@@ -1,4 +1,4 @@
1
- import { I as IndexEntity } from './extension-types-YGFJPrzK.js';
1
+ import { I as IndexEntity } from './extension-types-ixRpJVUp.js';
2
2
 
3
3
  /**
4
4
  * Index materialization — runs declared index DDL against the live
@@ -23,9 +23,14 @@ import { I as IndexEntity } from './extension-types-YGFJPrzK.js';
23
23
  * only that something with that name exists. Drift detection here
24
24
  * relies on TypeGraph's recorded signature, not on PG metadata.
25
25
  * - Failed `CONCURRENTLY` builds leave invalid indexes behind
26
- * (`pg_index.indisvalid = false`). v1 surfaces this as a `failed`
27
- * result; the operator must drop the invalid index manually before
28
- * retry.
26
+ * (`pg_index.indisvalid = false`). Relational rebuilds self-heal: the
27
+ * claim-holding materializer drops an invalid leftover with the
28
+ * declaration's name before rebuilding (see dropInvalidIndexLeftover).
29
+ * Vector per-field index leftovers remain operator-repair.
30
+ * - Two materializers racing the SAME index name serialize through a
31
+ * durable claim in the status table (see materializeWithClaim) —
32
+ * concurrent same-name expression-index CIC builds deadlock on
33
+ * Postgres (no safe-snapshot exemption).
29
34
  */
30
35
 
31
36
  type MaterializeIndexesOptions = Readonly<{
@@ -33,6 +38,17 @@ type MaterializeIndexesOptions = Readonly<{
33
38
  kinds?: readonly string[];
34
39
  /** Stop on the first failure. Default: false (best-effort). */
35
40
  stopOnError?: boolean;
41
+ /**
42
+ * Refresh planner statistics (ANALYZE) after at least one index was
43
+ * created. A fresh index can be ignored by the planner until statistics
44
+ * exist. Default: true. Applied on non-concurrent builders (SQLite) and
45
+ * on concurrent builders that serialize same-index builds via the
46
+ * cross-caller claim primitive (the bundled Postgres backend); a custom
47
+ * concurrent backend without the primitive skips the refresh — see
48
+ * refreshStatisticsAfterCreation — and should call
49
+ * `store.refreshStatistics()` after materializing.
50
+ */
51
+ refreshStatistics?: boolean;
36
52
  }>;
37
53
  /**
38
54
  * Per-index outcome from `materializeIndexes()`.
@@ -1,5 +1,5 @@
1
1
  import * as drizzle_orm_pg_core from 'drizzle-orm/pg-core';
2
- import { I as IndexDeclaration } from './types-C_UnQOQp.cjs';
2
+ import { I as IndexDeclaration } from './fulltext-strategy-CDkSSYhq.cjs';
3
3
 
4
4
  /**
5
5
  * Table name configuration.
@@ -10,6 +10,7 @@ type PostgresTableNames = Readonly<{
10
10
  recordedNodes: string;
11
11
  recordedEdges: string;
12
12
  recordedClock: string;
13
+ revisionOrigins: string;
13
14
  uniques: string;
14
15
  schemaVersions: string;
15
16
  fulltext: string;
@@ -1121,6 +1122,47 @@ declare function createPostgresTables(names?: Partial<PostgresTableNames>, optio
1121
1122
  };
1122
1123
  dialect: "pg";
1123
1124
  }>;
1125
+ readonly revisionOrigins: drizzle_orm_pg_core.PgTableWithColumns<{
1126
+ name: string;
1127
+ schema: undefined;
1128
+ columns: {
1129
+ graphId: drizzle_orm_pg_core.PgColumn<{
1130
+ name: "graph_id";
1131
+ tableName: string;
1132
+ dataType: "string";
1133
+ columnType: "PgText";
1134
+ data: string;
1135
+ driverParam: string;
1136
+ notNull: true;
1137
+ hasDefault: false;
1138
+ isPrimaryKey: false;
1139
+ isAutoincrement: false;
1140
+ hasRuntimeDefault: false;
1141
+ enumValues: [string, ...string[]];
1142
+ baseColumn: never;
1143
+ identity: undefined;
1144
+ generated: undefined;
1145
+ }, {}, {}>;
1146
+ origin: drizzle_orm_pg_core.PgColumn<{
1147
+ name: "origin";
1148
+ tableName: string;
1149
+ dataType: "string";
1150
+ columnType: "PgText";
1151
+ data: string;
1152
+ driverParam: string;
1153
+ notNull: true;
1154
+ hasDefault: false;
1155
+ isPrimaryKey: false;
1156
+ isAutoincrement: false;
1157
+ hasRuntimeDefault: false;
1158
+ enumValues: [string, ...string[]];
1159
+ baseColumn: never;
1160
+ identity: undefined;
1161
+ generated: undefined;
1162
+ }, {}, {}>;
1163
+ };
1164
+ dialect: "pg";
1165
+ }>;
1124
1166
  readonly uniques: drizzle_orm_pg_core.PgTableWithColumns<{
1125
1167
  name: string;
1126
1168
  schema: undefined;
@@ -1513,6 +1555,40 @@ declare function createPostgresTables(names?: Partial<PostgresTableNames>, optio
1513
1555
  identity: undefined;
1514
1556
  generated: undefined;
1515
1557
  }, {}, {}>;
1558
+ buildingSince: drizzle_orm_pg_core.PgColumn<{
1559
+ name: "building_since";
1560
+ tableName: string;
1561
+ dataType: "date";
1562
+ columnType: "PgTimestamp";
1563
+ data: Date;
1564
+ driverParam: string;
1565
+ notNull: false;
1566
+ hasDefault: false;
1567
+ isPrimaryKey: false;
1568
+ isAutoincrement: false;
1569
+ hasRuntimeDefault: false;
1570
+ enumValues: undefined;
1571
+ baseColumn: never;
1572
+ identity: undefined;
1573
+ generated: undefined;
1574
+ }, {}, {}>;
1575
+ claimToken: drizzle_orm_pg_core.PgColumn<{
1576
+ name: "claim_token";
1577
+ tableName: string;
1578
+ dataType: "string";
1579
+ columnType: "PgText";
1580
+ data: string;
1581
+ driverParam: string;
1582
+ notNull: false;
1583
+ hasDefault: false;
1584
+ isPrimaryKey: false;
1585
+ isAutoincrement: false;
1586
+ hasRuntimeDefault: false;
1587
+ enumValues: [string, ...string[]];
1588
+ baseColumn: never;
1589
+ identity: undefined;
1590
+ generated: undefined;
1591
+ }, {}, {}>;
1516
1592
  };
1517
1593
  dialect: "pg";
1518
1594
  }>;
@@ -3053,6 +3129,47 @@ declare const tables: {
3053
3129
  };
3054
3130
  dialect: "pg";
3055
3131
  }>;
3132
+ readonly revisionOrigins: drizzle_orm_pg_core.PgTableWithColumns<{
3133
+ name: string;
3134
+ schema: undefined;
3135
+ columns: {
3136
+ graphId: drizzle_orm_pg_core.PgColumn<{
3137
+ name: "graph_id";
3138
+ tableName: string;
3139
+ dataType: "string";
3140
+ columnType: "PgText";
3141
+ data: string;
3142
+ driverParam: string;
3143
+ notNull: true;
3144
+ hasDefault: false;
3145
+ isPrimaryKey: false;
3146
+ isAutoincrement: false;
3147
+ hasRuntimeDefault: false;
3148
+ enumValues: [string, ...string[]];
3149
+ baseColumn: never;
3150
+ identity: undefined;
3151
+ generated: undefined;
3152
+ }, {}, {}>;
3153
+ origin: drizzle_orm_pg_core.PgColumn<{
3154
+ name: "origin";
3155
+ tableName: string;
3156
+ dataType: "string";
3157
+ columnType: "PgText";
3158
+ data: string;
3159
+ driverParam: string;
3160
+ notNull: true;
3161
+ hasDefault: false;
3162
+ isPrimaryKey: false;
3163
+ isAutoincrement: false;
3164
+ hasRuntimeDefault: false;
3165
+ enumValues: [string, ...string[]];
3166
+ baseColumn: never;
3167
+ identity: undefined;
3168
+ generated: undefined;
3169
+ }, {}, {}>;
3170
+ };
3171
+ dialect: "pg";
3172
+ }>;
3056
3173
  readonly uniques: drizzle_orm_pg_core.PgTableWithColumns<{
3057
3174
  name: string;
3058
3175
  schema: undefined;
@@ -3445,6 +3562,40 @@ declare const tables: {
3445
3562
  identity: undefined;
3446
3563
  generated: undefined;
3447
3564
  }, {}, {}>;
3565
+ buildingSince: drizzle_orm_pg_core.PgColumn<{
3566
+ name: "building_since";
3567
+ tableName: string;
3568
+ dataType: "date";
3569
+ columnType: "PgTimestamp";
3570
+ data: Date;
3571
+ driverParam: string;
3572
+ notNull: false;
3573
+ hasDefault: false;
3574
+ isPrimaryKey: false;
3575
+ isAutoincrement: false;
3576
+ hasRuntimeDefault: false;
3577
+ enumValues: undefined;
3578
+ baseColumn: never;
3579
+ identity: undefined;
3580
+ generated: undefined;
3581
+ }, {}, {}>;
3582
+ claimToken: drizzle_orm_pg_core.PgColumn<{
3583
+ name: "claim_token";
3584
+ tableName: string;
3585
+ dataType: "string";
3586
+ columnType: "PgText";
3587
+ data: string;
3588
+ driverParam: string;
3589
+ notNull: false;
3590
+ hasDefault: false;
3591
+ isPrimaryKey: false;
3592
+ isAutoincrement: false;
3593
+ hasRuntimeDefault: false;
3594
+ enumValues: [string, ...string[]];
3595
+ baseColumn: never;
3596
+ identity: undefined;
3597
+ generated: undefined;
3598
+ }, {}, {}>;
3448
3599
  };
3449
3600
  dialect: "pg";
3450
3601
  }>;