@noy-db/hub 0.3.0-pre.11 → 0.3.0-pre.12

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 (342) hide show
  1. package/dist/aggregate/index.js +4 -4
  2. package/dist/api-3TH2GOFQ.js +20 -0
  3. package/dist/as/index.js +11 -11
  4. package/dist/attestation/index.js +18 -18
  5. package/dist/{backup-XA5STIYQ.js → backup-2WVBIVXW.js} +11 -11
  6. package/dist/blobs/index.js +10 -10
  7. package/dist/broker/index.js +12 -12
  8. package/dist/bundle/index.js +20 -20
  9. package/dist/by/index.js +2 -2
  10. package/dist/cargo/index.js +22 -22
  11. package/dist/{chunk-C3YH34IL.js → chunk-2MTRJCBI.js} +3 -3
  12. package/dist/{chunk-HUS3J5WM.js → chunk-37WOJQWY.js} +2 -2
  13. package/dist/{chunk-IP2QBAGS.js → chunk-3QSOFZQB.js} +8 -8
  14. package/dist/{chunk-IDIV5NVH.js → chunk-44IL5G3W.js} +5 -5
  15. package/dist/{chunk-X6CMGUAG.js → chunk-45QPICLE.js} +2 -2
  16. package/dist/{chunk-BEIRE5K4.js → chunk-4BQXMCE5.js} +4 -4
  17. package/dist/{chunk-ODJWBC5I.js → chunk-5HNX4OD4.js} +2 -2
  18. package/dist/{chunk-TPH5EO6L.js → chunk-65VLRG3I.js} +2 -2
  19. package/dist/{chunk-RKRGDAS7.js → chunk-6MA575R5.js} +5 -5
  20. package/dist/{chunk-3CNQ7FQ3.js → chunk-6S7ENMRE.js} +119 -25
  21. package/dist/chunk-6S7ENMRE.js.map +1 -0
  22. package/dist/{chunk-VA4ZWLFY.js → chunk-7GAXFU2O.js} +2 -2
  23. package/dist/{chunk-5JB73NMC.js → chunk-7QLY64AD.js} +5 -5
  24. package/dist/{chunk-GA2QHD6P.js → chunk-7ZOSHEVS.js} +9 -9
  25. package/dist/{chunk-H44ZE4IE.js → chunk-AAIIDAUC.js} +33 -17
  26. package/dist/chunk-AAIIDAUC.js.map +1 -0
  27. package/dist/{chunk-H6HM6CVR.js → chunk-AKEOHKMT.js} +10 -7
  28. package/dist/{chunk-H6HM6CVR.js.map → chunk-AKEOHKMT.js.map} +1 -1
  29. package/dist/{chunk-YSXEFGND.js → chunk-APHLCXVC.js} +2 -2
  30. package/dist/{chunk-CB25ONKC.js → chunk-BDEMZD4F.js} +2 -2
  31. package/dist/{chunk-P5RY4ZWD.js → chunk-BDPAVYGJ.js} +9 -9
  32. package/dist/{chunk-DIRRS7WP.js → chunk-BLUT46UP.js} +2 -2
  33. package/dist/{chunk-5ZOSG3RJ.js → chunk-CCIR2OJH.js} +5 -5
  34. package/dist/{chunk-7E67FJ33.js → chunk-CXC3JLAQ.js} +2 -2
  35. package/dist/{chunk-AOVDSIL3.js → chunk-CZMCOFEA.js} +6 -6
  36. package/dist/{chunk-SRVQHVNX.js → chunk-DIB2BOIH.js} +5 -5
  37. package/dist/{chunk-7QIXUSDQ.js → chunk-DJ7MRXNA.js} +15 -12
  38. package/dist/chunk-DJ7MRXNA.js.map +1 -0
  39. package/dist/{chunk-DJ3VKYFA.js → chunk-EHW5KTTA.js} +4 -4
  40. package/dist/{chunk-25NDNMQ7.js → chunk-EIZ4YOG2.js} +3 -3
  41. package/dist/{chunk-IGJHJYM6.js → chunk-EVHBK7BN.js} +4 -4
  42. package/dist/{chunk-7VSGW5KJ.js → chunk-EXGDL2UQ.js} +2 -2
  43. package/dist/{chunk-L2SNBIV7.js → chunk-F3LGBRSV.js} +9 -9
  44. package/dist/{chunk-ELNBMFOS.js → chunk-F44XWXOA.js} +4 -4
  45. package/dist/{chunk-KPGX66PM.js → chunk-FF7S3XDW.js} +2 -2
  46. package/dist/{chunk-5XIPOCQC.js → chunk-FJTWLQV3.js} +3 -3
  47. package/dist/{chunk-YXOUQ2H7.js → chunk-FYNE4WLC.js} +2 -2
  48. package/dist/{chunk-FH542DDY.js → chunk-FZCGIJEJ.js} +1 -1
  49. package/dist/{chunk-FH542DDY.js.map → chunk-FZCGIJEJ.js.map} +1 -1
  50. package/dist/{chunk-57V5S7PW.js → chunk-GL3JV5EV.js} +6 -6
  51. package/dist/{chunk-ARSAMO24.js → chunk-GXLZXD2W.js} +2 -2
  52. package/dist/{chunk-QQJXBZCO.js → chunk-HA6ZQWA2.js} +8 -8
  53. package/dist/{chunk-OEAATWH5.js → chunk-HBBZWEC5.js} +6 -6
  54. package/dist/{chunk-2JMMY7HZ.js → chunk-HG76BZ6G.js} +6 -6
  55. package/dist/{chunk-45ZZLTFH.js → chunk-HGAB325C.js} +2 -2
  56. package/dist/{chunk-WTUNZACT.js → chunk-HIOLCOK3.js} +2 -2
  57. package/dist/{chunk-C7NTK5I3.js → chunk-HK4XTXO4.js} +4 -4
  58. package/dist/{chunk-UFILRICG.js → chunk-HYG32HCM.js} +2 -2
  59. package/dist/{chunk-PXWVF7MC.js → chunk-ILF5GARW.js} +7 -7
  60. package/dist/{chunk-HFJIGWJC.js → chunk-INBQ43DI.js} +3 -3
  61. package/dist/{chunk-DMFNPHCX.js → chunk-IQIVD7TP.js} +6 -6
  62. package/dist/{chunk-FQQF23MC.js → chunk-J3JIYFYL.js} +2 -2
  63. package/dist/{chunk-CKZW6P5V.js → chunk-JC75UBMT.js} +1 -1
  64. package/dist/chunk-JC75UBMT.js.map +1 -0
  65. package/dist/{chunk-4N5QFSNQ.js → chunk-JGUZMC3I.js} +5 -5
  66. package/dist/{chunk-ZP5PL65C.js → chunk-JRKE5MAZ.js} +2 -2
  67. package/dist/{chunk-JOQ53DMI.js → chunk-K2DLLK34.js} +3 -3
  68. package/dist/{chunk-4R4Q64W5.js → chunk-KKYEZCQG.js} +2 -2
  69. package/dist/{chunk-D26JB3LZ.js → chunk-NAR6IDKH.js} +2 -2
  70. package/dist/{chunk-7NS43EXZ.js → chunk-NEYKOESM.js} +5 -5
  71. package/dist/{chunk-SYMS4546.js → chunk-NM3IFKBL.js} +2 -2
  72. package/dist/{chunk-OOLO4LQG.js → chunk-NRYNRSGV.js} +6 -6
  73. package/dist/{chunk-D3EFFFOL.js → chunk-NT2ZO4KI.js} +5 -5
  74. package/dist/{chunk-QLLKLFE2.js → chunk-P2LJI6JE.js} +2 -2
  75. package/dist/{chunk-K62IUKOD.js → chunk-PH7G7ZI7.js} +5 -5
  76. package/dist/{chunk-A2Y6YFVN.js → chunk-PN5332SU.js} +2 -2
  77. package/dist/{chunk-BCYQA5BK.js → chunk-QF5LGMSV.js} +2 -2
  78. package/dist/{chunk-VR24ILCR.js → chunk-QG5RQQBO.js} +3 -3
  79. package/dist/{chunk-O2DYPAZY.js → chunk-QYPDYN23.js} +2 -2
  80. package/dist/{chunk-DGH65E7Q.js → chunk-R3NHNVS5.js} +16 -4
  81. package/dist/chunk-R3NHNVS5.js.map +1 -0
  82. package/dist/{chunk-MELR46EF.js → chunk-RNXJ2VO6.js} +5 -5
  83. package/dist/{chunk-UTLEAJXC.js → chunk-RXTMLYJS.js} +2 -2
  84. package/dist/{chunk-XHV25KBM.js → chunk-S2OWPVSO.js} +2 -2
  85. package/dist/{chunk-6QILBDZU.js → chunk-S7TAPIRS.js} +3 -3
  86. package/dist/{chunk-Q3XSMOZM.js → chunk-SAL5X5OK.js} +2 -2
  87. package/dist/{chunk-XFXUTFWQ.js → chunk-SGJGWBSC.js} +6 -6
  88. package/dist/{chunk-7ITPJFGC.js → chunk-SIAIYP6G.js} +2 -2
  89. package/dist/{chunk-H6CZSDWK.js → chunk-SXPCZ6LL.js} +3 -3
  90. package/dist/{chunk-H6CZSDWK.js.map → chunk-SXPCZ6LL.js.map} +1 -1
  91. package/dist/{chunk-QYPKGVT4.js → chunk-TBNF5DV5.js} +3 -3
  92. package/dist/{chunk-CIKY6I4W.js → chunk-TVOHSPVK.js} +2 -2
  93. package/dist/{chunk-AWB5JZW6.js → chunk-TVS6BUUR.js} +2 -2
  94. package/dist/{chunk-BZO4WCJI.js → chunk-UMC5QZTX.js} +4 -4
  95. package/dist/{chunk-MCEKIAO4.js → chunk-US34HTOI.js} +3 -3
  96. package/dist/{chunk-BE7N3AXA.js → chunk-VCUQR6ZL.js} +3 -3
  97. package/dist/{chunk-W5D62AQD.js → chunk-VXZNSPJM.js} +20 -7
  98. package/dist/chunk-VXZNSPJM.js.map +1 -0
  99. package/dist/{chunk-OFJ5GPNA.js → chunk-WEHIQYQH.js} +2 -2
  100. package/dist/{chunk-PR5LC5YX.js → chunk-WHQHTNT7.js} +4 -4
  101. package/dist/{chunk-3MSQLQNZ.js → chunk-X6Y5MXTH.js} +2 -2
  102. package/dist/{chunk-3G4KMVUN.js → chunk-XJ47GS53.js} +3 -3
  103. package/dist/{chunk-MSPNM2OM.js → chunk-XS6DLN67.js} +3 -3
  104. package/dist/{chunk-FXK4X4BL.js → chunk-Y5TWPBNW.js} +4 -4
  105. package/dist/{chunk-A2QF4JUE.js → chunk-YCXKFB7J.js} +208 -100
  106. package/dist/chunk-YCXKFB7J.js.map +1 -0
  107. package/dist/{chunk-67TNU77I.js → chunk-ZHOJOT6S.js} +2 -2
  108. package/dist/{chunk-WGV4CUZT.js → chunk-ZL6PRULX.js} +4 -4
  109. package/dist/{chunk-WGV4CUZT.js.map → chunk-ZL6PRULX.js.map} +1 -1
  110. package/dist/classified/index.js +5 -5
  111. package/dist/{classified-marker-LQWWQNIJ.js → classified-marker-M7K3OJPM.js} +8 -4
  112. package/dist/classified-marker-M7K3OJPM.js.map +1 -0
  113. package/dist/collection-facade-DWA735G2.js +39 -0
  114. package/dist/{computed-W6MVAMWZ.js → computed-ORCGM5JE.js} +3 -3
  115. package/dist/consent/index.js +9 -9
  116. package/dist/{dead-filter-4KXZEB3X.js → dead-filter-OV5FGKOG.js} +2 -2
  117. package/dist/delegation-YVSHMIZZ.js +25 -0
  118. package/dist/derivations/index.js +12 -12
  119. package/dist/derive-BUO555L5.js +21 -0
  120. package/dist/{enclave-VXAQD4XJ.js → enclave-XXFUKJC6.js} +9 -9
  121. package/dist/executor-6OCCE5VM.js +25 -0
  122. package/dist/executor-JFVAJY42.js +9 -0
  123. package/dist/executor-UPSH5O3F.js +9 -0
  124. package/dist/export-accessible-L4A2QZA5.js +23 -0
  125. package/dist/extract-partition-ZHQ4RGGM.js +36 -0
  126. package/dist/{fanout-sidecar-CKYFH33E.js → fanout-sidecar-IO2KDUWV.js} +9 -9
  127. package/dist/find-ZFZDZQ2U.js +11 -0
  128. package/dist/forget/index.js +9 -9
  129. package/dist/guards/index.js +3 -3
  130. package/dist/history/index.js +11 -11
  131. package/dist/i18n/index.js +14 -14
  132. package/dist/index.js +84 -84
  133. package/dist/index.js.map +1 -1
  134. package/dist/indexing/index.js +5 -5
  135. package/dist/indexing/index.js.map +1 -1
  136. package/dist/issue-OG4V23SQ.js +19 -0
  137. package/dist/kernel/best-effort-revert.d.ts +52 -0
  138. package/dist/kernel/collection-config.d.ts +8 -0
  139. package/dist/kernel/collection.d.ts +18 -4
  140. package/dist/kernel/errors.d.ts +1 -1
  141. package/dist/kernel/noydb.d.ts +8 -0
  142. package/dist/kernel/types.d.ts +19 -0
  143. package/dist/kernel/vault.d.ts +15 -1
  144. package/dist/kernel/via/graph.d.ts +2 -1
  145. package/dist/{ledger-FU6GH5EH.js → ledger-UAQKPWNM.js} +11 -11
  146. package/dist/liberate-GFUQJRK5.js +24 -0
  147. package/dist/{link-set-MNADSH5M.js → link-set-DGYUOFVD.js} +11 -11
  148. package/dist/materialized-views/index.js +18 -18
  149. package/dist/noydb-AKH4AMCR.js +67 -0
  150. package/dist/on/index.js +9 -9
  151. package/dist/overlay-views/index.js +4 -4
  152. package/dist/periods/index.js +12 -12
  153. package/dist/pod/index.js +11 -11
  154. package/dist/{policy-JTFOPPUU.js → policy-5POYLI26.js} +5 -5
  155. package/dist/port/with/lookup-strategy.d.ts +2 -1
  156. package/dist/portability/index.js +8 -8
  157. package/dist/{post-register-HAWO3O7O.js → post-register-LB3P4XQU.js} +12 -7
  158. package/dist/post-register-LB3P4XQU.js.map +1 -0
  159. package/dist/{public-envelope-NJVB7LPA.js → public-envelope-GOG4LUM7.js} +4 -4
  160. package/dist/query/index.js +5 -5
  161. package/dist/register-ZI7YI7US.js +23 -0
  162. package/dist/registry-DZ2T4LL7.js +9 -0
  163. package/dist/registry-NVWEQ2GU.js +18 -0
  164. package/dist/registry-SEKL74ET.js +19 -0
  165. package/dist/request-withdrawal-ZP3JIRVS.js +31 -0
  166. package/dist/{reveal-BOY7XYFH.js → reveal-NPVROV4D.js} +6 -6
  167. package/dist/revoke-VF6TAJK2.js +24 -0
  168. package/dist/satellites/index.js +1 -1
  169. package/dist/sealed-record/index.js +12 -12
  170. package/dist/{seed-4RRXT42N.js → seed-VI4FU7UH.js} +11 -11
  171. package/dist/session/index.js +9 -9
  172. package/dist/shadow/index.js +2 -2
  173. package/dist/signer-DRDDCCHW.js +25 -0
  174. package/dist/snapshots/index.js +10 -10
  175. package/dist/{stale-NXPT56JA.js → stale-TJXFQKOJ.js} +2 -2
  176. package/dist/storage-GR7KZRH4.js +23 -0
  177. package/dist/{store-coordination-provider-HPYVFJCV.js → store-coordination-provider-5KDS2RRP.js} +3 -3
  178. package/dist/sync/index.js +9 -9
  179. package/dist/team/index.js +15 -15
  180. package/dist/tiers/index.js +10 -10
  181. package/dist/to/index.js +1 -1
  182. package/dist/tx/index.js +3 -3
  183. package/dist/util/index.js +1 -1
  184. package/dist/{verify-66RHOW7N.js → verify-QK76NJ4G.js} +5 -5
  185. package/dist/via/lookup/registry.d.ts +9 -0
  186. package/dist/via/money/where.d.ts +27 -6
  187. package/dist/{walk-2RWEOCAS.js → walk-XQCBKSBW.js} +11 -11
  188. package/dist/with/index.js +11 -11
  189. package/dist/with-commit/tx/transaction.d.ts +5 -0
  190. package/dist/with-lookup/indexing/lazy-builder.d.ts +35 -2
  191. package/dist/with-lookup/indexing/persisted-indexes.d.ts +44 -1
  192. package/dist/with-party/team/sync.d.ts +9 -0
  193. package/dist/with-shape/satellites/fanout.d.ts +5 -4
  194. package/dist/with-shape/satellites/migrate-cek.d.ts +26 -0
  195. package/dist/with-shape/satellites/types.d.ts +11 -0
  196. package/dist/withdraw-accessible-FMN4LPJZ.js +28 -0
  197. package/package.json +3 -3
  198. package/dist/api-YGMINAET.js +0 -20
  199. package/dist/chunk-3CNQ7FQ3.js.map +0 -1
  200. package/dist/chunk-7QIXUSDQ.js.map +0 -1
  201. package/dist/chunk-A2QF4JUE.js.map +0 -1
  202. package/dist/chunk-CKZW6P5V.js.map +0 -1
  203. package/dist/chunk-DGH65E7Q.js.map +0 -1
  204. package/dist/chunk-H44ZE4IE.js.map +0 -1
  205. package/dist/chunk-W5D62AQD.js.map +0 -1
  206. package/dist/classified-marker-LQWWQNIJ.js.map +0 -1
  207. package/dist/collection-facade-YE2O4J4O.js +0 -39
  208. package/dist/delegation-OPUU3R2E.js +0 -25
  209. package/dist/derive-BGUHU663.js +0 -21
  210. package/dist/executor-GTVSUUBX.js +0 -25
  211. package/dist/executor-GZWMTOXB.js +0 -9
  212. package/dist/executor-XXGS4S3K.js +0 -9
  213. package/dist/export-accessible-BMULIOYB.js +0 -23
  214. package/dist/extract-partition-JUQTWDXR.js +0 -36
  215. package/dist/find-XRGCNGNN.js +0 -11
  216. package/dist/issue-UB6AA5M6.js +0 -19
  217. package/dist/liberate-YUN7W5QG.js +0 -24
  218. package/dist/noydb-6JLBZU4U.js +0 -67
  219. package/dist/post-register-HAWO3O7O.js.map +0 -1
  220. package/dist/register-VCKOBWKT.js +0 -23
  221. package/dist/registry-72UKJ2L4.js +0 -9
  222. package/dist/registry-BZFLJNEH.js +0 -18
  223. package/dist/registry-YJEYSYI5.js +0 -19
  224. package/dist/request-withdrawal-6MJRMFHF.js +0 -31
  225. package/dist/revoke-4KUNSVJC.js +0 -24
  226. package/dist/signer-DDDXP5JD.js +0 -25
  227. package/dist/storage-IR6EEAV2.js +0 -23
  228. package/dist/withdraw-accessible-CLMZEHQT.js +0 -28
  229. /package/dist/{api-YGMINAET.js.map → api-3TH2GOFQ.js.map} +0 -0
  230. /package/dist/{backup-XA5STIYQ.js.map → backup-2WVBIVXW.js.map} +0 -0
  231. /package/dist/{chunk-C3YH34IL.js.map → chunk-2MTRJCBI.js.map} +0 -0
  232. /package/dist/{chunk-HUS3J5WM.js.map → chunk-37WOJQWY.js.map} +0 -0
  233. /package/dist/{chunk-IP2QBAGS.js.map → chunk-3QSOFZQB.js.map} +0 -0
  234. /package/dist/{chunk-IDIV5NVH.js.map → chunk-44IL5G3W.js.map} +0 -0
  235. /package/dist/{chunk-X6CMGUAG.js.map → chunk-45QPICLE.js.map} +0 -0
  236. /package/dist/{chunk-BEIRE5K4.js.map → chunk-4BQXMCE5.js.map} +0 -0
  237. /package/dist/{chunk-ODJWBC5I.js.map → chunk-5HNX4OD4.js.map} +0 -0
  238. /package/dist/{chunk-TPH5EO6L.js.map → chunk-65VLRG3I.js.map} +0 -0
  239. /package/dist/{chunk-RKRGDAS7.js.map → chunk-6MA575R5.js.map} +0 -0
  240. /package/dist/{chunk-VA4ZWLFY.js.map → chunk-7GAXFU2O.js.map} +0 -0
  241. /package/dist/{chunk-5JB73NMC.js.map → chunk-7QLY64AD.js.map} +0 -0
  242. /package/dist/{chunk-GA2QHD6P.js.map → chunk-7ZOSHEVS.js.map} +0 -0
  243. /package/dist/{chunk-YSXEFGND.js.map → chunk-APHLCXVC.js.map} +0 -0
  244. /package/dist/{chunk-CB25ONKC.js.map → chunk-BDEMZD4F.js.map} +0 -0
  245. /package/dist/{chunk-P5RY4ZWD.js.map → chunk-BDPAVYGJ.js.map} +0 -0
  246. /package/dist/{chunk-DIRRS7WP.js.map → chunk-BLUT46UP.js.map} +0 -0
  247. /package/dist/{chunk-5ZOSG3RJ.js.map → chunk-CCIR2OJH.js.map} +0 -0
  248. /package/dist/{chunk-7E67FJ33.js.map → chunk-CXC3JLAQ.js.map} +0 -0
  249. /package/dist/{chunk-AOVDSIL3.js.map → chunk-CZMCOFEA.js.map} +0 -0
  250. /package/dist/{chunk-SRVQHVNX.js.map → chunk-DIB2BOIH.js.map} +0 -0
  251. /package/dist/{chunk-DJ3VKYFA.js.map → chunk-EHW5KTTA.js.map} +0 -0
  252. /package/dist/{chunk-25NDNMQ7.js.map → chunk-EIZ4YOG2.js.map} +0 -0
  253. /package/dist/{chunk-IGJHJYM6.js.map → chunk-EVHBK7BN.js.map} +0 -0
  254. /package/dist/{chunk-7VSGW5KJ.js.map → chunk-EXGDL2UQ.js.map} +0 -0
  255. /package/dist/{chunk-L2SNBIV7.js.map → chunk-F3LGBRSV.js.map} +0 -0
  256. /package/dist/{chunk-ELNBMFOS.js.map → chunk-F44XWXOA.js.map} +0 -0
  257. /package/dist/{chunk-KPGX66PM.js.map → chunk-FF7S3XDW.js.map} +0 -0
  258. /package/dist/{chunk-5XIPOCQC.js.map → chunk-FJTWLQV3.js.map} +0 -0
  259. /package/dist/{chunk-YXOUQ2H7.js.map → chunk-FYNE4WLC.js.map} +0 -0
  260. /package/dist/{chunk-57V5S7PW.js.map → chunk-GL3JV5EV.js.map} +0 -0
  261. /package/dist/{chunk-ARSAMO24.js.map → chunk-GXLZXD2W.js.map} +0 -0
  262. /package/dist/{chunk-QQJXBZCO.js.map → chunk-HA6ZQWA2.js.map} +0 -0
  263. /package/dist/{chunk-OEAATWH5.js.map → chunk-HBBZWEC5.js.map} +0 -0
  264. /package/dist/{chunk-2JMMY7HZ.js.map → chunk-HG76BZ6G.js.map} +0 -0
  265. /package/dist/{chunk-45ZZLTFH.js.map → chunk-HGAB325C.js.map} +0 -0
  266. /package/dist/{chunk-WTUNZACT.js.map → chunk-HIOLCOK3.js.map} +0 -0
  267. /package/dist/{chunk-C7NTK5I3.js.map → chunk-HK4XTXO4.js.map} +0 -0
  268. /package/dist/{chunk-UFILRICG.js.map → chunk-HYG32HCM.js.map} +0 -0
  269. /package/dist/{chunk-PXWVF7MC.js.map → chunk-ILF5GARW.js.map} +0 -0
  270. /package/dist/{chunk-HFJIGWJC.js.map → chunk-INBQ43DI.js.map} +0 -0
  271. /package/dist/{chunk-DMFNPHCX.js.map → chunk-IQIVD7TP.js.map} +0 -0
  272. /package/dist/{chunk-FQQF23MC.js.map → chunk-J3JIYFYL.js.map} +0 -0
  273. /package/dist/{chunk-4N5QFSNQ.js.map → chunk-JGUZMC3I.js.map} +0 -0
  274. /package/dist/{chunk-ZP5PL65C.js.map → chunk-JRKE5MAZ.js.map} +0 -0
  275. /package/dist/{chunk-JOQ53DMI.js.map → chunk-K2DLLK34.js.map} +0 -0
  276. /package/dist/{chunk-4R4Q64W5.js.map → chunk-KKYEZCQG.js.map} +0 -0
  277. /package/dist/{chunk-D26JB3LZ.js.map → chunk-NAR6IDKH.js.map} +0 -0
  278. /package/dist/{chunk-7NS43EXZ.js.map → chunk-NEYKOESM.js.map} +0 -0
  279. /package/dist/{chunk-SYMS4546.js.map → chunk-NM3IFKBL.js.map} +0 -0
  280. /package/dist/{chunk-OOLO4LQG.js.map → chunk-NRYNRSGV.js.map} +0 -0
  281. /package/dist/{chunk-D3EFFFOL.js.map → chunk-NT2ZO4KI.js.map} +0 -0
  282. /package/dist/{chunk-QLLKLFE2.js.map → chunk-P2LJI6JE.js.map} +0 -0
  283. /package/dist/{chunk-K62IUKOD.js.map → chunk-PH7G7ZI7.js.map} +0 -0
  284. /package/dist/{chunk-A2Y6YFVN.js.map → chunk-PN5332SU.js.map} +0 -0
  285. /package/dist/{chunk-BCYQA5BK.js.map → chunk-QF5LGMSV.js.map} +0 -0
  286. /package/dist/{chunk-VR24ILCR.js.map → chunk-QG5RQQBO.js.map} +0 -0
  287. /package/dist/{chunk-O2DYPAZY.js.map → chunk-QYPDYN23.js.map} +0 -0
  288. /package/dist/{chunk-MELR46EF.js.map → chunk-RNXJ2VO6.js.map} +0 -0
  289. /package/dist/{chunk-UTLEAJXC.js.map → chunk-RXTMLYJS.js.map} +0 -0
  290. /package/dist/{chunk-XHV25KBM.js.map → chunk-S2OWPVSO.js.map} +0 -0
  291. /package/dist/{chunk-6QILBDZU.js.map → chunk-S7TAPIRS.js.map} +0 -0
  292. /package/dist/{chunk-Q3XSMOZM.js.map → chunk-SAL5X5OK.js.map} +0 -0
  293. /package/dist/{chunk-XFXUTFWQ.js.map → chunk-SGJGWBSC.js.map} +0 -0
  294. /package/dist/{chunk-7ITPJFGC.js.map → chunk-SIAIYP6G.js.map} +0 -0
  295. /package/dist/{chunk-QYPKGVT4.js.map → chunk-TBNF5DV5.js.map} +0 -0
  296. /package/dist/{chunk-CIKY6I4W.js.map → chunk-TVOHSPVK.js.map} +0 -0
  297. /package/dist/{chunk-AWB5JZW6.js.map → chunk-TVS6BUUR.js.map} +0 -0
  298. /package/dist/{chunk-BZO4WCJI.js.map → chunk-UMC5QZTX.js.map} +0 -0
  299. /package/dist/{chunk-MCEKIAO4.js.map → chunk-US34HTOI.js.map} +0 -0
  300. /package/dist/{chunk-BE7N3AXA.js.map → chunk-VCUQR6ZL.js.map} +0 -0
  301. /package/dist/{chunk-OFJ5GPNA.js.map → chunk-WEHIQYQH.js.map} +0 -0
  302. /package/dist/{chunk-PR5LC5YX.js.map → chunk-WHQHTNT7.js.map} +0 -0
  303. /package/dist/{chunk-3MSQLQNZ.js.map → chunk-X6Y5MXTH.js.map} +0 -0
  304. /package/dist/{chunk-3G4KMVUN.js.map → chunk-XJ47GS53.js.map} +0 -0
  305. /package/dist/{chunk-MSPNM2OM.js.map → chunk-XS6DLN67.js.map} +0 -0
  306. /package/dist/{chunk-FXK4X4BL.js.map → chunk-Y5TWPBNW.js.map} +0 -0
  307. /package/dist/{chunk-67TNU77I.js.map → chunk-ZHOJOT6S.js.map} +0 -0
  308. /package/dist/{collection-facade-YE2O4J4O.js.map → collection-facade-DWA735G2.js.map} +0 -0
  309. /package/dist/{computed-W6MVAMWZ.js.map → computed-ORCGM5JE.js.map} +0 -0
  310. /package/dist/{dead-filter-4KXZEB3X.js.map → dead-filter-OV5FGKOG.js.map} +0 -0
  311. /package/dist/{delegation-OPUU3R2E.js.map → delegation-YVSHMIZZ.js.map} +0 -0
  312. /package/dist/{derive-BGUHU663.js.map → derive-BUO555L5.js.map} +0 -0
  313. /package/dist/{enclave-VXAQD4XJ.js.map → enclave-XXFUKJC6.js.map} +0 -0
  314. /package/dist/{executor-GTVSUUBX.js.map → executor-6OCCE5VM.js.map} +0 -0
  315. /package/dist/{executor-GZWMTOXB.js.map → executor-JFVAJY42.js.map} +0 -0
  316. /package/dist/{executor-XXGS4S3K.js.map → executor-UPSH5O3F.js.map} +0 -0
  317. /package/dist/{export-accessible-BMULIOYB.js.map → export-accessible-L4A2QZA5.js.map} +0 -0
  318. /package/dist/{extract-partition-JUQTWDXR.js.map → extract-partition-ZHQ4RGGM.js.map} +0 -0
  319. /package/dist/{fanout-sidecar-CKYFH33E.js.map → fanout-sidecar-IO2KDUWV.js.map} +0 -0
  320. /package/dist/{find-XRGCNGNN.js.map → find-ZFZDZQ2U.js.map} +0 -0
  321. /package/dist/{issue-UB6AA5M6.js.map → issue-OG4V23SQ.js.map} +0 -0
  322. /package/dist/{ledger-FU6GH5EH.js.map → ledger-UAQKPWNM.js.map} +0 -0
  323. /package/dist/{liberate-YUN7W5QG.js.map → liberate-GFUQJRK5.js.map} +0 -0
  324. /package/dist/{link-set-MNADSH5M.js.map → link-set-DGYUOFVD.js.map} +0 -0
  325. /package/dist/{noydb-6JLBZU4U.js.map → noydb-AKH4AMCR.js.map} +0 -0
  326. /package/dist/{policy-JTFOPPUU.js.map → policy-5POYLI26.js.map} +0 -0
  327. /package/dist/{public-envelope-NJVB7LPA.js.map → public-envelope-GOG4LUM7.js.map} +0 -0
  328. /package/dist/{register-VCKOBWKT.js.map → register-ZI7YI7US.js.map} +0 -0
  329. /package/dist/{registry-72UKJ2L4.js.map → registry-DZ2T4LL7.js.map} +0 -0
  330. /package/dist/{registry-BZFLJNEH.js.map → registry-NVWEQ2GU.js.map} +0 -0
  331. /package/dist/{registry-YJEYSYI5.js.map → registry-SEKL74ET.js.map} +0 -0
  332. /package/dist/{request-withdrawal-6MJRMFHF.js.map → request-withdrawal-ZP3JIRVS.js.map} +0 -0
  333. /package/dist/{reveal-BOY7XYFH.js.map → reveal-NPVROV4D.js.map} +0 -0
  334. /package/dist/{revoke-4KUNSVJC.js.map → revoke-VF6TAJK2.js.map} +0 -0
  335. /package/dist/{seed-4RRXT42N.js.map → seed-VI4FU7UH.js.map} +0 -0
  336. /package/dist/{signer-DDDXP5JD.js.map → signer-DRDDCCHW.js.map} +0 -0
  337. /package/dist/{stale-NXPT56JA.js.map → stale-TJXFQKOJ.js.map} +0 -0
  338. /package/dist/{storage-IR6EEAV2.js.map → storage-GR7KZRH4.js.map} +0 -0
  339. /package/dist/{store-coordination-provider-HPYVFJCV.js.map → store-coordination-provider-5KDS2RRP.js.map} +0 -0
  340. /package/dist/{verify-66RHOW7N.js.map → verify-QK76NJ4G.js.map} +0 -0
  341. /package/dist/{walk-2RWEOCAS.js.map → walk-XQCBKSBW.js.map} +0 -0
  342. /package/dist/{withdraw-accessible-CLMZEHQT.js.map → withdraw-accessible-FMN4LPJZ.js.map} +0 -0
@@ -0,0 +1,23 @@
1
+ import {
2
+ SCHEMAS_COLLECTION,
3
+ loadPersistedSchema,
4
+ loadPersistedSchemaEntry,
5
+ savePersistedSchema
6
+ } from "./chunk-HK4XTXO4.js";
7
+ import "./chunk-HA6ZQWA2.js";
8
+ import "./chunk-J3JIYFYL.js";
9
+ import "./chunk-XS6DLN67.js";
10
+ import "./chunk-NM3IFKBL.js";
11
+ import "./chunk-45QPICLE.js";
12
+ import "./chunk-LP7BEXCT.js";
13
+ import "./chunk-37WOJQWY.js";
14
+ import "./chunk-JC75UBMT.js";
15
+ import "./chunk-FZCGIJEJ.js";
16
+ import "./chunk-PZ5AY32C.js";
17
+ export {
18
+ SCHEMAS_COLLECTION,
19
+ loadPersistedSchema,
20
+ loadPersistedSchemaEntry,
21
+ savePersistedSchema
22
+ };
23
+ //# sourceMappingURL=storage-GR7KZRH4.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  loadFence,
3
3
  saveFence
4
- } from "./chunk-Q3XSMOZM.js";
4
+ } from "./chunk-SAL5X5OK.js";
5
5
  import {
6
6
  NOYDB_FORMAT_VERSION
7
- } from "./chunk-CKZW6P5V.js";
7
+ } from "./chunk-JC75UBMT.js";
8
8
  import "./chunk-PZ5AY32C.js";
9
9
 
10
10
  // src/with-shape/schema-update/client-registry.ts
@@ -139,4 +139,4 @@ function unref(timer) {
139
139
  export {
140
140
  StoreCoordinationProvider
141
141
  };
142
- //# sourceMappingURL=store-coordination-provider-HPYVFJCV.js.map
142
+ //# sourceMappingURL=store-coordination-provider-5KDS2RRP.js.map
@@ -2,17 +2,17 @@ import {
2
2
  PresenceHandle,
3
3
  SyncEngine,
4
4
  SyncTransaction
5
- } from "../chunk-W5D62AQD.js";
5
+ } from "../chunk-VXZNSPJM.js";
6
6
  import "../chunk-VQNJ7UZL.js";
7
- import "../chunk-QQJXBZCO.js";
8
- import "../chunk-FQQF23MC.js";
9
- import "../chunk-MSPNM2OM.js";
10
- import "../chunk-SYMS4546.js";
11
- import "../chunk-X6CMGUAG.js";
7
+ import "../chunk-HA6ZQWA2.js";
8
+ import "../chunk-J3JIYFYL.js";
9
+ import "../chunk-XS6DLN67.js";
10
+ import "../chunk-NM3IFKBL.js";
11
+ import "../chunk-45QPICLE.js";
12
12
  import "../chunk-LP7BEXCT.js";
13
- import "../chunk-HUS3J5WM.js";
14
- import "../chunk-CKZW6P5V.js";
15
- import "../chunk-FH542DDY.js";
13
+ import "../chunk-37WOJQWY.js";
14
+ import "../chunk-JC75UBMT.js";
15
+ import "../chunk-FZCGIJEJ.js";
16
16
  import "../chunk-PZ5AY32C.js";
17
17
 
18
18
  // src/with-party/team/sync-active.ts
@@ -5,7 +5,7 @@ import {
5
5
  listCredentials,
6
6
  putCredential,
7
7
  withTeam
8
- } from "../chunk-OOLO4LQG.js";
8
+ } from "../chunk-NRYNRSGV.js";
9
9
  import {
10
10
  NO_TEAM,
11
11
  deriveMagicLinkContentKey,
@@ -23,7 +23,7 @@ import {
23
23
  unwrapMagicLinkGrant,
24
24
  updateAuthenticator,
25
25
  writeMagicLinkGrant
26
- } from "../chunk-IP2QBAGS.js";
26
+ } from "../chunk-3QSOFZQB.js";
27
27
  import {
28
28
  burnPaperRecoveryEntry,
29
29
  loadPaperRecoveryEntries,
@@ -32,14 +32,14 @@ import {
32
32
  savePaperRecoveryEntries,
33
33
  unwrapDeksFromBlob,
34
34
  unwrapDeksFromPaperEntry
35
- } from "../chunk-6QILBDZU.js";
35
+ } from "../chunk-S7TAPIRS.js";
36
36
  import {
37
37
  PresenceHandle,
38
38
  SyncEngine,
39
39
  SyncTransaction
40
- } from "../chunk-W5D62AQD.js";
40
+ } from "../chunk-VXZNSPJM.js";
41
41
  import "../chunk-VQNJ7UZL.js";
42
- import "../chunk-4R4Q64W5.js";
42
+ import "../chunk-KKYEZCQG.js";
43
43
  import {
44
44
  SYNC_CREDENTIALS_COLLECTION,
45
45
  buildRecipientKeyringFile,
@@ -57,19 +57,19 @@ import {
57
57
  persistKeyring,
58
58
  revoke,
59
59
  updateKeyringIdentity
60
- } from "../chunk-5ZOSG3RJ.js";
61
- import "../chunk-4N5QFSNQ.js";
62
- import "../chunk-QQJXBZCO.js";
63
- import "../chunk-FQQF23MC.js";
64
- import "../chunk-MSPNM2OM.js";
65
- import "../chunk-SYMS4546.js";
66
- import "../chunk-X6CMGUAG.js";
60
+ } from "../chunk-CCIR2OJH.js";
61
+ import "../chunk-JGUZMC3I.js";
62
+ import "../chunk-HA6ZQWA2.js";
63
+ import "../chunk-J3JIYFYL.js";
64
+ import "../chunk-XS6DLN67.js";
65
+ import "../chunk-NM3IFKBL.js";
66
+ import "../chunk-45QPICLE.js";
67
67
  import "../chunk-LP7BEXCT.js";
68
- import "../chunk-HUS3J5WM.js";
69
- import "../chunk-CKZW6P5V.js";
68
+ import "../chunk-37WOJQWY.js";
69
+ import "../chunk-JC75UBMT.js";
70
70
  import {
71
71
  TeamNotEnabledError
72
- } from "../chunk-FH542DDY.js";
72
+ } from "../chunk-FZCGIJEJ.js";
73
73
  import "../chunk-PZ5AY32C.js";
74
74
  export {
75
75
  NO_TEAM,
@@ -9,19 +9,19 @@ import {
9
9
  listAtTier,
10
10
  putAtTier,
11
11
  withTiers
12
- } from "../chunk-H6HM6CVR.js";
13
- import "../chunk-4R4Q64W5.js";
14
- import "../chunk-QQJXBZCO.js";
15
- import "../chunk-FQQF23MC.js";
16
- import "../chunk-MSPNM2OM.js";
17
- import "../chunk-SYMS4546.js";
18
- import "../chunk-X6CMGUAG.js";
12
+ } from "../chunk-AKEOHKMT.js";
13
+ import "../chunk-KKYEZCQG.js";
14
+ import "../chunk-HA6ZQWA2.js";
15
+ import "../chunk-J3JIYFYL.js";
16
+ import "../chunk-XS6DLN67.js";
17
+ import "../chunk-NM3IFKBL.js";
18
+ import "../chunk-45QPICLE.js";
19
19
  import "../chunk-LP7BEXCT.js";
20
- import "../chunk-HUS3J5WM.js";
21
- import "../chunk-CKZW6P5V.js";
20
+ import "../chunk-37WOJQWY.js";
21
+ import "../chunk-JC75UBMT.js";
22
22
  import {
23
23
  TiersNotEnabledError
24
- } from "../chunk-FH542DDY.js";
24
+ } from "../chunk-FZCGIJEJ.js";
25
25
  import "../chunk-PZ5AY32C.js";
26
26
  export {
27
27
  NO_TIERS,
package/dist/to/index.js CHANGED
@@ -4,7 +4,7 @@ import {
4
4
  NetworkError,
5
5
  PodVersionConflictError,
6
6
  StoreCapabilityError
7
- } from "../chunk-FH542DDY.js";
7
+ } from "../chunk-FZCGIJEJ.js";
8
8
  import "../chunk-PZ5AY32C.js";
9
9
  export {
10
10
  BundleVersionConflictError,
package/dist/tx/index.js CHANGED
@@ -3,9 +3,9 @@ import {
3
3
  TxContext,
4
4
  TxVault,
5
5
  runTransaction
6
- } from "../chunk-H44ZE4IE.js";
6
+ } from "../chunk-AAIIDAUC.js";
7
7
  import "../chunk-ZJADGNYF.js";
8
- import "../chunk-FH542DDY.js";
8
+ import "../chunk-FZCGIJEJ.js";
9
9
  import "../chunk-PZ5AY32C.js";
10
10
 
11
11
  // src/with-commit/tx/dry-run.ts
@@ -44,7 +44,7 @@ async function runDryRun(db, fn) {
44
44
  const gctx = { existing: before, vault: facade, userId: v.userId, role: v.role };
45
45
  try {
46
46
  await registry.runChecks(op.collectionName, after, gctx);
47
- const { GuardExecutor } = await import("../executor-GZWMTOXB.js");
47
+ const { GuardExecutor } = await import("../executor-UPSH5O3F.js");
48
48
  for (const g of guards) {
49
49
  await GuardExecutor.checkFrozenFields(g, op.id, before, after);
50
50
  }
@@ -3,7 +3,7 @@ import {
3
3
  } from "../chunk-PY4KJPYU.js";
4
4
  import {
5
5
  FilenameSanitizationError
6
- } from "../chunk-FH542DDY.js";
6
+ } from "../chunk-FZCGIJEJ.js";
7
7
  import "../chunk-PZ5AY32C.js";
8
8
 
9
9
  // src/kernel/util/sanitize-filename.ts
@@ -2,10 +2,10 @@ import {
2
2
  blindedEqual,
3
3
  evaluateKofN,
4
4
  openVdigPayload
5
- } from "./chunk-MSPNM2OM.js";
5
+ } from "./chunk-XS6DLN67.js";
6
6
  import {
7
7
  dualReadSealedSlot
8
- } from "./chunk-SYMS4546.js";
8
+ } from "./chunk-NM3IFKBL.js";
9
9
  import {
10
10
  VDIG_ITERATIONS,
11
11
  normalizeForVerify,
@@ -14,11 +14,11 @@ import {
14
14
  import {
15
15
  base64ToBuffer,
16
16
  generateSalt
17
- } from "./chunk-HUS3J5WM.js";
17
+ } from "./chunk-37WOJQWY.js";
18
18
  import {
19
19
  ClassifiedConfigError,
20
20
  ClassifiedVerifyError
21
- } from "./chunk-FH542DDY.js";
21
+ } from "./chunk-FZCGIJEJ.js";
22
22
  import "./chunk-PZ5AY32C.js";
23
23
 
24
24
  // src/kernel/enclave/classify/verify.ts
@@ -136,4 +136,4 @@ export {
136
136
  verifyDigestField,
137
137
  verifyTextField
138
138
  };
139
- //# sourceMappingURL=verify-66RHOW7N.js.map
139
+ //# sourceMappingURL=verify-QK76NJ4G.js.map
@@ -99,6 +99,15 @@ export interface LookupDictCompat {
99
99
  * snapshot seam).
100
100
  */
101
101
  export declare function collectLookupDictCompat(lookupFields: Record<string, LookupDescriptor> | undefined): LookupDictCompat;
102
+ /**
103
+ * Reserved-dict deps of a set of named collections (#653) — the `_dict_*`
104
+ * collections partial sync must auto-include alongside a `collections`
105
+ * filter, mirroring `SyncEngine`'s existing satellite-pair expansion.
106
+ * One hop is provably complete: `vault.collection()` refuses `_dict_*`
107
+ * names, so a dict can never itself declare lookup fields — no
108
+ * dict-of-dict chain to recurse through.
109
+ */
110
+ export declare function reservedDictDepsOf(names: readonly string[], dictKeyFieldRegistry: ReadonlyMap<string, Record<string, string>>): readonly string[];
102
111
  /**
103
112
  * A lookup dimension's sync membership/altKey table, materialized from its
104
113
  * backing rows (#650 Task 3). `keys` is every canonical key present;
@@ -86,12 +86,33 @@ export declare function moneyFieldClause(field: string, op: Operator, value: unk
86
86
  * canonical write's probe hits directly (no canonicalization needed for the
87
87
  * common case); this note covers the pre-declaration tail.
88
88
  *
89
- * Boundary: this guarantee is EAGER-mode only (`CollectionIndexes`, this
90
- * file's index probe). LAZY mode's `PersistedCollectionIndex`
91
- * (`with-lookup/indexing/persisted-indexes.ts`) keeps its own raw bucketing
92
- * and does not consult money canonicalization — a lazy-mode mixed-era record
93
- * can still diverge between its fast path and a forced scan. Tracked
94
- * separately, not fixed here.
89
+ * Boundary — CLOSED for the index layer (#677): LAZY mode's
90
+ * `PersistedCollectionIndex` (`with-lookup/indexing/persisted-indexes.ts`)
91
+ * now consults the SAME `ViaPipeline.canonicalizeIndexKey` at every
92
+ * bucket-mutation site (`ingest`/`upsert`/`remove`) as `CollectionIndexes`
93
+ * does, and its query path (`with-lookup/indexing/lazy-builder.ts`'s
94
+ * `resolveCandidateIds()`) canonicalizes the `==`/`in` probe value before
95
+ * calling `lookupEqual`/`lookupIn` — mirroring `candidateRecords()` above
96
+ * resolving `indexValue` before its own `lookupEqual`/`lookupIn` call. A
97
+ * lazy-mode mixed-era record's bucket and a canonicalized probe now agree,
98
+ * the same as eager mode.
99
+ *
100
+ * Residual boundary CLOSED by #684: `LazyQuery.where()` now builds
101
+ * `clause.via` exactly like `Query.where()`/`ScanBuilder.where()` do, and
102
+ * `LazyQuery`'s post-filter (`lazy-builder.ts`'s `toArray()`) runs it
103
+ * against the RAW record (a dedicated raw-fetch seam on `Collection`, split
104
+ * out of `get()`) instead of the DECODED one — `clause.via.evaluate` (this
105
+ * file's {@link evaluateMoneyClause}) now sees the same stored-form
106
+ * operand/actual-value space eager's `filterRecords` does, at any `scale`.
107
+ * Only survivors are decoded (`present()`) on the way out. Money RANGE
108
+ * clauses additionally route around `PersistedCollectionIndex.lookupRange`
109
+ * (raw/typed, wrong space for scaled-int money) — `resolveCandidateIds()`
110
+ * enumerates the field's indexed ids instead and lets this now-via-aware
111
+ * post-filter apply the correct BigInt-exact comparison. `lazyQuery().
112
+ * where()` on a money field now agrees with `scan().where()` /
113
+ * `query().where()` at every `scale` — for `.where()` results specifically.
114
+ * `orderBy` ordering is a separate, still-open lazy-vs-eager divergence,
115
+ * tracked in #695.
95
116
  */
96
117
  export declare function moneyIndexProbe(op: Operator, payload: MoneyWhereOperand): unknown | undefined;
97
118
  /**
@@ -3,19 +3,19 @@ import {
3
3
  } from "./chunk-VYYM3MEN.js";
4
4
  import {
5
5
  derivePersistedSchema
6
- } from "./chunk-QLLKLFE2.js";
6
+ } from "./chunk-P2LJI6JE.js";
7
7
  import {
8
8
  loadPersistedSchema
9
- } from "./chunk-C7NTK5I3.js";
10
- import "./chunk-QQJXBZCO.js";
11
- import "./chunk-FQQF23MC.js";
12
- import "./chunk-MSPNM2OM.js";
13
- import "./chunk-SYMS4546.js";
14
- import "./chunk-X6CMGUAG.js";
9
+ } from "./chunk-HK4XTXO4.js";
10
+ import "./chunk-HA6ZQWA2.js";
11
+ import "./chunk-J3JIYFYL.js";
12
+ import "./chunk-XS6DLN67.js";
13
+ import "./chunk-NM3IFKBL.js";
14
+ import "./chunk-45QPICLE.js";
15
15
  import "./chunk-LP7BEXCT.js";
16
- import "./chunk-HUS3J5WM.js";
17
- import "./chunk-CKZW6P5V.js";
18
- import "./chunk-FH542DDY.js";
16
+ import "./chunk-37WOJQWY.js";
17
+ import "./chunk-JC75UBMT.js";
18
+ import "./chunk-FZCGIJEJ.js";
19
19
  import "./chunk-PZ5AY32C.js";
20
20
 
21
21
  // src/with-shape/introspection/walk.ts
@@ -238,4 +238,4 @@ function summariseAggregateOp(value) {
238
238
  export {
239
239
  dumpVaultSchema
240
240
  };
241
- //# sourceMappingURL=walk-2RWEOCAS.js.map
241
+ //# sourceMappingURL=walk-XQCBKSBW.js.map
@@ -6,18 +6,18 @@ import {
6
6
  assertCanImport,
7
7
  canExport,
8
8
  canImport
9
- } from "../chunk-JOQ53DMI.js";
10
- import "../chunk-5ZOSG3RJ.js";
11
- import "../chunk-4N5QFSNQ.js";
12
- import "../chunk-QQJXBZCO.js";
13
- import "../chunk-FQQF23MC.js";
14
- import "../chunk-MSPNM2OM.js";
15
- import "../chunk-SYMS4546.js";
16
- import "../chunk-X6CMGUAG.js";
9
+ } from "../chunk-K2DLLK34.js";
10
+ import "../chunk-CCIR2OJH.js";
11
+ import "../chunk-JGUZMC3I.js";
12
+ import "../chunk-HA6ZQWA2.js";
13
+ import "../chunk-J3JIYFYL.js";
14
+ import "../chunk-XS6DLN67.js";
15
+ import "../chunk-NM3IFKBL.js";
16
+ import "../chunk-45QPICLE.js";
17
17
  import "../chunk-LP7BEXCT.js";
18
- import "../chunk-HUS3J5WM.js";
19
- import "../chunk-CKZW6P5V.js";
20
- import "../chunk-FH542DDY.js";
18
+ import "../chunk-37WOJQWY.js";
19
+ import "../chunk-JC75UBMT.js";
20
+ import "../chunk-FZCGIJEJ.js";
21
21
  import "../chunk-PZ5AY32C.js";
22
22
  export {
23
23
  ServiceBus,
@@ -199,6 +199,11 @@ export declare function runTransaction<T>(db: Noydb, fn: (tx: TxContext) => Prom
199
199
  * state can still reconstruct it by walking the ledger through the
200
200
  * failed-tx timestamp.
201
201
  *
202
+ * Delegates the reverse/best-effort/raw-revert shape to the shared
203
+ * `bestEffortRevert` helper (`kernel/best-effort-revert.ts`); the cache
204
+ * invalidation below rides along as that helper's per-leg `compensate`
205
+ * callback, gated on `db` exactly as before.
206
+ *
202
207
  * @internal — shared between `runTransaction` and
203
208
  * `Collection.putManyAtomic`. Both register source ops + nested
204
209
  * derivation side-effect ops onto `_executed`; this helper unwinds the
@@ -25,6 +25,7 @@
25
25
  import type { FieldClause, Operator } from '../../kernel/query/predicate.js';
26
26
  import type { PersistedCollectionIndex } from './persisted-indexes.js';
27
27
  import type { QueryField } from '../../kernel/types.js';
28
+ import type { ViaPipeline } from '../../kernel/via/pipeline.js';
28
29
  export interface LazyOrderBy {
29
30
  readonly field: string;
30
31
  readonly direction: 'asc' | 'desc';
@@ -36,10 +37,42 @@ export interface LazyOrderBy {
36
37
  export interface LazyQuerySource<T> {
37
38
  readonly collectionName: string;
38
39
  readonly persistedIndexes: PersistedCollectionIndex;
40
+ /**
41
+ * Per-field bucket-key canonicalizer (#677 — lazy twin of the eager
42
+ * `candidateRecords()` probe-resolution in `kernel/query/builder.ts`).
43
+ * Consulted in `resolveCandidateIds()` for `==`/`in` clause values
44
+ * BEFORE calling `lookupEqual`/`lookupIn`, so a mixed-era stored value
45
+ * (money) probes the SAME canonical bucket the write path now
46
+ * populates. A narrow closure — not the whole `ViaPipeline` — keeps
47
+ * the with-lookup/kernel seam thin. `undefined` (no via, or no binding
48
+ * covers the field) is the common case: falls back to the raw value,
49
+ * unchanged from today.
50
+ */
51
+ canonicalizeIndexKey?(field: string, value: unknown): string | undefined;
39
52
  /** Ensure `_idx/<field>/*` side-cars have been bulk-loaded into the mirror. */
40
53
  ensurePersistedIndexesLoaded(): Promise<void>;
41
- /** Decrypt one record by id, or return null if it's gone. */
42
- getRecord(id: string): Promise<T | null>;
54
+ /**
55
+ * Decrypt one record by id in RAW (pre-`present()`, stored-form) shape,
56
+ * or return null if it's gone (#684 — the raw-fetch seam). Used by the
57
+ * post-filter (`toArray()`) so a `clause.via.evaluate` (e.g. money) sees
58
+ * the same operand/actual-value space as eager's `filterRecords` — the
59
+ * DECODED form (e.g. money's canonical decimal) is only materialized
60
+ * for survivors, via {@link decodeRecord}.
61
+ */
62
+ getRawRecord(id: string): Promise<unknown>;
63
+ /**
64
+ * Apply this collection's locale/virtual-field decode (`present()`) to a
65
+ * RAW record already known to match — the output-side twin of
66
+ * {@link getRawRecord}. Mirrors eager's `Query.decodeVia`.
67
+ */
68
+ decodeRecord(record: unknown): Promise<T>;
69
+ /**
70
+ * This collection's compiled Via pipeline (money, i18n, …), read lazily
71
+ * (a method, not a captured value) so a late `_setVia` (#666) is honored
72
+ * — same closure discipline as {@link canonicalizeIndexKey}. `undefined`
73
+ * when the collection has no Via-covered fields.
74
+ */
75
+ via(): ViaPipeline | undefined;
43
76
  }
44
77
  interface LazyPlan {
45
78
  readonly clauses: readonly FieldClause[];
@@ -97,6 +97,23 @@ export declare function compositeKey(fields: readonly string[]): string;
97
97
  export declare class PersistedCollectionIndex {
98
98
  private readonly indexes;
99
99
  private readonly defs;
100
+ /**
101
+ * Per-field bucket-key canonicalizer (#677 — lazy twin of #672's
102
+ * `CollectionIndexes.setCanonicalizer`), registered ONCE via
103
+ * {@link setCanonicalizer} when the collection wires indexing up
104
+ * (money-aware via `ViaPipeline.canonicalizeIndexKey`). Consulted by
105
+ * EVERY bucket-mutation site — `ingest`/`upsert`/`remove` — so bucket
106
+ * membership is symmetric: a legacy non-canonical stored value (e.g.
107
+ * `'0100'`) and a canonical one (`'100'`) land in the SAME bucket,
108
+ * mirroring `eager-indexes.ts`'s `addToIndex`/`removeFromIndex`.
109
+ */
110
+ private canonicalize?;
111
+ /**
112
+ * Register the bucket-key canonicalizer. Called once, where the
113
+ * collection constructs its indexing state — safe to call again (the
114
+ * closure is simply replaced) but there is normally only one caller.
115
+ */
116
+ setCanonicalizer(fn: (field: string, value: unknown) => string | undefined): void;
100
117
  /**
101
118
  * Declare a single-field index. Subsequent `upsert` / `ingest` calls
102
119
  * populate the in-memory mirror; calls before `declare` are no-ops
@@ -156,12 +173,21 @@ export declare class PersistedCollectionIndex {
156
173
  * back to scan or throws `IndexRequiredError`). Returns a shared empty
157
174
  * set if the field is declared but no record matches — that set MUST
158
175
  * NOT be mutated by the caller.
176
+ *
177
+ * `value` is bucketed via the plain {@link stringifyKey} — it is NOT
178
+ * canonicalized here. Callers on a Via-covered field (money) canonicalize
179
+ * `value` themselves BEFORE calling (see `lazy-builder.ts`'s
180
+ * `resolveCandidateIds()`, #677) — the SAME caller-canonicalizes split
181
+ * `eager-indexes.ts`'s `lookupEqual`/`lookupIn` use (see `kernel/query/
182
+ * builder.ts`'s `candidateRecords()`), so probing here twice never
183
+ * double-canonicalizes.
159
184
  */
160
185
  lookupEqual(field: string, value: unknown): ReadonlySet<string> | null;
161
186
  /**
162
187
  * Set lookup — return the union of record ids whose `field` matches any
163
188
  * of `values`. Returns `null` if the field is not declared. Returns a
164
- * fresh (non-shared) Set — safe for the caller to mutate.
189
+ * fresh (non-shared) Set — safe for the caller to mutate. Same
190
+ * caller-canonicalizes contract as {@link lookupEqual} (#677).
165
191
  */
166
192
  lookupIn(field: string, values: readonly unknown[]): ReadonlySet<string> | null;
167
193
  /**
@@ -174,6 +200,23 @@ export declare class PersistedCollectionIndex {
174
200
  * Supported ops: `'<'`, `'<='`, `'>'`, `'>='`, `'between'`. For
175
201
  * `'between'`, `value` is `[lo, hi]` and both bounds are inclusive
176
202
  * (matches the eager-mode operator contract in `predicate.ts`).
203
+ *
204
+ * NOT canonicalized (#677): this method compares `value` against the
205
+ * ORIGINAL TYPED `state.values`, not a stringified bucket key, so a
206
+ * `canonicalizeIndexKey`-shaped (`string | undefined`) result would not
207
+ * even type-check as a bound here. This does NOT mirror eager mode the
208
+ * way `lookupEqual`/`lookupIn` do: `moneyIndexProbe` (`via/money/
209
+ * where.ts`) never emits a range probe, so EAGER mode's `candidateRecords`
210
+ * never calls an index for a range clause and always scans.
211
+ *
212
+ * LAZY mode's `resolveCandidateIds()` (`lazy-builder.ts`) no longer
213
+ * dispatches a Via-covered (e.g. money) range clause through THIS method
214
+ * at all (#684) — it enumerates the field's indexed ids via `orderedBy()`
215
+ * instead and leaves the raw/typed comparison here for the (now
216
+ * Via-aware) post-filter to redo correctly in scaled-int space. A
217
+ * NON-via range clause still dispatches through this method exactly as
218
+ * before — the raw/typed comparison here is correct and sufficient for
219
+ * fields with no decode-transforming Via binding.
177
220
  */
178
221
  lookupRange(field: string, op: '<' | '<=' | '>' | '>=' | 'between', value: unknown): ReadonlySet<string> | null;
179
222
  /**
@@ -57,6 +57,15 @@ export declare class SyncEngine {
57
57
  private reservedLookup?;
58
58
  /** Wire the reserved-lookup source (#650 Task 4). */
59
59
  setReservedLookupSource(source: ReservedLookupSource): void;
60
+ /** #653: expands a (pair-expanded) collection-name filter to include the reserved `_dict_*`
61
+ * collections those names depend on via their lookup fields — mirrors `pairExpander` so a
62
+ * partial `push`/`pull({collections:[...]})` never drops the dictionary a named collection's
63
+ * labels/membership rely on. Wired unconditionally from the vault's `dictKeyFieldRegistry` via
64
+ * `setReservedDictExpander` (returns `[]` when the vault has no dict-backed collections); only
65
+ * `undefined` on a standalone engine that was never vault-attached. */
66
+ private reservedDictExpander?;
67
+ /** Wire the reserved-dict expansion function (#653). Same injection pattern as `setPairExpander`. */
68
+ setReservedDictExpander(expander: (names: readonly string[]) => readonly string[]): void;
60
69
  constructor(opts: {
61
70
  local: NoydbStore;
62
71
  remote: NoydbStore;
@@ -7,10 +7,11 @@
7
7
  *
8
8
  * Both legs are driven through `Collection.put`/`.delete` (encryption,
9
9
  * ledger, history, cache, sync-dirty, change-emit all fire normally); only
10
- * the REVERT writes go straight to the raw adapter, mirroring
11
- * `revertExecuted` (`with-commit/tx/transaction.ts:610`) — re-implemented
12
- * locally rather than imported, since with-commit is a gated service this
13
- * always-on satellite path must not depend on.
10
+ * the REVERT writes go straight to the raw adapter, via the shared
11
+ * `bestEffortRevert` helper (`kernel/best-effort-revert.ts`) also used by
12
+ * `revertExecuted` (`with-commit/tx/transaction.ts`) — a neutral kernel-level
13
+ * home so this always-on satellite path can share the revert shape without
14
+ * depending on with-commit, a gated service.
14
15
  *
15
16
  * `deps.base()`/`deps.satellite()` may return either a raw `Collection` or
16
17
  * one of this package's proxies (`makeSatelliteProxy` / `makeBaseProxy`) —
@@ -0,0 +1,26 @@
1
+ /** The narrow slice of `Collection` the migration pass needs (mirrors `fanout.ts`'s `CollectionHandle` narrowing). */
2
+ export interface SatelliteCekMigrationTarget {
3
+ /** Public config snapshot (`Collection.getConfig()`) — used to confirm the handle is genuinely in per-record-CEK mode before walking. */
4
+ getConfig(): {
5
+ readonly perRecordKeys?: boolean;
6
+ } | undefined;
7
+ _applyCutoverTransform(transform: (doc: Record<string, unknown>) => Record<string, unknown>): Promise<number>;
8
+ }
9
+ export interface SatelliteCekMigrationResult {
10
+ /** Records touched by this call (both freshly minted and already-migrated re-touches on a resumed run). */
11
+ readonly migrated: number;
12
+ }
13
+ /**
14
+ * Re-encrypt every record in `coll` under a per-record CEK. `coll` must be
15
+ * a collection handle already opened with `perRecordKeys: true` — see the
16
+ * file header for how the caller gets one past R-S7. Throws
17
+ * `SatelliteConfigError` (does NOT proceed) if `coll` is not genuinely in
18
+ * per-record-CEK mode — see the file header's mode-assertion note.
19
+ * Idempotent/resumable: safe to call again after a partial failure. NOT
20
+ * fenced against concurrent writers — see the file header's no-quiesce
21
+ * precondition; run this before the collection serves traffic.
22
+ *
23
+ * @param name The satellite collection's name — used only for the error
24
+ * message below; identical to what the caller passed to `vault.collection()`.
25
+ */
26
+ export declare function migrateSatelliteCek(name: string, coll: SatelliteCekMigrationTarget): Promise<SatelliteCekMigrationResult>;
@@ -11,6 +11,17 @@ export interface PairingMarker {
11
11
  readonly base: string;
12
12
  readonly fieldsHash: string;
13
13
  readonly joined?: string | undefined;
14
+ /**
15
+ * Lifetime epoch (#597) — an opaque, stable-per-collection-lifetime stamp
16
+ * minted the first time this marker is persisted and carried forward
17
+ * unchanged by every later re-declare of the SAME collection. Optional:
18
+ * markers persisted before this field existed have none. Deliberately
19
+ * excluded from `satelliteMarkersEqual` — see that function's comment.
20
+ * ADDITIVE ONLY today: there is no delete-collection API, so a stale
21
+ * marker on a reused name is unreachable; the epoch-MISMATCH rejection
22
+ * this would enable is a deferred follow-up once name reuse is possible.
23
+ */
24
+ readonly epoch?: string;
14
25
  }
15
26
  /**
16
27
  * The full-record handle — deliberately NARROW (spec § The model): never a
@@ -0,0 +1,28 @@
1
+ import {
2
+ FROZEN_SNAPSHOTS_COLLECTION,
3
+ freezeAndDeleteClosure,
4
+ freezeSnapshotOnly,
5
+ randomId,
6
+ withdrawAccessibleData
7
+ } from "./chunk-NEYKOESM.js";
8
+ import "./chunk-QF5LGMSV.js";
9
+ import "./chunk-PH7G7ZI7.js";
10
+ import "./chunk-FJTWLQV3.js";
11
+ import "./chunk-HA6ZQWA2.js";
12
+ import "./chunk-J3JIYFYL.js";
13
+ import "./chunk-XS6DLN67.js";
14
+ import "./chunk-NM3IFKBL.js";
15
+ import "./chunk-45QPICLE.js";
16
+ import "./chunk-LP7BEXCT.js";
17
+ import "./chunk-37WOJQWY.js";
18
+ import "./chunk-JC75UBMT.js";
19
+ import "./chunk-FZCGIJEJ.js";
20
+ import "./chunk-PZ5AY32C.js";
21
+ export {
22
+ FROZEN_SNAPSHOTS_COLLECTION,
23
+ freezeAndDeleteClosure,
24
+ freezeSnapshotOnly,
25
+ randomId,
26
+ withdrawAccessibleData
27
+ };
28
+ //# sourceMappingURL=withdraw-accessible-FMN4LPJZ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noy-db/hub",
3
- "version": "0.3.0-pre.11",
3
+ "version": "0.3.0-pre.12",
4
4
  "description": "Zero-knowledge, offline-first, encrypted document store — core library with AES-256-GCM, PBKDF2, multi-user keyring, and sync engine",
5
5
  "license": "MIT",
6
6
  "author": "vLannaAi <vicio@lanna.ai>",
@@ -192,14 +192,14 @@
192
192
  "node": ">=22.0.0"
193
193
  },
194
194
  "dependencies": {
195
- "@noy-db/attestation": "0.3.0-pre.11"
195
+ "@noy-db/attestation": "0.3.0-pre.12"
196
196
  },
197
197
  "devDependencies": {
198
198
  "@types/node": "^22.0.0",
199
199
  "esbuild": "^0.25.0",
200
200
  "zod": "^4.0.0",
201
201
  "zod-to-json-schema": "^3.25.2",
202
- "@noy-db/on-shamir": "0.3.0-pre.11"
202
+ "@noy-db/on-shamir": "0.3.0-pre.12"
203
203
  },
204
204
  "peerDependencies": {
205
205
  "zod-to-json-schema": "^3.25.0"