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

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 (401) hide show
  1. package/dist/adapter/index.d.ts +2 -3
  2. package/dist/adapter/index.js +1 -1
  3. package/dist/aggregate/index.d.ts +3 -4
  4. package/dist/aggregate/index.js +9 -8
  5. package/dist/aggregate/index.js.map +1 -1
  6. package/dist/api-HV4PDUWF.js +20 -0
  7. package/dist/as/index.d.ts +4 -5
  8. package/dist/as/index.js +11 -11
  9. package/dist/at/index.d.ts +2 -3
  10. package/dist/attestation/index.d.ts +3 -4
  11. package/dist/attestation/index.js +18 -18
  12. package/dist/{backup-7PX6NDKT.js → backup-ODXO7OGA.js} +12 -12
  13. package/dist/blobs/index.d.ts +4 -5
  14. package/dist/blobs/index.js +11 -11
  15. package/dist/blobs/index.js.map +1 -1
  16. package/dist/bundle/index.d.ts +5 -6
  17. package/dist/bundle/index.js +20 -20
  18. package/dist/{bundle-BN_VSq5L.d.ts → bundle-DlSxo31R.d.ts} +1 -1
  19. package/dist/by/index.js +2 -2
  20. package/dist/cargo/index.d.ts +4 -5
  21. package/dist/cargo/index.js +23 -22
  22. package/dist/{chunk-QYNBPDGO.js → chunk-2644KEGW.js} +18 -10
  23. package/dist/chunk-2644KEGW.js.map +1 -0
  24. package/dist/{chunk-XW5LZYV4.js → chunk-2HVUKRNE.js} +2 -2
  25. package/dist/{chunk-VFQOE76I.js → chunk-2KOSJTMU.js} +2 -2
  26. package/dist/{chunk-7AERMJP6.js → chunk-2UQ4RMHV.js} +4 -4
  27. package/dist/{chunk-5GQE5IDB.js → chunk-2XE6LIXT.js} +13 -11
  28. package/dist/chunk-2XE6LIXT.js.map +1 -0
  29. package/dist/{chunk-VIWOGJ2O.js → chunk-34RRRIC3.js} +2 -2
  30. package/dist/{chunk-BASCPHNM.js → chunk-3C5CKXFI.js} +289 -48
  31. package/dist/chunk-3C5CKXFI.js.map +1 -0
  32. package/dist/{chunk-LFGJG4XZ.js → chunk-3I4KYWNP.js} +2 -2
  33. package/dist/{chunk-RUWEHFRB.js → chunk-42KVY3OC.js} +4 -4
  34. package/dist/{chunk-5K7KZMXG.js → chunk-4C4WBS4V.js} +2048 -948
  35. package/dist/chunk-4C4WBS4V.js.map +1 -0
  36. package/dist/{chunk-J54DC5IC.js → chunk-4G3IT7J7.js} +7 -7
  37. package/dist/{chunk-WJEMUO32.js → chunk-4RQ62VSR.js} +2 -2
  38. package/dist/{chunk-QAVFI23O.js → chunk-4ZSGSRBI.js} +8 -8
  39. package/dist/{chunk-C4NOLA5X.js → chunk-5GAX2QOH.js} +2 -2
  40. package/dist/{chunk-IEKK2XI4.js → chunk-5SAZMBW7.js} +7 -7
  41. package/dist/{chunk-II6DLDZM.js → chunk-5TZZUL5X.js} +2 -2
  42. package/dist/{chunk-GMZFHDSG.js → chunk-6CU3FN74.js} +8 -8
  43. package/dist/chunk-6G2SCQYS.js +29 -0
  44. package/dist/chunk-6G2SCQYS.js.map +1 -0
  45. package/dist/{chunk-UWZ7O4NR.js → chunk-6MWUANRF.js} +2 -2
  46. package/dist/{chunk-U7LV2DUN.js → chunk-6ULCYCMU.js} +2 -2
  47. package/dist/{chunk-6Z435B6N.js → chunk-7HAPHVRJ.js} +131 -92
  48. package/dist/chunk-7HAPHVRJ.js.map +1 -0
  49. package/dist/{chunk-VFG5YXWM.js → chunk-7IZQTCTR.js} +3 -3
  50. package/dist/chunk-7ZANJ6JZ.js +265 -0
  51. package/dist/chunk-7ZANJ6JZ.js.map +1 -0
  52. package/dist/{chunk-VMRXI3IF.js → chunk-A2APWS32.js} +6 -6
  53. package/dist/chunk-A2APWS32.js.map +1 -0
  54. package/dist/{chunk-U5IJHUHZ.js → chunk-A4MAD6PO.js} +5 -5
  55. package/dist/chunk-ANDBBA2P.js +36 -0
  56. package/dist/chunk-ANDBBA2P.js.map +1 -0
  57. package/dist/{chunk-5HZULLHE.js → chunk-AUR7MRHA.js} +2 -2
  58. package/dist/{chunk-YSJG4L4A.js → chunk-AYGZMQP5.js} +3 -3
  59. package/dist/chunk-AYGZMQP5.js.map +1 -0
  60. package/dist/{chunk-H7WQMGXH.js → chunk-CJEMA2Z6.js} +2 -2
  61. package/dist/{chunk-WRLPV6SI.js → chunk-CTSFKDGA.js} +2 -2
  62. package/dist/{chunk-OJ64XMPJ.js → chunk-CU62BBRB.js} +32 -1
  63. package/dist/chunk-CU62BBRB.js.map +1 -0
  64. package/dist/{chunk-OFYY5Q4R.js → chunk-CWCCYH34.js} +2 -2
  65. package/dist/{chunk-WGH3YV6Y.js → chunk-DEYAO3N6.js} +10 -10
  66. package/dist/{chunk-7L6EH6S7.js → chunk-DFIBOSOQ.js} +8 -8
  67. package/dist/{chunk-3CHNKEFI.js → chunk-E5AHO65E.js} +7 -7
  68. package/dist/{chunk-AG2PLGQ2.js → chunk-FC3XK5JT.js} +8 -8
  69. package/dist/{chunk-CP3GUIAN.js → chunk-FGOGS7CE.js} +10 -12
  70. package/dist/chunk-FGOGS7CE.js.map +1 -0
  71. package/dist/{chunk-DJ4TNF4N.js → chunk-GX2BYNCT.js} +7 -7
  72. package/dist/{chunk-YTCCC6NG.js → chunk-GZ2MOPVX.js} +34 -63
  73. package/dist/chunk-GZ2MOPVX.js.map +1 -0
  74. package/dist/chunk-H57P2SJB.js +126 -0
  75. package/dist/chunk-H57P2SJB.js.map +1 -0
  76. package/dist/{chunk-55LSDABW.js → chunk-HBTT7YQX.js} +2 -2
  77. package/dist/{chunk-PYIUDUGS.js → chunk-HOCEGVGQ.js} +2 -2
  78. package/dist/{chunk-5JQMX2EH.js → chunk-ICV32FPK.js} +2 -2
  79. package/dist/{chunk-WFBZRXS5.js → chunk-IIP5WFVT.js} +138 -92
  80. package/dist/chunk-IIP5WFVT.js.map +1 -0
  81. package/dist/{chunk-YSU2E4GZ.js → chunk-IUKGIB2Q.js} +19 -6
  82. package/dist/chunk-IUKGIB2Q.js.map +1 -0
  83. package/dist/{chunk-OWGAXPRE.js → chunk-IWTYFS3D.js} +2 -2
  84. package/dist/{chunk-FCOZ7DEC.js → chunk-JC5R7P44.js} +3 -3
  85. package/dist/{chunk-K6WHZBCO.js → chunk-KBBWY46Y.js} +2 -2
  86. package/dist/{chunk-RNYDHIQL.js → chunk-KBF5GSGX.js} +3 -3
  87. package/dist/{chunk-6P5AJ2ZS.js → chunk-KCG3BHFG.js} +2 -23
  88. package/dist/chunk-KCG3BHFG.js.map +1 -0
  89. package/dist/{chunk-T4NQMPBN.js → chunk-KNXN47MO.js} +3 -3
  90. package/dist/{chunk-VK6OC22R.js → chunk-KWLD2D75.js} +4 -3
  91. package/dist/chunk-KWLD2D75.js.map +1 -0
  92. package/dist/{chunk-7F2P2NHX.js → chunk-KXKLKJW4.js} +6 -6
  93. package/dist/{chunk-PAJCRV7O.js → chunk-KYC4LIEU.js} +2 -2
  94. package/dist/{chunk-AZPGB4OD.js → chunk-LEOXZY36.js} +8 -8
  95. package/dist/{chunk-2L7PPF2C.js → chunk-M5I354EE.js} +9 -9
  96. package/dist/{chunk-26FSVNBL.js → chunk-MK2BSS44.js} +2 -2
  97. package/dist/{chunk-G5CFMITA.js → chunk-MSVY7ULZ.js} +3 -3
  98. package/dist/{chunk-PE25C4QL.js → chunk-NNWK3PSY.js} +9 -9
  99. package/dist/{chunk-JT4A6OAJ.js → chunk-NSZ6J5DF.js} +7 -7
  100. package/dist/{chunk-RHB7BOEO.js → chunk-NUEFXLZU.js} +7 -7
  101. package/dist/{chunk-I6Q7YECW.js → chunk-NYVQCZ54.js} +5 -5
  102. package/dist/chunk-NYVQCZ54.js.map +1 -0
  103. package/dist/{chunk-DKGZIX6S.js → chunk-OQAODTYR.js} +2 -2
  104. package/dist/{chunk-HV3VNAYI.js → chunk-OV4CMJGR.js} +5 -5
  105. package/dist/{chunk-V76PHWLE.js → chunk-PEDZFFKW.js} +2 -2
  106. package/dist/chunk-PF3FQCCF.js +164 -0
  107. package/dist/chunk-PF3FQCCF.js.map +1 -0
  108. package/dist/{chunk-CND5WQLO.js → chunk-Q2KVKTC2.js} +5 -5
  109. package/dist/{chunk-RUIMKQTA.js → chunk-QJR3W3MF.js} +1 -1
  110. package/dist/chunk-QJR3W3MF.js.map +1 -0
  111. package/dist/{chunk-HBVEGUON.js → chunk-QTXQ6RNZ.js} +3 -3
  112. package/dist/{chunk-J5YDMJHG.js → chunk-RJ5522XX.js} +12 -12
  113. package/dist/{chunk-H3MPSYCH.js → chunk-RMUXPHIH.js} +56 -7
  114. package/dist/chunk-RMUXPHIH.js.map +1 -0
  115. package/dist/{chunk-CHK5VVMI.js → chunk-S6AQXDN4.js} +2 -2
  116. package/dist/{chunk-E3LURVGQ.js → chunk-SSFC3IYA.js} +9 -9
  117. package/dist/chunk-SSFC3IYA.js.map +1 -0
  118. package/dist/{chunk-MOQ5M46U.js → chunk-SZCHEDML.js} +2 -2
  119. package/dist/{chunk-UB3XHGFG.js → chunk-TDPEJINP.js} +14 -7
  120. package/dist/chunk-TDPEJINP.js.map +1 -0
  121. package/dist/{chunk-HCK2DFEK.js → chunk-UNJU345Q.js} +1 -1
  122. package/dist/chunk-UNJU345Q.js.map +1 -0
  123. package/dist/chunk-V7RNIND6.js +265 -0
  124. package/dist/chunk-V7RNIND6.js.map +1 -0
  125. package/dist/{chunk-VUHXLL32.js → chunk-VJ3NQK4K.js} +5 -5
  126. package/dist/{chunk-62TTFKU4.js → chunk-WNA6T3MA.js} +8 -8
  127. package/dist/{chunk-7CZ6YXMO.js → chunk-WVCQ75OK.js} +2 -2
  128. package/dist/{chunk-NO53W6O5.js → chunk-X66MXMR5.js} +2 -2
  129. package/dist/{chunk-JIW3Q5JN.js → chunk-XHD3L3JO.js} +199 -35
  130. package/dist/chunk-XHD3L3JO.js.map +1 -0
  131. package/dist/{chunk-6PALJTC2.js → chunk-XJK2WIYN.js} +3 -3
  132. package/dist/{chunk-5UOPIPZC.js → chunk-XQ7UYPVN.js} +3 -3
  133. package/dist/{chunk-HU55NPHZ.js → chunk-Y2OCKFZ3.js} +2 -2
  134. package/dist/{chunk-UJJJPKJO.js → chunk-YBFOBRTO.js} +3 -3
  135. package/dist/{chunk-I6JJ6VJS.js → chunk-YLN33ADH.js} +2 -2
  136. package/dist/{chunk-HGQ6UNHE.js → chunk-Z5YFRMG5.js} +2 -2
  137. package/dist/{chunk-EU7HDMT3.js → chunk-ZWQFOXBR.js} +2 -2
  138. package/dist/classified/index.d.ts +4 -5
  139. package/dist/classified/index.js +5 -3
  140. package/dist/{config-drift-LRKCC3VZ.js → classified-marker-IO5EBW7Q.js} +4 -4
  141. package/dist/classified-marker-IO5EBW7Q.js.map +1 -0
  142. package/dist/collection-facade-3RAXG2OU.js +38 -0
  143. package/dist/{computed-6FOFXQPE.js → computed-R62HGCO4.js} +3 -3
  144. package/dist/consent/index.d.ts +3 -4
  145. package/dist/consent/index.js +9 -9
  146. package/dist/crdt/index.d.ts +3 -4
  147. package/dist/{dead-filter-NZORV45S.js → dead-filter-VNA4M3GP.js} +2 -2
  148. package/dist/delegation-ZKII5UBI.js +25 -0
  149. package/dist/derivations/index.d.ts +4 -5
  150. package/dist/derivations/index.js +12 -11
  151. package/dist/derive-5D2C3WG4.js +21 -0
  152. package/dist/describe/index.d.ts +4 -1
  153. package/dist/{dev-unlock-CsOqX7O2.d.ts → dev-unlock-DDTafVO6.d.ts} +1 -1
  154. package/dist/{enclave-7X5BUAMS.js → enclave-EUBEJGPG.js} +11 -9
  155. package/dist/executor-IL7SRNUZ.js +23 -0
  156. package/dist/executor-OUA2Y6YC.js +9 -0
  157. package/dist/executor-WAEI6PDV.js +9 -0
  158. package/dist/export-accessible-O55RKAGC.js +23 -0
  159. package/dist/extract-partition-VBGCBA6Q.js +36 -0
  160. package/dist/{fanout-sidecar-BDKLP5GG.js → fanout-sidecar-CI5BCMQM.js} +11 -11
  161. package/dist/find-FISGUWSK.js +11 -0
  162. package/dist/forget/index.d.ts +2 -2
  163. package/dist/forget/index.js +9 -9
  164. package/dist/guards/index.d.ts +4 -5
  165. package/dist/guards/index.js +4 -4
  166. package/dist/{hash-BPzm02Za.d.ts → hash-DBkZfIBW.d.ts} +1 -1
  167. package/dist/history/index.d.ts +4 -5
  168. package/dist/history/index.js +11 -11
  169. package/dist/i18n/index.d.ts +24 -5
  170. package/dist/i18n/index.js +45 -34
  171. package/dist/i18n/index.js.map +1 -1
  172. package/dist/in/index.d.ts +2 -3
  173. package/dist/{index-CLucFLeN.d.ts → index-CyclmyDr.d.ts} +2 -3
  174. package/dist/{index-BJ3L-XcV.d.ts → index-DzhNI2vE.d.ts} +6378 -5022
  175. package/dist/index.d.ts +64 -23
  176. package/dist/index.js +411 -132
  177. package/dist/index.js.map +1 -1
  178. package/dist/indexing/index.d.ts +3 -4
  179. package/dist/indexing/index.js +4 -4
  180. package/dist/issue-EQAWIYFQ.js +19 -0
  181. package/dist/kernel/index.d.ts +3 -4
  182. package/dist/kernel/index.js +13 -12
  183. package/dist/lazy/index.d.ts +3 -4
  184. package/dist/{ledger-EMDHRJJN.js → ledger-AJA2SR3C.js} +11 -11
  185. package/dist/liberate-SEGR4JLY.js +24 -0
  186. package/dist/{link-set-62Y36TOG.js → link-set-YBAC2DQT.js} +11 -11
  187. package/dist/materialized-views/index.d.ts +14 -5
  188. package/dist/materialized-views/index.js +17 -15
  189. package/dist/{mime-magic-BlE9fzn2.d.ts → mime-magic-CbV1quyp.d.ts} +1 -1
  190. package/dist/noydb-AMEOU456.js +65 -0
  191. package/dist/on/index.d.ts +2 -3
  192. package/dist/on/index.js +9 -9
  193. package/dist/overlay-views/index.d.ts +4 -5
  194. package/dist/overlay-views/index.js +4 -4
  195. package/dist/periods/index.d.ts +3 -4
  196. package/dist/periods/index.js +20 -12
  197. package/dist/pod/index.d.ts +3 -4
  198. package/dist/pod/index.js +11 -11
  199. package/dist/{policy-SXPLTQS4.js → policy-SDGRWVIL.js} +5 -5
  200. package/dist/portability/index.d.ts +3 -4
  201. package/dist/portability/index.js +8 -8
  202. package/dist/{post-register-DCJ2SRVG.js → post-register-MROIUA5O.js} +6 -6
  203. package/dist/{public-envelope-CBRIJORQ.js → public-envelope-J5PLQOW2.js} +4 -4
  204. package/dist/query/index.d.ts +2 -3
  205. package/dist/query/index.js +9 -6
  206. package/dist/{read-only-facade-5ADRJVTM.js → read-only-facade-UCYNRE56.js} +2 -2
  207. package/dist/register-OVJKW7BS.js +23 -0
  208. package/dist/registry-5RJSK5AJ.js +9 -0
  209. package/dist/registry-DQRNTWRL.js +18 -0
  210. package/dist/registry-LTGLERS7.js +19 -0
  211. package/dist/request-withdrawal-27O77D2V.js +31 -0
  212. package/dist/{reveal-R5N7JKA5.js → reveal-LT3I2K4P.js} +6 -6
  213. package/dist/revoke-4N45G7D2.js +24 -0
  214. package/dist/satellites/index.d.ts +2 -3
  215. package/dist/satellites/index.js +1 -1
  216. package/dist/sealed-record/index.d.ts +3 -4
  217. package/dist/sealed-record/index.js +12 -12
  218. package/dist/session/index.d.ts +4 -5
  219. package/dist/session/index.js +9 -9
  220. package/dist/shadow/index.d.ts +3 -4
  221. package/dist/shadow/index.js +2 -2
  222. package/dist/signer-XJCOV7JD.js +25 -0
  223. package/dist/snapshots/index.d.ts +3 -4
  224. package/dist/snapshots/index.js +10 -10
  225. package/dist/{stale-DP66HFT3.js → stale-IYYXEH3U.js} +2 -2
  226. package/dist/storage-Y44CAPE6.js +23 -0
  227. package/dist/{store-coordination-provider-F5N5ASDF.js → store-coordination-provider-WKGAE2WI.js} +3 -3
  228. package/dist/{subject-index-O75wKshW.d.ts → subject-index-CyOgGMJL.d.ts} +18 -0
  229. package/dist/sync/index.d.ts +2 -3
  230. package/dist/sync/index.js +9 -9
  231. package/dist/team/index.d.ts +3 -4
  232. package/dist/team/index.js +15 -15
  233. package/dist/tiers/index.d.ts +2 -3
  234. package/dist/tiers/index.js +10 -10
  235. package/dist/to/index.d.ts +2 -3
  236. package/dist/to/index.js +1 -1
  237. package/dist/{transition-guard-BzsAQEd-.d.ts → transition-guard-BOUkzQU4.d.ts} +1 -1
  238. package/dist/tx/index.d.ts +3 -4
  239. package/dist/tx/index.js +3 -3
  240. package/dist/ui/index.d.ts +4 -1
  241. package/dist/util/index.js +1 -1
  242. package/dist/{validators-DGmYFP51.d.ts → validators-B3SalxlJ.d.ts} +1 -1
  243. package/dist/{vault-diff-DmBBatkx.d.ts → vault-diff-Dt9NkLzw.d.ts} +1 -1
  244. package/dist/{verify-CAYGXYNO.js → verify-GH6CWVSW.js} +5 -5
  245. package/dist/{walk-3SB25HF2.js → walk-76UCFXYV.js} +11 -11
  246. package/dist/with/index.d.ts +3 -4
  247. package/dist/with/index.js +11 -11
  248. package/dist/{with-materialized-view-DPEVoGoB.d.ts → with-materialized-view-BP33v1Z6.d.ts} +1 -1
  249. package/dist/{with-overlayed-view-DGpKFSv1.d.ts → with-overlayed-view-DntFpOKN.d.ts} +1 -1
  250. package/dist/{with-rollup-B2RwnTq0.d.ts → with-rollup-ClCHO6-4.d.ts} +1 -1
  251. package/dist/withdraw-accessible-6J2UH3IN.js +28 -0
  252. package/package.json +3 -3
  253. package/dist/api-Z66JMGOU.js +0 -20
  254. package/dist/chunk-47C4CI7R.js +0 -108
  255. package/dist/chunk-47C4CI7R.js.map +0 -1
  256. package/dist/chunk-5GQE5IDB.js.map +0 -1
  257. package/dist/chunk-5K7KZMXG.js.map +0 -1
  258. package/dist/chunk-6P5AJ2ZS.js.map +0 -1
  259. package/dist/chunk-6Z435B6N.js.map +0 -1
  260. package/dist/chunk-7KTL4RHZ.js +0 -120
  261. package/dist/chunk-7KTL4RHZ.js.map +0 -1
  262. package/dist/chunk-BASCPHNM.js.map +0 -1
  263. package/dist/chunk-CP3GUIAN.js.map +0 -1
  264. package/dist/chunk-E3LURVGQ.js.map +0 -1
  265. package/dist/chunk-H3MPSYCH.js.map +0 -1
  266. package/dist/chunk-HCK2DFEK.js.map +0 -1
  267. package/dist/chunk-I6Q7YECW.js.map +0 -1
  268. package/dist/chunk-JIW3Q5JN.js.map +0 -1
  269. package/dist/chunk-OJ64XMPJ.js.map +0 -1
  270. package/dist/chunk-QYNBPDGO.js.map +0 -1
  271. package/dist/chunk-RUIMKQTA.js.map +0 -1
  272. package/dist/chunk-UB3XHGFG.js.map +0 -1
  273. package/dist/chunk-VK6OC22R.js.map +0 -1
  274. package/dist/chunk-VMRXI3IF.js.map +0 -1
  275. package/dist/chunk-WFBZRXS5.js.map +0 -1
  276. package/dist/chunk-YSJG4L4A.js.map +0 -1
  277. package/dist/chunk-YSU2E4GZ.js.map +0 -1
  278. package/dist/chunk-YTCCC6NG.js.map +0 -1
  279. package/dist/collection-facade-JP6N7USE.js +0 -39
  280. package/dist/config-drift-LRKCC3VZ.js.map +0 -1
  281. package/dist/delegation-FDOXXHNG.js +0 -25
  282. package/dist/derive-JR2C5JFG.js +0 -21
  283. package/dist/describe-C6iHNlqJ.d.ts +0 -162
  284. package/dist/executor-6LHOV7MN.js +0 -21
  285. package/dist/executor-EUPYHCLU.js +0 -9
  286. package/dist/executor-KZ4B3PRT.js +0 -9
  287. package/dist/export-accessible-7XLSZBGJ.js +0 -23
  288. package/dist/extract-partition-RM6EROS5.js +0 -36
  289. package/dist/find-OH4BEULF.js +0 -11
  290. package/dist/issue-FJE2IHUI.js +0 -19
  291. package/dist/liberate-HFIPHJGR.js +0 -24
  292. package/dist/noydb-4ZASGII5.js +0 -62
  293. package/dist/register-5NRE7HBZ.js +0 -23
  294. package/dist/registry-5QLETK3Q.js +0 -17
  295. package/dist/registry-DYTNLOJC.js +0 -19
  296. package/dist/registry-HSNQ4NBP.js +0 -9
  297. package/dist/request-withdrawal-5APB7RKN.js +0 -31
  298. package/dist/revoke-VELFCK7S.js +0 -24
  299. package/dist/signer-IVU3B6DP.js +0 -25
  300. package/dist/storage-RH5VBLLL.js +0 -23
  301. package/dist/withdraw-accessible-LN4AOJDD.js +0 -28
  302. /package/dist/{api-Z66JMGOU.js.map → api-HV4PDUWF.js.map} +0 -0
  303. /package/dist/{backup-7PX6NDKT.js.map → backup-ODXO7OGA.js.map} +0 -0
  304. /package/dist/{chunk-XW5LZYV4.js.map → chunk-2HVUKRNE.js.map} +0 -0
  305. /package/dist/{chunk-VFQOE76I.js.map → chunk-2KOSJTMU.js.map} +0 -0
  306. /package/dist/{chunk-7AERMJP6.js.map → chunk-2UQ4RMHV.js.map} +0 -0
  307. /package/dist/{chunk-VIWOGJ2O.js.map → chunk-34RRRIC3.js.map} +0 -0
  308. /package/dist/{chunk-LFGJG4XZ.js.map → chunk-3I4KYWNP.js.map} +0 -0
  309. /package/dist/{chunk-RUWEHFRB.js.map → chunk-42KVY3OC.js.map} +0 -0
  310. /package/dist/{chunk-J54DC5IC.js.map → chunk-4G3IT7J7.js.map} +0 -0
  311. /package/dist/{chunk-WJEMUO32.js.map → chunk-4RQ62VSR.js.map} +0 -0
  312. /package/dist/{chunk-QAVFI23O.js.map → chunk-4ZSGSRBI.js.map} +0 -0
  313. /package/dist/{chunk-C4NOLA5X.js.map → chunk-5GAX2QOH.js.map} +0 -0
  314. /package/dist/{chunk-IEKK2XI4.js.map → chunk-5SAZMBW7.js.map} +0 -0
  315. /package/dist/{chunk-II6DLDZM.js.map → chunk-5TZZUL5X.js.map} +0 -0
  316. /package/dist/{chunk-GMZFHDSG.js.map → chunk-6CU3FN74.js.map} +0 -0
  317. /package/dist/{chunk-UWZ7O4NR.js.map → chunk-6MWUANRF.js.map} +0 -0
  318. /package/dist/{chunk-U7LV2DUN.js.map → chunk-6ULCYCMU.js.map} +0 -0
  319. /package/dist/{chunk-VFG5YXWM.js.map → chunk-7IZQTCTR.js.map} +0 -0
  320. /package/dist/{chunk-U5IJHUHZ.js.map → chunk-A4MAD6PO.js.map} +0 -0
  321. /package/dist/{chunk-5HZULLHE.js.map → chunk-AUR7MRHA.js.map} +0 -0
  322. /package/dist/{chunk-H7WQMGXH.js.map → chunk-CJEMA2Z6.js.map} +0 -0
  323. /package/dist/{chunk-WRLPV6SI.js.map → chunk-CTSFKDGA.js.map} +0 -0
  324. /package/dist/{chunk-OFYY5Q4R.js.map → chunk-CWCCYH34.js.map} +0 -0
  325. /package/dist/{chunk-WGH3YV6Y.js.map → chunk-DEYAO3N6.js.map} +0 -0
  326. /package/dist/{chunk-7L6EH6S7.js.map → chunk-DFIBOSOQ.js.map} +0 -0
  327. /package/dist/{chunk-3CHNKEFI.js.map → chunk-E5AHO65E.js.map} +0 -0
  328. /package/dist/{chunk-AG2PLGQ2.js.map → chunk-FC3XK5JT.js.map} +0 -0
  329. /package/dist/{chunk-DJ4TNF4N.js.map → chunk-GX2BYNCT.js.map} +0 -0
  330. /package/dist/{chunk-55LSDABW.js.map → chunk-HBTT7YQX.js.map} +0 -0
  331. /package/dist/{chunk-PYIUDUGS.js.map → chunk-HOCEGVGQ.js.map} +0 -0
  332. /package/dist/{chunk-5JQMX2EH.js.map → chunk-ICV32FPK.js.map} +0 -0
  333. /package/dist/{chunk-OWGAXPRE.js.map → chunk-IWTYFS3D.js.map} +0 -0
  334. /package/dist/{chunk-FCOZ7DEC.js.map → chunk-JC5R7P44.js.map} +0 -0
  335. /package/dist/{chunk-K6WHZBCO.js.map → chunk-KBBWY46Y.js.map} +0 -0
  336. /package/dist/{chunk-RNYDHIQL.js.map → chunk-KBF5GSGX.js.map} +0 -0
  337. /package/dist/{chunk-T4NQMPBN.js.map → chunk-KNXN47MO.js.map} +0 -0
  338. /package/dist/{chunk-7F2P2NHX.js.map → chunk-KXKLKJW4.js.map} +0 -0
  339. /package/dist/{chunk-PAJCRV7O.js.map → chunk-KYC4LIEU.js.map} +0 -0
  340. /package/dist/{chunk-AZPGB4OD.js.map → chunk-LEOXZY36.js.map} +0 -0
  341. /package/dist/{chunk-2L7PPF2C.js.map → chunk-M5I354EE.js.map} +0 -0
  342. /package/dist/{chunk-26FSVNBL.js.map → chunk-MK2BSS44.js.map} +0 -0
  343. /package/dist/{chunk-G5CFMITA.js.map → chunk-MSVY7ULZ.js.map} +0 -0
  344. /package/dist/{chunk-PE25C4QL.js.map → chunk-NNWK3PSY.js.map} +0 -0
  345. /package/dist/{chunk-JT4A6OAJ.js.map → chunk-NSZ6J5DF.js.map} +0 -0
  346. /package/dist/{chunk-RHB7BOEO.js.map → chunk-NUEFXLZU.js.map} +0 -0
  347. /package/dist/{chunk-DKGZIX6S.js.map → chunk-OQAODTYR.js.map} +0 -0
  348. /package/dist/{chunk-HV3VNAYI.js.map → chunk-OV4CMJGR.js.map} +0 -0
  349. /package/dist/{chunk-V76PHWLE.js.map → chunk-PEDZFFKW.js.map} +0 -0
  350. /package/dist/{chunk-CND5WQLO.js.map → chunk-Q2KVKTC2.js.map} +0 -0
  351. /package/dist/{chunk-HBVEGUON.js.map → chunk-QTXQ6RNZ.js.map} +0 -0
  352. /package/dist/{chunk-J5YDMJHG.js.map → chunk-RJ5522XX.js.map} +0 -0
  353. /package/dist/{chunk-CHK5VVMI.js.map → chunk-S6AQXDN4.js.map} +0 -0
  354. /package/dist/{chunk-MOQ5M46U.js.map → chunk-SZCHEDML.js.map} +0 -0
  355. /package/dist/{chunk-VUHXLL32.js.map → chunk-VJ3NQK4K.js.map} +0 -0
  356. /package/dist/{chunk-62TTFKU4.js.map → chunk-WNA6T3MA.js.map} +0 -0
  357. /package/dist/{chunk-7CZ6YXMO.js.map → chunk-WVCQ75OK.js.map} +0 -0
  358. /package/dist/{chunk-NO53W6O5.js.map → chunk-X66MXMR5.js.map} +0 -0
  359. /package/dist/{chunk-6PALJTC2.js.map → chunk-XJK2WIYN.js.map} +0 -0
  360. /package/dist/{chunk-5UOPIPZC.js.map → chunk-XQ7UYPVN.js.map} +0 -0
  361. /package/dist/{chunk-HU55NPHZ.js.map → chunk-Y2OCKFZ3.js.map} +0 -0
  362. /package/dist/{chunk-UJJJPKJO.js.map → chunk-YBFOBRTO.js.map} +0 -0
  363. /package/dist/{chunk-I6JJ6VJS.js.map → chunk-YLN33ADH.js.map} +0 -0
  364. /package/dist/{chunk-HGQ6UNHE.js.map → chunk-Z5YFRMG5.js.map} +0 -0
  365. /package/dist/{chunk-EU7HDMT3.js.map → chunk-ZWQFOXBR.js.map} +0 -0
  366. /package/dist/{collection-facade-JP6N7USE.js.map → collection-facade-3RAXG2OU.js.map} +0 -0
  367. /package/dist/{computed-6FOFXQPE.js.map → computed-R62HGCO4.js.map} +0 -0
  368. /package/dist/{dead-filter-NZORV45S.js.map → dead-filter-VNA4M3GP.js.map} +0 -0
  369. /package/dist/{delegation-FDOXXHNG.js.map → delegation-ZKII5UBI.js.map} +0 -0
  370. /package/dist/{derive-JR2C5JFG.js.map → derive-5D2C3WG4.js.map} +0 -0
  371. /package/dist/{enclave-7X5BUAMS.js.map → enclave-EUBEJGPG.js.map} +0 -0
  372. /package/dist/{executor-6LHOV7MN.js.map → executor-IL7SRNUZ.js.map} +0 -0
  373. /package/dist/{executor-EUPYHCLU.js.map → executor-OUA2Y6YC.js.map} +0 -0
  374. /package/dist/{executor-KZ4B3PRT.js.map → executor-WAEI6PDV.js.map} +0 -0
  375. /package/dist/{export-accessible-7XLSZBGJ.js.map → export-accessible-O55RKAGC.js.map} +0 -0
  376. /package/dist/{extract-partition-RM6EROS5.js.map → extract-partition-VBGCBA6Q.js.map} +0 -0
  377. /package/dist/{fanout-sidecar-BDKLP5GG.js.map → fanout-sidecar-CI5BCMQM.js.map} +0 -0
  378. /package/dist/{find-OH4BEULF.js.map → find-FISGUWSK.js.map} +0 -0
  379. /package/dist/{issue-FJE2IHUI.js.map → issue-EQAWIYFQ.js.map} +0 -0
  380. /package/dist/{ledger-EMDHRJJN.js.map → ledger-AJA2SR3C.js.map} +0 -0
  381. /package/dist/{liberate-HFIPHJGR.js.map → liberate-SEGR4JLY.js.map} +0 -0
  382. /package/dist/{link-set-62Y36TOG.js.map → link-set-YBAC2DQT.js.map} +0 -0
  383. /package/dist/{noydb-4ZASGII5.js.map → noydb-AMEOU456.js.map} +0 -0
  384. /package/dist/{policy-SXPLTQS4.js.map → policy-SDGRWVIL.js.map} +0 -0
  385. /package/dist/{post-register-DCJ2SRVG.js.map → post-register-MROIUA5O.js.map} +0 -0
  386. /package/dist/{public-envelope-CBRIJORQ.js.map → public-envelope-J5PLQOW2.js.map} +0 -0
  387. /package/dist/{read-only-facade-5ADRJVTM.js.map → read-only-facade-UCYNRE56.js.map} +0 -0
  388. /package/dist/{register-5NRE7HBZ.js.map → register-OVJKW7BS.js.map} +0 -0
  389. /package/dist/{registry-5QLETK3Q.js.map → registry-5RJSK5AJ.js.map} +0 -0
  390. /package/dist/{registry-DYTNLOJC.js.map → registry-DQRNTWRL.js.map} +0 -0
  391. /package/dist/{registry-HSNQ4NBP.js.map → registry-LTGLERS7.js.map} +0 -0
  392. /package/dist/{request-withdrawal-5APB7RKN.js.map → request-withdrawal-27O77D2V.js.map} +0 -0
  393. /package/dist/{reveal-R5N7JKA5.js.map → reveal-LT3I2K4P.js.map} +0 -0
  394. /package/dist/{revoke-VELFCK7S.js.map → revoke-4N45G7D2.js.map} +0 -0
  395. /package/dist/{signer-IVU3B6DP.js.map → signer-XJCOV7JD.js.map} +0 -0
  396. /package/dist/{stale-DP66HFT3.js.map → stale-IYYXEH3U.js.map} +0 -0
  397. /package/dist/{storage-RH5VBLLL.js.map → storage-Y44CAPE6.js.map} +0 -0
  398. /package/dist/{store-coordination-provider-F5N5ASDF.js.map → store-coordination-provider-WKGAE2WI.js.map} +0 -0
  399. /package/dist/{verify-CAYGXYNO.js.map → verify-GH6CWVSW.js.map} +0 -0
  400. /package/dist/{walk-3SB25HF2.js.map → walk-76UCFXYV.js.map} +0 -0
  401. /package/dist/{withdraw-accessible-LN4AOJDD.js.map → withdraw-accessible-6J2UH3IN.js.map} +0 -0
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  isTombstone
3
- } from "./chunk-HGQ6UNHE.js";
4
- import {
5
- NOYDB_FORMAT_VERSION
6
- } from "./chunk-HCK2DFEK.js";
3
+ } from "./chunk-Z5YFRMG5.js";
7
4
  import {
8
5
  decrypt
9
- } from "./chunk-5HZULLHE.js";
6
+ } from "./chunk-AUR7MRHA.js";
7
+ import {
8
+ NOYDB_FORMAT_VERSION
9
+ } from "./chunk-UNJU345Q.js";
10
10
  import {
11
11
  ReadOnlyAtInstantError
12
- } from "./chunk-OJ64XMPJ.js";
12
+ } from "./chunk-CU62BBRB.js";
13
13
 
14
14
  // src/with-commit/history/history.ts
15
15
  var HISTORY_COLLECTION = "_history";
@@ -277,4 +277,4 @@ export {
277
277
  VaultInstant,
278
278
  CollectionInstant
279
279
  };
280
- //# sourceMappingURL=chunk-J54DC5IC.js.map
280
+ //# sourceMappingURL=chunk-4G3IT7J7.js.map
@@ -30,7 +30,7 @@ async function resolveStaleMVOnRead(accessor, outputCollection) {
30
30
  continue;
31
31
  }
32
32
  if (executor === null) {
33
- ({ MaterializedViewExecutor: executor } = await import("./executor-6LHOV7MN.js"));
33
+ ({ MaterializedViewExecutor: executor } = await import("./executor-IL7SRNUZ.js"));
34
34
  }
35
35
  await executor.refresh(reg, {
36
36
  getCollection: (n) => accessor.getCollection(n),
@@ -50,4 +50,4 @@ export {
50
50
  resolveStaleMVOnRead,
51
51
  clearMVStale
52
52
  };
53
- //# sourceMappingURL=chunk-WJEMUO32.js.map
53
+ //# sourceMappingURL=chunk-4RQ62VSR.js.map
@@ -1,9 +1,6 @@
1
1
  import {
2
2
  openEnvelopeJson
3
- } from "./chunk-JIW3Q5JN.js";
4
- import {
5
- NOYDB_FORMAT_VERSION
6
- } from "./chunk-HCK2DFEK.js";
3
+ } from "./chunk-XHD3L3JO.js";
7
4
  import {
8
5
  base64ToBuffer,
9
6
  bufferToBase64,
@@ -15,11 +12,14 @@ import {
15
12
  sha256Hex,
16
13
  unwrapCek,
17
14
  wrapCek
18
- } from "./chunk-5HZULLHE.js";
15
+ } from "./chunk-AUR7MRHA.js";
16
+ import {
17
+ NOYDB_FORMAT_VERSION
18
+ } from "./chunk-UNJU345Q.js";
19
19
  import {
20
20
  ConflictError,
21
21
  NotFoundError
22
- } from "./chunk-OJ64XMPJ.js";
22
+ } from "./chunk-CU62BBRB.js";
23
23
 
24
24
  // src/with-shape/blobs/mime-magic.ts
25
25
  function hex(s) {
@@ -1155,7 +1155,7 @@ var BlobSet = class {
1155
1155
  return this.buildResponse(slot, result.blob, { inline: true });
1156
1156
  }
1157
1157
  const aad = chunkAAD(slot.eTag, 0, result.blob.chunkCount);
1158
- const { decryptBytesWithAAD: decryptAAD } = await import("./enclave-7X5BUAMS.js");
1158
+ const { decryptBytesWithAAD: decryptAAD } = await import("./enclave-EUBEJGPG.js");
1159
1159
  const decrypted = await decryptAAD(envelope._iv, envelope._data, blobDEK, aad);
1160
1160
  const plaintext = result.blob.compression === "gzip" ? await decompressBytes(decrypted) : decrypted;
1161
1161
  const body = new ReadableStream({
@@ -1218,4 +1218,4 @@ export {
1218
1218
  DEFAULT_CHUNK_SIZE,
1219
1219
  BlobSet
1220
1220
  };
1221
- //# sourceMappingURL=chunk-QAVFI23O.js.map
1221
+ //# sourceMappingURL=chunk-4ZSGSRBI.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readPath
3
- } from "./chunk-6P5AJ2ZS.js";
3
+ } from "./chunk-KCG3BHFG.js";
4
4
 
5
5
  // src/with-lookup/indexing/eager-indexes.ts
6
6
  var CollectionIndexes = class {
@@ -129,4 +129,4 @@ function removeFromIndex(idx, id, record) {
129
129
  export {
130
130
  CollectionIndexes
131
131
  };
132
- //# sourceMappingURL=chunk-C4NOLA5X.js.map
132
+ //# sourceMappingURL=chunk-5GAX2QOH.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  openEnvelopeJson
3
- } from "./chunk-JIW3Q5JN.js";
4
- import {
5
- NOYDB_FORMAT_VERSION
6
- } from "./chunk-HCK2DFEK.js";
3
+ } from "./chunk-XHD3L3JO.js";
7
4
  import {
8
5
  encrypt
9
- } from "./chunk-5HZULLHE.js";
6
+ } from "./chunk-AUR7MRHA.js";
7
+ import {
8
+ NOYDB_FORMAT_VERSION
9
+ } from "./chunk-UNJU345Q.js";
10
10
  import {
11
11
  ConflictError,
12
12
  SequenceContentionError,
13
13
  SequenceNotEnabledError,
14
14
  SequenceOfflineError,
15
15
  ValidationError
16
- } from "./chunk-OJ64XMPJ.js";
16
+ } from "./chunk-CU62BBRB.js";
17
17
 
18
18
  // src/with-commit/sequence/strategy.ts
19
19
  var NO_SEQUENCE = {
@@ -199,4 +199,4 @@ export {
199
199
  resolveSequenceKey,
200
200
  SequenceStore
201
201
  };
202
- //# sourceMappingURL=chunk-IEKK2XI4.js.map
202
+ //# sourceMappingURL=chunk-5SAZMBW7.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  PortabilityNotEnabledError
3
- } from "./chunk-OJ64XMPJ.js";
3
+ } from "./chunk-CU62BBRB.js";
4
4
 
5
5
  // src/with-audit/portability/strategy.ts
6
6
  var NO_PORTABILITY = {
@@ -27,4 +27,4 @@ var NO_PORTABILITY = {
27
27
  export {
28
28
  NO_PORTABILITY
29
29
  };
30
- //# sourceMappingURL=chunk-II6DLDZM.js.map
30
+ //# sourceMappingURL=chunk-5TZZUL5X.js.map
@@ -5,11 +5,7 @@ import {
5
5
  readDirectoryConfig,
6
6
  readUserVisibility,
7
7
  saveUserEnvelope
8
- } from "./chunk-3CHNKEFI.js";
9
- import {
10
- NOYDB_FORMAT_VERSION,
11
- NOYDB_KEYRING_VERSION
12
- } from "./chunk-HCK2DFEK.js";
8
+ } from "./chunk-E5AHO65E.js";
13
9
  import {
14
10
  base64ToBuffer,
15
11
  bufferToBase64,
@@ -20,7 +16,11 @@ import {
20
16
  generateSalt,
21
17
  unwrapKey,
22
18
  wrapKey
23
- } from "./chunk-5HZULLHE.js";
19
+ } from "./chunk-AUR7MRHA.js";
20
+ import {
21
+ NOYDB_FORMAT_VERSION,
22
+ NOYDB_KEYRING_VERSION
23
+ } from "./chunk-UNJU345Q.js";
24
24
  import {
25
25
  DirectoryDisabledError,
26
26
  InvalidKeyError,
@@ -32,7 +32,7 @@ import {
32
32
  PrivilegeEscalationError,
33
33
  USER_ENVELOPE_COLLECTION,
34
34
  ValidationError
35
- } from "./chunk-OJ64XMPJ.js";
35
+ } from "./chunk-CU62BBRB.js";
36
36
 
37
37
  // src/kernel/validation.ts
38
38
  var WeakPassphraseError = class extends NoydbError {
@@ -774,4 +774,4 @@ export {
774
774
  hasImportCapability,
775
775
  evaluateImportCapability
776
776
  };
777
- //# sourceMappingURL=chunk-GMZFHDSG.js.map
777
+ //# sourceMappingURL=chunk-6CU3FN74.js.map
@@ -0,0 +1,29 @@
1
+ import {
2
+ NoydbError
3
+ } from "./chunk-CU62BBRB.js";
4
+
5
+ // src/kernel/via.ts
6
+ var binders = /* @__PURE__ */ new Map();
7
+ function installViaBinder(brand, binder) {
8
+ if (!binders.has(brand)) binders.set(brand, binder);
9
+ }
10
+ function isViaInstalled(brand) {
11
+ return binders.has(brand);
12
+ }
13
+ function viaBinder(brand) {
14
+ const b = binders.get(brand);
15
+ if (!b) {
16
+ throw new NoydbError(
17
+ "VIA_NOT_LINKED",
18
+ `via feature "${brand}" requires descriptors created via its declaration factory from @noy-db/hub`
19
+ );
20
+ }
21
+ return b;
22
+ }
23
+
24
+ export {
25
+ installViaBinder,
26
+ isViaInstalled,
27
+ viaBinder
28
+ };
29
+ //# sourceMappingURL=chunk-6G2SCQYS.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/kernel/via.ts"],"sourcesContent":["// kernel/via.ts — the ONLY kernel-resident via surface.\nimport { NoydbError } from './errors.js'\nimport type { EncryptedEnvelope } from './types.js'\n\n/** Awaitable type for potentially async results. */\ntype Awaitable<T> = T | Promise<T>\n\n/** Declared security posture — a property the kernel enforces (enforcement activates in phases B/C). */\nexport interface ViaPosture {\n readonly encryptedAtRest: 'envelope' | 'sealed'\n readonly queryable: 'none' | 'det-exact' | 'ordered' | 'full'\n readonly exportable: boolean\n readonly forgettable: boolean\n}\n\n/** Opaque marker every feature descriptor extends; the kernel never sees concrete descriptor types. */\nexport interface ViaDescriptor { readonly _viaBrand: string }\n\n/** Per-call write context (A: minimal; B/C extend). */\nexport interface ViaWriteCtx {\n readonly id: string\n /** Owning vault name (event payload identity — e.g. i18n:script-violation). */\n readonly vault: string\n /** Prior stored record (decoded), lazily resolved. Null when creating. */\n readonly prior: () => Promise<Record<string, unknown> | null>\n /** Typed event emission (e.g. i18n:script-violation). */\n readonly emit: (event: string, payload: unknown) => void\n}\n\n/** Per-call read context — mirrors LocaleReadOptions loosely; features narrow. */\nexport interface ViaReadCtx {\n readonly locale?: unknown\n readonly fallback?: unknown\n readonly layer: string\n}\n\n/** One sealed slot's ciphertext — matches the existing `iv:data` sealed map entries (seam map §2 step 2). */\nexport interface SealedSlotRef { readonly iv: string; readonly data: string }\n\n/**\n * A scoped crypto capability handed to a `via` feature's `encodeAtRest`/\n * `decodeAtRest`/`erase` hooks — never the keyring, never the enclave.\n * `sealedSlots` is pre-bound to one `(collection, recordId)`; `reservedEnvelopes`\n * is a whole-envelope encrypt/decrypt door scoped to collection names under a\n * declared prefix (e.g. `_dict_`).\n */\nexport interface ViaCryptoCtx {\n readonly sealedSlots: {\n seal(field: string, plaintext: unknown): Promise<SealedSlotRef>\n unseal(field: string, ref: SealedSlotRef): Promise<unknown>\n delete(field: string): Promise<void>\n }\n reservedEnvelopes(prefix: string): {\n encrypt(collection: string, json: string, v: number): Promise<EncryptedEnvelope>\n decrypt(collection: string, env: EncryptedEnvelope): Promise<string>\n }\n}\n\n/** Per-call erase context — `forget()`'s per-ref participation door (phase C). */\nexport interface ViaEraseCtx { readonly id: string; readonly vault: string; readonly live: unknown /* EncryptedEnvelope */; readonly crypto: ViaCryptoCtx }\n/**\n * What an `erase` hook reports back to `forget()`'s summary ledger entry.\n * `retainedShared` is additive (#629 Task 10) — content NOT erased because\n * still referenced by another live record (blob's shared-chunk dual\n * accounting, `shredAllForRecord()`'s `retainedShared` count). Absent/0 for\n * bindings with no such concept (a sealed field is never \"shared\").\n */\nexport interface ViaEraseReport { readonly shredded: number; readonly residue: readonly unknown[]; readonly retainedShared?: number }\n\n/**\n * A feature bound to one collection's declared config. Record-grain hooks —\n * every hook receives the whole record (matches the real engine signatures,\n * e.g. quantizeMoneyFields(record, moneyFields)). All hooks optional;\n * absent = passthrough. Query-participation hooks are SYNC (#553).\n */\nexport interface ViaBinding {\n readonly brand: string\n readonly posture: ViaPosture\n /** Declared dependencies (field paths / cross-record specs). MANDATORY for any future\n * derive-bearing binding — phase C validates well-formedness (strings, non-empty,\n * reference declared fields) and graph-registers a derived edge for each covered\n * field at declare time, right after `compileViaBindings` builds the bindings\n * (unknown source field throws `ValidationError`). See\n * `kernel/collection-config.ts`'s `resolveViaBindingDepsEdges`. */\n readonly deps?: readonly string[]\n /** Collection-name prefixes this binding's `reservedEnvelopes` capability may address (e.g. `_dict_`). */\n readonly reservedPrefixes?: readonly string[]\n /**\n * Does this binding own `field`? Backs `ViaPipeline.postureFor` (#629 Task\n * 8's posture consumer) — a passive coverage check, independent of\n * `buildClause`/`compareForOrder` (which some bindings, e.g. classified and\n * blob, never define). SYNC, no side effects.\n *\n * Contract (documentation only — not enforced at runtime, future work):\n * any binding declaring a non-default posture value — `queryable: 'none'`\n * (#629 Task 8) or `exportable: false` (#629 Task 9's `redactForExport`)\n * — MUST implement `covers()`. `postureFor`'s consumers only engage for\n * fields a binding actively claims via `covers()`; a binding that omits\n * it would silently fall through to the generic (unrefused/unredacted)\n * path instead.\n */\n covers?(field: string): boolean\n // NOTE: phase C adds a `derive` hook ADDITIVELY — do not stub it now.\n // ── write pipeline ──\n /** Refuse a write before crypto runs (classified step-3 slot: storage:'never' rejection + validators). Throws to refuse. */\n enforceWrite?(record: Record<string, unknown>, ctx: ViaWriteCtx): void | Promise<void>\n /** First pipeline stage (money canonicalizeIncomingMoney). SYNC. */\n ingest?(record: Record<string, unknown>): Record<string, unknown>\n /** Decode STORED form to canonical for internal boundaries (gates, derivations, patch bases). SYNC. */\n canonicalizeStored?(record: Record<string, unknown>): Record<string, unknown>\n /** Post-validation write encoding (money quantize; i18n translate→script→validate→densify). May be async. */\n encodeWrite?(record: Record<string, unknown>, ctx: ViaWriteCtx): Awaitable<Record<string, unknown>>\n /** Final write-pipeline stage: seal/encrypt declared fields via `crypto` before the envelope body is built (classified step-2 slot). */\n encodeAtRest?(record: Record<string, unknown>, crypto: ViaCryptoCtx): Promise<{ record: Record<string, unknown>; sealed?: Record<string, SealedSlotRef> }>\n // ── read pipeline ──\n /** First read-pipeline stage: unseal/decrypt declared fields via `crypto` before `present` runs (classified sealed-handle slot). */\n decodeAtRest?(record: Record<string, unknown>, sealed: Record<string, SealedSlotRef>, crypto: ViaCryptoCtx, opts: { asHandles: boolean }): Promise<Record<string, unknown>>\n /** Read-time presentation (money decode+virtuals; i18n locale/labels/strip). May be async. */\n present?(record: Record<string, unknown>, ctx: ViaReadCtx): Awaitable<Record<string, unknown>>\n // ── query participation (ALL SYNC — #553) ──\n /** Returns an opaque clause payload when this binding covers `field`, else undefined. */\n // eslint-disable-next-line @typescript-eslint/no-redundant-type-constituents\n buildClause?(field: string, op: string, value: unknown): unknown | undefined\n /** Evaluate a payload produced by buildClause against a raw stored value. */\n evaluateClause?(actual: unknown, op: string, payload: unknown): boolean\n /** Decode a raw stored record for query/scan results and callback views ('raw' — no virtuals). */\n decodeResults?(record: unknown): unknown\n /** Exact ordering for a covered field; undefined when the field is not covered. */\n compareForOrder?(field: string, a: unknown, b: unknown): number | undefined\n /**\n * Per-key, PER-CALL-locale label resolution for `orderBy(field, dir,\n * { by: 'label' })` (#650 Task 7) — the sibling `compareForOrder` above\n * structurally cannot serve, since it carries no locale parameter.\n * `locale` is the query's per-call locale (`undefined` for a locale-less\n * query — a binding may fall back to its own descriptor-level default,\n * mirroring `present`'s displayLocale hinge). `undefined` return = this\n * binding doesn't resolve a label for `key` at `field` — caller falls\n * back to the raw stored value, same graceful-degrade discipline every\n * other via query hook uses. SYNC (#553 — query participation).\n */\n resolveOrderLabel?(field: string, key: string, locale: string | undefined): string | undefined\n /** Rewrite an aggregate spec (money exact reducers). */\n wrapReducers?(spec: unknown): unknown\n // ── forget participation ──\n /** `forget()`'s per-ref erasure door — shred/report this binding's residue for one record (classified/blob forget participation). */\n erase?(ctx: ViaEraseCtx): Promise<ViaEraseReport>\n // ── introspection ──\n describeFragment?(): Record<string, unknown>\n}\n\n/** Binder: constructs a binding from a collection's declared config. Installed by the feature's declaration factory. */\nexport type ViaBinder = (config: unknown) => ViaBinding\n\nconst binders = new Map<string, ViaBinder>()\n\n/** @internal — called (idempotently, first-wins) by a feature's declaration factory, e.g. money(). */\nexport function installViaBinder(brand: string, binder: ViaBinder): void {\n if (!binders.has(brand)) binders.set(brand, binder)\n}\n\n/** @internal — registry presence check. Used by tests (mirrors isMoneyEngineInstalled) and by vault's i18n validator delegators as a no-i18n-ever-declared fast path. */\nexport function isViaInstalled(brand: string): boolean {\n return binders.has(brand)\n}\n\n/** @internal — resolve a binder; throws when the declaration factory never ran (hand-rolled descriptors). */\nexport function viaBinder(brand: string): ViaBinder {\n const b = binders.get(brand)\n if (!b) {\n throw new NoydbError(\n 'VIA_NOT_LINKED',\n `via feature \"${brand}\" requires descriptors created via its declaration factory from @noy-db/hub`,\n )\n }\n return b\n}\n"],"mappings":";;;;;AAyJA,IAAM,UAAU,oBAAI,IAAuB;AAGpC,SAAS,iBAAiB,OAAe,QAAyB;AACvE,MAAI,CAAC,QAAQ,IAAI,KAAK,EAAG,SAAQ,IAAI,OAAO,MAAM;AACpD;AAGO,SAAS,eAAe,OAAwB;AACrD,SAAO,QAAQ,IAAI,KAAK;AAC1B;AAGO,SAAS,UAAU,OAA0B;AAClD,QAAM,IAAI,QAAQ,IAAI,KAAK;AAC3B,MAAI,CAAC,GAAG;AACN,UAAM,IAAI;AAAA,MACR;AAAA,MACA,gBAAgB,KAAK;AAAA,IACvB;AAAA,EACF;AACA,SAAO;AACT;","names":[]}
@@ -2,7 +2,7 @@ import {
2
2
  decrypt,
3
3
  deriveSealedFieldKey,
4
4
  deriveSealedFieldKeyFromCek
5
- } from "./chunk-5HZULLHE.js";
5
+ } from "./chunk-AUR7MRHA.js";
6
6
 
7
7
  // src/kernel/enclave/record-keys/sealed-slot.ts
8
8
  function parseSealedSlot(blob) {
@@ -26,4 +26,4 @@ export {
26
26
  parseSealedSlot,
27
27
  dualReadSealedSlot
28
28
  };
29
- //# sourceMappingURL=chunk-UWZ7O4NR.js.map
29
+ //# sourceMappingURL=chunk-6MWUANRF.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  ReadOnlyFrameError
3
- } from "./chunk-OJ64XMPJ.js";
3
+ } from "./chunk-CU62BBRB.js";
4
4
 
5
5
  // src/with-fork/shadow/vault-frame.ts
6
6
  var VaultFrame = class {
@@ -71,4 +71,4 @@ export {
71
71
  VaultFrame,
72
72
  CollectionFrame
73
73
  };
74
- //# sourceMappingURL=chunk-U7LV2DUN.js.map
74
+ //# sourceMappingURL=chunk-6ULCYCMU.js.map