@noy-db/hub 0.4.0-pre.4 → 0.4.0-pre.6

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 (470) hide show
  1. package/README.md +2 -2
  2. package/dist/api-5QVQX4HG.js +20 -0
  3. package/dist/attestation/index.js +18 -18
  4. package/dist/{backup-JL2GOTYQ.js → backup-USYSNCYM.js} +11 -11
  5. package/dist/blobs/index.js +15 -12
  6. package/dist/blobs/index.js.map +1 -1
  7. package/dist/broker/index.js +12 -12
  8. package/dist/cargo/index.js +34 -36
  9. package/dist/{chunk-JLHKBAFY.js → chunk-2BVW754E.js} +3 -3
  10. package/dist/{chunk-T7S4V52L.js → chunk-2PDBYF2O.js} +4 -4
  11. package/dist/{chunk-YGBIBOCR.js → chunk-2ZSC454H.js} +7 -7
  12. package/dist/{chunk-IGAIOGCN.js → chunk-32467U5J.js} +4 -4
  13. package/dist/{chunk-JA5O7UEZ.js → chunk-3GXDB3NQ.js} +6 -6
  14. package/dist/chunk-3GXDB3NQ.js.map +1 -0
  15. package/dist/{chunk-U73LHVPF.js → chunk-3S2YNMUS.js} +54 -6
  16. package/dist/chunk-3S2YNMUS.js.map +1 -0
  17. package/dist/{chunk-JW3XCZA2.js → chunk-3TZUC4WS.js} +11 -11
  18. package/dist/{chunk-JA5B3SLH.js → chunk-44Y3P5U6.js} +2 -2
  19. package/dist/{chunk-25G7U6RD.js → chunk-4B3DL75F.js} +2 -2
  20. package/dist/{chunk-L4OA7G5T.js → chunk-522MBPE5.js} +2 -2
  21. package/dist/chunk-5ABOFAHN.js +81 -0
  22. package/dist/chunk-5ABOFAHN.js.map +1 -0
  23. package/dist/chunk-5D2ALSM5.js +19 -0
  24. package/dist/chunk-5D2ALSM5.js.map +1 -0
  25. package/dist/{chunk-M25ZIEB2.js → chunk-5HSSTOOG.js} +2 -2
  26. package/dist/{chunk-LLVW4V7R.js → chunk-5WLDZZ6S.js} +3 -3
  27. package/dist/{chunk-BCOKZC4B.js → chunk-6SSWOUUS.js} +19 -19
  28. package/dist/chunk-6SSWOUUS.js.map +1 -0
  29. package/dist/{chunk-IGM563N5.js → chunk-6SYOHUHM.js} +6 -6
  30. package/dist/chunk-6SYOHUHM.js.map +1 -0
  31. package/dist/{chunk-7B4GPCX7.js → chunk-7IQWHYL2.js} +5 -5
  32. package/dist/{chunk-J3VW4J4E.js → chunk-7LP7FFJ2.js} +2 -2
  33. package/dist/chunk-7LP7FFJ2.js.map +1 -0
  34. package/dist/{chunk-5P5AAXYA.js → chunk-7U6AB7DZ.js} +7 -7
  35. package/dist/chunk-7U6AB7DZ.js.map +1 -0
  36. package/dist/chunk-AFHQATY4.js +47 -0
  37. package/dist/chunk-AFHQATY4.js.map +1 -0
  38. package/dist/{chunk-OWE4BNTM.js → chunk-AZXEOEQK.js} +4 -4
  39. package/dist/{chunk-GBEXTC6Z.js → chunk-BAAUFCJK.js} +3 -3
  40. package/dist/chunk-BAAUFCJK.js.map +1 -0
  41. package/dist/{chunk-BZEPJJOK.js → chunk-C2V7AJO2.js} +4 -4
  42. package/dist/chunk-CADUYBQD.js +151 -0
  43. package/dist/chunk-CADUYBQD.js.map +1 -0
  44. package/dist/{chunk-2JZ763FV.js → chunk-D4LAJ737.js} +2 -2
  45. package/dist/{chunk-5BHNQNBI.js → chunk-DOZFU7OZ.js} +1 -1
  46. package/dist/chunk-DOZFU7OZ.js.map +1 -0
  47. package/dist/{chunk-MEKAMERX.js → chunk-E7FSBI6I.js} +29 -29
  48. package/dist/chunk-E7FSBI6I.js.map +1 -0
  49. package/dist/{chunk-N4FZ6ITM.js → chunk-EGU4PWQW.js} +2 -2
  50. package/dist/chunk-EP5L47XV.js +22 -0
  51. package/dist/chunk-EP5L47XV.js.map +1 -0
  52. package/dist/{chunk-EW4HFWGJ.js → chunk-EPME33Y4.js} +6 -6
  53. package/dist/{chunk-W7TCXZWU.js → chunk-EWPS35AR.js} +794 -1045
  54. package/dist/chunk-EWPS35AR.js.map +1 -0
  55. package/dist/{chunk-JKWNG3TM.js → chunk-FHHYCBBP.js} +2 -2
  56. package/dist/{chunk-5BB3N4KU.js → chunk-G4MFQXYX.js} +2 -2
  57. package/dist/{chunk-KVHWEPT2.js → chunk-GHEMAVTN.js} +2 -2
  58. package/dist/{chunk-CGPO3ZYB.js → chunk-GQT6J4FJ.js} +15 -2
  59. package/dist/chunk-GQT6J4FJ.js.map +1 -0
  60. package/dist/{chunk-XW7NWO4A.js → chunk-GTNRMJYH.js} +2 -2
  61. package/dist/{chunk-YG2EG6CB.js → chunk-H5GMROCB.js} +4 -4
  62. package/dist/{chunk-JIMEB4C6.js → chunk-HA7P3BTB.js} +26 -177
  63. package/dist/chunk-HA7P3BTB.js.map +1 -0
  64. package/dist/{chunk-5KI3REO3.js → chunk-HDF5R2K6.js} +7 -7
  65. package/dist/{chunk-V3YB7RGR.js → chunk-HVPW6PCX.js} +3 -3
  66. package/dist/{chunk-2VUISNGP.js → chunk-HXVRRJBD.js} +5 -5
  67. package/dist/{chunk-ZJGZDOQO.js → chunk-ICYC5YNI.js} +6 -6
  68. package/dist/{chunk-KR5EGWI4.js → chunk-IUATR5UE.js} +27 -5
  69. package/dist/chunk-IUATR5UE.js.map +1 -0
  70. package/dist/{chunk-AFBJHD55.js → chunk-JGOKAZNB.js} +5 -5
  71. package/dist/{chunk-XGVDLQJE.js → chunk-JOCMXSR2.js} +3 -3
  72. package/dist/{chunk-XGVDLQJE.js.map → chunk-JOCMXSR2.js.map} +1 -1
  73. package/dist/{chunk-HGVFJL63.js → chunk-JTIPVW4J.js} +15 -5
  74. package/dist/{chunk-HGVFJL63.js.map → chunk-JTIPVW4J.js.map} +1 -1
  75. package/dist/{chunk-QXPOEAKR.js → chunk-KCZAFDP5.js} +2 -2
  76. package/dist/{chunk-MSO2C3KG.js → chunk-LC7DSMHR.js} +2 -2
  77. package/dist/{chunk-OVFCAS7U.js → chunk-LG2GUYRX.js} +9 -9
  78. package/dist/{chunk-2KL6NDD4.js → chunk-LN3MQFUE.js} +56 -4
  79. package/dist/chunk-LN3MQFUE.js.map +1 -0
  80. package/dist/{chunk-QUIG6BZT.js → chunk-M4GO4ZJK.js} +226 -36
  81. package/dist/chunk-M4GO4ZJK.js.map +1 -0
  82. package/dist/{chunk-QDNVHA2F.js → chunk-M7W2KYTL.js} +2 -2
  83. package/dist/{chunk-XULHFSHO.js → chunk-MLCTPWSO.js} +5 -5
  84. package/dist/chunk-MLCTPWSO.js.map +1 -0
  85. package/dist/{chunk-PEY6ZTCF.js → chunk-MMVQ3SUO.js} +9 -9
  86. package/dist/{chunk-PEY6ZTCF.js.map → chunk-MMVQ3SUO.js.map} +1 -1
  87. package/dist/{chunk-4X6DJZHY.js → chunk-MPPWL64H.js} +26 -43
  88. package/dist/chunk-MPPWL64H.js.map +1 -0
  89. package/dist/{chunk-QYJIOWKN.js → chunk-MQBFT2OT.js} +11 -9
  90. package/dist/chunk-MQBFT2OT.js.map +1 -0
  91. package/dist/{chunk-IUIVDVXM.js → chunk-MUPZ6IZX.js} +2 -2
  92. package/dist/{chunk-GZ2GKOF6.js → chunk-NA374QG7.js} +3 -3
  93. package/dist/chunk-NIKO2BBZ.js +23 -0
  94. package/dist/chunk-NIKO2BBZ.js.map +1 -0
  95. package/dist/{chunk-2U7Y7BNJ.js → chunk-ONB627HU.js} +2 -2
  96. package/dist/{chunk-GYB2QK5H.js → chunk-OWLZONGX.js} +2 -2
  97. package/dist/{chunk-YHPUDB7Q.js → chunk-OWOT7CFC.js} +2 -2
  98. package/dist/{chunk-VEX6G3YL.js → chunk-P4NUJVWL.js} +2 -2
  99. package/dist/chunk-PEOZ34EM.js +13 -0
  100. package/dist/chunk-PEOZ34EM.js.map +1 -0
  101. package/dist/{chunk-NM4LVUXH.js → chunk-PTT2NB46.js} +2 -2
  102. package/dist/chunk-PVEWA2DU.js +23 -0
  103. package/dist/chunk-PVEWA2DU.js.map +1 -0
  104. package/dist/{chunk-2ITLQZV5.js → chunk-PWWWMRT7.js} +2 -2
  105. package/dist/{chunk-FLHOTGOO.js → chunk-QVGEVZ5F.js} +3 -3
  106. package/dist/{chunk-HKR25MGX.js → chunk-QVIZDLAR.js} +10 -10
  107. package/dist/chunk-QVIZDLAR.js.map +1 -0
  108. package/dist/{chunk-OOTTXUNV.js → chunk-RM5EXCFF.js} +2 -2
  109. package/dist/{chunk-OOTTXUNV.js.map → chunk-RM5EXCFF.js.map} +1 -1
  110. package/dist/{chunk-OGFPMCSP.js → chunk-SBOHNJUD.js} +2 -2
  111. package/dist/{chunk-EDC6MLXV.js → chunk-SEU6QHH4.js} +2 -2
  112. package/dist/chunk-SMY5X46Z.js +14 -0
  113. package/dist/chunk-SMY5X46Z.js.map +1 -0
  114. package/dist/{chunk-F4COUZLL.js → chunk-TMR64XPL.js} +2 -2
  115. package/dist/{chunk-5OZCCLNC.js → chunk-TSNRZSRC.js} +2 -2
  116. package/dist/{chunk-2RMDVWGB.js → chunk-UNREYBZO.js} +2 -2
  117. package/dist/{chunk-BLB7P7LS.js → chunk-V2R2VWER.js} +176 -17
  118. package/dist/chunk-V2R2VWER.js.map +1 -0
  119. package/dist/{chunk-3XVOLB75.js → chunk-VDTWFN2P.js} +7 -5
  120. package/dist/chunk-VDTWFN2P.js.map +1 -0
  121. package/dist/chunk-VKQCVU2Z.js +21 -0
  122. package/dist/chunk-VKQCVU2Z.js.map +1 -0
  123. package/dist/{chunk-QCUH2G77.js → chunk-VNJMLOQS.js} +6 -6
  124. package/dist/{chunk-UEO5CHOP.js → chunk-WCJJQV2D.js} +13 -13
  125. package/dist/chunk-WCJJQV2D.js.map +1 -0
  126. package/dist/{chunk-25ZDB25Z.js → chunk-WWBC4KLB.js} +3 -3
  127. package/dist/chunk-WWBC4KLB.js.map +1 -0
  128. package/dist/{chunk-V7RGFJ3Z.js → chunk-XG7OZDOS.js} +6 -6
  129. package/dist/{chunk-GS3Q2KOZ.js → chunk-XONZGK6J.js} +2 -2
  130. package/dist/{chunk-5SZ24DL5.js → chunk-XSOGLHGY.js} +6 -6
  131. package/dist/{chunk-CCT4WZI6.js → chunk-XY6MNSAF.js} +5 -5
  132. package/dist/chunk-XY6MNSAF.js.map +1 -0
  133. package/dist/chunk-XZHEOSQ2.js +16 -0
  134. package/dist/chunk-XZHEOSQ2.js.map +1 -0
  135. package/dist/{chunk-NOT7XA7Q.js → chunk-YGMREQAK.js} +5 -5
  136. package/dist/{chunk-H4SMS4O2.js → chunk-YJ3TREAC.js} +2 -2
  137. package/dist/chunk-YMUFFJCO.js +23 -0
  138. package/dist/chunk-YMUFFJCO.js.map +1 -0
  139. package/dist/{chunk-E2R5NRZD.js → chunk-Z4D3YGAB.js} +2 -2
  140. package/dist/{chunk-WJDYZP3U.js → chunk-ZDFU34XY.js} +42 -39
  141. package/dist/chunk-ZDFU34XY.js.map +1 -0
  142. package/dist/{chunk-BZK6JEX4.js → chunk-ZF572E2M.js} +5 -5
  143. package/dist/{chunk-DEQ2JTBR.js → chunk-ZGEFBDPR.js} +4 -4
  144. package/dist/chunk-ZGEFBDPR.js.map +1 -0
  145. package/dist/{chunk-QAFWRGVD.js → chunk-ZHMUFYZF.js} +7 -7
  146. package/dist/{chunk-BVZGNMVM.js → chunk-ZHZ4PET5.js} +3 -3
  147. package/dist/{chunk-IZX3WZBF.js → chunk-ZM72UO3Y.js} +4 -4
  148. package/dist/{chunk-STR7WBOB.js → chunk-ZUDAK436.js} +2 -2
  149. package/dist/{chunk-ITI3SJRB.js → chunk-ZX5FNWH7.js} +2 -2
  150. package/dist/classified/index.js +5 -5
  151. package/dist/{classified-marker-7S5IEP6Q.js → classified-marker-SVDRXLD3.js} +3 -3
  152. package/dist/collection-facade-S5PPKZD5.js +44 -0
  153. package/dist/{computed-WZNKRLCY.js → computed-33DRJDOC.js} +3 -3
  154. package/dist/consent/index.js +13 -9
  155. package/dist/consent/index.js.map +1 -1
  156. package/dist/{cover-B5MY43CK.js → cover-ADBCTIKN.js} +4 -4
  157. package/dist/crdt/index.js +4 -0
  158. package/dist/crdt/index.js.map +1 -1
  159. package/dist/{dead-filter-KRRD57MR.js → dead-filter-HKDMTMVY.js} +2 -2
  160. package/dist/delegation-EV7LKJPH.js +25 -0
  161. package/dist/derivations/index.js +12 -12
  162. package/dist/derive-5LDJW76F.js +21 -0
  163. package/dist/dispatch-SPMYNXNW.js +194 -0
  164. package/dist/dispatch-SPMYNXNW.js.map +1 -0
  165. package/dist/dispatch-V5MSMQYX.js +72 -0
  166. package/dist/dispatch-V5MSMQYX.js.map +1 -0
  167. package/dist/{enclave-YFKA3GJT.js → enclave-ZA7C3H2L.js} +11 -11
  168. package/dist/executor-FCJEH3FU.js +9 -0
  169. package/dist/executor-OHET7TF7.js +9 -0
  170. package/dist/executor-SVHAJZ4A.js +28 -0
  171. package/dist/export-accessible-S35YKIBL.js +23 -0
  172. package/dist/extract-partition-UVHAM5WZ.js +38 -0
  173. package/dist/{fanout-sidecar-HJV3A7PM.js → fanout-sidecar-HRMHC34B.js} +9 -9
  174. package/dist/find-LEBUXVL7.js +11 -0
  175. package/dist/forget/index.js +9 -9
  176. package/dist/guards/index.js +3 -3
  177. package/dist/history/index.js +16 -12
  178. package/dist/history/index.js.map +1 -1
  179. package/dist/i18n/index.js +16 -14
  180. package/dist/i18n/index.js.map +1 -1
  181. package/dist/index.d.ts +17 -16
  182. package/dist/index.js +155 -211
  183. package/dist/index.js.map +1 -1
  184. package/dist/indexing/index.js +4 -2
  185. package/dist/indexing/index.js.map +1 -1
  186. package/dist/issue-5X3SMCF4.js +19 -0
  187. package/dist/kernel/collection.d.ts +0 -1
  188. package/dist/kernel/enclave/crypto.d.ts +8 -8
  189. package/dist/kernel/enclave/index.d.ts +2 -2
  190. package/dist/kernel/errors.d.ts +20 -20
  191. package/dist/kernel/lazy.d.ts +30 -0
  192. package/dist/kernel/noydb.d.ts +53 -101
  193. package/dist/kernel/query/builder.d.ts +10 -10
  194. package/dist/kernel/query/index.d.ts +0 -6
  195. package/dist/kernel/query/scan-builder.d.ts +4 -4
  196. package/dist/kernel/types.d.ts +87 -46
  197. package/dist/kernel/validation.d.ts +33 -33
  198. package/dist/kernel/vault.d.ts +12 -149
  199. package/dist/kernel/via/dispatch.d.ts +7 -0
  200. package/dist/{ledger-SW6QQOAV.js → ledger-K6JBFL3Z.js} +11 -11
  201. package/dist/liberate-NHTCKBU4.js +24 -0
  202. package/dist/{link-set-GNGGCFI4.js → link-set-XVZY2ODC.js} +11 -11
  203. package/dist/materialized-views/index.js +22 -19
  204. package/dist/noydb-TI3RFU6M.js +78 -0
  205. package/dist/overlay-views/index.js +4 -4
  206. package/dist/periods/index.js +15 -13
  207. package/dist/pod/index.js +11 -12
  208. package/dist/{policy-EAXSJNOT.js → policy-QWGJB7P7.js} +5 -5
  209. package/dist/port/with/collection-options.d.ts +171 -0
  210. package/dist/port/with/collection-registries.d.ts +62 -0
  211. package/dist/port/with/strategies.d.ts +2 -2
  212. package/dist/port/with/team-strategy.d.ts +3 -2
  213. package/dist/portability/index.js +8 -8
  214. package/dist/{post-register-A7HCFBP5.js → post-register-5VHHVFJY.js} +6 -6
  215. package/dist/query/index.js +6 -46
  216. package/dist/{aggregate → reduce}/index.js +24 -17
  217. package/dist/reduce/index.js.map +1 -0
  218. package/dist/register-CEX7R7NE.js +23 -0
  219. package/dist/registry-7CZWF3EQ.js +9 -0
  220. package/dist/registry-DIKMRXUC.js +19 -0
  221. package/dist/registry-EWIB5NTI.js +18 -0
  222. package/dist/request-withdrawal-AAG57QO4.js +31 -0
  223. package/dist/{reveal-PB3YG544.js → reveal-7OOT5XPD.js} +6 -6
  224. package/dist/revoke-U5LCIJMF.js +24 -0
  225. package/dist/satellites/index.js +1 -1
  226. package/dist/sealed-record/index.js +12 -12
  227. package/dist/{seed-EKF4DIBB.js → seed-GVOI6QP6.js} +12 -12
  228. package/dist/seed-GVOI6QP6.js.map +1 -0
  229. package/dist/session/index.js +13 -9
  230. package/dist/session/index.js.map +1 -1
  231. package/dist/shadow/index.js +6 -2
  232. package/dist/shadow/index.js.map +1 -1
  233. package/dist/signer-NAA2OX7H.js +25 -0
  234. package/dist/snapshots/index.js +14 -10
  235. package/dist/snapshots/index.js.map +1 -1
  236. package/dist/{stale-4UNPHWOU.js → stale-BJO2WIN7.js} +11 -10
  237. package/dist/storage-FL7XXZTN.js +23 -0
  238. package/dist/{store-coordination-provider-3AELCZ4Y.js → store-coordination-provider-DX5HECK3.js} +3 -3
  239. package/dist/sync/index.js +14 -10
  240. package/dist/sync/index.js.map +1 -1
  241. package/dist/team/index.js +26 -28
  242. package/dist/tiers/index.js +10 -10
  243. package/dist/to/index.js +1 -1
  244. package/dist/tx/index.js +7 -3
  245. package/dist/tx/index.js.map +1 -1
  246. package/dist/util/index.js +1 -1
  247. package/dist/{verify-MXN66IIH.js → verify-5X37OXRY.js} +5 -5
  248. package/dist/via/blob/index.d.ts +2 -0
  249. package/dist/via/i18n/core.d.ts +1 -1
  250. package/dist/via/i18n/index.d.ts +2 -0
  251. package/dist/via/money/money-reducer.d.ts +2 -2
  252. package/dist/{walk-H4YE52S2.js → walk-JXMWKKQW.js} +11 -11
  253. package/dist/with-audit/consent/index.d.ts +2 -0
  254. package/dist/with-audit/periods/index.d.ts +2 -0
  255. package/dist/with-audit/portability/export-accessible.d.ts +4 -4
  256. package/dist/with-audit/portability/request-withdrawal.d.ts +3 -3
  257. package/dist/with-audit/portability/withdraw-accessible.d.ts +2 -2
  258. package/dist/with-audit/sealed-record/strategy.d.ts +1 -1
  259. package/dist/with-cargo/adopt-partition.d.ts +7 -7
  260. package/dist/with-cargo/floor.d.ts +3 -3
  261. package/dist/with-cargo/index.d.ts +1 -1
  262. package/dist/with-commit/crdt/index.d.ts +2 -0
  263. package/dist/with-commit/history/index.d.ts +2 -0
  264. package/dist/with-commit/history/time-machine.d.ts +2 -2
  265. package/dist/with-fork/shadow/index.d.ts +2 -0
  266. package/dist/with-fork/snapshots/index.d.ts +2 -0
  267. package/dist/with-formula/derivations/dispatch.d.ts +98 -0
  268. package/dist/with-formula/materialized-views/dispatch.d.ts +75 -0
  269. package/dist/with-formula/materialized-views/types.d.ts +7 -7
  270. package/dist/with-lookup/indexing/index.d.ts +2 -0
  271. package/dist/with-lookup/{aggregate → reduce}/active.d.ts +8 -8
  272. package/dist/with-lookup/{aggregate → reduce}/groupby.d.ts +21 -21
  273. package/dist/with-lookup/reduce/index.d.ts +34 -0
  274. package/dist/with-lookup/{aggregate → reduce}/reducers.d.ts +10 -10
  275. package/dist/with-lookup/{aggregate/aggregation.d.ts → reduce/reduction.d.ts} +21 -21
  276. package/dist/with-lookup/{aggregate → reduce}/strategy.d.ts +15 -15
  277. package/dist/with-party/custody/liberate.d.ts +3 -3
  278. package/dist/with-party/session/dev-unlock.d.ts +2 -2
  279. package/dist/with-party/session/index.d.ts +2 -0
  280. package/dist/with-party/session/session.d.ts +2 -2
  281. package/dist/with-party/sync/index.d.ts +2 -0
  282. package/dist/with-party/team/deed.d.ts +8 -8
  283. package/dist/with-party/team/index.d.ts +2 -2
  284. package/dist/with-party/team/keyring.d.ts +39 -20
  285. package/dist/with-party/team/{managed-passphrase.d.ts → managed-secret.d.ts} +27 -27
  286. package/dist/with-party/team/noydb-facade.d.ts +43 -42
  287. package/dist/with-party/team/peer-recover.d.ts +13 -13
  288. package/dist/with-party/team/recovery.d.ts +5 -5
  289. package/dist/with-party/team/rotate-recover.d.ts +30 -30
  290. package/dist/with-pod/bundle.d.ts +30 -30
  291. package/dist/with-pod/format.d.ts +2 -2
  292. package/dist/withdraw-accessible-GO6KQJVM.js +28 -0
  293. package/package.json +6 -34
  294. package/dist/aggregate/index.js.map +0 -1
  295. package/dist/api-UPAT2O3M.js +0 -20
  296. package/dist/as/index.js +0 -30
  297. package/dist/at/index.js +0 -1
  298. package/dist/by/index.js +0 -11
  299. package/dist/chunk-25ZDB25Z.js.map +0 -1
  300. package/dist/chunk-2KL6NDD4.js.map +0 -1
  301. package/dist/chunk-2YELV6TV.js +0 -1
  302. package/dist/chunk-3O62PVDW.js +0 -205
  303. package/dist/chunk-3O62PVDW.js.map +0 -1
  304. package/dist/chunk-3XVOLB75.js.map +0 -1
  305. package/dist/chunk-4X6DJZHY.js.map +0 -1
  306. package/dist/chunk-5BHNQNBI.js.map +0 -1
  307. package/dist/chunk-5P5AAXYA.js.map +0 -1
  308. package/dist/chunk-BCOKZC4B.js.map +0 -1
  309. package/dist/chunk-BLB7P7LS.js.map +0 -1
  310. package/dist/chunk-CCT4WZI6.js.map +0 -1
  311. package/dist/chunk-CGPO3ZYB.js.map +0 -1
  312. package/dist/chunk-DEQ2JTBR.js.map +0 -1
  313. package/dist/chunk-GBEXTC6Z.js.map +0 -1
  314. package/dist/chunk-HKR25MGX.js.map +0 -1
  315. package/dist/chunk-IGM563N5.js.map +0 -1
  316. package/dist/chunk-J3VW4J4E.js.map +0 -1
  317. package/dist/chunk-JA5O7UEZ.js.map +0 -1
  318. package/dist/chunk-JIMEB4C6.js.map +0 -1
  319. package/dist/chunk-KMONEHDJ.js +0 -54
  320. package/dist/chunk-KMONEHDJ.js.map +0 -1
  321. package/dist/chunk-KR5EGWI4.js.map +0 -1
  322. package/dist/chunk-LB7FD65R.js +0 -163
  323. package/dist/chunk-LB7FD65R.js.map +0 -1
  324. package/dist/chunk-MEKAMERX.js.map +0 -1
  325. package/dist/chunk-QUIG6BZT.js.map +0 -1
  326. package/dist/chunk-QYJIOWKN.js.map +0 -1
  327. package/dist/chunk-U73LHVPF.js.map +0 -1
  328. package/dist/chunk-UEO5CHOP.js.map +0 -1
  329. package/dist/chunk-W7TCXZWU.js.map +0 -1
  330. package/dist/chunk-WEC3JGBA.js +0 -255
  331. package/dist/chunk-WEC3JGBA.js.map +0 -1
  332. package/dist/chunk-WJDYZP3U.js.map +0 -1
  333. package/dist/chunk-XULHFSHO.js.map +0 -1
  334. package/dist/collection-facade-CMZGQ6IS.js +0 -44
  335. package/dist/delegation-UT76AQIG.js +0 -25
  336. package/dist/derive-SGRCCKVP.js +0 -21
  337. package/dist/executor-TEZYRDN3.js +0 -9
  338. package/dist/executor-WQQRU6DO.js +0 -9
  339. package/dist/executor-YORMIBWV.js +0 -26
  340. package/dist/export-accessible-HXMKW5LJ.js +0 -23
  341. package/dist/extract-partition-QGQ2R42J.js +0 -38
  342. package/dist/find-VV6PBIHK.js +0 -11
  343. package/dist/in/index.js +0 -1
  344. package/dist/issue-7JJ4Z7E2.js +0 -19
  345. package/dist/liberate-FK7JI2QX.js +0 -24
  346. package/dist/noydb-N5IW6OFZ.js +0 -70
  347. package/dist/on/index.js +0 -17
  348. package/dist/port/as/index.d.ts +0 -26
  349. package/dist/port/at/index.d.ts +0 -18
  350. package/dist/port/in/index.d.ts +0 -21
  351. package/dist/port/on/index.d.ts +0 -27
  352. package/dist/port/ui/index.d.ts +0 -21
  353. package/dist/port/with/index.d.ts +0 -18
  354. package/dist/register-YBMRLZLO.js +0 -23
  355. package/dist/registry-3LXKNXWI.js +0 -9
  356. package/dist/registry-4V4YQCXJ.js +0 -19
  357. package/dist/registry-ZULMLCJK.js +0 -18
  358. package/dist/request-withdrawal-SEVUEUDG.js +0 -31
  359. package/dist/request-withdrawal-SEVUEUDG.js.map +0 -1
  360. package/dist/revoke-5QULL5GT.js +0 -24
  361. package/dist/revoke-5QULL5GT.js.map +0 -1
  362. package/dist/seed-EKF4DIBB.js.map +0 -1
  363. package/dist/signer-ZMH35FT4.js +0 -25
  364. package/dist/signer-ZMH35FT4.js.map +0 -1
  365. package/dist/stale-4UNPHWOU.js.map +0 -1
  366. package/dist/storage-QOZKQMID.js +0 -23
  367. package/dist/storage-QOZKQMID.js.map +0 -1
  368. package/dist/ui/index.js +0 -1
  369. package/dist/ui/index.js.map +0 -1
  370. package/dist/with/index.js +0 -31
  371. package/dist/with/index.js.map +0 -1
  372. package/dist/with-lookup/aggregate/index.d.ts +0 -23
  373. package/dist/withdraw-accessible-HPOVNG2G.js +0 -28
  374. package/dist/withdraw-accessible-HPOVNG2G.js.map +0 -1
  375. /package/dist/{api-UPAT2O3M.js.map → api-5QVQX4HG.js.map} +0 -0
  376. /package/dist/{backup-JL2GOTYQ.js.map → backup-USYSNCYM.js.map} +0 -0
  377. /package/dist/{chunk-JLHKBAFY.js.map → chunk-2BVW754E.js.map} +0 -0
  378. /package/dist/{chunk-T7S4V52L.js.map → chunk-2PDBYF2O.js.map} +0 -0
  379. /package/dist/{chunk-YGBIBOCR.js.map → chunk-2ZSC454H.js.map} +0 -0
  380. /package/dist/{chunk-IGAIOGCN.js.map → chunk-32467U5J.js.map} +0 -0
  381. /package/dist/{chunk-JW3XCZA2.js.map → chunk-3TZUC4WS.js.map} +0 -0
  382. /package/dist/{chunk-JA5B3SLH.js.map → chunk-44Y3P5U6.js.map} +0 -0
  383. /package/dist/{chunk-25G7U6RD.js.map → chunk-4B3DL75F.js.map} +0 -0
  384. /package/dist/{chunk-L4OA7G5T.js.map → chunk-522MBPE5.js.map} +0 -0
  385. /package/dist/{chunk-M25ZIEB2.js.map → chunk-5HSSTOOG.js.map} +0 -0
  386. /package/dist/{chunk-LLVW4V7R.js.map → chunk-5WLDZZ6S.js.map} +0 -0
  387. /package/dist/{chunk-7B4GPCX7.js.map → chunk-7IQWHYL2.js.map} +0 -0
  388. /package/dist/{chunk-OWE4BNTM.js.map → chunk-AZXEOEQK.js.map} +0 -0
  389. /package/dist/{chunk-BZEPJJOK.js.map → chunk-C2V7AJO2.js.map} +0 -0
  390. /package/dist/{chunk-2JZ763FV.js.map → chunk-D4LAJ737.js.map} +0 -0
  391. /package/dist/{chunk-N4FZ6ITM.js.map → chunk-EGU4PWQW.js.map} +0 -0
  392. /package/dist/{chunk-EW4HFWGJ.js.map → chunk-EPME33Y4.js.map} +0 -0
  393. /package/dist/{chunk-JKWNG3TM.js.map → chunk-FHHYCBBP.js.map} +0 -0
  394. /package/dist/{chunk-5BB3N4KU.js.map → chunk-G4MFQXYX.js.map} +0 -0
  395. /package/dist/{chunk-KVHWEPT2.js.map → chunk-GHEMAVTN.js.map} +0 -0
  396. /package/dist/{chunk-XW7NWO4A.js.map → chunk-GTNRMJYH.js.map} +0 -0
  397. /package/dist/{chunk-YG2EG6CB.js.map → chunk-H5GMROCB.js.map} +0 -0
  398. /package/dist/{chunk-5KI3REO3.js.map → chunk-HDF5R2K6.js.map} +0 -0
  399. /package/dist/{chunk-V3YB7RGR.js.map → chunk-HVPW6PCX.js.map} +0 -0
  400. /package/dist/{chunk-2VUISNGP.js.map → chunk-HXVRRJBD.js.map} +0 -0
  401. /package/dist/{chunk-ZJGZDOQO.js.map → chunk-ICYC5YNI.js.map} +0 -0
  402. /package/dist/{chunk-AFBJHD55.js.map → chunk-JGOKAZNB.js.map} +0 -0
  403. /package/dist/{chunk-QXPOEAKR.js.map → chunk-KCZAFDP5.js.map} +0 -0
  404. /package/dist/{chunk-MSO2C3KG.js.map → chunk-LC7DSMHR.js.map} +0 -0
  405. /package/dist/{chunk-OVFCAS7U.js.map → chunk-LG2GUYRX.js.map} +0 -0
  406. /package/dist/{chunk-QDNVHA2F.js.map → chunk-M7W2KYTL.js.map} +0 -0
  407. /package/dist/{chunk-IUIVDVXM.js.map → chunk-MUPZ6IZX.js.map} +0 -0
  408. /package/dist/{chunk-GZ2GKOF6.js.map → chunk-NA374QG7.js.map} +0 -0
  409. /package/dist/{chunk-2U7Y7BNJ.js.map → chunk-ONB627HU.js.map} +0 -0
  410. /package/dist/{chunk-GYB2QK5H.js.map → chunk-OWLZONGX.js.map} +0 -0
  411. /package/dist/{chunk-YHPUDB7Q.js.map → chunk-OWOT7CFC.js.map} +0 -0
  412. /package/dist/{chunk-VEX6G3YL.js.map → chunk-P4NUJVWL.js.map} +0 -0
  413. /package/dist/{chunk-NM4LVUXH.js.map → chunk-PTT2NB46.js.map} +0 -0
  414. /package/dist/{chunk-2ITLQZV5.js.map → chunk-PWWWMRT7.js.map} +0 -0
  415. /package/dist/{chunk-FLHOTGOO.js.map → chunk-QVGEVZ5F.js.map} +0 -0
  416. /package/dist/{chunk-OGFPMCSP.js.map → chunk-SBOHNJUD.js.map} +0 -0
  417. /package/dist/{chunk-EDC6MLXV.js.map → chunk-SEU6QHH4.js.map} +0 -0
  418. /package/dist/{chunk-F4COUZLL.js.map → chunk-TMR64XPL.js.map} +0 -0
  419. /package/dist/{chunk-5OZCCLNC.js.map → chunk-TSNRZSRC.js.map} +0 -0
  420. /package/dist/{chunk-2RMDVWGB.js.map → chunk-UNREYBZO.js.map} +0 -0
  421. /package/dist/{chunk-QCUH2G77.js.map → chunk-VNJMLOQS.js.map} +0 -0
  422. /package/dist/{chunk-V7RGFJ3Z.js.map → chunk-XG7OZDOS.js.map} +0 -0
  423. /package/dist/{chunk-GS3Q2KOZ.js.map → chunk-XONZGK6J.js.map} +0 -0
  424. /package/dist/{chunk-5SZ24DL5.js.map → chunk-XSOGLHGY.js.map} +0 -0
  425. /package/dist/{chunk-NOT7XA7Q.js.map → chunk-YGMREQAK.js.map} +0 -0
  426. /package/dist/{chunk-H4SMS4O2.js.map → chunk-YJ3TREAC.js.map} +0 -0
  427. /package/dist/{chunk-E2R5NRZD.js.map → chunk-Z4D3YGAB.js.map} +0 -0
  428. /package/dist/{chunk-BZK6JEX4.js.map → chunk-ZF572E2M.js.map} +0 -0
  429. /package/dist/{chunk-QAFWRGVD.js.map → chunk-ZHMUFYZF.js.map} +0 -0
  430. /package/dist/{chunk-BVZGNMVM.js.map → chunk-ZHZ4PET5.js.map} +0 -0
  431. /package/dist/{chunk-IZX3WZBF.js.map → chunk-ZM72UO3Y.js.map} +0 -0
  432. /package/dist/{chunk-STR7WBOB.js.map → chunk-ZUDAK436.js.map} +0 -0
  433. /package/dist/{chunk-ITI3SJRB.js.map → chunk-ZX5FNWH7.js.map} +0 -0
  434. /package/dist/{classified-marker-7S5IEP6Q.js.map → classified-marker-SVDRXLD3.js.map} +0 -0
  435. /package/dist/{as/index.js.map → collection-facade-S5PPKZD5.js.map} +0 -0
  436. /package/dist/{at/index.js.map → computed-33DRJDOC.js.map} +0 -0
  437. /package/dist/{by/index.js.map → cover-ADBCTIKN.js.map} +0 -0
  438. /package/dist/{dead-filter-KRRD57MR.js.map → dead-filter-HKDMTMVY.js.map} +0 -0
  439. /package/dist/{chunk-2YELV6TV.js.map → delegation-EV7LKJPH.js.map} +0 -0
  440. /package/dist/{collection-facade-CMZGQ6IS.js.map → derive-5LDJW76F.js.map} +0 -0
  441. /package/dist/{computed-WZNKRLCY.js.map → enclave-ZA7C3H2L.js.map} +0 -0
  442. /package/dist/{cover-B5MY43CK.js.map → executor-FCJEH3FU.js.map} +0 -0
  443. /package/dist/{delegation-UT76AQIG.js.map → executor-OHET7TF7.js.map} +0 -0
  444. /package/dist/{derive-SGRCCKVP.js.map → executor-SVHAJZ4A.js.map} +0 -0
  445. /package/dist/{enclave-YFKA3GJT.js.map → export-accessible-S35YKIBL.js.map} +0 -0
  446. /package/dist/{executor-TEZYRDN3.js.map → extract-partition-UVHAM5WZ.js.map} +0 -0
  447. /package/dist/{fanout-sidecar-HJV3A7PM.js.map → fanout-sidecar-HRMHC34B.js.map} +0 -0
  448. /package/dist/{executor-WQQRU6DO.js.map → find-LEBUXVL7.js.map} +0 -0
  449. /package/dist/{executor-YORMIBWV.js.map → issue-5X3SMCF4.js.map} +0 -0
  450. /package/dist/{export-accessible-HXMKW5LJ.js.map → ledger-K6JBFL3Z.js.map} +0 -0
  451. /package/dist/{extract-partition-QGQ2R42J.js.map → liberate-NHTCKBU4.js.map} +0 -0
  452. /package/dist/{find-VV6PBIHK.js.map → link-set-XVZY2ODC.js.map} +0 -0
  453. /package/dist/{in/index.js.map → noydb-TI3RFU6M.js.map} +0 -0
  454. /package/dist/{issue-7JJ4Z7E2.js.map → policy-QWGJB7P7.js.map} +0 -0
  455. /package/dist/{post-register-A7HCFBP5.js.map → post-register-5VHHVFJY.js.map} +0 -0
  456. /package/dist/{ledger-SW6QQOAV.js.map → register-CEX7R7NE.js.map} +0 -0
  457. /package/dist/{liberate-FK7JI2QX.js.map → registry-7CZWF3EQ.js.map} +0 -0
  458. /package/dist/{link-set-GNGGCFI4.js.map → registry-DIKMRXUC.js.map} +0 -0
  459. /package/dist/{noydb-N5IW6OFZ.js.map → registry-EWIB5NTI.js.map} +0 -0
  460. /package/dist/{on/index.js.map → request-withdrawal-AAG57QO4.js.map} +0 -0
  461. /package/dist/{reveal-PB3YG544.js.map → reveal-7OOT5XPD.js.map} +0 -0
  462. /package/dist/{policy-EAXSJNOT.js.map → revoke-U5LCIJMF.js.map} +0 -0
  463. /package/dist/{register-YBMRLZLO.js.map → signer-NAA2OX7H.js.map} +0 -0
  464. /package/dist/{registry-3LXKNXWI.js.map → stale-BJO2WIN7.js.map} +0 -0
  465. /package/dist/{registry-4V4YQCXJ.js.map → storage-FL7XXZTN.js.map} +0 -0
  466. /package/dist/{store-coordination-provider-3AELCZ4Y.js.map → store-coordination-provider-DX5HECK3.js.map} +0 -0
  467. /package/dist/{verify-MXN66IIH.js.map → verify-5X37OXRY.js.map} +0 -0
  468. /package/dist/{walk-H4YE52S2.js.map → walk-JXMWKKQW.js.map} +0 -0
  469. /package/dist/with-lookup/{aggregate → reduce}/canonical-key.d.ts +0 -0
  470. /package/dist/{registry-ZULMLCJK.js.map → withdraw-accessible-GO6KQJVM.js.map} +0 -0
@@ -0,0 +1,171 @@
1
+ /**
2
+ * Options for `Vault.collection()` — opening or declaring a collection (#841).
3
+ *
4
+ * ## Why this lives on the port
5
+ *
6
+ * The shape references descriptor types owned by services — `EmbeddingDescriptor`
7
+ * (`with-lookup`), `ComputedFields` (`with-formula`), `FieldMeta` (`with-shape`) —
8
+ * so it cannot sit in `kernel/`: `port-layering` forbids the spine from
9
+ * statically importing a `with-*` service, and the grandfathered lists are
10
+ * frozen per file. `port/with/` is the seam that exists for exactly this, and
11
+ * port files may reach services freely — the same reasoning that placed the
12
+ * strategy table here in #838.
13
+ *
14
+ * @internal
15
+ */
16
+ import type { CacheOptions } from '../../kernel/collection.js';
17
+ import type { RefDescriptor } from '../../kernel/refs.js';
18
+ import type { StandardSchemaV1 } from '../../kernel/schema.js';
19
+ import type { ConflictPolicy, HistoryConfig, IndexDefFor, IndexFieldName, MoneyFieldsOpt, SensitiveOpt, TierMode } from '../../kernel/types.js';
20
+ import type { ViaFieldSpec } from '../../kernel/via/compose.js';
21
+ import type { ClassifiedEntry } from '../../port/with/classified-strategy.js';
22
+ import type { CrdtMode } from '../../with-commit/crdt/crdt.js';
23
+ import type { ComputedFields } from '../../with-formula/computed/index.js';
24
+ import type { EmbeddingDescriptor } from '../../with-lookup/embeddings/index.js';
25
+ import type { BlobFieldsConfig } from '../../with-shape/blobs/blob-compaction.js';
26
+ import type { FieldMeta } from '../../with-shape/introspection/field-meta.js';
27
+ import type { CollectionMeta } from '../../with-shape/introspection/meta.js';
28
+ import type { DictKeyDescriptor, I18nTextDescriptor, StaticDictDescriptor } from './i18n-strategy.js';
29
+ import type { LookupDescriptor } from '../../via/lookup/descriptor.js';
30
+ import type { ArchivePolicy } from '../../with-fork/archive/index.js';
31
+ import type { SchemaUpdateStrategy } from '../../with-shape/schema-update/types.js';
32
+ import type { AttestationFieldSchema } from '@noy-db/attestation';
33
+ /**
34
+ * Options for {@link Vault.collection} — opening or declaring a collection.
35
+ *
36
+ * Extracted from a 124-line inline literal (#841). Naming it lets consumers
37
+ * annotate a call, lets `describe()` reuse the shape, and means a new option
38
+ * is one edit here rather than an edit buried in the middle of a 534-line
39
+ * method.
40
+ *
41
+ * Named `OpenCollectionOptions`, not `CollectionOptions` as the issue
42
+ * suggested, to keep a clear gap from the existing `CollectionOpts` in
43
+ * `collection-config.ts` — that one is the `Collection` CONSTRUCTOR's input,
44
+ * built from this one. A one-character difference between two adjacent
45
+ * config types is exactly the wart #844 is about.
46
+ */
47
+ export interface OpenCollectionOptions<T, S extends keyof T & string = never, Q extends keyof T & string = never, M extends keyof T & string = never> {
48
+ indexes?: readonly IndexDefFor<IndexFieldName<T, S, Q>>[];
49
+ /** — auto-reconcile policy for persisted-index drift. */
50
+ reconcileOnOpen?: 'off' | 'dry-run' | 'auto';
51
+ prefetch?: boolean;
52
+ cache?: CacheOptions;
53
+ schema?: StandardSchemaV1<unknown, T>;
54
+ refs?: Record<string, RefDescriptor>;
55
+ /** — declare i18nText fields for locale-aware reads. */
56
+ i18nFields?: Record<string, I18nTextDescriptor>;
57
+ /** — embedding config for write-time vector derivation + semantic retrieval. */
58
+ embeddings?: EmbeddingDescriptor;
59
+ /** — string fields exposed to client-side `retrieve()`. */
60
+ textIndexes?: readonly IndexFieldName<T, S>[];
61
+ /** — pre-build the lexical index on open (eager-only). */
62
+ warmIndexOnOpen?: boolean;
63
+ /** — persist the lexical index as an opaque encrypted blob at `_ftindex/<name>`. */
64
+ textIndexPersist?: boolean;
65
+ /** — declare dictKey / staticDict fields for label resolution on reads. */
66
+ dictKeyFields?: Record<string, DictKeyDescriptor | StaticDictDescriptor>;
67
+ /** — declare lookup() / enumOf() / dict() fields (#650 Task 2 — the 'lookup' via binding's three tiers). */
68
+ lookupFields?: Record<string, LookupDescriptor>;
69
+ /** Consumer-neutral per-field descriptors (label/unit/semanticType/sensitivity…). See collection.describe(). */
70
+ fieldMeta?: Record<string, FieldMeta>;
71
+ /** The collection's own descriptive metadata (label/description/icon). See collection.describe(). */
72
+ meta?: CollectionMeta;
73
+ /** — declare money() fields for currency-safe decimal storage/formatting. */
74
+ moneyFields?: MoneyFieldsOpt<T, M>;
75
+ viaFields?: Record<string, ViaFieldSpec>;
76
+ /** — declare computed scalar fields, evaluated on write (schema-owned). Each entry may be
77
+ * a plain `(record) => value` function, OR `{ fn, deps }` to declare source fields for
78
+ * taint propagation (#638 Task 7 — supersedes the retired `computedDeps` option). */
79
+ computed?: ComputedFields<T>;
80
+ /** — declare classified() sensitive-field descriptors. See the classified-fields spec. */
81
+ classifiedFields?: Record<string, ClassifiedEntry>;
82
+ /** — per-collection conflict resolution policy. */
83
+ conflictPolicy?: ConflictPolicy<T>;
84
+ /** — CRDT mode for collaborative editing without conflicts. */
85
+ crdt?: CrdtMode;
86
+ /**
87
+ * declare deterministic-encryption fields for blind
88
+ * equality search. See `Collection` constructor docs for the full
89
+ * trade-off. Requires `acknowledgeDeterministicRisk: true`.
90
+ */
91
+ deterministicFields?: readonly IndexFieldName<T, S>[];
92
+ /** — explicit ack that deterministic encryption leaks equality. */
93
+ acknowledgeDeterministicRisk?: boolean;
94
+ /** — explicit ack for the classified `equatable` knob (R8 door). Required
95
+ * when any classified field declares `equatable: true`. */
96
+ acknowledgeEquatableRisk?: boolean;
97
+ /**
98
+ * — structural group-encryption. Fields sealed into their own
99
+ * `_sealed[field]` envelope slot (per-field key), kept out of the open
100
+ * `_data` blob. Default-off; byte-identical output when absent.
101
+ */
102
+ sensitive?: SensitiveOpt<T, S>;
103
+ /**
104
+ * — per-record content-encryption keys. When `true`, every record
105
+ * body is encrypted under a fresh per-record CEK wrapped under the
106
+ * collection DEK (`_cek`), stable across versions. Foundation for
107
+ * per-record erasure / record-scoped sealing. Off by
108
+ * default; non-adopting collections take the legacy path unchanged.
109
+ */
110
+ perRecordKeys?: boolean;
111
+ satelliteOf?: string;
112
+ fields?: readonly string[];
113
+ joined?: string;
114
+ /**
115
+ * Per-record provenance tracking. When `true`, `put()` calls that
116
+ * supply a `source` option stamp `_source` / `_sourceTs` onto the
117
+ * unencrypted envelope metadata. Off by default.
118
+ */
119
+ provenance?: boolean;
120
+ /**
121
+ * declarative blob retention / TTL policy per slot
122
+ * name. Values are `{ retainDays?, evictWhen? }`. Evaluated only
123
+ * when `vault.compact()` runs.
124
+ */
125
+ blobFields?: BlobFieldsConfig<T>;
126
+ blobTierPolicy?: 'isolate' | 'dedup';
127
+ /** — declarative record archival policy: `{ archiveWhen, legalHold? }`. Evaluated when `vault.archive()` runs. */
128
+ archive?: ArchivePolicy<T>;
129
+ /** — declared tiers for this collection. */
130
+ tiers?: readonly number[];
131
+ /** — how lower-tier reads see above-tier records. */
132
+ tierMode?: TierMode;
133
+ /**
134
+ * Opt-in persisted JSON Schema. When `true` AND a Zod `schema` is
135
+ * provided, hub derives a JSON Schema via `zod-to-json-schema`
136
+ * (optional peer-dep) and writes an encrypted snapshot to
137
+ * `_schemas/<collectionName>`. Re-runs on every open; hash-skip
138
+ * avoids write churn when the schema is unchanged.
139
+ *
140
+ * Default: `false`. Non-Zod Standard Schema validators receive a
141
+ * stub envelope flagging the kind without a JSON Schema body.
142
+ *
143
+ * @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
144
+ */
145
+ persistJsonSchema?: boolean;
146
+ /**
147
+ * Ordered schema-update strategies. On a detected schema
148
+ * change, evaluated in order; the first non-`allow` decision wins.
149
+ * A `reject` is enforced at the write path (`put`/`delete` throw).
150
+ * Requires `persistJsonSchema: true` (detection needs the baseline).
151
+ */
152
+ schemaUpdate?: readonly SchemaUpdateStrategy[];
153
+ /** — declare the per-field schema for document attestation (issue side). */
154
+ attestation?: AttestationFieldSchema;
155
+ /**
156
+ * Per-collection history & tamper-ledger scoping. Overrides the
157
+ * vault-wide `history` config for THIS collection only (wholesale, not
158
+ * merged). `enabled: false` suppresses per-record snapshots for this
159
+ * collection; `ledger: false` excludes its writes from the vault-wide
160
+ * hash-chained tamper ledger. Lets you confine version snapshots +
161
+ * tamper-evidence to the few collections where they carry legal weight,
162
+ * without paying snapshot + ledger-entry-per-write across operational /
163
+ * derived collections. Defaults to the vault-wide `history` config.
164
+ */
165
+ historyConfig?: HistoryConfig;
166
+ /**
167
+ * Opt-in: keep the working set encrypted in RAM, decrypting on read (future phase).
168
+ * Default false — the working set is plaintext.
169
+ */
170
+ ramCiphertext?: boolean;
171
+ }
@@ -0,0 +1,62 @@
1
+ /**
2
+ * Vault-level registries a collection declaration populates (#841).
3
+ *
4
+ * `Vault.collection()` carried ~70 lines that did nothing but fan a
5
+ * declaration out into ten registries — refs, i18n fields, blob retention,
6
+ * archive policy, attestation schema, the dict/lookup family, and the
7
+ * schema-update names. None of it is orchestration, and all of it obscured
8
+ * the method's actual job.
9
+ *
10
+ * ## Why this is on the port and not in `kernel/`
11
+ *
12
+ * The registry types reach into services — `BlobFieldsConfig`
13
+ * (`with-shape/blobs`) and `ArchivePolicy` (`with-fork/archive`) — and
14
+ * `port-layering` forbids the spine from statically importing a `with-*`
15
+ * module, **including type-only** (the guard scans import statements, not
16
+ * their erasure). Port files may reach services freely, which is why
17
+ * `strategies.ts` and `collection-options.ts` already live here.
18
+ *
19
+ * @internal
20
+ */
21
+ import type { AttestationFieldSchema } from '@noy-db/attestation';
22
+ import type { BlobFieldsConfig } from '../../with-shape/blobs/blob-compaction.js';
23
+ import type { ArchivePolicy } from '../../with-fork/archive/index.js';
24
+ import type { OpenCollectionOptions } from './collection-options.js';
25
+ import { type StaticDictDescriptor } from './i18n-strategy.js';
26
+ import { type LookupDescriptor } from './lookup-strategy.js';
27
+ /** The via-derived field maps a declaration resolves to before registration. */
28
+ export interface EffectiveViaFields {
29
+ readonly i18nFields?: Record<string, unknown> | undefined;
30
+ readonly dictKeyFields?: Record<string, StaticDictDescriptor | {
31
+ name: string;
32
+ }> | undefined;
33
+ readonly lookupFields?: Record<string, LookupDescriptor<string>> | undefined;
34
+ }
35
+ /**
36
+ * The ten registries a collection declaration writes into. Passed by
37
+ * reference — these are the Vault's own maps, mutated in place.
38
+ */
39
+ export interface CollectionRegistries {
40
+ readonly refRegistry: {
41
+ register(collection: string, refs: Record<string, unknown>): void;
42
+ };
43
+ readonly i18nFieldRegistry: Map<string, unknown>;
44
+ readonly blobFieldsRegistry: Map<string, BlobFieldsConfig<unknown>>;
45
+ readonly archiveRegistry: Map<string, ArchivePolicy>;
46
+ readonly attestation: {
47
+ register(collection: string, schema: AttestationFieldSchema): void;
48
+ };
49
+ readonly dictKeyFieldRegistry: Map<string, Record<string, string>>;
50
+ readonly staticDictNames: Set<string>;
51
+ readonly staticByName: Map<string, StaticDictDescriptor>;
52
+ readonly staticDescriptorByField: Map<string, Record<string, StaticDictDescriptor>>;
53
+ readonly reservedLookupCollections: Map<string, string>;
54
+ readonly schemaUpdateNames: Map<string, string[]>;
55
+ }
56
+ /**
57
+ * Fan a collection declaration out into the vault's registries.
58
+ *
59
+ * Called once, before the `Collection` is constructed, so the first `put()`
60
+ * already sees its refs through `vault.enforceRefsOnPut`.
61
+ */
62
+ export declare function populateCollectionRegistries<T>(r: CollectionRegistries, collectionName: string, options: OpenCollectionOptions<T> | undefined, effectiveViaFields: EffectiveViaFields): void;
@@ -51,7 +51,7 @@
51
51
  * @internal
52
52
  */
53
53
  import type { NoydbOptions } from '../../kernel/types.js';
54
- import { type AggregateStrategy } from '../../with-lookup/aggregate/strategy.js';
54
+ import { type ReduceStrategy } from '../../with-lookup/reduce/strategy.js';
55
55
  import { type AttestationStrategy } from '../../with-audit/attestation/strategy.js';
56
56
  import { type BlobStrategy } from './blob-strategy.js';
57
57
  import { type BrokerStrategy } from './broker-strategy.js';
@@ -86,7 +86,7 @@ import type { ArchiveStrategy } from '../../with-fork/archive/index.js';
86
86
  * completeness assertion below pins that correspondence.
87
87
  */
88
88
  export interface StrategyBag {
89
- readonly aggregate: AggregateStrategy;
89
+ readonly reduce: ReduceStrategy;
90
90
  readonly archive: ArchiveStrategy;
91
91
  readonly attestation: AttestationStrategy;
92
92
  readonly blob: BlobStrategy;
@@ -16,17 +16,18 @@
16
16
  * argument from the strategy.
17
17
  *
18
18
  * Deliberately NOT gated (single-user primitives): owner keyring creation,
19
- * unlock, `listUsers`, `updateUser`, passphrase rotate/recover, and the
19
+ * unlock, `listUsers`, `updateUser`, secret rotate/recover, and the
20
20
  * `createDeedOwner` free function (no createNoydb instance to gate against —
21
21
  * the same carve-out as `liberateVault`).
22
22
  * @internal
23
23
  */
24
24
  import type { GrantOptions, RevokeOptions, FactorProofBundle } from '../../kernel/types.js';
25
+ import type { RotateResult } from '../../with-party/team/keyring.js';
25
26
  import type { TeamFacade } from '../../with-party/team/noydb-facade.js';
26
27
  export interface TeamStrategy {
27
28
  grant(team: TeamFacade, vault: string, options: GrantOptions, factors?: FactorProofBundle): Promise<void>;
28
29
  revoke(team: TeamFacade, vault: string, options: RevokeOptions, factors?: FactorProofBundle): Promise<void>;
29
- rotate(team: TeamFacade, vault: string, collections: string[]): Promise<void>;
30
+ rotate(team: TeamFacade, vault: string, collections: string[]): Promise<RotateResult>;
30
31
  }
31
32
  /**
32
33
  * No-op stub — the floor default. Every multi-user team operation throws
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  NO_PORTABILITY
3
- } from "../chunk-GYB2QK5H.js";
3
+ } from "../chunk-OWLZONGX.js";
4
4
  import {
5
5
  PortabilityNotEnabledError
6
- } from "../chunk-IGM563N5.js";
6
+ } from "../chunk-6SYOHUHM.js";
7
7
  import "../chunk-PZ5AY32C.js";
8
8
 
9
9
  // src/with-audit/portability/active.ts
10
10
  function withPortability() {
11
11
  return {
12
12
  async exportAccessibleData(vault, opts) {
13
- const { exportAccessibleData } = await import("../export-accessible-HXMKW5LJ.js");
13
+ const { exportAccessibleData } = await import("../export-accessible-S35YKIBL.js");
14
14
  return exportAccessibleData(vault, opts);
15
15
  },
16
16
  async withdrawAccessibleData(vault, opts) {
17
- const { withdrawAccessibleData } = await import("../withdraw-accessible-HPOVNG2G.js");
17
+ const { withdrawAccessibleData } = await import("../withdraw-accessible-GO6KQJVM.js");
18
18
  return withdrawAccessibleData(vault, opts);
19
19
  },
20
20
  async requestWithdrawal(vault, opts) {
21
- const { requestWithdrawal } = await import("../request-withdrawal-SEVUEUDG.js");
21
+ const { requestWithdrawal } = await import("../request-withdrawal-AAG57QO4.js");
22
22
  return requestWithdrawal(vault, opts);
23
23
  },
24
24
  async listWithdrawalRequests(vault, opts) {
25
- const { listWithdrawalRequests } = await import("../request-withdrawal-SEVUEUDG.js");
25
+ const { listWithdrawalRequests } = await import("../request-withdrawal-AAG57QO4.js");
26
26
  return listWithdrawalRequests(vault, opts);
27
27
  },
28
28
  async approveWithdrawal(vault, requestId, opts) {
29
- const { approveWithdrawal } = await import("../request-withdrawal-SEVUEUDG.js");
29
+ const { approveWithdrawal } = await import("../request-withdrawal-AAG57QO4.js");
30
30
  return approveWithdrawal(vault, requestId, opts);
31
31
  },
32
32
  async rejectWithdrawal(vault, requestId, opts) {
33
- const { rejectWithdrawal } = await import("../request-withdrawal-SEVUEUDG.js");
33
+ const { rejectWithdrawal } = await import("../request-withdrawal-AAG57QO4.js");
34
34
  return rejectWithdrawal(vault, requestId, opts);
35
35
  }
36
36
  };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  hashFields
3
- } from "./chunk-L4OA7G5T.js";
3
+ } from "./chunk-522MBPE5.js";
4
4
  import {
5
5
  SatelliteConfigError
6
- } from "./chunk-IGM563N5.js";
6
+ } from "./chunk-6SYOHUHM.js";
7
7
  import "./chunk-PZ5AY32C.js";
8
8
 
9
9
  // src/with-shape/satellites/marker.ts
@@ -14,7 +14,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
14
14
  joined: spec.joined,
15
15
  epoch: (/* @__PURE__ */ new Date()).toISOString()
16
16
  };
17
- const { loadPersistedSchema } = await import("./storage-QOZKQMID.js");
17
+ const { loadPersistedSchema } = await import("./storage-FL7XXZTN.js");
18
18
  const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek);
19
19
  const prior = persisted?.satellite;
20
20
  if (prior) {
@@ -25,7 +25,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
25
25
  }
26
26
  return;
27
27
  }
28
- const { persistSatelliteMarker } = await import("./register-YBMRLZLO.js");
28
+ const { persistSatelliteMarker } = await import("./register-CEX7R7NE.js");
29
29
  await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next });
30
30
  }
31
31
 
@@ -39,7 +39,7 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
39
39
  }
40
40
  if (baseSchema !== void 0) {
41
41
  try {
42
- const { derivePersistedSchema } = await import("./derive-SGRCCKVP.js");
42
+ const { derivePersistedSchema } = await import("./derive-5LDJW76F.js");
43
43
  const envelope = await derivePersistedSchema(baseSchema);
44
44
  const properties = envelope.jsonSchema?.["properties"];
45
45
  const baseFields = Object.keys(properties ?? {});
@@ -57,4 +57,4 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
57
57
  export {
58
58
  postRegister
59
59
  };
60
- //# sourceMappingURL=post-register-A7HCFBP5.js.map
60
+ //# sourceMappingURL=post-register-5VHHVFJY.js.map
@@ -4,43 +4,22 @@ import {
4
4
  ScanBuilder,
5
5
  buildLiveQuery,
6
6
  executePlan
7
- } from "../chunk-4X6DJZHY.js";
7
+ } from "../chunk-MPPWL64H.js";
8
8
  import {
9
9
  DEFAULT_JOIN_MAX_ROWS,
10
10
  applyJoins,
11
11
  resetJoinWarnings
12
- } from "../chunk-OGFPMCSP.js";
12
+ } from "../chunk-SBOHNJUD.js";
13
13
  import {
14
14
  CollectionIndexes
15
15
  } from "../chunk-KPZS5QAQ.js";
16
- import {
17
- Aggregation,
18
- GROUPBY_MAX_CARDINALITY,
19
- GROUPBY_WARN_CARDINALITY,
20
- GroupedAggregation,
21
- GroupedQuery,
22
- GroupedQueryN,
23
- avg,
24
- buildLiveAggregation,
25
- count,
26
- groupAndReduce,
27
- max,
28
- min,
29
- moneyMax,
30
- moneyMin,
31
- moneySum,
32
- reduceRecords,
33
- reducerBuilder,
34
- resetGroupByWarnings,
35
- sum
36
- } from "../chunk-JIMEB4C6.js";
16
+ import "../chunk-YMUFFJCO.js";
17
+ import "../chunk-CADUYBQD.js";
37
18
  import {
38
19
  evaluateClause,
39
20
  evaluateFieldClause,
40
21
  readPath
41
22
  } from "../chunk-IGJCYUT5.js";
42
- import "../chunk-XGVDLQJE.js";
43
- import "../chunk-STR7WBOB.js";
44
23
  import {
45
24
  CrossJoinSourceUnknownError,
46
25
  CrossJoinTooLargeError,
@@ -50,10 +29,9 @@ import {
50
29
  IndexRequiredError,
51
30
  IndexWriteFailureError,
52
31
  JoinTooLargeError
53
- } from "../chunk-IGM563N5.js";
32
+ } from "../chunk-6SYOHUHM.js";
54
33
  import "../chunk-PZ5AY32C.js";
55
34
  export {
56
- Aggregation,
57
35
  CollectionIndexes,
58
36
  CrossJoinSourceUnknownError,
59
37
  CrossJoinTooLargeError,
@@ -61,36 +39,18 @@ export {
61
39
  DEFAULT_JOIN_MAX_ROWS,
62
40
  DanglingReferenceError,
63
41
  FieldNotQueryableError,
64
- GROUPBY_MAX_CARDINALITY,
65
- GROUPBY_WARN_CARDINALITY,
66
42
  GroupCardinalityError,
67
- GroupedAggregation,
68
- GroupedQuery,
69
- GroupedQueryN,
70
43
  IndexRequiredError,
71
44
  IndexWriteFailureError,
72
45
  JoinTooLargeError,
73
46
  Query,
74
47
  ScanBuilder,
75
48
  applyJoins,
76
- avg,
77
- buildLiveAggregation,
78
49
  buildLiveQuery,
79
- count,
80
50
  evaluateClause,
81
51
  evaluateFieldClause,
82
52
  executePlan,
83
- groupAndReduce,
84
- max,
85
- min,
86
- moneyMax,
87
- moneyMin,
88
- moneySum,
89
53
  readPath,
90
- reduceRecords,
91
- reducerBuilder,
92
- resetGroupByWarnings,
93
- resetJoinWarnings,
94
- sum
54
+ resetJoinWarnings
95
55
  };
96
56
  //# sourceMappingURL=index.js.map
@@ -1,35 +1,41 @@
1
1
  import {
2
- Aggregation,
3
2
  GROUPBY_MAX_CARDINALITY,
4
3
  GROUPBY_WARN_CARDINALITY,
5
- GroupedAggregation,
6
4
  GroupedQuery,
7
5
  GroupedQueryN,
6
+ GroupedReduction,
7
+ Reduction,
8
+ buildLiveReduction,
9
+ groupAndReduce,
10
+ reduceRecords,
11
+ resetGroupByWarnings
12
+ } from "../chunk-HA7P3BTB.js";
13
+ import "../chunk-XZHEOSQ2.js";
14
+ import {
15
+ NO_REDUCE
16
+ } from "../chunk-YMUFFJCO.js";
17
+ import {
8
18
  avg,
9
- buildLiveAggregation,
10
19
  count,
11
- groupAndReduce,
12
20
  max,
13
21
  min,
14
22
  moneyMax,
15
23
  moneyMin,
16
24
  moneySum,
17
- reduceRecords,
18
25
  reducerBuilder,
19
- resetGroupByWarnings,
20
26
  sum
21
- } from "../chunk-JIMEB4C6.js";
27
+ } from "../chunk-CADUYBQD.js";
22
28
  import "../chunk-IGJCYUT5.js";
23
- import "../chunk-XGVDLQJE.js";
24
- import "../chunk-STR7WBOB.js";
25
- import "../chunk-IGM563N5.js";
29
+ import "../chunk-JOCMXSR2.js";
30
+ import "../chunk-ZUDAK436.js";
31
+ import "../chunk-6SYOHUHM.js";
26
32
  import "../chunk-PZ5AY32C.js";
27
33
 
28
- // src/with-lookup/aggregate/active.ts
29
- function withAggregate() {
34
+ // src/with-lookup/reduce/active.ts
35
+ function withReduce() {
30
36
  return {
31
37
  aggregate(executeRecords, spec, upstreams) {
32
- return new Aggregation(executeRecords, spec, upstreams);
38
+ return new Reduction(executeRecords, spec, upstreams);
33
39
  },
34
40
  groupBy(executeRecords, field, upstreams, dictLabelResolver, via) {
35
41
  return new GroupedQuery(executeRecords, field, upstreams, dictLabelResolver, via);
@@ -45,14 +51,15 @@ function withAggregate() {
45
51
  };
46
52
  }
47
53
  export {
48
- Aggregation,
49
54
  GROUPBY_MAX_CARDINALITY,
50
55
  GROUPBY_WARN_CARDINALITY,
51
- GroupedAggregation,
52
56
  GroupedQuery,
53
57
  GroupedQueryN,
58
+ GroupedReduction,
59
+ NO_REDUCE,
60
+ Reduction,
54
61
  avg,
55
- buildLiveAggregation,
62
+ buildLiveReduction,
56
63
  count,
57
64
  groupAndReduce,
58
65
  max,
@@ -64,6 +71,6 @@ export {
64
71
  reducerBuilder,
65
72
  resetGroupByWarnings,
66
73
  sum,
67
- withAggregate
74
+ withReduce
68
75
  };
69
76
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/with-lookup/reduce/active.ts"],"sourcesContent":["/**\n * Active aggregate strategy factory. Calling `withReduce()` returns\n * an `ReduceStrategy` whose methods construct real `Reduction` /\n * `GroupedQuery` instances and run the streaming reducer protocol.\n *\n * This module is only reachable through the `@noy-db/hub/reduce`\n * subpath — a consumer that never imports the subpath ships none of\n * this (ESM tree-shaking + hub's `\"sideEffects\": false`).\n */\n\nimport { Reduction, reduceRecords } from './reduction.js'\nimport type { ReduceSpec, ReduceResult } from './reduction.js'\nimport { GroupedQuery, GroupedQueryN } from './groupby.js'\nimport type { ReduceStrategy } from './strategy.js'\n\n/**\n * Build the default aggregate strategy. Pass into\n * `createNoydb({ reduceStrategy: withReduce() })` to light up\n * `.aggregate()` and `.groupBy()` on `Query` and `ScanBuilder`.\n *\n * @example\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withReduce, sum, count } from '@noy-db/hub/reduce'\n *\n * const db = await createNoydb({\n * store, user, secret,\n * reduceStrategy: withReduce(),\n * })\n *\n * const totals = invoices.query()\n * .where('status', '==', 'paid')\n * .groupBy('clientId')\n * .aggregate({ amount: sum('amount'), n: count() })\n * .run()\n * ```\n */\nexport function withReduce(): ReduceStrategy {\n return {\n aggregate(executeRecords, spec, upstreams) {\n return new Reduction(executeRecords, spec as unknown as ReduceSpec, upstreams) as unknown as Reduction<ReduceResult<typeof spec>>\n },\n groupBy(executeRecords, field, upstreams, dictLabelResolver, via) {\n return new GroupedQuery(executeRecords, field, upstreams, dictLabelResolver, via)\n },\n groupByN(executeRecords, fields, upstreams, via) {\n return new GroupedQueryN(executeRecords, fields, upstreams, undefined, via)\n },\n async scanAggregate(iter, spec) {\n const collected: unknown[] = []\n for await (const record of iter) collected.push(record)\n return reduceRecords(collected, spec as unknown as ReduceSpec) as unknown as ReduceResult<typeof spec>\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAqCO,SAAS,aAA6B;AAC3C,SAAO;AAAA,IACL,UAAU,gBAAgB,MAAM,WAAW;AACzC,aAAO,IAAI,UAAU,gBAAgB,MAA+B,SAAS;AAAA,IAC/E;AAAA,IACA,QAAQ,gBAAgB,OAAO,WAAW,mBAAmB,KAAK;AAChE,aAAO,IAAI,aAAa,gBAAgB,OAAO,WAAW,mBAAmB,GAAG;AAAA,IAClF;AAAA,IACA,SAAS,gBAAgB,QAAQ,WAAW,KAAK;AAC/C,aAAO,IAAI,cAAc,gBAAgB,QAAQ,WAAW,QAAW,GAAG;AAAA,IAC5E;AAAA,IACA,MAAM,cAAc,MAAM,MAAM;AAC9B,YAAM,YAAuB,CAAC;AAC9B,uBAAiB,UAAU,KAAM,WAAU,KAAK,MAAM;AACtD,aAAO,cAAc,WAAW,IAA6B;AAAA,IAC/D;AAAA,EACF;AACF;","names":[]}
@@ -0,0 +1,23 @@
1
+ import {
2
+ persistClassifiedMarker,
3
+ persistSatelliteMarker,
4
+ persistSchemaIfNeeded
5
+ } from "./chunk-H5GMROCB.js";
6
+ import "./chunk-SEU6QHH4.js";
7
+ import "./chunk-32467U5J.js";
8
+ import "./chunk-MMVQ3SUO.js";
9
+ import "./chunk-KCZAFDP5.js";
10
+ import "./chunk-5WLDZZ6S.js";
11
+ import "./chunk-5HSSTOOG.js";
12
+ import "./chunk-G4MFQXYX.js";
13
+ import "./chunk-LP7BEXCT.js";
14
+ import "./chunk-7U6AB7DZ.js";
15
+ import "./chunk-DOZFU7OZ.js";
16
+ import "./chunk-6SYOHUHM.js";
17
+ import "./chunk-PZ5AY32C.js";
18
+ export {
19
+ persistClassifiedMarker,
20
+ persistSatelliteMarker,
21
+ persistSchemaIfNeeded
22
+ };
23
+ //# sourceMappingURL=register-CEX7R7NE.js.map
@@ -0,0 +1,9 @@
1
+ import {
2
+ OverlayedViewRegistry
3
+ } from "./chunk-ZX5FNWH7.js";
4
+ import "./chunk-6SYOHUHM.js";
5
+ import "./chunk-PZ5AY32C.js";
6
+ export {
7
+ OverlayedViewRegistry
8
+ };
9
+ //# sourceMappingURL=registry-7CZWF3EQ.js.map
@@ -0,0 +1,19 @@
1
+ import {
2
+ MaterializedViewRegistry,
3
+ wrapDbWithPredicates
4
+ } from "./chunk-ZGEFBDPR.js";
5
+ import "./chunk-MMVQ3SUO.js";
6
+ import "./chunk-KCZAFDP5.js";
7
+ import "./chunk-5WLDZZ6S.js";
8
+ import "./chunk-5HSSTOOG.js";
9
+ import "./chunk-G4MFQXYX.js";
10
+ import "./chunk-LP7BEXCT.js";
11
+ import "./chunk-7U6AB7DZ.js";
12
+ import "./chunk-DOZFU7OZ.js";
13
+ import "./chunk-6SYOHUHM.js";
14
+ import "./chunk-PZ5AY32C.js";
15
+ export {
16
+ MaterializedViewRegistry,
17
+ wrapDbWithPredicates
18
+ };
19
+ //# sourceMappingURL=registry-DIKMRXUC.js.map
@@ -0,0 +1,18 @@
1
+ import {
2
+ DerivationRegistry
3
+ } from "./chunk-2PDBYF2O.js";
4
+ import "./chunk-Z4D3YGAB.js";
5
+ import "./chunk-MMVQ3SUO.js";
6
+ import "./chunk-KCZAFDP5.js";
7
+ import "./chunk-5WLDZZ6S.js";
8
+ import "./chunk-5HSSTOOG.js";
9
+ import "./chunk-G4MFQXYX.js";
10
+ import "./chunk-LP7BEXCT.js";
11
+ import "./chunk-7U6AB7DZ.js";
12
+ import "./chunk-DOZFU7OZ.js";
13
+ import "./chunk-6SYOHUHM.js";
14
+ import "./chunk-PZ5AY32C.js";
15
+ export {
16
+ DerivationRegistry
17
+ };
18
+ //# sourceMappingURL=registry-EWIB5NTI.js.map
@@ -0,0 +1,31 @@
1
+ import {
2
+ WITHDRAWAL_REQUESTS_COLLECTION,
3
+ WithdrawalRequestError,
4
+ approveWithdrawal,
5
+ listWithdrawalRequests,
6
+ rejectWithdrawal,
7
+ requestWithdrawal
8
+ } from "./chunk-XY6MNSAF.js";
9
+ import "./chunk-MLCTPWSO.js";
10
+ import "./chunk-WWBC4KLB.js";
11
+ import "./chunk-E7FSBI6I.js";
12
+ import "./chunk-ZHZ4PET5.js";
13
+ import "./chunk-MMVQ3SUO.js";
14
+ import "./chunk-KCZAFDP5.js";
15
+ import "./chunk-5WLDZZ6S.js";
16
+ import "./chunk-5HSSTOOG.js";
17
+ import "./chunk-G4MFQXYX.js";
18
+ import "./chunk-LP7BEXCT.js";
19
+ import "./chunk-7U6AB7DZ.js";
20
+ import "./chunk-DOZFU7OZ.js";
21
+ import "./chunk-6SYOHUHM.js";
22
+ import "./chunk-PZ5AY32C.js";
23
+ export {
24
+ WITHDRAWAL_REQUESTS_COLLECTION,
25
+ WithdrawalRequestError,
26
+ approveWithdrawal,
27
+ listWithdrawalRequests,
28
+ rejectWithdrawal,
29
+ requestWithdrawal
30
+ };
31
+ //# sourceMappingURL=request-withdrawal-AAG57QO4.js.map