@nicia-ai/typegraph 0.38.0 → 0.40.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 (254) hide show
  1. package/dist/backend/drizzle/indexes.cjs +8 -10
  2. package/dist/backend/drizzle/indexes.d.cts +2 -2
  3. package/dist/backend/drizzle/indexes.d.ts +2 -2
  4. package/dist/backend/drizzle/indexes.js +4 -6
  5. package/dist/backend/index.cjs +60 -39
  6. package/dist/backend/index.d.cts +60 -1
  7. package/dist/backend/index.d.ts +60 -1
  8. package/dist/backend/index.js +12 -3
  9. package/dist/backend/postgres/index.cjs +25 -27
  10. package/dist/backend/postgres/index.d.cts +6 -6
  11. package/dist/backend/postgres/index.d.ts +6 -6
  12. package/dist/backend/postgres/index.js +12 -14
  13. package/dist/backend/postgres/pglite-store.cjs +26 -27
  14. package/dist/backend/postgres/pglite-store.cjs.map +1 -1
  15. package/dist/backend/postgres/pglite-store.d.cts +6 -5
  16. package/dist/backend/postgres/pglite-store.d.ts +6 -5
  17. package/dist/backend/postgres/pglite-store.js +22 -23
  18. package/dist/backend/postgres/pglite-store.js.map +1 -1
  19. package/dist/backend/postgres/pglite.cjs +14 -16
  20. package/dist/backend/postgres/pglite.d.cts +3 -3
  21. package/dist/backend/postgres/pglite.d.ts +3 -3
  22. package/dist/backend/postgres/pglite.js +13 -15
  23. package/dist/backend/sqlite/index.cjs +26 -28
  24. package/dist/backend/sqlite/index.d.cts +6 -6
  25. package/dist/backend/sqlite/index.d.ts +6 -6
  26. package/dist/backend/sqlite/index.js +10 -12
  27. package/dist/backend/sqlite/libsql.cjs +16 -18
  28. package/dist/backend/sqlite/libsql.cjs.map +1 -1
  29. package/dist/backend/sqlite/libsql.d.cts +3 -3
  30. package/dist/backend/sqlite/libsql.d.ts +3 -3
  31. package/dist/backend/sqlite/libsql.js +15 -17
  32. package/dist/backend/sqlite/libsql.js.map +1 -1
  33. package/dist/backend/sqlite/local-store.cjs +27 -28
  34. package/dist/backend/sqlite/local-store.cjs.map +1 -1
  35. package/dist/backend/sqlite/local-store.d.cts +6 -5
  36. package/dist/backend/sqlite/local-store.d.ts +6 -5
  37. package/dist/backend/sqlite/local-store.js +23 -24
  38. package/dist/backend/sqlite/local-store.js.map +1 -1
  39. package/dist/backend/sqlite/local.cjs +15 -17
  40. package/dist/backend/sqlite/local.d.cts +3 -3
  41. package/dist/backend/sqlite/local.d.ts +3 -3
  42. package/dist/backend/sqlite/local.js +13 -15
  43. package/dist/{chunk-U4JDJKPD.js → chunk-2I3DNNBU.js} +4 -4
  44. package/dist/{chunk-U4JDJKPD.js.map → chunk-2I3DNNBU.js.map} +1 -1
  45. package/dist/{chunk-NPWACFQJ.cjs → chunk-2J5NMMVR.cjs} +43 -43
  46. package/dist/{chunk-NPWACFQJ.cjs.map → chunk-2J5NMMVR.cjs.map} +1 -1
  47. package/dist/{chunk-NU23DUSJ.cjs → chunk-2X73QTIC.cjs} +12 -13
  48. package/dist/chunk-2X73QTIC.cjs.map +1 -0
  49. package/dist/{chunk-A2FGSWMQ.js → chunk-3BL3JFHL.js} +202 -52
  50. package/dist/chunk-3BL3JFHL.js.map +1 -0
  51. package/dist/chunk-3SHAUJRB.js +79 -0
  52. package/dist/chunk-3SHAUJRB.js.map +1 -0
  53. package/dist/{chunk-UPXDVI3T.js → chunk-53BSOG3O.js} +8 -7
  54. package/dist/chunk-53BSOG3O.js.map +1 -0
  55. package/dist/chunk-5J4VNCUD.js +856 -0
  56. package/dist/chunk-5J4VNCUD.js.map +1 -0
  57. package/dist/chunk-5YBDB7UG.cjs +12 -0
  58. package/dist/{chunk-FMNUSGZ4.cjs.map → chunk-5YBDB7UG.cjs.map} +1 -1
  59. package/dist/{chunk-6XDBRDZE.js → chunk-6N7QBIWN.js} +7 -3
  60. package/dist/chunk-6N7QBIWN.js.map +1 -0
  61. package/dist/{chunk-EZH7FNUS.js → chunk-6QP4QXBR.js} +3 -3
  62. package/dist/{chunk-EZH7FNUS.js.map → chunk-6QP4QXBR.js.map} +1 -1
  63. package/dist/{chunk-E6TXEISH.cjs → chunk-7UTUKH4E.cjs} +4 -4
  64. package/dist/{chunk-E6TXEISH.cjs.map → chunk-7UTUKH4E.cjs.map} +1 -1
  65. package/dist/chunk-7WLEQIHA.cjs +605 -0
  66. package/dist/chunk-7WLEQIHA.cjs.map +1 -0
  67. package/dist/{chunk-BQITNFQJ.js → chunk-AQVDAKXH.js} +3 -3
  68. package/dist/{chunk-BQITNFQJ.js.map → chunk-AQVDAKXH.js.map} +1 -1
  69. package/dist/{chunk-X6CNEA32.js → chunk-BUZWMDNL.js} +5 -5
  70. package/dist/{chunk-X6CNEA32.js.map → chunk-BUZWMDNL.js.map} +1 -1
  71. package/dist/{chunk-7M3NACL3.cjs → chunk-CKFBZ4LV.cjs} +4 -4
  72. package/dist/{chunk-7M3NACL3.cjs.map → chunk-CKFBZ4LV.cjs.map} +1 -1
  73. package/dist/{chunk-VBH7ZXSZ.js → chunk-CU3LPYNB.js} +5 -5
  74. package/dist/{chunk-VBH7ZXSZ.js.map → chunk-CU3LPYNB.js.map} +1 -1
  75. package/dist/{chunk-YJDSPA5E.js → chunk-EFZ4S22A.js} +11 -10
  76. package/dist/chunk-EFZ4S22A.js.map +1 -0
  77. package/dist/chunk-ELA3V6UN.js +601 -0
  78. package/dist/chunk-ELA3V6UN.js.map +1 -0
  79. package/dist/{chunk-2SL7OGPR.cjs → chunk-H6I36MGT.cjs} +1037 -887
  80. package/dist/chunk-H6I36MGT.cjs.map +1 -0
  81. package/dist/chunk-HAQVISUF.cjs +1098 -0
  82. package/dist/chunk-HAQVISUF.cjs.map +1 -0
  83. package/dist/{chunk-O5H62ZWJ.cjs → chunk-HP6LWBLB.cjs} +14 -2
  84. package/dist/chunk-HP6LWBLB.cjs.map +1 -0
  85. package/dist/{chunk-BKAKAVRW.cjs → chunk-HQRZEYYB.cjs} +44 -44
  86. package/dist/{chunk-BKAKAVRW.cjs.map → chunk-HQRZEYYB.cjs.map} +1 -1
  87. package/dist/{chunk-XD6X7O5R.js → chunk-I5CRUPKO.js} +9 -10
  88. package/dist/{chunk-XD6X7O5R.js.map → chunk-I5CRUPKO.js.map} +1 -1
  89. package/dist/{chunk-RQPRCEIO.js → chunk-JHK6NPFV.js} +218 -306
  90. package/dist/chunk-JHK6NPFV.js.map +1 -0
  91. package/dist/chunk-JZYMOHHM.cjs +226 -0
  92. package/dist/chunk-JZYMOHHM.cjs.map +1 -0
  93. package/dist/{chunk-CQC6VBAF.cjs → chunk-K4FB2RMO.cjs} +10 -10
  94. package/dist/{chunk-CQC6VBAF.cjs.map → chunk-K4FB2RMO.cjs.map} +1 -1
  95. package/dist/{chunk-ERZ4QPQX.js → chunk-K6CD6W5J.js} +5 -5
  96. package/dist/{chunk-ERZ4QPQX.js.map → chunk-K6CD6W5J.js.map} +1 -1
  97. package/dist/{chunk-LZ3TVJY4.cjs → chunk-KHNKYSGP.cjs} +34 -34
  98. package/dist/{chunk-LZ3TVJY4.cjs.map → chunk-KHNKYSGP.cjs.map} +1 -1
  99. package/dist/{chunk-CWX77JB4.cjs → chunk-KLR77R5A.cjs} +13 -13
  100. package/dist/{chunk-CWX77JB4.cjs.map → chunk-KLR77R5A.cjs.map} +1 -1
  101. package/dist/{chunk-AOL64O4Z.js → chunk-L3DDZUZP.js} +3 -3
  102. package/dist/{chunk-AOL64O4Z.js.map → chunk-L3DDZUZP.js.map} +1 -1
  103. package/dist/{chunk-PZHC5GCD.js → chunk-L5ET7FYQ.js} +3 -3
  104. package/dist/{chunk-PZHC5GCD.js.map → chunk-L5ET7FYQ.js.map} +1 -1
  105. package/dist/{chunk-B63IFHXR.cjs → chunk-LFFVD5ZR.cjs} +41 -41
  106. package/dist/{chunk-B63IFHXR.cjs.map → chunk-LFFVD5ZR.cjs.map} +1 -1
  107. package/dist/chunk-LL5D5T5W.cjs +157 -0
  108. package/dist/chunk-LL5D5T5W.cjs.map +1 -0
  109. package/dist/{chunk-GUUWKPTK.cjs → chunk-LLE25NRD.cjs} +7 -7
  110. package/dist/{chunk-GUUWKPTK.cjs.map → chunk-LLE25NRD.cjs.map} +1 -1
  111. package/dist/chunk-LLHMAHG4.cjs +886 -0
  112. package/dist/chunk-LLHMAHG4.cjs.map +1 -0
  113. package/dist/{chunk-ZHX4KEM7.cjs → chunk-M2RPZS7J.cjs} +10 -10
  114. package/dist/{chunk-ZHX4KEM7.cjs.map → chunk-M2RPZS7J.cjs.map} +1 -1
  115. package/dist/chunk-MNURF4RF.cjs +85 -0
  116. package/dist/chunk-MNURF4RF.cjs.map +1 -0
  117. package/dist/chunk-QOHTVDHU.js +144 -0
  118. package/dist/chunk-QOHTVDHU.js.map +1 -0
  119. package/dist/{chunk-7VLCN3JB.cjs → chunk-QXKVUJLI.cjs} +113 -112
  120. package/dist/chunk-QXKVUJLI.cjs.map +1 -0
  121. package/dist/{chunk-GNPGGLAE.cjs → chunk-QYDUCWD2.cjs} +4 -4
  122. package/dist/{chunk-GNPGGLAE.cjs.map → chunk-QYDUCWD2.cjs.map} +1 -1
  123. package/dist/{chunk-TE5ZA4VX.js → chunk-QZYGZVUI.js} +45 -41
  124. package/dist/chunk-QZYGZVUI.js.map +1 -0
  125. package/dist/{chunk-YLINFV7Z.cjs → chunk-SAMJLDGG.cjs} +114 -110
  126. package/dist/chunk-SAMJLDGG.cjs.map +1 -0
  127. package/dist/{chunk-DOVMTPKE.cjs → chunk-SE422RES.cjs} +27 -27
  128. package/dist/{chunk-DOVMTPKE.cjs.map → chunk-SE422RES.cjs.map} +1 -1
  129. package/dist/{chunk-NWYCOFEZ.cjs → chunk-UCHW2MGP.cjs} +332 -433
  130. package/dist/chunk-UCHW2MGP.cjs.map +1 -0
  131. package/dist/{chunk-XFY73JWD.cjs → chunk-UDS5DZNY.cjs} +498 -1098
  132. package/dist/chunk-UDS5DZNY.cjs.map +1 -0
  133. package/dist/{chunk-KFLXWVUJ.js → chunk-UUIBACKJ.js} +14 -3
  134. package/dist/chunk-UUIBACKJ.js.map +1 -0
  135. package/dist/{chunk-VDYA2HMS.js → chunk-VWEFXG73.js} +3 -3
  136. package/dist/{chunk-VDYA2HMS.js.map → chunk-VWEFXG73.js.map} +1 -1
  137. package/dist/{chunk-G32AO634.js → chunk-W66YCXWT.js} +464 -1048
  138. package/dist/chunk-W66YCXWT.js.map +1 -0
  139. package/dist/{chunk-E6YZRKMM.js → chunk-XMEYZYGE.js} +6 -6
  140. package/dist/{chunk-E6YZRKMM.js.map → chunk-XMEYZYGE.js.map} +1 -1
  141. package/dist/{chunk-G3CSQLLT.js → chunk-Y5UC3IXF.js} +461 -6
  142. package/dist/chunk-Y5UC3IXF.js.map +1 -0
  143. package/dist/{chunk-SDHV2MWU.js → chunk-YGX4PMG6.js} +5 -5
  144. package/dist/{chunk-SDHV2MWU.js.map → chunk-YGX4PMG6.js.map} +1 -1
  145. package/dist/{chunk-KCLZHYPU.cjs → chunk-YIX3BEBR.cjs} +86 -85
  146. package/dist/chunk-YIX3BEBR.cjs.map +1 -0
  147. package/dist/{chunk-X6RDQ5NB.cjs → chunk-YX3H63VV.cjs} +8 -2
  148. package/dist/chunk-YX3H63VV.cjs.map +1 -0
  149. package/dist/chunk-YYLMXERH.js +211 -0
  150. package/dist/chunk-YYLMXERH.js.map +1 -0
  151. package/dist/{chunk-6G5CQ6JX.js → chunk-ZE7E46IZ.js} +5 -5
  152. package/dist/{chunk-6G5CQ6JX.js.map → chunk-ZE7E46IZ.js.map} +1 -1
  153. package/dist/{chunk-Z2PPIVOO.js → chunk-ZVME6OSV.js} +5 -5
  154. package/dist/{chunk-Z2PPIVOO.js.map → chunk-ZVME6OSV.js.map} +1 -1
  155. package/dist/core/index.cjs +15 -3
  156. package/dist/core/index.d.cts +4 -3
  157. package/dist/core/index.d.ts +4 -3
  158. package/dist/core/index.js +2 -2
  159. package/dist/{ddl-Dx3Z0_WC.d.ts → ddl-BLEzHw6j.d.ts} +3 -3
  160. package/dist/{ddl-J6sDyABg.d.cts → ddl-KnCdF_le.d.cts} +3 -3
  161. package/dist/{define-graph-CzEvA_8F.d.cts → define-graph-Cv3CFwKm.d.cts} +1 -1
  162. package/dist/{define-graph-DRo9xpYN.d.ts → define-graph-DQnj3fNH.d.ts} +1 -1
  163. package/dist/graph-merge/index.cjs +40 -43
  164. package/dist/graph-merge/index.cjs.map +1 -1
  165. package/dist/graph-merge/index.d.cts +15 -9
  166. package/dist/graph-merge/index.d.ts +15 -9
  167. package/dist/graph-merge/index.js +19 -22
  168. package/dist/graph-merge/index.js.map +1 -1
  169. package/dist/index.cjs +143 -119
  170. package/dist/index.d.cts +12 -10
  171. package/dist/index.d.ts +12 -10
  172. package/dist/index.js +23 -23
  173. package/dist/indexes/index.cjs +12 -14
  174. package/dist/indexes/index.d.cts +5 -5
  175. package/dist/indexes/index.d.ts +5 -5
  176. package/dist/indexes/index.js +5 -7
  177. package/dist/interchange/index.cjs +29 -30
  178. package/dist/interchange/index.cjs.map +1 -1
  179. package/dist/interchange/index.d.cts +6 -5
  180. package/dist/interchange/index.d.ts +6 -5
  181. package/dist/interchange/index.js +10 -11
  182. package/dist/interchange/index.js.map +1 -1
  183. package/dist/{manager-CASfhmzV.d.ts → manager-DjE6Mhag.d.ts} +2 -2
  184. package/dist/{manager-nCEJiYBb.d.cts → manager-mqee5MVB.d.cts} +2 -2
  185. package/dist/{postgres-DMgIKQU-.d.cts → postgres-Bm4DyFQU.d.cts} +100 -49
  186. package/dist/{postgres-Cl1ZAN1G.d.ts → postgres-DtaVALOZ.d.ts} +100 -49
  187. package/dist/profiler/index.d.cts +8 -7
  188. package/dist/profiler/index.d.ts +8 -7
  189. package/dist/provenance/index.cjs +20 -20
  190. package/dist/provenance/index.d.cts +6 -5
  191. package/dist/provenance/index.d.ts +6 -5
  192. package/dist/provenance/index.js +7 -7
  193. package/dist/schema/index.cjs +26 -28
  194. package/dist/schema/index.cjs.map +1 -1
  195. package/dist/schema/index.d.cts +5 -5
  196. package/dist/schema/index.d.ts +5 -5
  197. package/dist/schema/index.js +7 -9
  198. package/dist/schema/index.js.map +1 -1
  199. package/dist/{temporal-DqtOEo_B.d.ts → searchable-BxlJQVFw.d.cts} +3 -58
  200. package/dist/{temporal-BC_NQV5Y.d.cts → searchable-ChJ29MCd.d.ts} +3 -58
  201. package/dist/{sqlite-BDkW39aa.d.cts → sqlite-DT6tTHOG.d.cts} +124 -97
  202. package/dist/{sqlite-CYfhvESj.d.ts → sqlite-m9Izphk_.d.ts} +124 -97
  203. package/dist/{store-view-BoHqdHjB.d.cts → store-view-C-buB8Q8.d.cts} +46 -31
  204. package/dist/{store-view-Ctq-3OHy.d.ts → store-view-CagdeyNn.d.ts} +46 -31
  205. package/dist/temporal-CyFsSPe8.d.ts +73 -0
  206. package/dist/temporal-Dn_JADWY.d.cts +73 -0
  207. package/dist/{types-CUevi_D1.d.ts → types-CYdXzZef.d.ts} +1 -1
  208. package/dist/{types-COq3-vMC.d.cts → types-CqSfMRW3.d.cts} +1 -1
  209. package/dist/{where-C92TXCzT.d.cts → where-C3-HRgUq.d.cts} +1 -1
  210. package/dist/{where-BdE_cYtx.d.ts → where-sQL4u5h-.d.ts} +1 -1
  211. package/package.json +1 -1
  212. package/dist/chunk-2SL7OGPR.cjs.map +0 -1
  213. package/dist/chunk-6XDBRDZE.js.map +0 -1
  214. package/dist/chunk-7VLCN3JB.cjs.map +0 -1
  215. package/dist/chunk-A2FGSWMQ.js.map +0 -1
  216. package/dist/chunk-DDCIXXOO.js +0 -9
  217. package/dist/chunk-DDCIXXOO.js.map +0 -1
  218. package/dist/chunk-DDCYVIVV.cjs +0 -44
  219. package/dist/chunk-DDCYVIVV.cjs.map +0 -1
  220. package/dist/chunk-EOJFGECD.cjs +0 -284
  221. package/dist/chunk-EOJFGECD.cjs.map +0 -1
  222. package/dist/chunk-FMNUSGZ4.cjs +0 -12
  223. package/dist/chunk-G32AO634.js.map +0 -1
  224. package/dist/chunk-G3CSQLLT.js.map +0 -1
  225. package/dist/chunk-I6FX7AAG.js +0 -39
  226. package/dist/chunk-I6FX7AAG.js.map +0 -1
  227. package/dist/chunk-J6IJARLG.js +0 -94
  228. package/dist/chunk-J6IJARLG.js.map +0 -1
  229. package/dist/chunk-KCLZHYPU.cjs.map +0 -1
  230. package/dist/chunk-KFLXWVUJ.js.map +0 -1
  231. package/dist/chunk-MTNEGGM2.js +0 -273
  232. package/dist/chunk-MTNEGGM2.js.map +0 -1
  233. package/dist/chunk-NU23DUSJ.cjs.map +0 -1
  234. package/dist/chunk-NWYCOFEZ.cjs.map +0 -1
  235. package/dist/chunk-O5H62ZWJ.cjs.map +0 -1
  236. package/dist/chunk-RQPRCEIO.js.map +0 -1
  237. package/dist/chunk-SVUKGWSN.cjs +0 -102
  238. package/dist/chunk-SVUKGWSN.cjs.map +0 -1
  239. package/dist/chunk-TE5ZA4VX.js.map +0 -1
  240. package/dist/chunk-UH2USOMG.cjs +0 -627
  241. package/dist/chunk-UH2USOMG.cjs.map +0 -1
  242. package/dist/chunk-UPXDVI3T.js.map +0 -1
  243. package/dist/chunk-X6RDQ5NB.cjs.map +0 -1
  244. package/dist/chunk-XFY73JWD.cjs.map +0 -1
  245. package/dist/chunk-Y7M44XEK.js +0 -462
  246. package/dist/chunk-Y7M44XEK.js.map +0 -1
  247. package/dist/chunk-YJDSPA5E.js.map +0 -1
  248. package/dist/chunk-YLINFV7Z.cjs.map +0 -1
  249. package/dist/chunk-Z5QHVL5U.cjs +0 -12
  250. package/dist/chunk-Z5QHVL5U.cjs.map +0 -1
  251. package/dist/chunk-ZKZAIX42.cjs +0 -479
  252. package/dist/chunk-ZKZAIX42.cjs.map +0 -1
  253. package/dist/{index-CrFL_ENI.d.cts → types-C5pZeKTl.d.cts} +1 -1
  254. package/dist/{index-Bq7vSPHy.d.ts → types-D8szWDUo.d.ts} +1 -1
@@ -1,9 +1,10 @@
1
- import { G as GraphDef, E as EdgeKinds, N as NodeKinds, a as AllNodeTypes } from './define-graph-DRo9xpYN.js';
2
- import { S as SearchableMetadata, R as RecordedInstant, c as EmbeddingValue, l as ReadCoordinate } from './temporal-DqtOEo_B.js';
1
+ import { G as GraphDef, E as EdgeKinds, N as NodeKinds, a as AllNodeTypes } from './define-graph-DQnj3fNH.js';
2
+ import { R as RecordedInstant, d as ReadCoordinate } from './temporal-CyFsSPe8.js';
3
3
  import { a as NodeType, A as AnyEdgeType, d as EdgeType, T as TemporalMode, E as EdgeRegistration, m as NodeId, K as KindEntity, g as EdgeId, N as NodeRegistration, l as KindAnnotations, o as UniquenessScope, f as Collation, e as Cardinality, j as EndpointExistence, G as GraphExtension } from './extension-types-BLEVH4SG.js';
4
- import { K as KindRegistry, S as SchemaManagerOptions, d as SchemaValidationResult } from './manager-CASfhmzV.js';
4
+ import { K as KindRegistry, S as SchemaManagerOptions, d as SchemaValidationResult } from './manager-DjE6Mhag.js';
5
5
  import { z } from 'zod';
6
- import { bp as ValueType, bq as PredicateExpression, ad as FulltextQueryMode, br as VectorMetricType, Q as QueryAst, J as JsonPointer, K as FieldRef, ay as ParameterRef, b1 as TraversalExpansion, G as GraphBackend, S as SqlDialect, aU as SqlSchema, bs as Traversal, bt as NodePredicate, bu as ProjectedField, ax as OrderSpec, bv as AggregateOrderSpec, bw as GroupBySpec, ak as HybridFusionOptions, ao as JsonPointerInput, bx as RecursiveCyclePolicy, T as TraversalDirection$1, a_ as TransactionBackend, a7 as ExternalRecordedReadSource, by as NodeRow, bz as EdgeRow, b0 as TransactionReadBackend, H as AggregateExpr, aN as SortDirection, a0 as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, bA as VectorSlotMap, bB as RecordedReadBinding, bC as SelectiveField, bD as ComposableQuery, bE as SetOperationType, bF as SetOperation, bG as VectorMetric, x as JsonSchema, B as BackendCapabilities, a$ as TransactionOptions, A as AdapterBackend } from './index-Bq7vSPHy.js';
6
+ import { bp as ValueType, bq as PredicateExpression, ad as FulltextQueryMode, br as VectorMetricType, Q as QueryAst, J as JsonPointer, K as FieldRef, ay as ParameterRef, b1 as TraversalExpansion, G as GraphBackend, S as SqlDialect, aU as SqlSchema, bs as Traversal, bt as NodePredicate, bu as ProjectedField, ax as OrderSpec, bv as AggregateOrderSpec, bw as GroupBySpec, ak as HybridFusionOptions, ao as JsonPointerInput, bx as RecursiveCyclePolicy, T as TraversalDirection$1, a_ as TransactionBackend, a7 as ExternalRecordedReadSource, by as NodeRow, bz as EdgeRow, b0 as TransactionReadBackend, H as AggregateExpr, aN as SortDirection, a0 as CompiledSelectSql, F as FulltextStrategy, V as VectorStrategy, bA as VectorSlotMap, bB as RecordedReadBinding, bC as SelectiveField, bD as ComposableQuery, bE as SetOperationType, bF as SetOperation, bG as VectorMetric, x as JsonSchema, B as BackendCapabilities, a$ as TransactionOptions, A as AdapterBackend } from './types-D8szWDUo.js';
7
+ import { S as SearchableMetadata, c as EmbeddingValue } from './searchable-ChJ29MCd.js';
7
8
  import { b as MaterializeIndexesOptions, M as MaterializeIndexesResult, c as MaterializeSystemIndexesOptions } from './materialize-indexes-D4iei4Kp.js';
8
9
 
9
10
  type FieldTypeInfo = Readonly<{
@@ -1819,17 +1820,39 @@ type StoreViewNodeCollections<G extends GraphDef> = {
1819
1820
  type StoreViewEdgeCollections<G extends GraphDef> = {
1820
1821
  [K in keyof G["edges"] & string]-?: TypedStoreViewEdgeCollection<G["edges"][K]>;
1821
1822
  };
1822
- /** Recorded-time node point reads for one node kind. */
1823
- type RecordedStoreViewNodeCollection<N extends NodeType> = Pick<StoreViewNodeCollection<N>, (typeof RECORDED_POINT_READ_NAMES)[number]>;
1824
- /** Recorded-time edge point reads for one edge kind. */
1825
- type RecordedStoreViewEdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To extends NodeType = NodeType> = Pick<StoreViewEdgeCollection<E, From, To>, (typeof RECORDED_POINT_READ_NAMES)[number]>;
1823
+ /** Options for one bounded, forward-only recorded-time collection scan. */
1824
+ type RecordedScanOptions = Readonly<{
1825
+ /** Maximum entities to return. Defaults to 1,000 and cannot exceed 1,000. */
1826
+ limit?: number;
1827
+ /** Opaque cursor returned by the preceding page. */
1828
+ after?: string;
1829
+ }>;
1830
+ /** One page from a deterministic recorded-time collection scan. */
1831
+ type RecordedScanPage<T> = Readonly<{
1832
+ /** Entities ordered by canonical id ascending. */
1833
+ data: readonly T[];
1834
+ /** Cursor for the next page, or `undefined` when the scan is complete. */
1835
+ nextCursor: string | undefined;
1836
+ /** Whether another page exists after this one. */
1837
+ hasNextPage: boolean;
1838
+ }>;
1839
+ /** Recorded-time reconstructing reads for one node kind. */
1840
+ type RecordedStoreViewNodeCollection<N extends NodeType> = Pick<StoreViewNodeCollection<N>, (typeof RECORDED_POINT_READ_NAMES)[number]> & Readonly<{
1841
+ /** Scan one bounded page at the view's pinned coordinate. */
1842
+ scan: (options?: RecordedScanOptions) => Promise<RecordedScanPage<Node<N>>>;
1843
+ }>;
1844
+ /** Recorded-time reconstructing reads for one edge kind. */
1845
+ type RecordedStoreViewEdgeCollection<E extends AnyEdgeType, From extends NodeType = NodeType, To extends NodeType = NodeType> = Pick<StoreViewEdgeCollection<E, From, To>, (typeof RECORDED_POINT_READ_NAMES)[number]> & Readonly<{
1846
+ /** Scan one bounded page at the view's pinned coordinate. */
1847
+ scan: (options?: RecordedScanOptions) => Promise<RecordedScanPage<Edge<E, From, To>>>;
1848
+ }>;
1826
1849
  /** Recorded-time edge collection derived from an `EdgeRegistration`. */
1827
1850
  type TypedRecordedStoreViewEdgeCollection<R extends EdgeRegistration> = RecordedStoreViewEdgeCollection<R["type"], EdgeFromTypes<R> extends NodeType ? EdgeFromTypes<R> : NodeType, EdgeToTypes<R> extends NodeType ? EdgeToTypes<R> : NodeType>;
1828
- /** Mapped type of all recorded-time node point-read collections. */
1851
+ /** Mapped type of all recorded-time node reconstructing-read collections. */
1829
1852
  type RecordedStoreViewNodeCollections<G extends GraphDef> = {
1830
1853
  [K in keyof G["nodes"] & string]-?: RecordedStoreViewNodeCollection<G["nodes"][K]["type"]>;
1831
1854
  };
1832
- /** Mapped type of all recorded-time edge point-read collections. */
1855
+ /** Mapped type of all recorded-time edge reconstructing-read collections. */
1833
1856
  type RecordedStoreViewEdgeCollections<G extends GraphDef> = {
1834
1857
  [K in keyof G["edges"] & string]-?: TypedRecordedStoreViewEdgeCollection<G["edges"][K]>;
1835
1858
  };
@@ -1837,9 +1860,10 @@ type RecordedStoreViewEdgeCollections<G extends GraphDef> = {
1837
1860
  * Whether — and why — `tx.sql` can be used on a transaction context. A single
1838
1861
  * required discriminant covering exactly the four states raw-SQL access can be
1839
1862
  * in, so an adapter caller branches on capability instead of truthiness-testing
1840
- * `tx.sql`. Under history / revision tracking the public type makes `tx.sql`
1841
- * unusable (`sql?: never`), while the runtime object keeps a fail-loud getter
1842
- * for JavaScript and type-suppressed callers. See
1863
+ * `tx.sql`. The non-available variants omit `sql` entirely, so even reading the
1864
+ * handle requires first narrowing `sqlAvailability` to `"available"`. The
1865
+ * runtime object keeps a fail-loud getter under history / revision tracking for
1866
+ * JavaScript and type-suppressed callers. See
1843
1867
  * {@link AdapterTransactionContext} for the per-value semantics.
1844
1868
  */
1845
1869
  type SqlAvailability = "available" | "history" | "revisionTracking" | "unavailable";
@@ -1847,10 +1871,8 @@ type AdapterTransactionSqlAccess<TNativeTransaction> = Readonly<{
1847
1871
  sql: TNativeTransaction;
1848
1872
  sqlAvailability: "available";
1849
1873
  }> | Readonly<{
1850
- sql?: never;
1851
1874
  sqlAvailability: "history" | "revisionTracking";
1852
1875
  }> | Readonly<{
1853
- sql?: undefined;
1854
1876
  sqlAvailability: "unavailable";
1855
1877
  }>;
1856
1878
  declare const TRANSACTION_RUNTIME: unique symbol;
@@ -2102,14 +2124,6 @@ declare class ExecutableAggregateQuery<G extends GraphDef, Aliases extends Alias
2102
2124
  execute(): Promise<readonly AggregateResult<R>[]>;
2103
2125
  }
2104
2126
 
2105
- /**
2106
- * Temporal Filter Compilation
2107
- *
2108
- * Generates SQL clauses for temporal filtering based on valid_from/valid_to
2109
- * and deleted_at timestamps. Consolidates the previously duplicated temporal
2110
- * filter functions into a single, parameterized implementation.
2111
- */
2112
-
2113
2127
  /**
2114
2128
  * How a "current" valid-time read instant is emitted into compiled SQL:
2115
2129
  *
@@ -3855,8 +3869,10 @@ type StoreRuntime<G extends GraphDef> = Readonly<{
3855
3869
  sealedQuery: (coordinate: ReadCoordinate) => InitialQueryBuilder<G, "sealed">;
3856
3870
  recordedNodeGetById: <N extends NodeType>(kind: string, id: NodeId<N>, coordinate: ReadCoordinate) => Promise<Node<N> | undefined>;
3857
3871
  recordedNodeGetByIds: <N extends NodeType>(kind: string, ids: readonly NodeId<N>[], coordinate: ReadCoordinate) => Promise<readonly (Node<N> | undefined)[]>;
3872
+ recordedNodeScan: <N extends NodeType>(kind: string, coordinate: ReadCoordinate, options?: RecordedScanOptions) => Promise<RecordedScanPage<Node<N>>>;
3858
3873
  recordedEdgeGetById: <E extends AnyEdgeType>(kind: string, id: EdgeId<E>, coordinate: ReadCoordinate) => Promise<Edge<E> | undefined>;
3859
3874
  recordedEdgeGetByIds: <E extends AnyEdgeType>(kind: string, ids: readonly EdgeId<E>[], coordinate: ReadCoordinate) => Promise<readonly (Edge<E> | undefined)[]>;
3875
+ recordedEdgeScan: <E extends AnyEdgeType>(kind: string, coordinate: ReadCoordinate, options?: RecordedScanOptions) => Promise<RecordedScanPage<Edge<E>>>;
3860
3876
  subgraphAtCoordinate: <const EK extends EdgeKinds<G>, const NK extends NodeKinds<G> = NodeKinds<G>, const P extends SubgraphProject<G, NK, EK> | undefined = undefined>(rootId: NodeId<AllNodeTypes<G>>, options: InternalSubgraphOptions<G, EK, NK, P>) => Promise<SubgraphResult<G, NK, EK, P>>;
3861
3877
  algorithmsAtCoordinate: (coordinate: ReadCoordinate) => InternalGraphAlgorithms<G>;
3862
3878
  }>;
@@ -4017,14 +4033,13 @@ type AdapterStoreTransactions<G extends GraphDef, TNativeTransaction> = Readonly
4017
4033
  withRecordedTransaction: <T>(externalTransaction: TNativeTransaction, fn: (tx: MeasurableAdapterTransactionContext<G, TNativeTransaction>) => Promise<T>) => Promise<TransactionOutcome<T>>;
4018
4034
  }>;
4019
4035
  type AdapterHistoryTransactionContext<G extends GraphDef, TNativeTransaction> = Omit<AdapterTransactionContext<G, TNativeTransaction>, "sql" | "sqlAvailability"> & Readonly<{
4020
- sql?: never;
4021
4036
  sqlAvailability: "history";
4022
4037
  }>;
4023
4038
  /**
4024
4039
  * The {@link AdapterHistoryTransactionContext} handed to a `withRecordedTransaction`
4025
4040
  * callback, extended with {@link ScopedMeasure}. Its `measure` scopes to a child
4026
4041
  * {@link MeasurableAdapterHistoryTransactionContext} (so nested scopes keep the
4027
- * history-safe `sql?: never` / backend typing). Assignable to
4042
+ * history-safe absent-`sql` / backend typing). Assignable to
4028
4043
  * {@link MeasurableTransactionContext} (and hence to {@link TransactionContext}),
4029
4044
  * so a projector helper typed against either still accepts it.
4030
4045
  */
@@ -4373,19 +4388,19 @@ declare class StoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
4373
4388
  /**
4374
4389
  * A narrow recorded-time read lens. It preserves the valid-time coordinate
4375
4390
  * carried by the source view and adds a recorded/system-time pin. Collection
4376
- * reads are intentionally limited to point reconstruction; broad collection
4391
+ * reads expose point reconstruction and bounded scans; broad collection
4377
4392
  * predicates, endpoint reads, search, and further coordinate changes are absent
4378
4393
  * from the typed surface and refused by the runtime proxies for JS callers.
4379
4394
  */
4380
4395
  declare class RecordedStoreView<G extends GraphDef> extends CoordinatePinnedView<G> {
4381
4396
  #private;
4382
4397
  constructor(store: Store<G>, coordinate: ReadCoordinate);
4383
- /** The recorded/system-time timestamp this view reconstructs. */
4384
- get asOfRecorded(): string;
4385
- /** Recorded-time node point-read collections. */
4398
+ /** The recorded/system-time anchor this view reconstructs. */
4399
+ get asOfRecorded(): RecordedInstant;
4400
+ /** Recorded-time node reconstructing-read collections. */
4386
4401
  get nodes(): RecordedStoreViewNodeCollections<G>;
4387
- /** Recorded-time edge point-read collections. */
4402
+ /** Recorded-time edge reconstructing-read collections. */
4388
4403
  get edges(): RecordedStoreViewEdgeCollections<G>;
4389
4404
  }
4390
4405
 
4391
- export { ExecutableAggregateQuery as $, type AliasMap as A, type BaseStoreOptions as B, type ConstraintNames as C, type DegreeOptions as D, type EdgeAliasMap as E, type DynamicNodeType as F, type DynamicSelectableEdge as G, type HistoryStoreOptions as H, type DynamicSelectableNode as I, type Edge as J, type EdgeAccessor as K, type LiveStoreOptions as L, type EdgeBatchReads as M, type EdgeCollection as N, type EdgeFindByEndpointsOptions as O, type EdgeGetOrCreateByEndpointsOptions as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type EdgeGetOrCreateByEndpointsResult as V, type EdgeIntrospection as W, type EdgeTemporalReads as X, type EdgeWrites as Y, type EmptyAliasMap as Z, type EmptyEdgeAliasMap as _, type Store as a, type RecursiveTraversalOptions as a$, ExecutableQuery as a0, type FieldAccessor as a1, type FulltextSearchHit as a2, type FulltextSearchOptions as a3, type GetOrCreateAction as a4, type GraphAlgorithms as a5, type GraphEdgeCollections as a6, type GraphNodeCollections as a7, type HistoryStoreBackend as a8, type HookContext as a9, type NodeRef as aA, type NodeTemporalReads as aB, type NodeWrites as aC, type OntologyIntrospection as aD, type OperationHookContext as aE, type PageRankOptions as aF, type PageRankScore as aG, type PaginateOptions as aH, type PaginatedResult as aI, type PathNode as aJ, type PersonalizedPageRankOptions as aK, type PersonalizedPageRankSeed as aL, type Predicate as aM, PreparedQuery as aN, type PropsAccessor as aO, type QueryHookContext as aP, type QueryOptions as aQ, type ReachableNode as aR, type ReachableOptions as aS, type RebuildFulltextOptions as aT, type RebuildFulltextResult as aU, type ReclaimedVectorFieldEntry as aV, RecordedStoreView as aW, type RecordedStoreViewEdgeCollection as aX, type RecordedStoreViewEdgeCollections as aY, type RecordedStoreViewNodeCollection as aZ, type RecordedStoreViewNodeCollections as a_, type HybridFulltextOptions as aa, type HybridSearchHit as ab, type HybridSearchOptions as ac, type HybridVectorOptions as ad, type IfExistsMode as ae, type InitialQueryBuilder as af, type KindIntrospection as ag, type LabelPropagationMembership as ah, type LabelPropagationOptions as ai, type MaterializeRemovalsEntry as aj, type MaterializeRemovalsOptions as ak, type MaterializeRemovalsResult as al, type MeasurableAdapterHistoryTransactionContext as am, type MeasurableAdapterTransactionContext as an, type MeasurableTransactionContext as ao, type NeighborsOptions as ap, type NoRecordedCoordinate as aq, type Node as ar, type NodeAccessor as as, type NodeAlias as at, type NodeBulkFindByIndexOptions as au, type NodeCollection as av, type NodeCurrentReads as aw, type NodeGetOrCreateByConstraintOptions as ax, type NodeGetOrCreateByConstraintResult as ay, type NodeIdentifier as az, type HistoryStore as b, createStoreWithSchema as b$, type ReembedFunction as b0, type ReembedVectorFieldOptions as b1, type ReembedVectorFieldResult as b2, type SchemaIntrospection as b3, type ScopedMeasure as b4, type SearchScopeOptions as b5, type SelectContext as b6, type SelectableEdge as b7, type SelectableNode as b8, type ShortestPathOptions as b9, type SubgraphNodeResult as bA, type SubgraphOptions as bB, type SubgraphResult as bC, type SubsetEdge as bD, type SubsetNode as bE, type TemporalAlgorithmOptions as bF, type TransactionContext as bG, type TransactionOutcome as bH, type TransactionReceipt as bI, type TraversalDirection as bJ, type TypedEdgeCollection as bK, type TypedRecordedStoreViewEdgeCollection as bL, type TypedStoreViewEdgeCollection as bM, UnionableQuery as bN, type UniqueIntrospection as bO, type UpdateEdgeInput as bP, type UpdateNodeInput as bQ, type VectorSearchHit as bR, type VectorSearchOptions as bS, type WeaklyConnectedComponentMembership as bT, type WeaklyConnectedComponentsOptions as bU, type WeightedShortestPathOptions as bV, type WeightedShortestPathResult as bW, createAdapterStore as bX, createAdapterStoreWithSchema as bY, createQueryBuilder as bZ, createStore as b_, type ShortestPathResult as ba, type SqlAvailability as bb, type StoreHooks as bc, type StoreProjection as bd, type StoreRef as be, StoreSearch as bf, StoreView as bg, type StoreViewCanReachOptions as bh, type StoreViewCoordinate as bi, type StoreViewDegreeOptions as bj, type StoreViewEdgeCollection as bk, type StoreViewEdgeCollections as bl, type StoreViewGraphAlgorithms as bm, type StoreViewLabelPropagationOptions as bn, type StoreViewNeighborsOptions as bo, type StoreViewNodeCollection as bp, type StoreViewNodeCollections as bq, type StoreViewPageRankOptions as br, type StoreViewPersonalizedPageRankOptions as bs, type StoreViewReachableOptions as bt, type StoreViewShortestPathOptions as bu, type StoreViewSubgraphOptions as bv, type StoreViewWeaklyConnectedComponentsOptions as bw, type StoreViewWeightedShortestPathOptions as bx, type StreamOptions as by, type SubgraphEdgeResult as bz, type RecordedReadStore as c, createVerifiedAdapterStore as c0, createVerifiedStore as c1, defineSubgraphProject as c2, exists as c3, fieldRef as c4, inSubquery as c5, isParameterRef as c6, notExists as c7, notInSubquery as c8, param as c9, type RecursiveAliasMap as d, QueryBuilder as e, type EmptyRecursiveAliasMap as f, type AdapterHistoryStore as g, type AdapterHistoryTransactionContext as h, type AdapterRecordedReadStore as i, type AdapterStore as j, type AdapterTransactionContext as k, type AggregateResult as l, type AlgorithmCyclePolicy as m, type AnyEdge as n, type AnyNode as o, type BaseTraversalOptions as p, type BatchResults as q, type BatchableQuery as r, type CreateEdgeInput as s, type CreateNodeInput as t, type DynamicEdgeAccessor as u, type DynamicEdgeCollection as v, type DynamicEdgeType as w, type DynamicFieldBuilder as x, type DynamicNodeAccessor as y, type DynamicNodeCollection as z };
4406
+ export { ExecutableAggregateQuery as $, type AliasMap as A, type BaseStoreOptions as B, type ConstraintNames as C, type DegreeOptions as D, type EdgeAliasMap as E, type DynamicNodeType as F, type DynamicSelectableEdge as G, type HistoryStoreOptions as H, type DynamicSelectableNode as I, type Edge as J, type EdgeAccessor as K, type LiveStoreOptions as L, type EdgeBatchReads as M, type EdgeCollection as N, type EdgeFindByEndpointsOptions as O, type EdgeGetOrCreateByEndpointsOptions as P, type QueryCoordinateState as Q, type RecordedReadStoreOptions as R, type StoreOptions as S, TraversalBuilder as T, type UnboundLiveStoreOptions as U, type EdgeGetOrCreateByEndpointsResult as V, type EdgeIntrospection as W, type EdgeTemporalReads as X, type EdgeWrites as Y, type EmptyAliasMap as Z, type EmptyEdgeAliasMap as _, type Store as a, type RecordedStoreViewNodeCollection as a$, ExecutableQuery as a0, type FieldAccessor as a1, type FulltextSearchHit as a2, type FulltextSearchOptions as a3, type GetOrCreateAction as a4, type GraphAlgorithms as a5, type GraphEdgeCollections as a6, type GraphNodeCollections as a7, type HistoryStoreBackend as a8, type HookContext as a9, type NodeRef as aA, type NodeTemporalReads as aB, type NodeWrites as aC, type OntologyIntrospection as aD, type OperationHookContext as aE, type PageRankOptions as aF, type PageRankScore as aG, type PaginateOptions as aH, type PaginatedResult as aI, type PathNode as aJ, type PersonalizedPageRankOptions as aK, type PersonalizedPageRankSeed as aL, type Predicate as aM, PreparedQuery as aN, type PropsAccessor as aO, type QueryHookContext as aP, type QueryOptions as aQ, type ReachableNode as aR, type ReachableOptions as aS, type RebuildFulltextOptions as aT, type RebuildFulltextResult as aU, type ReclaimedVectorFieldEntry as aV, type RecordedScanOptions as aW, type RecordedScanPage as aX, RecordedStoreView as aY, type RecordedStoreViewEdgeCollection as aZ, type RecordedStoreViewEdgeCollections as a_, type HybridFulltextOptions as aa, type HybridSearchHit as ab, type HybridSearchOptions as ac, type HybridVectorOptions as ad, type IfExistsMode as ae, type InitialQueryBuilder as af, type KindIntrospection as ag, type LabelPropagationMembership as ah, type LabelPropagationOptions as ai, type MaterializeRemovalsEntry as aj, type MaterializeRemovalsOptions as ak, type MaterializeRemovalsResult as al, type MeasurableAdapterHistoryTransactionContext as am, type MeasurableAdapterTransactionContext as an, type MeasurableTransactionContext as ao, type NeighborsOptions as ap, type NoRecordedCoordinate as aq, type Node as ar, type NodeAccessor as as, type NodeAlias as at, type NodeBulkFindByIndexOptions as au, type NodeCollection as av, type NodeCurrentReads as aw, type NodeGetOrCreateByConstraintOptions as ax, type NodeGetOrCreateByConstraintResult as ay, type NodeIdentifier as az, type HistoryStore as b, createQueryBuilder as b$, type RecordedStoreViewNodeCollections as b0, type RecursiveTraversalOptions as b1, type ReembedFunction as b2, type ReembedVectorFieldOptions as b3, type ReembedVectorFieldResult as b4, type SchemaIntrospection as b5, type ScopedMeasure as b6, type SearchScopeOptions as b7, type SelectContext as b8, type SelectableEdge as b9, type StreamOptions as bA, type SubgraphEdgeResult as bB, type SubgraphNodeResult as bC, type SubgraphOptions as bD, type SubgraphResult as bE, type SubsetEdge as bF, type SubsetNode as bG, type TemporalAlgorithmOptions as bH, type TransactionContext as bI, type TransactionOutcome as bJ, type TransactionReceipt as bK, type TraversalDirection as bL, type TypedEdgeCollection as bM, type TypedRecordedStoreViewEdgeCollection as bN, type TypedStoreViewEdgeCollection as bO, UnionableQuery as bP, type UniqueIntrospection as bQ, type UpdateEdgeInput as bR, type UpdateNodeInput as bS, type VectorSearchHit as bT, type VectorSearchOptions as bU, type WeaklyConnectedComponentMembership as bV, type WeaklyConnectedComponentsOptions as bW, type WeightedShortestPathOptions as bX, type WeightedShortestPathResult as bY, createAdapterStore as bZ, createAdapterStoreWithSchema as b_, type SelectableNode as ba, type ShortestPathOptions as bb, type ShortestPathResult as bc, type SqlAvailability as bd, type StoreHooks as be, type StoreProjection as bf, type StoreRef as bg, StoreSearch as bh, StoreView as bi, type StoreViewCanReachOptions as bj, type StoreViewCoordinate as bk, type StoreViewDegreeOptions as bl, type StoreViewEdgeCollection as bm, type StoreViewEdgeCollections as bn, type StoreViewGraphAlgorithms as bo, type StoreViewLabelPropagationOptions as bp, type StoreViewNeighborsOptions as bq, type StoreViewNodeCollection as br, type StoreViewNodeCollections as bs, type StoreViewPageRankOptions as bt, type StoreViewPersonalizedPageRankOptions as bu, type StoreViewReachableOptions as bv, type StoreViewShortestPathOptions as bw, type StoreViewSubgraphOptions as bx, type StoreViewWeaklyConnectedComponentsOptions as by, type StoreViewWeightedShortestPathOptions as bz, type RecordedReadStore as c, createStore as c0, createStoreWithSchema as c1, createVerifiedAdapterStore as c2, createVerifiedStore as c3, defineSubgraphProject as c4, exists as c5, fieldRef as c6, inSubquery as c7, isParameterRef as c8, notExists as c9, notInSubquery as ca, param as cb, type RecursiveAliasMap as d, QueryBuilder as e, type EmptyRecursiveAliasMap as f, type AdapterHistoryStore as g, type AdapterHistoryTransactionContext as h, type AdapterRecordedReadStore as i, type AdapterStore as j, type AdapterTransactionContext as k, type AggregateResult as l, type AlgorithmCyclePolicy as m, type AnyEdge as n, type AnyNode as o, type BaseTraversalOptions as p, type BatchResults as q, type BatchableQuery as r, type CreateEdgeInput as s, type CreateNodeInput as t, type DynamicEdgeAccessor as u, type DynamicEdgeCollection as v, type DynamicEdgeType as w, type DynamicFieldBuilder as x, type DynamicNodeAccessor as y, type DynamicNodeCollection as z };
@@ -0,0 +1,73 @@
1
+ import { T as TemporalMode } from './extension-types-BLEVH4SG.js';
2
+
3
+ declare const RECORDED_INSTANT_BRAND: unique symbol;
4
+ /**
5
+ * A versioned recorded-time anchor containing a fixed-width logical revision
6
+ * and a canonical UTC physical timestamp:
7
+ * `r1:0000000000000001:YYYY-MM-DDTHH:mm:ss.sssZ`.
8
+ *
9
+ * Logical revisions are strictly monotonic per graph and make every commit
10
+ * addressable even when many commits share one wall-clock millisecond. The
11
+ * timestamp is a non-decreasing physical wall-time high-water mark used by
12
+ * diagonal valid-time reads. Same-millisecond commits repeat it; backward clock
13
+ * corrections hold it at the previous value until wall time catches up. The
14
+ * string is canonical and lexicographically ordered by revision, so it can
15
+ * round-trip through plain string checkpoint columns without a custom
16
+ * serializer.
17
+ */
18
+ type RecordedInstant = string & {
19
+ readonly [RECORDED_INSTANT_BRAND]: "RecordedInstant";
20
+ };
21
+ /**
22
+ * Returns the canonical UTC wall-time component of a recorded anchor.
23
+ *
24
+ * The value is non-decreasing per graph, but it is not the commit-order key;
25
+ * use the complete {@link RecordedInstant} when ordering or replaying commits.
26
+ */
27
+ declare function recordedInstantWallTime(instant: RecordedInstant): string;
28
+ /** Returns the strict per-graph logical revision carried by an anchor. */
29
+ declare function recordedInstantRevision(instant: RecordedInstant): number;
30
+ /**
31
+ * Compares two recorded anchors by logical revision.
32
+ *
33
+ * Revisions are local to a graph, so only compare anchors produced by the same
34
+ * graph. The physical wall-time component deliberately does not participate.
35
+ */
36
+ declare function compareRecordedInstants(left: RecordedInstant, right: RecordedInstant): -1 | 0 | 1;
37
+ /**
38
+ * Brands a canonical versioned anchor string as a {@link RecordedInstant}.
39
+ *
40
+ * The escape hatch for an instant that round-trips through untyped storage:
41
+ * captured from {@link Store.recordedNow}, persisted as a plain string, read
42
+ * back, and replayed into `asOfRecorded`. Validates the canonical form eagerly —
43
+ * the same check `asOfRecorded` applies — so a malformed value fails here, at the
44
+ * brand site, rather than deeper in a read. Does *not* assert the instant is a
45
+ * real captured commit; it only guarantees the value is well-formed enough to
46
+ * compare correctly against the recorded relations.
47
+ *
48
+ * @throws {ValidationError} when `value` is not a canonical versioned anchor.
49
+ */
50
+ declare function asRecordedInstant(value: string): RecordedInstant;
51
+ /**
52
+ * The single opaque temporal coordinate every pinned read is resolved
53
+ * against. It carries the valid-time axis plus an optional recorded/system-time
54
+ * axis, so every surface can inject one coordinate object instead of threading
55
+ * each temporal dimension separately.
56
+ */
57
+ type ReadCoordinate = Readonly<{
58
+ /**
59
+ * The valid-time axis: a resolved temporal mode and (only for `"asOf"`) the
60
+ * instant it is pinned to.
61
+ */
62
+ valid: Readonly<{
63
+ mode: TemporalMode;
64
+ /** Defined only when `mode` is `"asOf"`. */
65
+ asOf?: string;
66
+ }>;
67
+ /** The recorded/system-time axis. Defined only for recorded-pinned views. */
68
+ recorded?: Readonly<{
69
+ asOf: RecordedInstant;
70
+ }>;
71
+ }>;
72
+
73
+ export { type RecordedInstant as R, asRecordedInstant as a, recordedInstantWallTime as b, compareRecordedInstants as c, type ReadCoordinate as d, recordedInstantRevision as r };
@@ -0,0 +1,73 @@
1
+ import { T as TemporalMode } from './extension-types-BLEVH4SG.cjs';
2
+
3
+ declare const RECORDED_INSTANT_BRAND: unique symbol;
4
+ /**
5
+ * A versioned recorded-time anchor containing a fixed-width logical revision
6
+ * and a canonical UTC physical timestamp:
7
+ * `r1:0000000000000001:YYYY-MM-DDTHH:mm:ss.sssZ`.
8
+ *
9
+ * Logical revisions are strictly monotonic per graph and make every commit
10
+ * addressable even when many commits share one wall-clock millisecond. The
11
+ * timestamp is a non-decreasing physical wall-time high-water mark used by
12
+ * diagonal valid-time reads. Same-millisecond commits repeat it; backward clock
13
+ * corrections hold it at the previous value until wall time catches up. The
14
+ * string is canonical and lexicographically ordered by revision, so it can
15
+ * round-trip through plain string checkpoint columns without a custom
16
+ * serializer.
17
+ */
18
+ type RecordedInstant = string & {
19
+ readonly [RECORDED_INSTANT_BRAND]: "RecordedInstant";
20
+ };
21
+ /**
22
+ * Returns the canonical UTC wall-time component of a recorded anchor.
23
+ *
24
+ * The value is non-decreasing per graph, but it is not the commit-order key;
25
+ * use the complete {@link RecordedInstant} when ordering or replaying commits.
26
+ */
27
+ declare function recordedInstantWallTime(instant: RecordedInstant): string;
28
+ /** Returns the strict per-graph logical revision carried by an anchor. */
29
+ declare function recordedInstantRevision(instant: RecordedInstant): number;
30
+ /**
31
+ * Compares two recorded anchors by logical revision.
32
+ *
33
+ * Revisions are local to a graph, so only compare anchors produced by the same
34
+ * graph. The physical wall-time component deliberately does not participate.
35
+ */
36
+ declare function compareRecordedInstants(left: RecordedInstant, right: RecordedInstant): -1 | 0 | 1;
37
+ /**
38
+ * Brands a canonical versioned anchor string as a {@link RecordedInstant}.
39
+ *
40
+ * The escape hatch for an instant that round-trips through untyped storage:
41
+ * captured from {@link Store.recordedNow}, persisted as a plain string, read
42
+ * back, and replayed into `asOfRecorded`. Validates the canonical form eagerly —
43
+ * the same check `asOfRecorded` applies — so a malformed value fails here, at the
44
+ * brand site, rather than deeper in a read. Does *not* assert the instant is a
45
+ * real captured commit; it only guarantees the value is well-formed enough to
46
+ * compare correctly against the recorded relations.
47
+ *
48
+ * @throws {ValidationError} when `value` is not a canonical versioned anchor.
49
+ */
50
+ declare function asRecordedInstant(value: string): RecordedInstant;
51
+ /**
52
+ * The single opaque temporal coordinate every pinned read is resolved
53
+ * against. It carries the valid-time axis plus an optional recorded/system-time
54
+ * axis, so every surface can inject one coordinate object instead of threading
55
+ * each temporal dimension separately.
56
+ */
57
+ type ReadCoordinate = Readonly<{
58
+ /**
59
+ * The valid-time axis: a resolved temporal mode and (only for `"asOf"`) the
60
+ * instant it is pinned to.
61
+ */
62
+ valid: Readonly<{
63
+ mode: TemporalMode;
64
+ /** Defined only when `mode` is `"asOf"`. */
65
+ asOf?: string;
66
+ }>;
67
+ /** The recorded/system-time axis. Defined only for recorded-pinned views. */
68
+ recorded?: Readonly<{
69
+ asOf: RecordedInstant;
70
+ }>;
71
+ }>;
72
+
73
+ export { type RecordedInstant as R, asRecordedInstant as a, recordedInstantWallTime as b, compareRecordedInstants as c, type ReadCoordinate as d, recordedInstantRevision as r };
@@ -1,5 +1,5 @@
1
1
  import { K as KindEntity } from './extension-types-BLEVH4SG.js';
2
- import { J as JsonPointer } from './index-Bq7vSPHy.js';
2
+ import { J as JsonPointer } from './types-D8szWDUo.js';
3
3
 
4
4
  /**
5
5
  * QueryProfiler types.
@@ -1,5 +1,5 @@
1
1
  import { K as KindEntity } from './extension-types-BLEVH4SG.cjs';
2
- import { J as JsonPointer } from './index-CrFL_ENI.cjs';
2
+ import { J as JsonPointer } from './types-C5pZeKTl.cjs';
3
3
 
4
4
  /**
5
5
  * QueryProfiler types.
@@ -1,5 +1,5 @@
1
1
  import { A as AnyEdgeType, a as NodeType } from './extension-types-BLEVH4SG.cjs';
2
- import { a as EdgeIndexConfig, E as EdgeIndexDeclaration, i as NodeIndexConfig, N as NodeIndexDeclaration, f as IndexWhereExpression } from './index-CrFL_ENI.cjs';
2
+ import { a as EdgeIndexConfig, E as EdgeIndexDeclaration, i as NodeIndexConfig, N as NodeIndexDeclaration, f as IndexWhereExpression } from './types-C5pZeKTl.cjs';
3
3
 
4
4
  /** The TypeGraph relations that carry system indexes. */
5
5
  type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
@@ -1,5 +1,5 @@
1
1
  import { A as AnyEdgeType, a as NodeType } from './extension-types-BLEVH4SG.js';
2
- import { a as EdgeIndexConfig, E as EdgeIndexDeclaration, i as NodeIndexConfig, N as NodeIndexDeclaration, f as IndexWhereExpression } from './index-Bq7vSPHy.js';
2
+ import { a as EdgeIndexConfig, E as EdgeIndexDeclaration, i as NodeIndexConfig, N as NodeIndexDeclaration, f as IndexWhereExpression } from './types-D8szWDUo.js';
3
3
 
4
4
  /** The TypeGraph relations that carry system indexes. */
5
5
  type SystemIndexTable = "nodes" | "edges" | "recordedNodes" | "recordedEdges";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicia-ai/typegraph",
3
- "version": "0.38.0",
3
+ "version": "0.40.0",
4
4
  "description": "TypeScript-first embedded knowledge graph library with ontological reasoning",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",