@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,5 +1,5 @@
1
- import { S as SubjectDeclaration, F as ForgetStrategy } from '../subject-index-O75wKshW.js';
2
- export { a as ForgetResult, N as NO_FORGET, b as SUBJECT_INDEX_COLLECTION, c as SubjectRef } from '../subject-index-O75wKshW.js';
1
+ import { S as SubjectDeclaration, F as ForgetStrategy } from '../subject-index-CyOgGMJL.js';
2
+ export { a as ForgetResult, N as NO_FORGET, b as SUBJECT_INDEX_COLLECTION, c as SubjectRef } from '../subject-index-CyOgGMJL.js';
3
3
 
4
4
  /**
5
5
  * `withForgetCascade` — the active factory for GDPR right-to-erasure via
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  NO_FORGET,
3
3
  SUBJECT_INDEX_COLLECTION
4
- } from "../chunk-VMRXI3IF.js";
5
- import "../chunk-JIW3Q5JN.js";
6
- import "../chunk-HGQ6UNHE.js";
7
- import "../chunk-5UOPIPZC.js";
8
- import "../chunk-UWZ7O4NR.js";
9
- import "../chunk-HCK2DFEK.js";
10
- import "../chunk-VFQOE76I.js";
4
+ } from "../chunk-A2APWS32.js";
5
+ import "../chunk-XHD3L3JO.js";
6
+ import "../chunk-Z5YFRMG5.js";
7
+ import "../chunk-XQ7UYPVN.js";
8
+ import "../chunk-6MWUANRF.js";
9
+ import "../chunk-2KOSJTMU.js";
11
10
  import "../chunk-LP7BEXCT.js";
12
- import "../chunk-5HZULLHE.js";
13
- import "../chunk-OJ64XMPJ.js";
11
+ import "../chunk-AUR7MRHA.js";
12
+ import "../chunk-UNJU345Q.js";
13
+ import "../chunk-CU62BBRB.js";
14
14
  import "../chunk-PZ5AY32C.js";
15
15
 
16
16
  // src/with-audit/forget/active.ts
@@ -1,8 +1,7 @@
1
- export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from '../transition-guard-BzsAQEd-.js';
2
- import { bJ as GuardStrategy, bK as GuardChange, bL as GuardContext } from '../index-BJ3L-XcV.js';
3
- export { bM as AmendmentForbiddenError, bN as FieldFrozenError, bO as GuardRegistry, bP as GuardStrategyHandle, bQ as IllegalTransitionError, bR as InvariantError, bS as ReadOnlyVaultFacade, bT as RecordLockedError } from '../index-BJ3L-XcV.js';
4
- import '../subject-index-O75wKshW.js';
5
- import '../describe-C6iHNlqJ.js';
1
+ export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from '../transition-guard-BOUkzQU4.js';
2
+ import { bc as GuardStrategy, bd as GuardChange, be as GuardContext } from '../index-DzhNI2vE.js';
3
+ export { bf as AmendmentForbiddenError, bg as FieldFrozenError, bh as GuardRegistry, bi as GuardStrategyHandle, bj as IllegalTransitionError, bk as InvariantError, bl as ReadOnlyVaultFacade, bm as RecordLockedError } from '../index-DzhNI2vE.js';
4
+ import '../subject-index-CyOgGMJL.js';
6
5
  import '../index-B9QdHytu.js';
7
6
  import '@noy-db/attestation';
8
7
 
@@ -2,23 +2,23 @@ import {
2
2
  immutableGuard,
3
3
  transitionGuard,
4
4
  withGuard
5
- } from "../chunk-PAJCRV7O.js";
5
+ } from "../chunk-KYC4LIEU.js";
6
6
  import {
7
7
  ReadOnlyVaultFacade
8
- } from "../chunk-RUIMKQTA.js";
8
+ } from "../chunk-QJR3W3MF.js";
9
9
  import {
10
10
  GuardRegistry
11
11
  } from "../chunk-YMUGBZN2.js";
12
12
  import {
13
13
  GuardExecutor
14
- } from "../chunk-HU55NPHZ.js";
14
+ } from "../chunk-Y2OCKFZ3.js";
15
15
  import {
16
16
  AmendmentForbiddenError,
17
17
  FieldFrozenError,
18
18
  IllegalTransitionError,
19
19
  InvariantError,
20
20
  RecordLockedError
21
- } from "../chunk-OJ64XMPJ.js";
21
+ } from "../chunk-CU62BBRB.js";
22
22
  import "../chunk-PZ5AY32C.js";
23
23
  export {
24
24
  AmendmentForbiddenError,
@@ -1,4 +1,4 @@
1
- import { cV as EncryptedEnvelope } from './index-BJ3L-XcV.js';
1
+ import { d0 as EncryptedEnvelope } from './index-DzhNI2vE.js';
2
2
 
3
3
  /**
4
4
  * Ledger storage constants — pinned in their own leaf module so
@@ -1,8 +1,7 @@
1
- import { cS as HistoryStrategy, cT as NoydbStore, cU as HistoryOptions, cV as EncryptedEnvelope, cW as PruneOptions } from '../index-BJ3L-XcV.js';
2
- export { cX as AppendInput, cY as ChangeType, cZ as CollectionInstant, cE as DiffEntry, c_ as JsonPatch, c$ as JsonPatchOp, d0 as LedgerStore, d1 as VaultEngine, d2 as VaultInstant, d3 as VerifyResult, d4 as applyPatch, d5 as computePatch, d6 as diff, d7 as formatDiff } from '../index-BJ3L-XcV.js';
3
- export { L as LedgerEntry, d as canonicalJson, h as hashEntry, p as paddedIndex, e as parseIndex, s as sha256Hex } from '../subject-index-O75wKshW.js';
4
- export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from '../hash-BPzm02Za.js';
5
- import '../describe-C6iHNlqJ.js';
1
+ import { cZ as HistoryStrategy, c_ as NoydbStore, c$ as HistoryOptions, d0 as EncryptedEnvelope, d1 as PruneOptions } from '../index-DzhNI2vE.js';
2
+ export { d2 as AppendInput, d3 as ChangeType, d4 as CollectionInstant, c7 as DiffEntry, d5 as JsonPatch, d6 as JsonPatchOp, d7 as LedgerStore, d8 as VaultEngine, d9 as VaultInstant, da as VerifyResult, db as applyPatch, dc as computePatch, dd as diff, de as formatDiff } from '../index-DzhNI2vE.js';
3
+ export { L as LedgerEntry, d as canonicalJson, h as hashEntry, p as paddedIndex, e as parseIndex, s as sha256Hex } from '../subject-index-CyOgGMJL.js';
4
+ export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from '../hash-DBkZfIBW.js';
6
5
  import '../index-B9QdHytu.js';
7
6
  import '@noy-db/attestation';
8
7
 
@@ -7,7 +7,7 @@ import {
7
7
  pruneHistory,
8
8
  saveHistory,
9
9
  tombstoneHistory
10
- } from "../chunk-J54DC5IC.js";
10
+ } from "../chunk-4G3IT7J7.js";
11
11
  import {
12
12
  diff,
13
13
  formatDiff
@@ -16,7 +16,7 @@ import {
16
16
  LedgerStore,
17
17
  applyPatch,
18
18
  computePatch
19
- } from "../chunk-62TTFKU4.js";
19
+ } from "../chunk-WNA6T3MA.js";
20
20
  import {
21
21
  LEDGER_COLLECTION,
22
22
  LEDGER_DELTAS_COLLECTION
@@ -28,16 +28,16 @@ import {
28
28
  paddedIndex,
29
29
  parseIndex,
30
30
  sha256Hex
31
- } from "../chunk-G5CFMITA.js";
32
- import "../chunk-JIW3Q5JN.js";
33
- import "../chunk-HGQ6UNHE.js";
34
- import "../chunk-5UOPIPZC.js";
35
- import "../chunk-UWZ7O4NR.js";
36
- import "../chunk-HCK2DFEK.js";
37
- import "../chunk-VFQOE76I.js";
31
+ } from "../chunk-MSVY7ULZ.js";
32
+ import "../chunk-XHD3L3JO.js";
33
+ import "../chunk-Z5YFRMG5.js";
34
+ import "../chunk-XQ7UYPVN.js";
35
+ import "../chunk-6MWUANRF.js";
36
+ import "../chunk-2KOSJTMU.js";
38
37
  import "../chunk-LP7BEXCT.js";
39
- import "../chunk-5HZULLHE.js";
40
- import "../chunk-OJ64XMPJ.js";
38
+ import "../chunk-AUR7MRHA.js";
39
+ import "../chunk-UNJU345Q.js";
40
+ import "../chunk-CU62BBRB.js";
41
41
  import "../chunk-PZ5AY32C.js";
42
42
 
43
43
  // src/with-commit/history/active.ts
@@ -1,10 +1,29 @@
1
- import { I as I18nStrategy } from '../index-BJ3L-XcV.js';
2
- export { D as DICT_COLLECTION_PREFIX, a as DictEntry, b as DictKeyDescriptor, c as DictKeyInUseError, d as DictKeyMissingError, e as DictionaryHandle, f as DictionaryOptions, g as I18nMap, h as I18nTextDescriptor, i as I18nTextOptions, L as Layer, j as LocaleNotSpecifiedError, M as MissingTranslationError, O as OnMissing, k as OnMissingPolicy, R as ReservedCollectionNameError, l as ResolveI18nOptions, S as ScriptViolationError, m as ScriptWarning, n as StaticDictDescriptor, o as StaticDictReadonlyError, T as TranslatorNotConfiguredError, U as UnknownDictCodeError, p as applyI18nLocale, q as dictCollectionName, r as dictKey, s as enforceScript, t as getAtPath, u as i18nText, v as inferScripts, w as isDictCollectionName, x as isDictKeyDescriptor, y as isI18nTextDescriptor, z as isStaticDictDescriptor, A as resolveI18nText, B as resolvePolicy, C as setAtPathInPlace, E as staticDict, F as stripI18nFilled, G as validateI18nTextValue } from '../index-BJ3L-XcV.js';
3
- import '../subject-index-O75wKshW.js';
4
- import '../describe-C6iHNlqJ.js';
1
+ import { ck as I18nStrategy } from '../index-DzhNI2vE.js';
2
+ export { cl as DICT_COLLECTION_PREFIX, cm as DictEntry, cn as DictKeyDescriptor, co as DictKeyInUseError, cp as DictKeyMissingError, cq as DictionaryHandle, cr as DictionaryOptions, cs as I18nMap, ct as I18nTextDescriptor, cu as I18nTextOptions, cv as Layer, cw as LocaleNotSpecifiedError, cx as MissingTranslationError, cy as OnMissing, cz as OnMissingPolicy, cA as ReservedCollectionNameError, cB as ResolveI18nOptions, cC as ScriptViolationError, cD as ScriptWarning, cE as StaticDictDescriptor, cF as StaticDictReadonlyError, cG as TranslatorNotConfiguredError, cH as UnknownDictCodeError, cI as applyI18nLocale, cJ as dictCollectionName, cK as dictKey, cL as enforceScript, cM as i18nText, cN as inferScripts, cO as isDictCollectionName, cP as isDictKeyDescriptor, cQ as isI18nTextDescriptor, cR as isStaticDictDescriptor, cS as presentI18nForJoin, cT as resolveI18nText, cU as resolvePolicy, cV as staticDict, cW as stripI18nFilled, cX as validateI18nTextValue } from '../index-DzhNI2vE.js';
3
+ import '../subject-index-CyOgGMJL.js';
5
4
  import '../index-B9QdHytu.js';
6
5
  import '@noy-db/attestation';
7
6
 
7
+ /**
8
+ * Generic dotted-path / `[]`-wildcard record helpers. Kernel-owned:
9
+ * these carry zero i18n logic — they were extracted out of
10
+ * `shape/via-i18n/core.ts` (Task 7, #623) so kernel call-sites (put-time
11
+ * validation, densify) can import them without a spine→service edge.
12
+ *
13
+ * @internal
14
+ */
15
+ /**
16
+ * Return all leaf values at `path`, expanding `[].` array wildcards.
17
+ *
18
+ * - `'name'` → `[obj.name]`
19
+ * - `'address.lineOne'` → `[obj.address.lineOne]`
20
+ * - `'contacts[].title'` → `[obj.contacts[0].title, obj.contacts[1].title, …]`
21
+ *
22
+ * Returns an empty array when the path does not resolve (missing key,
23
+ * wrong type, etc.). Used by `enforceI18nOnPut` to validate nested fields.
24
+ */
25
+ declare function getAtPath(obj: Record<string, unknown>, path: string): unknown[];
26
+
8
27
  /**
9
28
  * Active i18n strategy — `withI18n()` returns the real implementation
10
29
  * that wires multi-locale resolution, i18nText validation, and the
@@ -34,4 +53,4 @@ import '@noy-db/attestation';
34
53
 
35
54
  declare function withI18n(): I18nStrategy;
36
55
 
37
- export { I18nStrategy, withI18n };
56
+ export { I18nStrategy, getAtPath, withI18n };
@@ -1,37 +1,39 @@
1
+ import {
2
+ withLookup
3
+ } from "../chunk-ANDBBA2P.js";
1
4
  import {
2
5
  DICT_COLLECTION_PREFIX,
3
- DictionaryHandle,
6
+ LookupHandle,
4
7
  dictCollectionName,
5
8
  dictKey,
6
- isDictCollectionName,
7
- isDictKeyDescriptor,
8
- isStaticDictDescriptor,
9
9
  staticDict
10
- } from "../chunk-WFBZRXS5.js";
11
- import "../chunk-GMZFHDSG.js";
12
- import "../chunk-3CHNKEFI.js";
13
- import "../chunk-G5CFMITA.js";
14
- import "../chunk-JIW3Q5JN.js";
15
- import "../chunk-HGQ6UNHE.js";
16
- import "../chunk-5UOPIPZC.js";
17
- import "../chunk-UWZ7O4NR.js";
18
- import "../chunk-HCK2DFEK.js";
19
- import "../chunk-VFQOE76I.js";
10
+ } from "../chunk-IIP5WFVT.js";
11
+ import "../chunk-MSVY7ULZ.js";
12
+ import "../chunk-XHD3L3JO.js";
13
+ import "../chunk-Z5YFRMG5.js";
14
+ import "../chunk-XQ7UYPVN.js";
15
+ import "../chunk-6MWUANRF.js";
16
+ import "../chunk-2KOSJTMU.js";
20
17
  import "../chunk-LP7BEXCT.js";
21
- import "../chunk-5HZULLHE.js";
18
+ import "../chunk-AUR7MRHA.js";
19
+ import "../chunk-UNJU345Q.js";
22
20
  import {
23
21
  applyI18nLocale,
24
22
  enforceScript,
25
23
  getAtPath,
26
24
  i18nText,
27
25
  inferScripts,
26
+ isDictCollectionName,
27
+ isDictKeyDescriptor,
28
28
  isI18nTextDescriptor,
29
+ isStaticDictDescriptor,
30
+ presentI18nForJoin,
29
31
  resolveI18nText,
30
32
  resolvePolicy,
31
- setAtPathInPlace,
32
33
  stripI18nFilled,
33
34
  validateI18nTextValue
34
- } from "../chunk-BASCPHNM.js";
35
+ } from "../chunk-3C5CKXFI.js";
36
+ import "../chunk-6G2SCQYS.js";
35
37
  import {
36
38
  DictKeyInUseError,
37
39
  DictKeyMissingError,
@@ -42,10 +44,10 @@ import {
42
44
  StaticDictReadonlyError,
43
45
  TranslatorNotConfiguredError,
44
46
  UnknownDictCodeError
45
- } from "../chunk-OJ64XMPJ.js";
47
+ } from "../chunk-CU62BBRB.js";
46
48
  import "../chunk-PZ5AY32C.js";
47
49
 
48
- // src/with-shape/i18n/densify.ts
50
+ // src/shape/via-i18n/densify.ts
49
51
  var MARKER = "_i18nFilled";
50
52
  function priorFilled(prior, field) {
51
53
  if (!prior) return /* @__PURE__ */ new Set();
@@ -120,8 +122,9 @@ function densify(record, prior, fields) {
120
122
  }
121
123
  }
122
124
 
123
- // src/with-shape/i18n/active.ts
125
+ // src/shape/via-i18n/active.ts
124
126
  function withI18n() {
127
+ const lookup = withLookup();
125
128
  return {
126
129
  applyI18nLocale,
127
130
  validateI18nTextValue,
@@ -129,18 +132,26 @@ function withI18n() {
129
132
  computeExemptFills,
130
133
  densify,
131
134
  buildDictionaryHandle(opts) {
132
- return new DictionaryHandle(
133
- opts.adapter,
134
- opts.compartmentName,
135
- opts.dictionaryName,
136
- opts.keyring,
137
- opts.getDEK,
138
- opts.encrypted,
139
- opts.ledger,
140
- opts.options,
141
- opts.findAndUpdateReferences,
142
- opts.emitter
143
- );
135
+ return lookup.buildLookupHandle({
136
+ adapter: opts.adapter,
137
+ compartmentName: opts.compartmentName,
138
+ dimensionName: opts.dictionaryName,
139
+ keyring: opts.keyring,
140
+ reservedEnvelopes: opts.reservedEnvelopes,
141
+ encrypted: opts.encrypted,
142
+ ledger: opts.ledger,
143
+ options: opts.options,
144
+ findAndUpdateReferences: opts.findAndUpdateReferences,
145
+ emitter: opts.emitter,
146
+ buildDeleteMarker: opts.buildDeleteMarker,
147
+ // #647 fix wave 1
148
+ onDirty: opts.onDirty,
149
+ // #650 Task 4
150
+ onRecordMutated: opts.onRecordMutated,
151
+ // #650 Task 4
152
+ checkReferencesOnDelete: opts.checkReferencesOnDelete
153
+ // #650 Task 5
154
+ });
144
155
  }
145
156
  };
146
157
  }
@@ -148,7 +159,7 @@ export {
148
159
  DICT_COLLECTION_PREFIX,
149
160
  DictKeyInUseError,
150
161
  DictKeyMissingError,
151
- DictionaryHandle,
162
+ LookupHandle as DictionaryHandle,
152
163
  LocaleNotSpecifiedError,
153
164
  MissingTranslationError,
154
165
  ReservedCollectionNameError,
@@ -167,9 +178,9 @@ export {
167
178
  isDictKeyDescriptor,
168
179
  isI18nTextDescriptor,
169
180
  isStaticDictDescriptor,
181
+ presentI18nForJoin,
170
182
  resolveI18nText,
171
183
  resolvePolicy,
172
- setAtPathInPlace,
173
184
  staticDict,
174
185
  stripI18nFilled,
175
186
  validateI18nTextValue,
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/with-shape/i18n/densify.ts","../../src/with-shape/i18n/active.ts"],"sourcesContent":["/**\n * `densifyOnWrite` — eager-fill empty i18n slots from each field's\n * substitute chain at write time, recording provenance in the internal\n * `_i18nFilled` marker (decision A: dense map + prior-read).\n *\n * Pure functions over plain records; all DB wiring lives in collection.ts.\n * Only single-leaf i18n fields are supported (array-wildcard paths are\n * skipped, mirroring auto-translate).\n */\nimport { getAtPath, resolveI18nText } from './core.js'\nimport type { I18nTextDescriptor } from './core.js'\n\nconst MARKER = '_i18nFilled'\n\ntype Leaf = Record<string, string>\n\n/** Locales recorded as densify-filled on the prior record for `field`. */\nfunction priorFilled(prior: Record<string, unknown> | undefined, field: string): Set<string> {\n if (!prior) return new Set()\n const marker = prior[MARKER] as Record<string, string[]> | undefined\n return new Set(marker?.[field] ?? [])\n}\n\n/** The single leaf map for `field`, or undefined for absent / array-wildcard / non-object. */\nfunction singleLeaf(record: Record<string, unknown>, field: string): Leaf | undefined {\n const leaves = getAtPath(record, field)\n if (leaves.length !== 1) return undefined\n const leaf = leaves[0]\n if (!leaf || typeof leaf !== 'object' || Array.isArray(leaf)) return undefined\n return leaf as Leaf\n}\n\n/**\n * Per field, the locales that are UNCHANGED round-tripped densify fills — i.e.\n * marked filled on the prior record AND identical in the incoming record.\n * These are exempt from write-time script enforcement (they are derived copies,\n * not authored text). Slots the user changed are NOT exempt (validated as authored).\n */\nexport function computeExemptFills(\n prior: Record<string, unknown> | undefined,\n incoming: Record<string, unknown>,\n fields: Record<string, I18nTextDescriptor>,\n): Map<string, Set<string>> {\n const out = new Map<string, Set<string>>()\n if (!prior) return out\n for (const field of Object.keys(fields)) {\n const filled = priorFilled(prior, field)\n if (filled.size === 0) continue\n const priorLeaf = singleLeaf(prior, field)\n const incLeaf = singleLeaf(incoming, field)\n if (!priorLeaf || !incLeaf) continue\n const exempt = new Set<string>()\n for (const loc of filled) {\n if (incLeaf[loc] !== undefined && incLeaf[loc] !== '' && incLeaf[loc] === priorLeaf[loc]) {\n exempt.add(loc)\n }\n }\n if (exempt.size > 0) out.set(field, exempt)\n }\n return out\n}\n\n/**\n * Mutate `record` in place: fill empty declared-language slots for each\n * densify-enabled field from the field's substitute chain, recompute unchanged\n * prior fills, clear marks for slots that became authored, and write the\n * resulting `_i18nFilled` marker (removed when empty).\n *\n * `prior` is read-only — it is never mutated.\n *\n * Provenance uses value-equality (decision A): a slot counts as an unchanged\n * fill when it was prior-marked AND its value still equals the prior value. A\n * consequence is that re-authoring a value byte-identical to the existing fill\n * keeps it classified as a fill (the visible value is unchanged either way; the\n * slot stays script-exempt and will auto-refresh if its source later changes).\n * This is inherent to value-equality provenance, not a bug.\n */\nexport function densify(\n record: Record<string, unknown>,\n prior: Record<string, unknown> | undefined,\n fields: Record<string, I18nTextDescriptor>,\n): void {\n let marker = record[MARKER] as Record<string, string[]> | undefined\n\n for (const [field, descriptor] of Object.entries(fields)) {\n const leaf = singleLeaf(record, field)\n if (!leaf) continue\n const { languages, substitute, smartSubstitute } = descriptor.options\n const filledSet = priorFilled(prior, field)\n const priorLeaf = singleLeaf(prior ?? {}, field)\n const isUnchangedFill = (loc: string): boolean =>\n filledSet.has(loc) && priorLeaf?.[loc] !== undefined && leaf[loc] === priorLeaf[loc]\n\n // Authored source = present, non-empty, NOT an unchanged prior fill.\n const authored: Leaf = {}\n for (const [loc, val] of Object.entries(leaf)) {\n if (typeof val === 'string' && val !== '' && !isUnchangedFill(loc)) authored[loc] = val\n }\n\n const filled: string[] = []\n for (const loc of languages) {\n if (authored[loc] !== undefined) continue // real value present → not a fill\n const sub = resolveI18nText(authored, loc, undefined, field, {\n policy: 'substitute',\n substitute: substitute ?? ['any'],\n ...(smartSubstitute ? { smartSubstitute } : {}),\n })\n if (typeof sub === 'string' && sub !== '') {\n leaf[loc] = sub\n filled.push(loc)\n } else if (isUnchangedFill(loc)) {\n delete leaf[loc] // stale fill with no source left → drop it\n }\n }\n\n if (filled.length > 0) {\n marker ??= {}\n marker[field] = filled\n } else if (marker) {\n delete marker[field]\n }\n }\n\n if (marker && Object.keys(marker).length > 0) {\n record[MARKER] = marker\n } else {\n delete record[MARKER]\n }\n}\n","/**\n * Active i18n strategy — `withI18n()` returns the real implementation\n * that wires multi-locale resolution, i18nText validation, and the\n * `DictionaryHandle` for `dictKey` fields into the core read/write\n * paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withI18n } from '@noy-db/hub/i18n'\n *\n * const db = await createNoydb({\n * store: ...,\n * user: ...,\n * i18nStrategy: withI18n(),\n * })\n * ```\n *\n * The factory delegates to the existing `core.ts` and `dictionary.ts`\n * modules. Splitting the import chain through this file is what lets\n * tsup tree-shake the `~854 LOC` of dictionary + locale resolution\n * out of the default bundle when no `withI18n()` import is present.\n *\n * @public\n */\n\nimport type { I18nStrategy, BuildDictionaryHandleOptions } from './strategy.js'\nimport { applyI18nLocale, validateI18nTextValue } from './core.js'\nimport { enforceScript } from './script.js'\nimport { computeExemptFills, densify } from './densify.js'\nimport { DictionaryHandle } from './dictionary.js'\n\nexport function withI18n(): I18nStrategy {\n return {\n applyI18nLocale,\n validateI18nTextValue,\n enforceScript,\n computeExemptFills,\n densify,\n buildDictionaryHandle<Keys extends string = string>(\n opts: BuildDictionaryHandleOptions<Keys>,\n ): DictionaryHandle<Keys> {\n return new DictionaryHandle<Keys>(\n opts.adapter,\n opts.compartmentName,\n opts.dictionaryName,\n opts.keyring,\n opts.getDEK,\n opts.encrypted,\n opts.ledger,\n opts.options,\n opts.findAndUpdateReferences,\n opts.emitter,\n )\n },\n }\n}\n"],"mappings":"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","names":[]}
1
+ {"version":3,"sources":["../../src/shape/via-i18n/densify.ts","../../src/shape/via-i18n/active.ts"],"sourcesContent":["/**\n * `densifyOnWrite` — eager-fill empty i18n slots from each field's\n * substitute chain at write time, recording provenance in the internal\n * `_i18nFilled` marker (decision A: dense map + prior-read).\n *\n * Pure functions over plain records; all DB wiring lives in collection.ts.\n * Only single-leaf i18n fields are supported (array-wildcard paths are\n * skipped, mirroring auto-translate).\n */\nimport { getAtPath, resolveI18nText } from './core.js'\nimport type { I18nTextDescriptor } from './core.js'\n\nconst MARKER = '_i18nFilled'\n\ntype Leaf = Record<string, string>\n\n/** Locales recorded as densify-filled on the prior record for `field`. */\nfunction priorFilled(prior: Record<string, unknown> | undefined, field: string): Set<string> {\n if (!prior) return new Set()\n const marker = prior[MARKER] as Record<string, string[]> | undefined\n return new Set(marker?.[field] ?? [])\n}\n\n/** The single leaf map for `field`, or undefined for absent / array-wildcard / non-object. */\nfunction singleLeaf(record: Record<string, unknown>, field: string): Leaf | undefined {\n const leaves = getAtPath(record, field)\n if (leaves.length !== 1) return undefined\n const leaf = leaves[0]\n if (!leaf || typeof leaf !== 'object' || Array.isArray(leaf)) return undefined\n return leaf as Leaf\n}\n\n/**\n * Per field, the locales that are UNCHANGED round-tripped densify fills — i.e.\n * marked filled on the prior record AND identical in the incoming record.\n * These are exempt from write-time script enforcement (they are derived copies,\n * not authored text). Slots the user changed are NOT exempt (validated as authored).\n */\nexport function computeExemptFills(\n prior: Record<string, unknown> | undefined,\n incoming: Record<string, unknown>,\n fields: Record<string, I18nTextDescriptor>,\n): Map<string, Set<string>> {\n const out = new Map<string, Set<string>>()\n if (!prior) return out\n for (const field of Object.keys(fields)) {\n const filled = priorFilled(prior, field)\n if (filled.size === 0) continue\n const priorLeaf = singleLeaf(prior, field)\n const incLeaf = singleLeaf(incoming, field)\n if (!priorLeaf || !incLeaf) continue\n const exempt = new Set<string>()\n for (const loc of filled) {\n if (incLeaf[loc] !== undefined && incLeaf[loc] !== '' && incLeaf[loc] === priorLeaf[loc]) {\n exempt.add(loc)\n }\n }\n if (exempt.size > 0) out.set(field, exempt)\n }\n return out\n}\n\n/**\n * Mutate `record` in place: fill empty declared-language slots for each\n * densify-enabled field from the field's substitute chain, recompute unchanged\n * prior fills, clear marks for slots that became authored, and write the\n * resulting `_i18nFilled` marker (removed when empty).\n *\n * `prior` is read-only — it is never mutated.\n *\n * Provenance uses value-equality (decision A): a slot counts as an unchanged\n * fill when it was prior-marked AND its value still equals the prior value. A\n * consequence is that re-authoring a value byte-identical to the existing fill\n * keeps it classified as a fill (the visible value is unchanged either way; the\n * slot stays script-exempt and will auto-refresh if its source later changes).\n * This is inherent to value-equality provenance, not a bug.\n */\nexport function densify(\n record: Record<string, unknown>,\n prior: Record<string, unknown> | undefined,\n fields: Record<string, I18nTextDescriptor>,\n): void {\n let marker = record[MARKER] as Record<string, string[]> | undefined\n\n for (const [field, descriptor] of Object.entries(fields)) {\n const leaf = singleLeaf(record, field)\n if (!leaf) continue\n const { languages, substitute, smartSubstitute } = descriptor.options\n const filledSet = priorFilled(prior, field)\n const priorLeaf = singleLeaf(prior ?? {}, field)\n const isUnchangedFill = (loc: string): boolean =>\n filledSet.has(loc) && priorLeaf?.[loc] !== undefined && leaf[loc] === priorLeaf[loc]\n\n // Authored source = present, non-empty, NOT an unchanged prior fill.\n const authored: Leaf = {}\n for (const [loc, val] of Object.entries(leaf)) {\n if (typeof val === 'string' && val !== '' && !isUnchangedFill(loc)) authored[loc] = val\n }\n\n const filled: string[] = []\n for (const loc of languages) {\n if (authored[loc] !== undefined) continue // real value present → not a fill\n const sub = resolveI18nText(authored, loc, undefined, field, {\n policy: 'substitute',\n substitute: substitute ?? ['any'],\n ...(smartSubstitute ? { smartSubstitute } : {}),\n })\n if (typeof sub === 'string' && sub !== '') {\n leaf[loc] = sub\n filled.push(loc)\n } else if (isUnchangedFill(loc)) {\n delete leaf[loc] // stale fill with no source left → drop it\n }\n }\n\n if (filled.length > 0) {\n marker ??= {}\n marker[field] = filled\n } else if (marker) {\n delete marker[field]\n }\n }\n\n if (marker && Object.keys(marker).length > 0) {\n record[MARKER] = marker\n } else {\n delete record[MARKER]\n }\n}\n","/**\n * Active i18n strategy — `withI18n()` returns the real implementation\n * that wires multi-locale resolution, i18nText validation, and the\n * `DictionaryHandle` for `dictKey` fields into the core read/write\n * paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withI18n } from '@noy-db/hub/i18n'\n *\n * const db = await createNoydb({\n * store: ...,\n * user: ...,\n * i18nStrategy: withI18n(),\n * })\n * ```\n *\n * The factory delegates to the existing `core.ts` and `dictionary.ts`\n * modules. Splitting the import chain through this file is what lets\n * tsup tree-shake the `~854 LOC` of dictionary + locale resolution\n * out of the default bundle when no `withI18n()` import is present.\n *\n * @public\n */\n\nimport type { I18nStrategy, BuildDictionaryHandleOptions } from './strategy.js'\nimport { applyI18nLocale, validateI18nTextValue } from './core.js'\nimport { enforceScript } from './script.js'\nimport { computeExemptFills, densify } from './densify.js'\nimport type { DictionaryHandle } from './dictionary.js'\nimport { withLookup } from '../via-lookup/active.js'\n\nexport function withI18n(): I18nStrategy {\n // #650 Task 1: the handle-construction logic moved to\n // shape/via-lookup/active.ts (LookupHandle, renamed from\n // DictionaryHandle, new home). buildDictionaryHandle below is now a\n // thin field-name translator over buildLookupHandle — same handle.\n const lookup = withLookup()\n return {\n applyI18nLocale,\n validateI18nTextValue,\n enforceScript,\n computeExemptFills,\n densify,\n buildDictionaryHandle<Keys extends string = string>(\n opts: BuildDictionaryHandleOptions<Keys>,\n ): DictionaryHandle<Keys> {\n return lookup.buildLookupHandle<Keys>({\n adapter: opts.adapter,\n compartmentName: opts.compartmentName,\n dimensionName: opts.dictionaryName,\n keyring: opts.keyring,\n reservedEnvelopes: opts.reservedEnvelopes,\n encrypted: opts.encrypted,\n ledger: opts.ledger,\n options: opts.options,\n findAndUpdateReferences: opts.findAndUpdateReferences,\n emitter: opts.emitter,\n buildDeleteMarker: opts.buildDeleteMarker, // #647 fix wave 1\n onDirty: opts.onDirty, // #650 Task 4\n onRecordMutated: opts.onRecordMutated, // #650 Task 4\n checkReferencesOnDelete: opts.checkReferencesOnDelete, // #650 Task 5\n })\n },\n }\n}\n"],"mappings":"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","names":[]}
@@ -1,5 +1,4 @@
1
- export { eQ as ChangeEvent, ci as Collection, gA as LiveQuery, ha as Noydb, e7 as Query, V as Vault } from '../index-BJ3L-XcV.js';
2
- import '../subject-index-O75wKshW.js';
3
- import '../describe-C6iHNlqJ.js';
1
+ export { e_ as ChangeEvent, bN as Collection, gR as LiveQuery, hs as Noydb, ef as Query, V as Vault } from '../index-DzhNI2vE.js';
2
+ import '../subject-index-CyOgGMJL.js';
4
3
  import '../index-B9QdHytu.js';
5
4
  import '@noy-db/attestation';
@@ -1,9 +1,8 @@
1
- import { cT as NoydbStore, dg as SealingKeyProvider, cF as UnlockedKeyring, eP as CargoStrategy } from './index-BJ3L-XcV.js';
1
+ import { c_ as NoydbStore, dn as SealingKeyProvider, c8 as UnlockedKeyring, eZ as CargoStrategy } from './index-DzhNI2vE.js';
2
2
  import './ulid-DRH25k3y.js';
3
3
  import './index-B9QdHytu.js';
4
4
  import './kernel/index.js';
5
- import './describe-C6iHNlqJ.js';
6
- import './vault-diff-DmBBatkx.js';
5
+ import './vault-diff-Dt9NkLzw.js';
7
6
 
8
7
  /**
9
8
  * Hub-core constants that must be referenceable without pulling any