@noy-db/hub 0.3.0-pre.7 → 0.3.0-pre.8

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 (240) hide show
  1. package/dist/adapter/index.d.ts +1 -1
  2. package/dist/aggregate/index.d.ts +2 -2
  3. package/dist/{api-Z66JMGOU.js → api-JDWL67WL.js} +6 -6
  4. package/dist/as/index.d.ts +3 -3
  5. package/dist/as/index.js +5 -5
  6. package/dist/at/index.d.ts +1 -1
  7. package/dist/attestation/index.d.ts +2 -2
  8. package/dist/attestation/index.js +12 -12
  9. package/dist/{backup-7PX6NDKT.js → backup-WRGNTGJF.js} +6 -6
  10. package/dist/blobs/index.d.ts +3 -3
  11. package/dist/blobs/index.js +5 -5
  12. package/dist/bundle/index.d.ts +4 -4
  13. package/dist/bundle/index.js +14 -14
  14. package/dist/{bundle-BN_VSq5L.d.ts → bundle-DzWtVw7w.d.ts} +1 -1
  15. package/dist/cargo/index.d.ts +3 -3
  16. package/dist/cargo/index.js +13 -13
  17. package/dist/{chunk-2L7PPF2C.js → chunk-25G7PUTA.js} +7 -7
  18. package/dist/{chunk-7AERMJP6.js → chunk-2PJB6H3H.js} +2 -2
  19. package/dist/{chunk-YSU2E4GZ.js → chunk-37JZR7CY.js} +18 -5
  20. package/dist/chunk-37JZR7CY.js.map +1 -0
  21. package/dist/{chunk-DJ4TNF4N.js → chunk-3KBK5LU4.js} +3 -3
  22. package/dist/{chunk-62TTFKU4.js → chunk-3YKBGS3I.js} +4 -4
  23. package/dist/{chunk-YSJG4L4A.js → chunk-44DV37ZV.js} +2 -2
  24. package/dist/{chunk-E3LURVGQ.js → chunk-4VDFUBTS.js} +3 -3
  25. package/dist/{chunk-5K7KZMXG.js → chunk-56JB2BGI.js} +355 -74
  26. package/dist/chunk-56JB2BGI.js.map +1 -0
  27. package/dist/{chunk-IEKK2XI4.js → chunk-5HRJQSKN.js} +3 -3
  28. package/dist/{chunk-PE25C4QL.js → chunk-5YBUFCFF.js} +5 -5
  29. package/dist/{chunk-J54DC5IC.js → chunk-62APEMF3.js} +3 -3
  30. package/dist/{chunk-RUWEHFRB.js → chunk-723XB5NX.js} +3 -3
  31. package/dist/{chunk-JIW3Q5JN.js → chunk-7TAV3BFQ.js} +3 -3
  32. package/dist/{chunk-CND5WQLO.js → chunk-BJ2XF2RC.js} +3 -3
  33. package/dist/{chunk-H3MPSYCH.js → chunk-BM6E4MUT.js} +3 -3
  34. package/dist/{chunk-NO53W6O5.js → chunk-BTFTHF6Q.js} +2 -2
  35. package/dist/{chunk-DKGZIX6S.js → chunk-DCVVCJVB.js} +2 -2
  36. package/dist/{chunk-AG2PLGQ2.js → chunk-F3EKFGUS.js} +4 -4
  37. package/dist/{chunk-VUHXLL32.js → chunk-FWART3VA.js} +2 -2
  38. package/dist/{chunk-3CHNKEFI.js → chunk-FZK3JJJK.js} +3 -3
  39. package/dist/{chunk-VFG5YXWM.js → chunk-GDOOG5YQ.js} +2 -2
  40. package/dist/{chunk-T4NQMPBN.js → chunk-GLVXQU3E.js} +2 -2
  41. package/dist/{chunk-RHB7BOEO.js → chunk-I6URUNTD.js} +3 -3
  42. package/dist/{chunk-K6WHZBCO.js → chunk-IARAK3PK.js} +2 -2
  43. package/dist/{chunk-OFYY5Q4R.js → chunk-J5YUA6JB.js} +2 -2
  44. package/dist/{chunk-7F2P2NHX.js → chunk-J7OH6R4K.js} +3 -3
  45. package/dist/{chunk-WRLPV6SI.js → chunk-L6Q5NA22.js} +2 -2
  46. package/dist/{chunk-7L6EH6S7.js → chunk-M3OYTM5Z.js} +4 -4
  47. package/dist/{chunk-WGH3YV6Y.js → chunk-NTPWQH4S.js} +5 -5
  48. package/dist/{chunk-H7WQMGXH.js → chunk-P2PEPSPK.js} +2 -2
  49. package/dist/{chunk-J5YDMJHG.js → chunk-P6TZ3IVN.js} +7 -7
  50. package/dist/{chunk-WFBZRXS5.js → chunk-PMMV5SQC.js} +5 -5
  51. package/dist/{chunk-I6Q7YECW.js → chunk-PPPZIBKY.js} +2 -2
  52. package/dist/{chunk-HGQ6UNHE.js → chunk-PVC2FBCQ.js} +2 -2
  53. package/dist/{chunk-HBVEGUON.js → chunk-QABECTNN.js} +2 -2
  54. package/dist/{chunk-HV3VNAYI.js → chunk-QYMMMKOO.js} +4 -4
  55. package/dist/{chunk-AZPGB4OD.js → chunk-R4IVPJHN.js} +3 -3
  56. package/dist/{chunk-HCK2DFEK.js → chunk-REWTMYSF.js} +1 -1
  57. package/dist/{chunk-HCK2DFEK.js.map → chunk-REWTMYSF.js.map} +1 -1
  58. package/dist/{chunk-UJJJPKJO.js → chunk-TCGVRKOS.js} +2 -2
  59. package/dist/{chunk-U5IJHUHZ.js → chunk-TIAYXOEI.js} +2 -2
  60. package/dist/{chunk-GMZFHDSG.js → chunk-TUL5YQWF.js} +3 -3
  61. package/dist/{chunk-G5CFMITA.js → chunk-UMH35AQV.js} +2 -2
  62. package/dist/{chunk-VMRXI3IF.js → chunk-VVLOWY74.js} +3 -3
  63. package/dist/{chunk-WJEMUO32.js → chunk-W3JABOVB.js} +2 -2
  64. package/dist/{chunk-QAVFI23O.js → chunk-WPNP3NF5.js} +4 -4
  65. package/dist/{chunk-JT4A6OAJ.js → chunk-X5QZAJDB.js} +3 -3
  66. package/dist/{chunk-QYNBPDGO.js → chunk-X6VNIRHS.js} +2 -2
  67. package/dist/{chunk-CP3GUIAN.js → chunk-XBPUVQDO.js} +8 -8
  68. package/dist/classified/index.d.ts +3 -3
  69. package/dist/classified/index.js +1 -1
  70. package/dist/{collection-facade-JP6N7USE.js → collection-facade-EJVIN2BY.js} +9 -9
  71. package/dist/{config-drift-LRKCC3VZ.js → config-drift-RFEVGBKR.js} +3 -3
  72. package/dist/consent/index.d.ts +2 -2
  73. package/dist/consent/index.js +4 -4
  74. package/dist/crdt/index.d.ts +2 -2
  75. package/dist/{dead-filter-NZORV45S.js → dead-filter-RHMNYOXP.js} +2 -2
  76. package/dist/{delegation-FDOXXHNG.js → delegation-IHXOASHV.js} +5 -5
  77. package/dist/derivations/index.d.ts +3 -3
  78. package/dist/derivations/index.js +3 -3
  79. package/dist/{derive-JR2C5JFG.js → derive-CD3ZVIXK.js} +4 -4
  80. package/dist/{dev-unlock-CsOqX7O2.d.ts → dev-unlock-wgQ7Ci5I.d.ts} +1 -1
  81. package/dist/{enclave-7X5BUAMS.js → enclave-KGEUW2GL.js} +4 -4
  82. package/dist/{executor-6LHOV7MN.js → executor-MHUM2VZK.js} +4 -4
  83. package/dist/{export-accessible-7XLSZBGJ.js → export-accessible-Z3NSZZHN.js} +7 -7
  84. package/dist/{extract-partition-RM6EROS5.js → extract-partition-VSKT35JG.js} +10 -10
  85. package/dist/{fanout-sidecar-BDKLP5GG.js → fanout-sidecar-NBDKKCHT.js} +4 -4
  86. package/dist/forget/index.js +4 -4
  87. package/dist/guards/index.d.ts +3 -3
  88. package/dist/{hash-BPzm02Za.d.ts → hash-CwHnoKyW.d.ts} +1 -1
  89. package/dist/history/index.d.ts +3 -3
  90. package/dist/history/index.js +6 -6
  91. package/dist/i18n/index.d.ts +2 -2
  92. package/dist/i18n/index.js +7 -7
  93. package/dist/in/index.d.ts +1 -1
  94. package/dist/{index-CLucFLeN.d.ts → index-CTvUp94-.d.ts} +2 -2
  95. package/dist/{index-BJ3L-XcV.d.ts → index-Dn5GzPg_.d.ts} +243 -9
  96. package/dist/index.d.ts +26 -19
  97. package/dist/index.js +52 -51
  98. package/dist/index.js.map +1 -1
  99. package/dist/indexing/index.d.ts +2 -2
  100. package/dist/{issue-FJE2IHUI.js → issue-AEOL6RXA.js} +6 -6
  101. package/dist/kernel/index.d.ts +2 -2
  102. package/dist/kernel/index.js +3 -3
  103. package/dist/lazy/index.d.ts +2 -2
  104. package/dist/{ledger-EMDHRJJN.js → ledger-3LR3YO2W.js} +6 -6
  105. package/dist/liberate-XSEPRWEA.js +24 -0
  106. package/dist/{link-set-62Y36TOG.js → link-set-NSUIX6BR.js} +5 -5
  107. package/dist/materialized-views/index.d.ts +3 -3
  108. package/dist/materialized-views/index.js +4 -4
  109. package/dist/{mime-magic-BlE9fzn2.d.ts → mime-magic-CYbFNQ4h.d.ts} +1 -1
  110. package/dist/{noydb-4ZASGII5.js → noydb-POVTIVQ6.js} +23 -23
  111. package/dist/on/index.d.ts +1 -1
  112. package/dist/on/index.js +4 -4
  113. package/dist/overlay-views/index.d.ts +3 -3
  114. package/dist/periods/index.d.ts +2 -2
  115. package/dist/periods/index.js +15 -7
  116. package/dist/pod/index.d.ts +2 -2
  117. package/dist/pod/index.js +5 -5
  118. package/dist/{policy-SXPLTQS4.js → policy-Y7HL2KGA.js} +4 -4
  119. package/dist/portability/index.d.ts +2 -2
  120. package/dist/portability/index.js +6 -6
  121. package/dist/{post-register-DCJ2SRVG.js → post-register-KOFRTCDD.js} +4 -4
  122. package/dist/{public-envelope-CBRIJORQ.js → public-envelope-NC7SPNMV.js} +3 -3
  123. package/dist/query/index.d.ts +1 -1
  124. package/dist/{register-5NRE7HBZ.js → register-3D6R2MKN.js} +6 -6
  125. package/dist/{registry-DYTNLOJC.js → registry-AI4E46PD.js} +4 -4
  126. package/dist/{registry-5QLETK3Q.js → registry-WIX6QCV5.js} +4 -4
  127. package/dist/{request-withdrawal-5APB7RKN.js → request-withdrawal-GU4XS2R5.js} +9 -9
  128. package/dist/{reveal-R5N7JKA5.js → reveal-5Y777N5Q.js} +3 -3
  129. package/dist/{revoke-VELFCK7S.js → revoke-ZFETCLYV.js} +6 -6
  130. package/dist/satellites/index.d.ts +1 -1
  131. package/dist/sealed-record/index.d.ts +2 -2
  132. package/dist/sealed-record/index.js +6 -6
  133. package/dist/session/index.d.ts +3 -3
  134. package/dist/session/index.js +3 -3
  135. package/dist/shadow/index.d.ts +2 -2
  136. package/dist/{signer-IVU3B6DP.js → signer-GAIMQQ2J.js} +5 -5
  137. package/dist/snapshots/index.d.ts +2 -2
  138. package/dist/snapshots/index.js +5 -5
  139. package/dist/{stale-DP66HFT3.js → stale-77LP2EEF.js} +2 -2
  140. package/dist/{storage-RH5VBLLL.js → storage-KEXIXLGM.js} +5 -5
  141. package/dist/{store-coordination-provider-F5N5ASDF.js → store-coordination-provider-NJDDZ264.js} +3 -3
  142. package/dist/sync/index.d.ts +1 -1
  143. package/dist/sync/index.js +4 -4
  144. package/dist/team/index.d.ts +2 -2
  145. package/dist/team/index.js +9 -9
  146. package/dist/tiers/index.d.ts +1 -1
  147. package/dist/tiers/index.js +4 -4
  148. package/dist/to/index.d.ts +1 -1
  149. package/dist/{transition-guard-BzsAQEd-.d.ts → transition-guard-D5RLJv8S.d.ts} +1 -1
  150. package/dist/tx/index.d.ts +2 -2
  151. package/dist/{validators-DGmYFP51.d.ts → validators-C3lrVF-c.d.ts} +1 -1
  152. package/dist/{vault-diff-DmBBatkx.d.ts → vault-diff-_LSIcOMv.d.ts} +1 -1
  153. package/dist/{walk-3SB25HF2.js → walk-SMAE4IEI.js} +5 -5
  154. package/dist/with/index.d.ts +2 -2
  155. package/dist/with/index.js +6 -6
  156. package/dist/{with-materialized-view-DPEVoGoB.d.ts → with-materialized-view-Xv1-9Bh0.d.ts} +1 -1
  157. package/dist/{with-overlayed-view-DGpKFSv1.d.ts → with-overlayed-view-CuWhq_-C.d.ts} +1 -1
  158. package/dist/{with-rollup-B2RwnTq0.d.ts → with-rollup-K_iwal4b.d.ts} +1 -1
  159. package/dist/{withdraw-accessible-LN4AOJDD.js → withdraw-accessible-Q7BULAN5.js} +8 -8
  160. package/package.json +3 -3
  161. package/dist/chunk-5K7KZMXG.js.map +0 -1
  162. package/dist/chunk-YSU2E4GZ.js.map +0 -1
  163. package/dist/liberate-HFIPHJGR.js +0 -24
  164. /package/dist/{api-Z66JMGOU.js.map → api-JDWL67WL.js.map} +0 -0
  165. /package/dist/{backup-7PX6NDKT.js.map → backup-WRGNTGJF.js.map} +0 -0
  166. /package/dist/{chunk-2L7PPF2C.js.map → chunk-25G7PUTA.js.map} +0 -0
  167. /package/dist/{chunk-7AERMJP6.js.map → chunk-2PJB6H3H.js.map} +0 -0
  168. /package/dist/{chunk-DJ4TNF4N.js.map → chunk-3KBK5LU4.js.map} +0 -0
  169. /package/dist/{chunk-62TTFKU4.js.map → chunk-3YKBGS3I.js.map} +0 -0
  170. /package/dist/{chunk-YSJG4L4A.js.map → chunk-44DV37ZV.js.map} +0 -0
  171. /package/dist/{chunk-E3LURVGQ.js.map → chunk-4VDFUBTS.js.map} +0 -0
  172. /package/dist/{chunk-IEKK2XI4.js.map → chunk-5HRJQSKN.js.map} +0 -0
  173. /package/dist/{chunk-PE25C4QL.js.map → chunk-5YBUFCFF.js.map} +0 -0
  174. /package/dist/{chunk-J54DC5IC.js.map → chunk-62APEMF3.js.map} +0 -0
  175. /package/dist/{chunk-RUWEHFRB.js.map → chunk-723XB5NX.js.map} +0 -0
  176. /package/dist/{chunk-JIW3Q5JN.js.map → chunk-7TAV3BFQ.js.map} +0 -0
  177. /package/dist/{chunk-CND5WQLO.js.map → chunk-BJ2XF2RC.js.map} +0 -0
  178. /package/dist/{chunk-H3MPSYCH.js.map → chunk-BM6E4MUT.js.map} +0 -0
  179. /package/dist/{chunk-NO53W6O5.js.map → chunk-BTFTHF6Q.js.map} +0 -0
  180. /package/dist/{chunk-DKGZIX6S.js.map → chunk-DCVVCJVB.js.map} +0 -0
  181. /package/dist/{chunk-AG2PLGQ2.js.map → chunk-F3EKFGUS.js.map} +0 -0
  182. /package/dist/{chunk-VUHXLL32.js.map → chunk-FWART3VA.js.map} +0 -0
  183. /package/dist/{chunk-3CHNKEFI.js.map → chunk-FZK3JJJK.js.map} +0 -0
  184. /package/dist/{chunk-VFG5YXWM.js.map → chunk-GDOOG5YQ.js.map} +0 -0
  185. /package/dist/{chunk-T4NQMPBN.js.map → chunk-GLVXQU3E.js.map} +0 -0
  186. /package/dist/{chunk-RHB7BOEO.js.map → chunk-I6URUNTD.js.map} +0 -0
  187. /package/dist/{chunk-K6WHZBCO.js.map → chunk-IARAK3PK.js.map} +0 -0
  188. /package/dist/{chunk-OFYY5Q4R.js.map → chunk-J5YUA6JB.js.map} +0 -0
  189. /package/dist/{chunk-7F2P2NHX.js.map → chunk-J7OH6R4K.js.map} +0 -0
  190. /package/dist/{chunk-WRLPV6SI.js.map → chunk-L6Q5NA22.js.map} +0 -0
  191. /package/dist/{chunk-7L6EH6S7.js.map → chunk-M3OYTM5Z.js.map} +0 -0
  192. /package/dist/{chunk-WGH3YV6Y.js.map → chunk-NTPWQH4S.js.map} +0 -0
  193. /package/dist/{chunk-H7WQMGXH.js.map → chunk-P2PEPSPK.js.map} +0 -0
  194. /package/dist/{chunk-J5YDMJHG.js.map → chunk-P6TZ3IVN.js.map} +0 -0
  195. /package/dist/{chunk-WFBZRXS5.js.map → chunk-PMMV5SQC.js.map} +0 -0
  196. /package/dist/{chunk-I6Q7YECW.js.map → chunk-PPPZIBKY.js.map} +0 -0
  197. /package/dist/{chunk-HGQ6UNHE.js.map → chunk-PVC2FBCQ.js.map} +0 -0
  198. /package/dist/{chunk-HBVEGUON.js.map → chunk-QABECTNN.js.map} +0 -0
  199. /package/dist/{chunk-HV3VNAYI.js.map → chunk-QYMMMKOO.js.map} +0 -0
  200. /package/dist/{chunk-AZPGB4OD.js.map → chunk-R4IVPJHN.js.map} +0 -0
  201. /package/dist/{chunk-UJJJPKJO.js.map → chunk-TCGVRKOS.js.map} +0 -0
  202. /package/dist/{chunk-U5IJHUHZ.js.map → chunk-TIAYXOEI.js.map} +0 -0
  203. /package/dist/{chunk-GMZFHDSG.js.map → chunk-TUL5YQWF.js.map} +0 -0
  204. /package/dist/{chunk-G5CFMITA.js.map → chunk-UMH35AQV.js.map} +0 -0
  205. /package/dist/{chunk-VMRXI3IF.js.map → chunk-VVLOWY74.js.map} +0 -0
  206. /package/dist/{chunk-WJEMUO32.js.map → chunk-W3JABOVB.js.map} +0 -0
  207. /package/dist/{chunk-QAVFI23O.js.map → chunk-WPNP3NF5.js.map} +0 -0
  208. /package/dist/{chunk-JT4A6OAJ.js.map → chunk-X5QZAJDB.js.map} +0 -0
  209. /package/dist/{chunk-QYNBPDGO.js.map → chunk-X6VNIRHS.js.map} +0 -0
  210. /package/dist/{chunk-CP3GUIAN.js.map → chunk-XBPUVQDO.js.map} +0 -0
  211. /package/dist/{collection-facade-JP6N7USE.js.map → collection-facade-EJVIN2BY.js.map} +0 -0
  212. /package/dist/{config-drift-LRKCC3VZ.js.map → config-drift-RFEVGBKR.js.map} +0 -0
  213. /package/dist/{dead-filter-NZORV45S.js.map → dead-filter-RHMNYOXP.js.map} +0 -0
  214. /package/dist/{delegation-FDOXXHNG.js.map → delegation-IHXOASHV.js.map} +0 -0
  215. /package/dist/{derive-JR2C5JFG.js.map → derive-CD3ZVIXK.js.map} +0 -0
  216. /package/dist/{enclave-7X5BUAMS.js.map → enclave-KGEUW2GL.js.map} +0 -0
  217. /package/dist/{executor-6LHOV7MN.js.map → executor-MHUM2VZK.js.map} +0 -0
  218. /package/dist/{export-accessible-7XLSZBGJ.js.map → export-accessible-Z3NSZZHN.js.map} +0 -0
  219. /package/dist/{extract-partition-RM6EROS5.js.map → extract-partition-VSKT35JG.js.map} +0 -0
  220. /package/dist/{fanout-sidecar-BDKLP5GG.js.map → fanout-sidecar-NBDKKCHT.js.map} +0 -0
  221. /package/dist/{issue-FJE2IHUI.js.map → issue-AEOL6RXA.js.map} +0 -0
  222. /package/dist/{ledger-EMDHRJJN.js.map → ledger-3LR3YO2W.js.map} +0 -0
  223. /package/dist/{liberate-HFIPHJGR.js.map → liberate-XSEPRWEA.js.map} +0 -0
  224. /package/dist/{link-set-62Y36TOG.js.map → link-set-NSUIX6BR.js.map} +0 -0
  225. /package/dist/{noydb-4ZASGII5.js.map → noydb-POVTIVQ6.js.map} +0 -0
  226. /package/dist/{policy-SXPLTQS4.js.map → policy-Y7HL2KGA.js.map} +0 -0
  227. /package/dist/{post-register-DCJ2SRVG.js.map → post-register-KOFRTCDD.js.map} +0 -0
  228. /package/dist/{public-envelope-CBRIJORQ.js.map → public-envelope-NC7SPNMV.js.map} +0 -0
  229. /package/dist/{register-5NRE7HBZ.js.map → register-3D6R2MKN.js.map} +0 -0
  230. /package/dist/{registry-5QLETK3Q.js.map → registry-AI4E46PD.js.map} +0 -0
  231. /package/dist/{registry-DYTNLOJC.js.map → registry-WIX6QCV5.js.map} +0 -0
  232. /package/dist/{request-withdrawal-5APB7RKN.js.map → request-withdrawal-GU4XS2R5.js.map} +0 -0
  233. /package/dist/{reveal-R5N7JKA5.js.map → reveal-5Y777N5Q.js.map} +0 -0
  234. /package/dist/{revoke-VELFCK7S.js.map → revoke-ZFETCLYV.js.map} +0 -0
  235. /package/dist/{signer-IVU3B6DP.js.map → signer-GAIMQQ2J.js.map} +0 -0
  236. /package/dist/{stale-DP66HFT3.js.map → stale-77LP2EEF.js.map} +0 -0
  237. /package/dist/{storage-RH5VBLLL.js.map → storage-KEXIXLGM.js.map} +0 -0
  238. /package/dist/{store-coordination-provider-F5N5ASDF.js.map → store-coordination-provider-NJDDZ264.js.map} +0 -0
  239. /package/dist/{walk-3SB25HF2.js.map → walk-SMAE4IEI.js.map} +0 -0
  240. /package/dist/{withdraw-accessible-LN4AOJDD.js.map → withdraw-accessible-Q7BULAN5.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -1,28 +1,28 @@
1
- import { eh as SearchStrategy, ei as SequenceStrategy, ej as CustodyStrategy, cV as EncryptedEnvelope, ek as SchemaUpdateStrategy, el as TransformFn, cT as NoydbStore, em as PersistedSchemaEnvelope, dj as EnclaveKey, en as UpdateDecision, eo as NoydbError, e0 as PublicEnvelope, ep as UserEnvelope, eq as VaultUserApi, er as UserApiDeps, cy as RequestWithdrawalOptions, cz as RequestWithdrawalResult, cD as WithdrawalRequestStatus, cC as WithdrawalRequest, ct as ApproveWithdrawalOptions, cB as WithdrawResult, cx as RejectWithdrawalOptions, cA as WithdrawAccessibleOptions, cu as ExportAccessibleOptions, es as DeepPartialOrNull, et as UserEnvelopePresented, eu as Unsubscribe, ev as LiveUserEnvelope, ew as RoundingMode, cF as UnlockedKeyring, ex as VaultPolicy, ey as ActiveTier, ez as FactorProof, eA as GateName, eB as PolicyDenyReason, eC as GatePolicy } from './index-BJ3L-XcV.js';
2
- export { eD as AccessibleVault, eE as AffectedDocument, aP as AggregateResult, aQ as AggregateSpec, aR as Aggregation, aS as AggregationUpstream, eF as AlreadyElevatedError, bM as AmendmentForbiddenError, cX as AppendInput, eG as ArchivePolicy, eH as ArchiveResult, eI as ArchiveRunOptions, eJ as ArchiveStrategy, c4 as ArrayOutputSpec, dz as AttestationError, dA as AttestationNotEnabledError, Y as BLOB_CHUNKS_COLLECTION, Z as BLOB_COLLECTION, $ as BLOB_INDEX_COLLECTION, a0 as BLOB_SLOTS_PREFIX, a1 as BLOB_VERSIONS_PREFIX, eK as BUNDLE_STORE_POLICY, dl as BackupCorruptedError, dm as BackupLedgerError, a5 as BlobObject, a6 as BlobPutOptions, a7 as BlobResponseOptions, a8 as BlobSet, eL as BuiltInGateName, dn as BundleIntegrityError, e1 as BundleRecipient, dp as BundleSealMismatchError, dq as BundleVersionConflictError, bq as CONSENT_AUDIT_COLLECTION, eM as CacheOptions, eN as CacheStats, eO as CargoNotEnabledError, eP as CargoStrategy, eQ as ChangeEvent, cY as ChangeType, dN as ClassifiedConfigError, dO as ClassifiedEntry, dL as ClassifiedFieldSpec, dP as ClassifiedGroup, dQ as ClassifiedList, eR as ClassifiedNotEnabledError, dS as ClassifiedRevealError, dU as ClassifiedRotationError, dV as ClassifiedStorage, dW as ClassifiedVerdict, dY as ClassifiedVerifyError, eS as Clause, bz as ClosePeriodOptions, ci as Collection, eT as CollectionChangeEvent, eU as CollectionConfig, eV as CollectionConflictResolver, eW as CollectionDescriptor, bV as CollectionFrame, ay as CollectionIndexes, cZ as CollectionInstant, eX as CollectionStats, eY as ComputedFieldError, eZ as ComputedFields, e_ as ComputedFn, e$ as Conflict, f0 as ConflictError, f1 as ConflictPolicy, f2 as ConflictStrategy, br as ConsentAuditEntry, bs as ConsentAuditFilter, bt as ConsentContext, bu as ConsentOp, bg as CrdtMode, bh as CrdtState, f3 as CrossJoinSourceUnknownError, f4 as CrossJoinTooLargeError, f5 as CrossTierAccessEvent, f6 as CustodyApi, f7 as CustodyHost, f8 as CustodyNotEnabledError, ad as DEFAULT_CHUNK_SIZE, f9 as DEFAULT_CROSS_JOIN_MAX_ROWS, fa as DEFAULT_JOIN_MAX_ROWS, fb as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, fc as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, fd as DanglingReferenceError, fe as DataResidencyError, ff as DebugPlaintextError, fg as DebugReservedFieldError, fh as DecryptionError, fi as DeepPartial, fj as DeferredNumberingConfig, fk as DelegationTargetMissingError, fl as DelegationToken, fm as DeleteManyResult, c5 as DerivationCapExceededError, c6 as DerivationCycleError, c7 as DerivationDepthError, fn as DerivationDescriptor, c8 as DerivationOutputShapeError, c9 as DerivationOutputUnknownError, c2 as DerivationStrategy, cb as DerivationStrategyHandle, cc as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictKeyInUseError, d as DictKeyMissingError, e as DictionaryHandle, f as DictionaryOptions, cE as DiffEntry, fo as DirectoryDisabledError, fp as DirtyEntry, fq as DryRunResult, fr as DumpSchemaOptions, fs as ELEVATION_AUDIT_COLLECTION, ft as ElevatedHandle, fu as ElevationExpiredError, fv as EmbeddingDescriptor, fw as EmbeddingDimMismatchError, fx as EmbeddingModelMismatchError, fy as EnclaveNotSupportedError, fz as EnrollAuthenticatorOptions, fA as EnrollAuthenticatorWrappingDEKsOptions, fB as EnrollAuthenticatorWrappingKEKOptions, fC as EnrollRecoveryResult, fD as ErasureEnforcement, fE as ExportCapability, fF as ExportCapabilityError, fG as ExportChunk, cG as ExportFormat, fH as ExportStreamOptions, fI as FactorKind, fJ as FactorProofBundle, fK as FactorRequirement, fL as FenceDoc, fM as FenceState, fN as FieldChange, fO as FieldClause, fP as FieldDescriptor, bN as FieldFrozenError, fQ as FieldSource, fR as FilenameSanitizationError, fS as FilterClause, fT as ForgetStrategyNotConfiguredError, fU as FormattedSequenceHandle, fV as FrozenSnapshotRef, aT as GROUPBY_MAX_CARDINALITY, aU as GROUPBY_WARN_CARDINALITY, fW as GhostRecord, fX as GrantCustodianOptions, fY as GrantOptions, fZ as GroupCardinalityError, f_ as GroupClause, aV as GroupedAggregation, aW as GroupedQuery, aX as GroupedQueryN, aY as GroupedRow, aZ as GroupedRowN, bK as GuardChange, bL as GuardContext, bJ as GuardStrategy, bP as GuardStrategyHandle, f$ as GuardViolation, az as HashIndex, g0 as HistoryConfig, g1 as HistoryEntry, cU as HistoryOptions, g as I18nMap, h as I18nTextDescriptor, i as I18nTextOptions, g2 as INDEXED_STORE_POLICY, bQ as IllegalTransitionError, g3 as ImportCapability, g4 as ImportCapabilityError, aB as IndexDef, g5 as IndexFieldName, g6 as IndexRequiredError, g7 as IndexWriteFailureError, g8 as InferOutput, g9 as InternalCollectionStats, ga as InvalidKeyError, bR as InvariantError, gb as IssueDelegationOptions, gc as IssueMagicLinkGrantOptions, gd as JoinContext, ge as JoinLeg, gf as JoinStrategy, gg as JoinTooLargeError, gh as JoinableSource, c_ as JsonPatch, c$ as JsonPatchOp, gi as KeyringAuthenticator, gj as KeyringAuthenticatorWrappingDEKs, gk as KeyringAuthenticatorWrappingKEK, gl as KeyringCorruptError, gm as KeyringExpiredError, gn as KeyringFile, L as Layer, go as LazyStrategy, gp as LedgerContentionError, d0 as LedgerStore, gq as LiberateOptions, gr as LiberateResult, gs as LinkIntegrityError, gt as LinkOnDelete, gu as LinkRow, gv as LinkSetHandle, gw as LinkSpec, gx as ListAccessibleVaultsOptions, gy as ListPageResult, gz as ListUsersOptions, a_ as LiveAggregation, gA as LiveQuery, gB as LiveUpstream, j as LocaleNotSpecifiedError, gC as LocaleReadOptions, gD as Lru, gE as LruOptions, gF as LruStats, bi as LwwMapState, gG as MAGIC_LINK_CONTENT_INFO_PREFIX, gH as MAGIC_LINK_GRANTS_COLLECTION, gI as MAGIC_LINK_KEK_INFO_PREFIX, gJ as MagicLinkGrantPayload, gK as MagicLinkGrantRecord, gL as ManagedRecoveryNotEnrolledError, e9 as MaterializedFromMeta, ea as MaterializedViewConfigError, eb as MaterializedViewCycleError, gM as MaterializedViewDescriptor, ec as MaterializedViewOutput, ed as MaterializedViewSourceUnknownError, cf as MaterializedViewStrategy, cg as MaterializedViewStrategyHandle, ee as MaterializedViewTooLargeError, gN as MemoryRecipientSealer, gO as MemorySealingKeyProvider, gP as MigrationRequiredError, M as MissingTranslationError, gQ as MoneyCurrencyError, gR as MoneyDescriptor, gS as MoneyOptions, gT as MoneyOptionsFixed, gU as MoneyOptionsMulti, gV as MoneyPrecisionError, gW as MoneyString, gX as MoneyUnsupportedError, gY as NOYDB_BACKUP_VERSION, gZ as NOYDB_FORMAT_VERSION, g_ as NOYDB_KEYRING_VERSION, g$ as NOYDB_SYNC_VERSION, h0 as NO_CARGO, h1 as NO_CUSTODY, h2 as NO_SEARCH, h3 as NO_SEQUENCE, h4 as NO_TEAM, h5 as NetworkError, h6 as NextOptions, h7 as NoAccessError, h8 as NonAdditiveSchemaChangeError, h9 as NotFoundError, ha as Noydb, hb as NoydbBundleStore, hc as NoydbEventMap, hd as NoydbOptions, bX as NoydbPodStore, he as NumberingAssignment, hf as NumberingUncertaintyError, ak as ObjectListEntry, al as ObjectMeta, am as ObjectProjection, an as ObjectUrlOptions, O as OnMissing, k as OnMissingPolicy, bA as OpenPeriodOptions, hg as Operator, hh as OrderBy, cd as OutputSpec, cj as OverlayBaseIsVirtualError, ck as OverlayCollectionUnavailableError, cl as OverlayFieldMergeMode, cm as OverlayFieldMergeRule, cn as OverlayIdMismatchError, co as OverlayNameCollisionError, hi as OverlayViewDescriptor, ch as OverlayedViewStrategy, cq as OverlayedViewStrategyHandle, bB as PERIODS_COLLECTION, hj as POD_STORE_POLICY, hk as PUBLIC_ENVELOPE_FIELDS, hl as PaperRecoveryDoc, hm as PaperRecoveryEntry, hn as PassphrasePolicy, ho as PassphraseValidationResult, hp as PathEscapeError, hq as PeriodClosedError, bC as PeriodRecord, hr as Permission, hs as PermissionDeniedError, ht as Permissions, hu as PersistedSchemaKind, hv as PlaintextTranslatorContext, hw as PlaintextTranslatorFn, du as PodVersionConflictError, hx as PolicyDeniedError, P as PolicyEnforcer, cw as PortabilityNotEnabledError, hy as PresenceHandle, hz as PresencePeer, hA as PrivilegeEscalationError, cW as PruneOptions, hB as PublicEnvelopeField, hC as PublicEnvelopeSchema, hD as PublicEnvelopeText, hE as PullMode, hF as PullOptions, hG as PullPolicy, hH as PullResult, hI as PushMode, hJ as PushOptions, hK as PushPolicy, hL as PushResult, hM as PutManyItemOptions, hN as PutManyOptions, hO as PutManyResult, ao as PutObjectOptions, ap as PutUrlOptions, e7 as Query, hP as QueryAcrossOptions, hQ as QueryAcrossResult, hR as QueryField, hS as QueryPlan, hT as QuerySource, hU as QuickUnlockState, hV as QuickUnlockStore, hW as QuiesceTimeoutError, hX as ReAuthOperation, hY as ReadOnlyAtInstantError, hZ as ReadOnlyError, h_ as ReadOnlyFrameError, e3 as RecipientHint, e2 as RecipientSealer, h$ as RecordCekNotFoundError, bT as RecordLockedError, ce as RecordOutputSpec, i0 as RecoverPassphraseInput, i1 as RecoverPassphraseResult, i2 as RecoverUserOptions, i3 as RecoveryNotEnrolledError, i4 as RecoveryProfileNotImplementedError, i5 as RecoveryProof, a$ as Reducer, b0 as ReducerBuilder, b1 as ReducerOptions, i6 as RefDescriptor, i7 as RefIntegrityError, i8 as RefMode, i9 as RefRegistry, ia as RefScopeError, ib as RefViolation, R as ReservedCollectionNameError, ic as ReservedVaultNameError, l as ResolveI18nOptions, id as ResolvedPublicEnvelopeSchema, bY as RetentionPolicy, ie as RetrieveHit, ig as RetrieveOptions, ih as RevokeOptions, bj as RgaState, cR as Role, ii as RotatePassphraseInput, ij as RotateRecoveryOptions, ik as RotateRecoveryResult, il as SEALED_PASSPHRASE_RECORD_ID, im as ScanBuilder, io as ScanPageProvider, ip as SchemaDelta, iq as SchemaFenceError, ir as SchemaIntrospection, is as SchemaLockedError, it as SchemaUpdateError, iu as SchemaValidationError, S as ScriptViolationError, m as ScriptWarning, iv as Sealed, iw as SealedEnvelope, ix as SealedHandle, iy as SealedPassphrase, dc as SealedRecordExpiredError, dd as SealedRecordMismatchError, de as SealedRecordNotEnabledError, iz as SealedView, dg as SealingKeyProvider, iA as SearchEntry, iB as SearchNotEnabledError, iC as SearchOptions, iD as SearchResult, iE as SequenceContentionError, iF as SequenceHandle, iG as SequenceNotEnabledError, iH as SequenceOfflineError, iI as SequenceOptions, iJ as SequenceStore, iK as SequenceStoreOptions, J as SessionExpiredError, K as SessionNotFoundError, iL as SessionPolicy, N as SessionPolicyError, iM as SetPublicEnvelopeInput, iN as ShamirRecoveryDoc, iO as ShamirRecoveryEntry, di as ShamirRecoveryProvider, iP as ShardProvisioningError, aq as SlotInfo, ar as SlotRecord, iQ as SlotRewrapCeremony, iR as SlotRewrapContext, b$ as SnapshotMeta, c1 as SnapshotNotFoundError, iS as StandardSchemaV1, iT as StandardSchemaV1Issue, iU as StandardSchemaV1SyncResult, n as StaticDictDescriptor, o as StaticDictReadonlyError, iV as StoreAuth, iW as StoreAuthKind, iX as StoreCapabilities, iY as StoreCapabilityError, iZ as StoreTime, i_ as SyncEngine, i$ as SyncMetadata, j0 as SyncPolicy, j1 as SyncScheduler, j2 as SyncSchedulerStatus, j3 as SyncStatus, j4 as SyncTarget, j5 as SyncTargetRole, j6 as SyncTransaction, j7 as SyncTransactionResult, j8 as TabChannel, j9 as TabCoordinationOptions, ja as TabLockManager, jb as TabPresence, jc as TabRole, jd as TamperedError, je as TeamNotEnabledError, jf as TeamStrategy, jg as TierDemoteDeniedError, jh as TierMode, ji as TierNotGrantedError, jj as TiersNotEnabledError, jk as TransactionInvariant, jl as TranslatorAuditEntry, T as TranslatorNotConfiguredError, jm as TxCollection, e4 as TxContext, jn as TxOp, jo as TxVault, ef as UnionArmJoin, eg as UnionSource, jp as UniqueConstraintError, U as UnknownDictCodeError, jq as UnknownShardError, jr as UnsupportedIndexOptionError, js as UpdateAuthenticatorOptions, jt as UpdateContext, ju as UpdateUserOptions, jv as UserEnvelopeCheckGate, jw as UserEnvelopeOversizedError, jx as UserInfo, jy as ValidationError, V as Vault, jz as VaultBackup, d1 as VaultEngine, bW as VaultFrame, d2 as VaultInstant, jA as VaultPolicyOnDisk, jB as VaultSchemaSnapshot, jC as VaultSnapshot, jD as VaultTemplateNotFoundError, d3 as VerifyResult, as as VersionRecord, jE as WarningRules, jF as WeakPassphraseError, jG as WeakPassphraseReason, jH as WithArchiveOptions, jI as WithdrawalRequestError, jJ as WrappedDeksBlob, jK as WriteConflict, jL as WriteQueue, bk as YjsState, jM as aesGcmOpen, p as applyI18nLocale, jN as applyJoins, d4 as applyPatch, jO as approveWithdrawal, jP as asMoney, jQ as assertStrongPassphrase, b2 as avg, jR as base64ToBuffer, jS as bufferToBase64, jT as buildLiveQuery, jU as buildRecipientKeyringFile, jV as burnPaperRecoveryEntry, jW as compileSequenceFormat, d5 as computePatch, b4 as count, Q as createEnforcer, jX as createNoydb, jY as createStore, jZ as decryptBytes, j_ as decryptDeterministic, j$ as deriveMagicLinkContentKey, k0 as derivePresenceKey, q as dictCollectionName, r as dictKey, d6 as diff, k1 as encryptBytes, k2 as encryptDeterministic, s as enforceScript, k3 as enrollAuthenticator, k4 as estimateEntropy, k5 as evalComputedFields, k6 as evaluateClause, k7 as evaluateExportCapability, k8 as evaluateFieldClause, k9 as evaluateImportCapability, ka as executePlan, kb as exportAccessibleData, kc as findAuthenticator, d7 as formatDiff, b5 as groupAndReduce, kd as hasExportCapability, ke as hasImportCapability, kf as hasRecoveryEnrolled, u as i18nText, v as inferScripts, d_ as isClassifiedFieldSpec, d$ as isClassifiedGroup, w as isDictCollectionName, x as isDictKeyDescriptor, y as isI18nTextDescriptor, kg as isLinkCollectionName, kh as isMagicLinkGrantExpired, ki as isMoneyDescriptor, kj as isMoneyString, kk as isPublicEnvelope, kl as isRefArray, z as isStaticDictDescriptor, km as issueDelegation, kn as keyringRecoverPassphrase, ko as keyringRotatePassphrase, kp as liberateVault, kq as listMagicLinkGrants, kr as listUsers, ks as listUsersWithEnvelopes, kt as listWithdrawalRequests, ku as loadActiveDelegations, kv as loadPaperRecoveryEntries, kw as loadSealedPassphrase, kx as loadShamirRecoveryEntries, ky as magicLinkGrantRecordId, b6 as max, au as memoryObjectProjection, bn as mergeCrdtStates, b7 as min, kz as mintPaperRecoveryEntry, kA as mintShamirRecoveryEntry, kB as mintWrappedDeksBlob, kC as money, b8 as moneyMax, b9 as moneyMin, kD as moneyNumber, ba as moneySum, kE as parseRsaOaepTlv, kF as parseSealedEnvelope, kG as readMagicLinkGrantRecord, kH as readPath, kI as recoverUser, bb as reduceRecords, bc as reducerBuilder, kJ as ref, kK as refArray, kL as rejectWithdrawal, kM as removeAuthenticator, kN as requestWithdrawal, kO as resetJoinWarnings, bo as resolveCrdtSnapshot, A as resolveI18nText, B as resolvePolicy, kP as resolvePublicEnvelopeSchema, kQ as resolveSequenceKey, kR as revokeDelegation, kS as revokeMagicLinkGrant, kT as runTransaction, kU as savePaperRecoveryEntries, kV as saveSealedPassphrase, kW as saveShamirRecoveryEntries, kX as sealRsaOaepTlv, E as staticDict, be as sum, kY as unwrapDeksFromBlob, kZ as unwrapDeksFromPaperEntry, k_ as unwrapDeksFromShamirEntry, k$ as unwrapMagicLinkGrant, G as validateI18nTextValue, l0 as validatePassphrase, l1 as validatePublicEnvelopeInput, l2 as validateSchemaInput, l3 as validateSchemaOutput, W as validateSessionPolicy, l4 as withArchive, l5 as withDeferredNumbering, l6 as withdrawAccessibleData, l7 as writeMagicLinkGrant } from './index-BJ3L-XcV.js';
3
- export { I as ImportExternalOptions, a as ImportExternalResult, b as ImportableCollection, d as detectMagic, c as detectMimeType, i as importExternalObjects, e as isPreCompressed } from './mime-magic-BlE9fzn2.js';
1
+ import { ep as SearchStrategy, eq as SequenceStrategy, er as CustodyStrategy, d1 as EncryptedEnvelope, es as SchemaUpdateStrategy, et as TransformFn, c$ as NoydbStore, eu as PersistedSchemaEnvelope, ds as EnclaveKey, ev as UpdateDecision, ew as NoydbError, e8 as PublicEnvelope, ex as UserEnvelope, ey as VaultUserApi, ez as UserApiDeps, cG as RequestWithdrawalOptions, cH as RequestWithdrawalResult, cL as WithdrawalRequestStatus, cK as WithdrawalRequest, cB as ApproveWithdrawalOptions, cJ as WithdrawResult, cF as RejectWithdrawalOptions, cI as WithdrawAccessibleOptions, cC as ExportAccessibleOptions, eA as DeepPartialOrNull, eB as UserEnvelopePresented, eC as Unsubscribe, eD as LiveUserEnvelope, eE as RoundingMode, cN as UnlockedKeyring, eF as VaultPolicy, eG as ActiveTier, eH as FactorProof, eI as GateName, eJ as PolicyDenyReason, eK as GatePolicy } from './index-Dn5GzPg_.js';
2
+ export { eL as AccessibleVault, eM as AffectedDocument, aP as AggregateResult, aQ as AggregateSpec, aR as Aggregation, aS as AggregationUpstream, eN as AlreadyElevatedError, bU as AmendmentForbiddenError, d3 as AppendInput, eO as ArchivePolicy, eP as ArchiveResult, eQ as ArchiveRunOptions, eR as ArchiveStrategy, cc as ArrayOutputSpec, dH as AttestationError, dI as AttestationNotEnabledError, Y as BLOB_CHUNKS_COLLECTION, Z as BLOB_COLLECTION, $ as BLOB_INDEX_COLLECTION, a0 as BLOB_SLOTS_PREFIX, a1 as BLOB_VERSIONS_PREFIX, eS as BUNDLE_STORE_POLICY, du as BackupCorruptedError, dv as BackupLedgerError, a5 as BlobObject, a6 as BlobPutOptions, a7 as BlobResponseOptions, a8 as BlobSet, eT as BuiltInGateName, dw as BundleIntegrityError, e9 as BundleRecipient, dx as BundleSealMismatchError, dy as BundleVersionConflictError, bq as CONSENT_AUDIT_COLLECTION, eU as CacheOptions, eV as CacheStats, eW as CargoNotEnabledError, eX as CargoStrategy, eY as ChangeEvent, d4 as ChangeType, dV as ClassifiedConfigError, dW as ClassifiedEntry, dT as ClassifiedFieldSpec, dX as ClassifiedGroup, dY as ClassifiedList, eZ as ClassifiedNotEnabledError, d_ as ClassifiedRevealError, e0 as ClassifiedRotationError, e1 as ClassifiedStorage, e2 as ClassifiedVerdict, e4 as ClassifiedVerifyError, e_ as Clause, bz as ClosePeriodOptions, cq as Collection, e$ as CollectionChangeEvent, f0 as CollectionConfig, f1 as CollectionConflictResolver, f2 as CollectionDescriptor, c1 as CollectionFrame, ay as CollectionIndexes, d5 as CollectionInstant, f3 as CollectionStats, f4 as ComputedFieldError, f5 as ComputedFields, f6 as ComputedFn, f7 as Conflict, f8 as ConflictError, f9 as ConflictPolicy, fa as ConflictStrategy, br as ConsentAuditEntry, bs as ConsentAuditFilter, bt as ConsentContext, bu as ConsentOp, bg as CrdtMode, bh as CrdtState, fb as CrossJoinSourceUnknownError, fc as CrossJoinTooLargeError, fd as CrossTierAccessEvent, fe as CustodyApi, ff as CustodyHost, fg as CustodyNotEnabledError, ad as DEFAULT_CHUNK_SIZE, fh as DEFAULT_CROSS_JOIN_MAX_ROWS, fi as DEFAULT_JOIN_MAX_ROWS, fj as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, fk as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, fl as DanglingReferenceError, fm as DataResidencyError, fn as DebugPlaintextError, fo as DebugReservedFieldError, fp as DecryptionError, fq as DeepPartial, fr as DeferredNumberingConfig, fs as DelegationTargetMissingError, ft as DelegationToken, fu as DeleteManyResult, cd as DerivationCapExceededError, ce as DerivationCycleError, cf as DerivationDepthError, fv as DerivationDescriptor, cg as DerivationOutputShapeError, ch as DerivationOutputUnknownError, ca as DerivationStrategy, cj as DerivationStrategyHandle, ck as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictKeyInUseError, d as DictKeyMissingError, e as DictionaryHandle, f as DictionaryOptions, cM as DiffEntry, fw as DirectoryDisabledError, fx as DirtyEntry, fy as DryRunResult, fz as DumpSchemaOptions, fA as ELEVATION_AUDIT_COLLECTION, fB as ElevatedHandle, fC as ElevationExpiredError, fD as EmbeddingDescriptor, fE as EmbeddingDimMismatchError, fF as EmbeddingModelMismatchError, fG as EnclaveNotSupportedError, fH as EnrollAuthenticatorOptions, fI as EnrollAuthenticatorWrappingDEKsOptions, fJ as EnrollAuthenticatorWrappingKEKOptions, fK as EnrollRecoveryResult, fL as ErasureEnforcement, fM as ExportCapability, fN as ExportCapabilityError, fO as ExportChunk, cO as ExportFormat, fP as ExportStreamOptions, fQ as FactorKind, fR as FactorProofBundle, fS as FactorRequirement, fT as FenceDoc, fU as FenceState, fV as FieldChange, fW as FieldClause, fX as FieldDescriptor, bV as FieldFrozenError, fY as FieldSource, fZ as FilenameSanitizationError, f_ as FilterClause, f$ as ForgetStrategyNotConfiguredError, g0 as FormattedSequenceHandle, g1 as FrozenSnapshotRef, aT as GROUPBY_MAX_CARDINALITY, aU as GROUPBY_WARN_CARDINALITY, g2 as GhostRecord, g3 as GrantCustodianOptions, g4 as GrantOptions, g5 as GroupCardinalityError, g6 as GroupClause, aV as GroupedAggregation, aW as GroupedQuery, aX as GroupedQueryN, aY as GroupedRow, aZ as GroupedRowN, bS as GuardChange, bT as GuardContext, bR as GuardStrategy, bX as GuardStrategyHandle, g7 as GuardViolation, az as HashIndex, g8 as HistoryConfig, g9 as HistoryEntry, d0 as HistoryOptions, g as I18nMap, h as I18nTextDescriptor, i as I18nTextOptions, ga as INDEXED_STORE_POLICY, bY as IllegalTransitionError, gb as ImportCapability, gc as ImportCapabilityError, aB as IndexDef, gd as IndexFieldName, ge as IndexRequiredError, gf as IndexWriteFailureError, gg as InferOutput, gh as InternalCollectionStats, gi as InvalidKeyError, bZ as InvariantError, gj as IssueDelegationOptions, gk as IssueMagicLinkGrantOptions, gl as JoinContext, gm as JoinLeg, gn as JoinStrategy, go as JoinTooLargeError, gp as JoinableSource, d6 as JsonPatch, d7 as JsonPatchOp, gq as KeyringAuthenticator, gr as KeyringAuthenticatorWrappingDEKs, gs as KeyringAuthenticatorWrappingKEK, gt as KeyringCorruptError, gu as KeyringExpiredError, gv as KeyringFile, L as Layer, gw as LazyStrategy, gx as LedgerContentionError, d8 as LedgerStore, gy as LiberateOptions, gz as LiberateResult, gA as LinkIntegrityError, gB as LinkOnDelete, gC as LinkRow, gD as LinkSetHandle, gE as LinkSpec, gF as ListAccessibleVaultsOptions, gG as ListPageResult, gH as ListUsersOptions, a_ as LiveAggregation, gI as LiveQuery, gJ as LiveUpstream, j as LocaleNotSpecifiedError, gK as LocaleReadOptions, gL as Lru, gM as LruOptions, gN as LruStats, bi as LwwMapState, gO as MAGIC_LINK_CONTENT_INFO_PREFIX, gP as MAGIC_LINK_GRANTS_COLLECTION, gQ as MAGIC_LINK_KEK_INFO_PREFIX, gR as MagicLinkGrantPayload, gS as MagicLinkGrantRecord, gT as ManagedRecoveryNotEnrolledError, eh as MaterializedFromMeta, ei as MaterializedViewConfigError, ej as MaterializedViewCycleError, gU as MaterializedViewDescriptor, ek as MaterializedViewOutput, el as MaterializedViewSourceUnknownError, cn as MaterializedViewStrategy, co as MaterializedViewStrategyHandle, em as MaterializedViewTooLargeError, gV as MemoryRecipientSealer, gW as MemorySealingKeyProvider, gX as MigrationRequiredError, M as MissingTranslationError, gY as MoneyCurrencyError, gZ as MoneyDescriptor, g_ as MoneyOptions, g$ as MoneyOptionsFixed, h0 as MoneyOptionsMulti, h1 as MoneyPrecisionError, h2 as MoneyString, h3 as MoneyUnsupportedError, h4 as NOYDB_BACKUP_VERSION, h5 as NOYDB_FORMAT_VERSION, h6 as NOYDB_KEYRING_VERSION, h7 as NOYDB_SYNC_VERSION, h8 as NO_CARGO, h9 as NO_CUSTODY, ha as NO_SEARCH, hb as NO_SEQUENCE, hc as NO_TEAM, hd as NetworkError, he as NextOptions, hf as NoAccessError, hg as NonAdditiveSchemaChangeError, hh as NotFoundError, hi as Noydb, hj as NoydbBundleStore, hk as NoydbEventMap, hl as NoydbOptions, c3 as NoydbPodStore, hm as NumberingAssignment, hn as NumberingUncertaintyError, ak as ObjectListEntry, al as ObjectMeta, am as ObjectProjection, an as ObjectUrlOptions, O as OnMissing, k as OnMissingPolicy, bA as OpenPeriodOptions, ho as Operator, hp as OrderBy, cl as OutputSpec, cr as OverlayBaseIsVirtualError, cs as OverlayCollectionUnavailableError, ct as OverlayFieldMergeMode, cu as OverlayFieldMergeRule, cv as OverlayIdMismatchError, cw as OverlayNameCollisionError, hq as OverlayViewDescriptor, cp as OverlayedViewStrategy, cy as OverlayedViewStrategyHandle, bB as PERIODS_COLLECTION, hr as POD_STORE_POLICY, hs as PUBLIC_ENVELOPE_FIELDS, ht as PaperRecoveryDoc, hu as PaperRecoveryEntry, hv as PassphrasePolicy, hw as PassphraseValidationResult, hx as PathEscapeError, hy as PeriodClosedError, bH as PeriodRecord, hz as Permission, hA as PermissionDeniedError, hB as Permissions, hC as PersistedSchemaKind, hD as PlaintextTranslatorContext, hE as PlaintextTranslatorFn, dC as PodVersionConflictError, hF as PolicyDeniedError, P as PolicyEnforcer, cE as PortabilityNotEnabledError, hG as PresenceHandle, hH as PresencePeer, hI as PrivilegeEscalationError, d2 as PruneOptions, hJ as PublicEnvelopeField, hK as PublicEnvelopeSchema, hL as PublicEnvelopeText, hM as PullMode, hN as PullOptions, hO as PullPolicy, hP as PullResult, hQ as PushMode, hR as PushOptions, hS as PushPolicy, hT as PushResult, hU as PutManyItemOptions, hV as PutManyOptions, hW as PutManyResult, ao as PutObjectOptions, ap as PutUrlOptions, ef as Query, hX as QueryAcrossOptions, hY as QueryAcrossResult, hZ as QueryField, h_ as QueryPlan, h$ as QuerySource, i0 as QuickUnlockState, i1 as QuickUnlockStore, i2 as QuiesceTimeoutError, i3 as ReAuthOperation, i4 as ReadOnlyAtInstantError, i5 as ReadOnlyError, i6 as ReadOnlyFrameError, eb as RecipientHint, ea as RecipientSealer, i7 as RecordCekNotFoundError, b$ as RecordLockedError, cm as RecordOutputSpec, i8 as RecoverPassphraseInput, i9 as RecoverPassphraseResult, ia as RecoverUserOptions, ib as RecoveryNotEnrolledError, ic as RecoveryProfileNotImplementedError, id as RecoveryProof, a$ as Reducer, b0 as ReducerBuilder, b1 as ReducerOptions, ie as RefDescriptor, ig as RefIntegrityError, ih as RefMode, ii as RefRegistry, ij as RefScopeError, ik as RefViolation, R as ReservedCollectionNameError, il as ReservedVaultNameError, l as ResolveI18nOptions, im as ResolvedPublicEnvelopeSchema, c4 as RetentionPolicy, io as RetrieveHit, ip as RetrieveOptions, iq as RevokeOptions, bj as RgaState, cZ as Role, ir as RotatePassphraseInput, is as RotateRecoveryOptions, it as RotateRecoveryResult, iu as SEALED_PASSPHRASE_RECORD_ID, iv as ScanBuilder, iw as ScanPageProvider, ix as SchemaDelta, iy as SchemaFenceError, iz as SchemaIntrospection, iA as SchemaLockedError, iB as SchemaUpdateError, iC as SchemaValidationError, S as ScriptViolationError, m as ScriptWarning, iD as Sealed, iE as SealedEnvelope, iF as SealedHandle, iG as SealedPassphrase, dk as SealedRecordExpiredError, dl as SealedRecordMismatchError, dm as SealedRecordNotEnabledError, iH as SealedView, dp as SealingKeyProvider, iI as SearchEntry, iJ as SearchNotEnabledError, iK as SearchOptions, iL as SearchResult, iM as SequenceContentionError, iN as SequenceHandle, iO as SequenceNotEnabledError, iP as SequenceOfflineError, iQ as SequenceOptions, iR as SequenceStore, iS as SequenceStoreOptions, J as SessionExpiredError, K as SessionNotFoundError, iT as SessionPolicy, N as SessionPolicyError, iU as SetPublicEnvelopeInput, iV as ShamirRecoveryDoc, iW as ShamirRecoveryEntry, dr as ShamirRecoveryProvider, iX as ShardProvisioningError, aq as SlotInfo, ar as SlotRecord, iY as SlotRewrapCeremony, iZ as SlotRewrapContext, c7 as SnapshotMeta, c9 as SnapshotNotFoundError, i_ as StandardSchemaV1, i$ as StandardSchemaV1Issue, j0 as StandardSchemaV1SyncResult, n as StaticDictDescriptor, o as StaticDictReadonlyError, j1 as StoreAuth, j2 as StoreAuthKind, j3 as StoreCapabilities, j4 as StoreCapabilityError, j5 as StoreTime, j6 as SyncEngine, j7 as SyncMetadata, j8 as SyncPolicy, j9 as SyncScheduler, ja as SyncSchedulerStatus, jb as SyncStatus, jc as SyncTarget, jd as SyncTargetRole, je as SyncTransaction, jf as SyncTransactionResult, jg as TabChannel, jh as TabCoordinationOptions, ji as TabLockManager, jj as TabPresence, jk as TabRole, jl as TamperedError, jm as TeamNotEnabledError, jn as TeamStrategy, jo as TierDemoteDeniedError, jp as TierMode, jq as TierNotGrantedError, jr as TiersNotEnabledError, js as TransactionInvariant, jt as TranslatorAuditEntry, T as TranslatorNotConfiguredError, ju as TxCollection, ec as TxContext, jv as TxOp, jw as TxVault, en as UnionArmJoin, eo as UnionSource, jx as UniqueConstraintError, U as UnknownDictCodeError, jy as UnknownShardError, jz as UnsupportedIndexOptionError, jA as UpdateAuthenticatorOptions, jB as UpdateContext, jC as UpdateUserOptions, jD as UserEnvelopeCheckGate, jE as UserEnvelopeOversizedError, jF as UserInfo, jG as ValidationError, V as Vault, jH as VaultBackup, d9 as VaultEngine, c2 as VaultFrame, da as VaultInstant, jI as VaultPolicyOnDisk, jJ as VaultSchemaSnapshot, jK as VaultSnapshot, jL as VaultTemplateNotFoundError, db as VerifyResult, as as VersionRecord, jM as WarningRules, jN as WeakPassphraseError, jO as WeakPassphraseReason, jP as WithArchiveOptions, jQ as WithdrawalRequestError, jR as WrappedDeksBlob, jS as WriteConflict, jT as WriteQueue, bk as YjsState, jU as aesGcmOpen, p as applyI18nLocale, jV as applyJoins, dc as applyPatch, jW as approveWithdrawal, jX as asMoney, jY as assertStrongPassphrase, b2 as avg, jZ as base64ToBuffer, j_ as bufferToBase64, j$ as buildLiveQuery, k0 as buildRecipientKeyringFile, k1 as burnPaperRecoveryEntry, k2 as compileSequenceFormat, dd as computePatch, b4 as count, Q as createEnforcer, k3 as createNoydb, k4 as createStore, k5 as decryptBytes, k6 as decryptDeterministic, k7 as deriveMagicLinkContentKey, k8 as derivePresenceKey, q as dictCollectionName, r as dictKey, de as diff, k9 as encryptBytes, ka as encryptDeterministic, s as enforceScript, kb as enrollAuthenticator, kc as estimateEntropy, kd as evalComputedFields, ke as evaluateClause, kf as evaluateExportCapability, kg as evaluateFieldClause, kh as evaluateImportCapability, ki as executePlan, kj as exportAccessibleData, kk as findAuthenticator, df as formatDiff, b5 as groupAndReduce, kl as hasExportCapability, km as hasImportCapability, kn as hasRecoveryEnrolled, u as i18nText, v as inferScripts, e6 as isClassifiedFieldSpec, e7 as isClassifiedGroup, w as isDictCollectionName, x as isDictKeyDescriptor, y as isI18nTextDescriptor, ko as isLinkCollectionName, kp as isMagicLinkGrantExpired, kq as isMoneyDescriptor, kr as isMoneyString, ks as isPublicEnvelope, kt as isRefArray, z as isStaticDictDescriptor, ku as issueDelegation, kv as keyringRecoverPassphrase, kw as keyringRotatePassphrase, kx as liberateVault, ky as listMagicLinkGrants, kz as listUsers, kA as listUsersWithEnvelopes, kB as listWithdrawalRequests, kC as loadActiveDelegations, kD as loadPaperRecoveryEntries, kE as loadSealedPassphrase, kF as loadShamirRecoveryEntries, kG as magicLinkGrantRecordId, b6 as max, au as memoryObjectProjection, bn as mergeCrdtStates, b7 as min, kH as mintPaperRecoveryEntry, kI as mintShamirRecoveryEntry, kJ as mintWrappedDeksBlob, kK as money, b8 as moneyMax, b9 as moneyMin, kL as moneyNumber, ba as moneySum, kM as parseRsaOaepTlv, kN as parseSealedEnvelope, kO as readMagicLinkGrantRecord, kP as readPath, kQ as recoverUser, bb as reduceRecords, bc as reducerBuilder, kR as ref, kS as refArray, kT as rejectWithdrawal, kU as removeAuthenticator, kV as requestWithdrawal, kW as resetJoinWarnings, bo as resolveCrdtSnapshot, A as resolveI18nText, B as resolvePolicy, kX as resolvePublicEnvelopeSchema, kY as resolveSequenceKey, kZ as revokeDelegation, k_ as revokeMagicLinkGrant, k$ as runTransaction, l0 as savePaperRecoveryEntries, l1 as saveSealedPassphrase, l2 as saveShamirRecoveryEntries, l3 as sealRsaOaepTlv, E as staticDict, be as sum, l4 as unwrapDeksFromBlob, l5 as unwrapDeksFromPaperEntry, l6 as unwrapDeksFromShamirEntry, l7 as unwrapMagicLinkGrant, G as validateI18nTextValue, l8 as validatePassphrase, l9 as validatePublicEnvelopeInput, la as validateSchemaInput, lb as validateSchemaOutput, W as validateSessionPolicy, lc as withArchive, ld as withDeferredNumbering, le as withdrawAccessibleData, lf as writeMagicLinkGrant } from './index-Dn5GzPg_.js';
3
+ export { I as ImportExternalOptions, a as ImportExternalResult, b as ImportableCollection, d as detectMagic, c as detectMimeType, i as importExternalObjects, e as isPreCompressed } from './mime-magic-CYbFNQ4h.js';
4
4
  export { WrapBundleStoreOptions, WrapPodStoreOptions, WrappedBundleNoydbStore, WrappedPodNoydbStore, createBundleStore, createPodStore, wrapBundleStore, wrapPodStore } from './pod/index.js';
5
5
  export { W as WriteEvent, a as WriteHook } from './index-B9QdHytu.js';
6
6
  import { C as CollectionDescription } from './describe-C6iHNlqJ.js';
7
7
  export { a as CollectionMeta, D as DescribeOptions, b as DescribedField, F as FieldMeta, S as SemanticType, V as VaultMeta } from './describe-C6iHNlqJ.js';
8
- export { D as DEED_RECORD_ID, a as DeedMarker, S as STATE_VAULT_NAME, U as USER_ENVELOPE_COLLECTION, b as USER_ENVELOPE_MAX_BYTES, c as createDeedOwner, i as isDeedVault, l as loadDeedMarker, w as withCargo } from './index-CLucFLeN.js';
9
- export { A as AutoCredential, q as AutoCredentialKind, d as CompressionAlgo, f as NOYDB_BUNDLE_FORMAT_VERSION, g as NOYDB_BUNDLE_MAGIC, h as NOYDB_BUNDLE_PREFIX_BYTES, i as NoydbBundleHeader, j as NoydbBundleReadResult, N as NoydbPodHeader, R as ReadNoydbBundleOptions, k as WriteNoydbBundleOptions, W as WritePodOptions, s as hasNoydbBundleMagic, m as readNoydbBundle, n as readNoydbBundleHeader, t as readNoydbBundlePublicEnvelope, r as readPod, a as readPodHeader, o as resetBrotliSupportCache, p as writeNoydbBundle, w as writePod } from './bundle-BN_VSq5L.js';
8
+ export { D as DEED_RECORD_ID, a as DeedMarker, S as STATE_VAULT_NAME, U as USER_ENVELOPE_COLLECTION, b as USER_ENVELOPE_MAX_BYTES, c as createDeedOwner, i as isDeedVault, l as loadDeedMarker, w as withCargo } from './index-CTvUp94-.js';
9
+ export { A as AutoCredential, q as AutoCredentialKind, d as CompressionAlgo, f as NOYDB_BUNDLE_FORMAT_VERSION, g as NOYDB_BUNDLE_MAGIC, h as NOYDB_BUNDLE_PREFIX_BYTES, i as NoydbBundleHeader, j as NoydbBundleReadResult, N as NoydbPodHeader, R as ReadNoydbBundleOptions, k as WriteNoydbBundleOptions, W as WritePodOptions, s as hasNoydbBundleMagic, m as readNoydbBundle, n as readNoydbBundleHeader, t as readNoydbBundlePublicEnvelope, r as readPod, a as readPodHeader, o as resetBrotliSupportCache, p as writeNoydbBundle, w as writePod } from './bundle-DzWtVw7w.js';
10
10
  export { g as generateULID, i as isULID } from './ulid-DRH25k3y.js';
11
11
  export { D as DecryptedRecord, d as decryptExtractedPartition } from './decrypt-partition-IHtxEnTi.js';
12
12
  export { L as LedgerEntry, d as canonicalJson, h as hashEntry, p as paddedIndex, e as parseIndex, s as sha256Hex } from './subject-index-O75wKshW.js';
13
13
  export { SYNC_CREDENTIALS_COLLECTION, SyncCredential, credentialStatus, deleteCredential, getCredential, listCredentials, putCredential, withTeam } from './team/index.js';
14
14
  export { withLazy } from './lazy/index.js';
15
15
  export { TransactionStrategyOptions } from './tx/index.js';
16
- export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-BzsAQEd-.js';
17
- export { w as withDerivation, a as withRollup } from './with-rollup-B2RwnTq0.js';
18
- export { w as withMaterializedView } from './with-materialized-view-DPEVoGoB.js';
19
- export { w as withOverlayedView } from './with-overlayed-view-DGpKFSv1.js';
20
- export { C as ClassifiedNeverStoredError, a as ClassifiedValidationError, c as classified, l as luhnCheck, r as resolveClassifiedFields } from './validators-DGmYFP51.js';
21
- export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-CsOqX7O2.js';
16
+ export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-D5RLJv8S.js';
17
+ export { w as withDerivation, a as withRollup } from './with-rollup-K_iwal4b.js';
18
+ export { w as withMaterializedView } from './with-materialized-view-Xv1-9Bh0.js';
19
+ export { w as withOverlayedView } from './with-overlayed-view-CuWhq_-C.js';
20
+ export { C as ClassifiedNeverStoredError, a as ClassifiedValidationError, c as classified, l as luhnCheck, r as resolveClassifiedFields } from './validators-C3lrVF-c.js';
21
+ export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-wgQ7Ci5I.js';
22
22
  export { i as isDiscriminant } from './discriminant-BN9REW3o.js';
23
23
  export { FuseOptions, fuseRetrieval } from './kernel/index.js';
24
- export { D as DiffCandidate, a as DiffOptions, V as VaultDiff, b as VaultDiffEntry, c as VaultDiffModifiedEntry, d as diffVault } from './vault-diff-DmBBatkx.js';
25
- export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-BPzm02Za.js';
24
+ export { D as DiffCandidate, a as DiffOptions, V as VaultDiff, b as VaultDiffEntry, c as VaultDiffModifiedEntry, d as diffVault } from './vault-diff-_LSIcOMv.js';
25
+ export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-CwHnoKyW.js';
26
26
  import '@noy-db/attestation';
27
27
 
28
28
  /**
@@ -240,8 +240,12 @@ interface BlobLifecyclePolicy {
240
240
  interface AgeRoute {
241
241
  /** Store for records older than the cutoff. */
242
242
  readonly cold: NoydbStore;
243
- /** Days after last modification before a record is cold-eligible. */
244
- readonly coldAfterDays: number;
243
+ /**
244
+ * Days after last modification before a record is cold-eligible for the
245
+ * ROLLING `compact(vault)` migrator. Omit for period-driven archival only
246
+ * (`compact(vault, { before })`), where the cutoff is supplied per call.
247
+ */
248
+ readonly coldAfterDays?: number;
245
249
  /**
246
250
  * Collections that participate in age tiering.
247
251
  * Empty array or omitted = all user collections (excluding `_` prefixed).
@@ -360,11 +364,14 @@ interface RouteStatus {
360
364
  */
361
365
  interface RoutedNoydbStore extends NoydbStore {
362
366
  /**
363
- * Migrate records older than the age cutoff from the hot store to the
364
- * cold store. Only applies when `age` is configured. Returns the number
365
- * of records migrated.
367
+ * Migrate records to the cold store. Only applies when `age.cold` is
368
+ * configured. With `{ before }`, migrates records whose `_ts < before`
369
+ * (period-driven archival); without, uses the rolling `coldAfterDays`.
370
+ * Returns the number of records migrated.
366
371
  */
367
- compact(vault: string): Promise<number>;
372
+ compact(vault: string, opts?: {
373
+ before?: string;
374
+ }): Promise<number>;
368
375
  /**
369
376
  * Override a named route at runtime.
370
377
  *
package/dist/index.js CHANGED
@@ -5,7 +5,7 @@ import {
5
5
  checkGate,
6
6
  describeGate,
7
7
  mergePolicy
8
- } from "./chunk-UJJJPKJO.js";
8
+ } from "./chunk-TCGVRKOS.js";
9
9
  import {
10
10
  Collection,
11
11
  ELEVATION_AUDIT_COLLECTION,
@@ -26,19 +26,19 @@ import {
26
26
  ref,
27
27
  refArray,
28
28
  withArchive
29
- } from "./chunk-5K7KZMXG.js";
29
+ } from "./chunk-56JB2BGI.js";
30
30
  import {
31
31
  META_COLLECTION,
32
32
  POLICY_RECORD_ID,
33
33
  loadVaultPolicy,
34
34
  saveVaultPolicy
35
- } from "./chunk-NO53W6O5.js";
35
+ } from "./chunk-BTFTHF6Q.js";
36
36
  import {
37
37
  DELEGATIONS_COLLECTION,
38
38
  issueDelegation,
39
39
  loadActiveDelegations,
40
40
  revokeDelegation
41
- } from "./chunk-U5IJHUHZ.js";
41
+ } from "./chunk-TIAYXOEI.js";
42
42
  import "./chunk-TQ3REHVF.js";
43
43
  import {
44
44
  DEFAULT_PUBLIC_ENVELOPE_SCHEMA,
@@ -51,16 +51,16 @@ import {
51
51
  compileSequenceFormat,
52
52
  resolveSequenceKey,
53
53
  withSequence
54
- } from "./chunk-IEKK2XI4.js";
54
+ } from "./chunk-5HRJQSKN.js";
55
55
  import {
56
56
  UserApi
57
- } from "./chunk-VFG5YXWM.js";
57
+ } from "./chunk-GDOOG5YQ.js";
58
58
  import {
59
59
  persistSchemaIfNeeded
60
- } from "./chunk-7AERMJP6.js";
60
+ } from "./chunk-2PJB6H3H.js";
61
61
  import {
62
62
  LinkEndpointError
63
- } from "./chunk-AZPGB4OD.js";
63
+ } from "./chunk-R4IVPJHN.js";
64
64
  import {
65
65
  LinkIntegrityError,
66
66
  isLinkCollectionName
@@ -76,13 +76,13 @@ import {
76
76
  listWithdrawalRequests,
77
77
  rejectWithdrawal,
78
78
  requestWithdrawal
79
- } from "./chunk-HV3VNAYI.js";
80
- import "./chunk-WRLPV6SI.js";
79
+ } from "./chunk-QYMMMKOO.js";
80
+ import "./chunk-L6Q5NA22.js";
81
81
  import {
82
82
  NO_SEARCH,
83
83
  tokenize,
84
84
  withSearch
85
- } from "./chunk-CP3GUIAN.js";
85
+ } from "./chunk-XBPUVQDO.js";
86
86
  import {
87
87
  derivePersistedSchema,
88
88
  isZodSchema
@@ -90,30 +90,30 @@ import {
90
90
  import "./chunk-GYGLAVCX.js";
91
91
  import {
92
92
  withCargo
93
- } from "./chunk-K6WHZBCO.js";
93
+ } from "./chunk-IARAK3PK.js";
94
94
  import {
95
95
  CustodyApi,
96
96
  NO_CARGO,
97
97
  NO_CUSTODY,
98
98
  withCustody
99
- } from "./chunk-RUWEHFRB.js";
99
+ } from "./chunk-723XB5NX.js";
100
100
  import {
101
101
  DEED_RECORD_ID,
102
102
  createDeedOwner,
103
103
  isDeedVault,
104
104
  liberateVault,
105
105
  loadDeedMarker
106
- } from "./chunk-PE25C4QL.js";
106
+ } from "./chunk-5YBUFCFF.js";
107
107
  import {
108
108
  withdrawAccessibleData
109
- } from "./chunk-DJ4TNF4N.js";
109
+ } from "./chunk-3KBK5LU4.js";
110
110
  import {
111
111
  diffVault
112
112
  } from "./chunk-LB7FD65R.js";
113
113
  import {
114
114
  exportAccessibleData
115
- } from "./chunk-DKGZIX6S.js";
116
- import "./chunk-HBVEGUON.js";
115
+ } from "./chunk-DCVVCJVB.js";
116
+ import "./chunk-QABECTNN.js";
117
117
  import {
118
118
  isDiscriminant
119
119
  } from "./chunk-PY4KJPYU.js";
@@ -121,7 +121,7 @@ import "./chunk-LFGJG4XZ.js";
121
121
  import {
122
122
  classified,
123
123
  luhnCheck
124
- } from "./chunk-QYNBPDGO.js";
124
+ } from "./chunk-X6VNIRHS.js";
125
125
  import {
126
126
  ClassifiedNeverStoredError,
127
127
  ClassifiedValidationError,
@@ -129,17 +129,17 @@ import {
129
129
  isClassifiedGroup,
130
130
  resolveClassifiedFields
131
131
  } from "./chunk-47C4CI7R.js";
132
- import "./chunk-E3LURVGQ.js";
132
+ import "./chunk-4VDFUBTS.js";
133
133
  import "./chunk-II6DLDZM.js";
134
134
  import "./chunk-BGIZAFY7.js";
135
135
  import {
136
136
  fuseRetrieval
137
137
  } from "./chunk-AURFOK3D.js";
138
138
  import "./chunk-EU7HDMT3.js";
139
- import "./chunk-OFYY5Q4R.js";
139
+ import "./chunk-J5YUA6JB.js";
140
140
  import {
141
141
  PERIODS_COLLECTION
142
- } from "./chunk-YSU2E4GZ.js";
142
+ } from "./chunk-37JZR7CY.js";
143
143
  import "./chunk-GHVIKOHT.js";
144
144
  import {
145
145
  immutableGuard,
@@ -170,7 +170,7 @@ import {
170
170
  } from "./chunk-I6JJ6VJS.js";
171
171
  import "./chunk-UB3XHGFG.js";
172
172
  import "./chunk-YTCCC6NG.js";
173
- import "./chunk-WJEMUO32.js";
173
+ import "./chunk-W3JABOVB.js";
174
174
  import {
175
175
  withOverlayedView
176
176
  } from "./chunk-PYIUDUGS.js";
@@ -180,7 +180,7 @@ import {
180
180
  importExternalObjects,
181
181
  memoryObjectProjection
182
182
  } from "./chunk-4Q6HSHHL.js";
183
- import "./chunk-I6Q7YECW.js";
183
+ import "./chunk-PPPZIBKY.js";
184
184
  import "./chunk-6PALJTC2.js";
185
185
  import {
186
186
  withLazy
@@ -196,12 +196,12 @@ import {
196
196
  } from "./chunk-6S7T6WC4.js";
197
197
  import {
198
198
  decryptExtractedPartition
199
- } from "./chunk-2L7PPF2C.js";
199
+ } from "./chunk-25G7PUTA.js";
200
200
  import {
201
201
  SCHEMAS_COLLECTION,
202
202
  loadPersistedSchema,
203
203
  savePersistedSchema
204
- } from "./chunk-7F2P2NHX.js";
204
+ } from "./chunk-J7OH6R4K.js";
205
205
  import {
206
206
  MemoryRecipientSealer,
207
207
  MemorySealingKeyProvider,
@@ -212,7 +212,7 @@ import {
212
212
  parseSealedEnvelope,
213
213
  saveSealedPassphrase,
214
214
  sealRsaOaepTlv
215
- } from "./chunk-H7WQMGXH.js";
215
+ } from "./chunk-P2PEPSPK.js";
216
216
  import {
217
217
  BLOB_CHUNKS_COLLECTION,
218
218
  BLOB_COLLECTION,
@@ -224,7 +224,7 @@ import {
224
224
  detectMagic,
225
225
  detectMimeType,
226
226
  isPreCompressed
227
- } from "./chunk-QAVFI23O.js";
227
+ } from "./chunk-WPNP3NF5.js";
228
228
  import {
229
229
  createBundleStore,
230
230
  createPodStore,
@@ -244,7 +244,7 @@ import {
244
244
  resetBrotliSupportCache,
245
245
  writeNoydbBundle,
246
246
  writePod
247
- } from "./chunk-CND5WQLO.js";
247
+ } from "./chunk-BJ2XF2RC.js";
248
248
  import {
249
249
  PUBLIC_ENVELOPE_RECORD_ID,
250
250
  isPublicEnvelope,
@@ -252,10 +252,10 @@ import {
252
252
  readPublicEnvelope,
253
253
  savePublicEnvelope,
254
254
  validatePublicEnvelopeInput
255
- } from "./chunk-T4NQMPBN.js";
255
+ } from "./chunk-GLVXQU3E.js";
256
256
  import {
257
257
  CONSENT_AUDIT_COLLECTION
258
- } from "./chunk-YSJG4L4A.js";
258
+ } from "./chunk-44DV37ZV.js";
259
259
  import {
260
260
  DICT_COLLECTION_PREFIX,
261
261
  DictionaryHandle,
@@ -265,7 +265,7 @@ import {
265
265
  isDictKeyDescriptor,
266
266
  isStaticDictDescriptor,
267
267
  staticDict
268
- } from "./chunk-WFBZRXS5.js";
268
+ } from "./chunk-PMMV5SQC.js";
269
269
  import {
270
270
  credentialStatus,
271
271
  deleteCredential,
@@ -273,7 +273,7 @@ import {
273
273
  listCredentials,
274
274
  putCredential,
275
275
  withTeam
276
- } from "./chunk-AG2PLGQ2.js";
276
+ } from "./chunk-F3EKFGUS.js";
277
277
  import {
278
278
  MAGIC_LINK_CONTENT_INFO_PREFIX,
279
279
  MAGIC_LINK_GRANTS_COLLECTION,
@@ -293,7 +293,7 @@ import {
293
293
  rotatePassphrase,
294
294
  unwrapMagicLinkGrant,
295
295
  writeMagicLinkGrant
296
- } from "./chunk-WGH3YV6Y.js";
296
+ } from "./chunk-NTPWQH4S.js";
297
297
  import {
298
298
  burnPaperRecoveryEntry,
299
299
  hasRecoveryEnrolled,
@@ -307,12 +307,12 @@ import {
307
307
  unwrapDeksFromBlob,
308
308
  unwrapDeksFromPaperEntry,
309
309
  unwrapDeksFromShamirEntry
310
- } from "./chunk-VUHXLL32.js";
310
+ } from "./chunk-FWART3VA.js";
311
311
  import {
312
312
  PresenceHandle,
313
313
  SyncEngine,
314
314
  SyncTransaction
315
- } from "./chunk-H3MPSYCH.js";
315
+ } from "./chunk-BM6E4MUT.js";
316
316
  import {
317
317
  BUNDLE_STORE_POLICY,
318
318
  INDEXED_STORE_POLICY,
@@ -337,7 +337,7 @@ import {
337
337
  listUsers,
338
338
  listUsersWithEnvelopes,
339
339
  validatePassphrase
340
- } from "./chunk-GMZFHDSG.js";
340
+ } from "./chunk-TUL5YQWF.js";
341
341
  import {
342
342
  DIRECTORY_RECORD_ID,
343
343
  VISIBILITY_RECORD_PREFIX,
@@ -351,7 +351,7 @@ import {
351
351
  readUserVisibility,
352
352
  saveUserEnvelope,
353
353
  visibilityRecordId
354
- } from "./chunk-3CHNKEFI.js";
354
+ } from "./chunk-FZK3JJJK.js";
355
355
  import {
356
356
  PolicyEnforcer,
357
357
  activeSessionCount,
@@ -374,7 +374,7 @@ import {
374
374
  import {
375
375
  CollectionInstant,
376
376
  VaultInstant
377
- } from "./chunk-J54DC5IC.js";
377
+ } from "./chunk-62APEMF3.js";
378
378
  import {
379
379
  diff,
380
380
  formatDiff
@@ -383,7 +383,7 @@ import {
383
383
  LedgerStore,
384
384
  applyPatch,
385
385
  computePatch
386
- } from "./chunk-62TTFKU4.js";
386
+ } from "./chunk-3YKBGS3I.js";
387
387
  import {
388
388
  LEDGER_COLLECTION,
389
389
  LEDGER_DELTAS_COLLECTION
@@ -395,14 +395,14 @@ import {
395
395
  paddedIndex,
396
396
  parseIndex,
397
397
  sha256Hex
398
- } from "./chunk-G5CFMITA.js";
399
- import "./chunk-VMRXI3IF.js";
398
+ } from "./chunk-UMH35AQV.js";
399
+ import "./chunk-VVLOWY74.js";
400
400
  import "./chunk-XW5LZYV4.js";
401
401
  import {
402
402
  validateSchemaInput,
403
403
  validateSchemaOutput
404
- } from "./chunk-JIW3Q5JN.js";
405
- import "./chunk-HGQ6UNHE.js";
404
+ } from "./chunk-7TAV3BFQ.js";
405
+ import "./chunk-PVC2FBCQ.js";
406
406
  import "./chunk-5UOPIPZC.js";
407
407
  import "./chunk-UWZ7O4NR.js";
408
408
  import {
@@ -412,7 +412,7 @@ import {
412
412
  NOYDB_SYNC_VERSION,
413
413
  SealedHandle,
414
414
  createStore
415
- } from "./chunk-HCK2DFEK.js";
415
+ } from "./chunk-REWTMYSF.js";
416
416
  import "./chunk-VFQOE76I.js";
417
417
  import "./chunk-LP7BEXCT.js";
418
418
  import {
@@ -816,18 +816,19 @@ function routeStore(opts) {
816
816
  }
817
817
  return tieredBlobs.large;
818
818
  }
819
- function isCold(collection, envelope) {
819
+ function isCold(collection, envelope, before) {
820
820
  if (!opts.age) return false;
821
821
  if (isInternal(collection)) return false;
822
822
  if (opts.age.collections && opts.age.collections.length > 0) {
823
823
  if (!opts.age.collections.includes(collection)) return false;
824
824
  }
825
- const cutoff = Date.now() - opts.age.coldAfterDays * 24 * 60 * 60 * 1e3;
826
- const ts = new Date(envelope._ts).getTime();
827
- return ts < cutoff;
825
+ const cutoffIso = before ?? (opts.age.coldAfterDays != null ? new Date(Date.now() - opts.age.coldAfterDays * 24 * 60 * 60 * 1e3).toISOString() : void 0);
826
+ if (cutoffIso === void 0) return false;
827
+ return envelope._ts < cutoffIso;
828
828
  }
829
829
  const store = {
830
830
  name: buildName(),
831
+ ...opts.age?.cold ? { capabilities: { ...primary.capabilities, coldArchival: true } } : primary.capabilities ? { capabilities: { ...primary.capabilities, coldArchival: false } } : {},
831
832
  async get(vault, collection, id) {
832
833
  const s = storeFor(vault, collection);
833
834
  const result = await s.get(vault, collection, id);
@@ -896,16 +897,16 @@ function routeStore(opts) {
896
897
  [...partitioned.entries()].map(([s, snap]) => s.saveAll(vault, snap))
897
898
  );
898
899
  },
899
- async compact(vault) {
900
+ async compact(vault, compactOpts) {
900
901
  if (!opts.age) return 0;
901
902
  let migrated = 0;
902
- const collections = opts.age.collections?.length ? opts.age.collections : await primary.list(vault, "").catch(() => []);
903
+ const collections = opts.age.collections?.length ? opts.age.collections : Object.keys(await primary.loadAll(vault).catch(() => ({})));
903
904
  for (const collection of collections) {
904
905
  const ids = await primary.list(vault, collection).catch(() => []);
905
906
  for (const id of ids) {
906
907
  const envelope = await primary.get(vault, collection, id);
907
908
  if (!envelope) continue;
908
- if (isCold(collection, envelope)) {
909
+ if (isCold(collection, envelope, compactOpts?.before)) {
909
910
  await opts.age.cold.put(vault, collection, id, envelope);
910
911
  await primary.delete(vault, collection, id);
911
912
  migrated++;