@noy-db/hub 0.6.0 → 0.7.0-pre.1
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.
- package/CHANGELOG.md +76 -0
- package/README.md +1 -1
- package/codemods/0.4.0-pre.json +24 -0
- package/codemods/0.6.0-pre.json +18 -0
- package/codemods/0.7.0-pre.json +294 -0
- package/dist/api-EQYRTZO2.js +20 -0
- package/dist/as/index.js +146 -0
- package/dist/as/index.js.map +1 -0
- package/dist/at/index.js +23 -0
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-VL4GRIEW.js → backup-Z7ZBTAQ6.js} +12 -12
- package/dist/blobs/index.js +13 -13
- package/dist/broker/index.js +12 -12
- package/dist/by/index.js +11 -0
- package/dist/cargo/index.js +35 -31
- package/dist/{chunk-JKATP6OE.js → chunk-225O5CXQ.js} +2 -2
- package/dist/{chunk-XINT4VJA.js → chunk-2GXEQUEX.js} +2 -2
- package/dist/chunk-2GXEQUEX.js.map +1 -0
- package/dist/{chunk-CXPOG3ZY.js → chunk-2LPVI4PX.js} +8 -8
- package/dist/{chunk-2J5IT37K.js → chunk-3L2MVE36.js} +5 -5
- package/dist/{chunk-HOPNIR5R.js → chunk-3QARDAYW.js} +2 -2
- package/dist/{chunk-JYPRZWCZ.js → chunk-3SMSERQU.js} +169 -135
- package/dist/chunk-3SMSERQU.js.map +1 -0
- package/dist/{chunk-HSJBJIB2.js → chunk-467SKJ65.js} +4 -4
- package/dist/{chunk-YCGLAANM.js → chunk-4A4TYISP.js} +2 -2
- package/dist/{chunk-2CBFYXJX.js → chunk-4G25SDQL.js} +4 -4
- package/dist/{chunk-5LZZQMIC.js → chunk-4LPF226H.js} +5 -5
- package/dist/{chunk-GANFIM2M.js → chunk-4ZPE6SKS.js} +3 -3
- package/dist/{chunk-65JXA63J.js → chunk-5263OEM3.js} +2 -2
- package/dist/{chunk-FNYCT27B.js → chunk-57JTHWLQ.js} +4 -4
- package/dist/{chunk-5IHGJHWC.js → chunk-5ACAVJUI.js} +2 -2
- package/dist/{chunk-3OE2QNSM.js → chunk-5AFMP532.js} +6 -6
- package/dist/{chunk-J6I5VR6P.js → chunk-5W7YXFV5.js} +8 -8
- package/dist/chunk-5W7YXFV5.js.map +1 -0
- package/dist/{chunk-7ZGPQOFV.js → chunk-6EW2UCVF.js} +3 -3
- package/dist/{chunk-GCU42IG7.js → chunk-6FOGTKBY.js} +7 -7
- package/dist/chunk-6FOGTKBY.js.map +1 -0
- package/dist/{chunk-36CEG6CM.js → chunk-7LYUJNU3.js} +2 -2
- package/dist/{chunk-D6SXRMZZ.js → chunk-A2YW5EMU.js} +5 -5
- package/dist/{chunk-OQMCFHUX.js → chunk-AB5P32RE.js} +2 -2
- package/dist/{chunk-JMJSCI7U.js → chunk-ALB64CZM.js} +7 -7
- package/dist/{chunk-RPRASGEY.js → chunk-ALUNQEBY.js} +2 -2
- package/dist/{chunk-LC6NE4IQ.js → chunk-CBRS2NEK.js} +2 -11
- package/dist/chunk-CBRS2NEK.js.map +1 -0
- package/dist/{chunk-W3HAIN6U.js → chunk-CN6B5PEN.js} +5 -5
- package/dist/{chunk-JIHWBKMQ.js → chunk-DBNYPLWY.js} +3 -3
- package/dist/{chunk-ZJUZOJVW.js → chunk-DFAUMLD7.js} +5 -5
- package/dist/{chunk-S6PJ6ZKE.js → chunk-DKWPJOYH.js} +2 -2
- package/dist/{chunk-MPKP6L5E.js → chunk-E6YA6UAP.js} +2 -2
- package/dist/{chunk-LIR2DJWP.js → chunk-F23WQK3G.js} +9 -9
- package/dist/chunk-F23WQK3G.js.map +1 -0
- package/dist/{chunk-S7PM7Z4K.js → chunk-F7ZFRPGQ.js} +2 -2
- package/dist/{chunk-CKKN25P2.js → chunk-FOG7YEJP.js} +3 -3
- package/dist/{chunk-AJGGBXWA.js → chunk-GK4DRVUD.js} +6 -6
- package/dist/chunk-GK4DRVUD.js.map +1 -0
- package/dist/{chunk-4ATF4BLF.js → chunk-H36KSN6X.js} +7 -7
- package/dist/{chunk-BMU2DS3S.js → chunk-H3VG6XBC.js} +12 -171
- package/dist/chunk-H3VG6XBC.js.map +1 -0
- package/dist/{chunk-YTUFV7U7.js → chunk-H4M7ADXY.js} +10 -10
- package/dist/chunk-H4M7ADXY.js.map +1 -0
- package/dist/{chunk-QQRRKO7W.js → chunk-H7HP56F6.js} +5 -5
- package/dist/{chunk-RJZQ2PVD.js → chunk-HM4JSXX2.js} +3 -3
- package/dist/{chunk-3YGUHUJA.js → chunk-HTGRQZFB.js} +3 -3
- package/dist/{chunk-JXHNUYQO.js → chunk-IESNYJXZ.js} +6 -6
- package/dist/{chunk-ZYZJLYNS.js → chunk-ISSU3OH6.js} +7 -7
- package/dist/{chunk-OCJ3JA4O.js → chunk-J4MN6XIU.js} +2 -2
- package/dist/{chunk-HWI7GHJZ.js → chunk-J4UJ5FRV.js} +4 -4
- package/dist/{chunk-Z3BZXPRO.js → chunk-JBIV4FLR.js} +1 -1
- package/dist/chunk-JBIV4FLR.js.map +1 -0
- package/dist/{chunk-QVXZFJBU.js → chunk-JVLSU7S2.js} +2 -2
- package/dist/{chunk-7Q3RHOA5.js → chunk-KDJGJR7F.js} +2 -2
- package/dist/{chunk-PJX72ICF.js → chunk-KN4W2OQ4.js} +7 -7
- package/dist/chunk-KN4W2OQ4.js.map +1 -0
- package/dist/{chunk-M7WBE3OR.js → chunk-L6GTLZRK.js} +5 -5
- package/dist/{chunk-2ZT4INZ4.js → chunk-LF6DMX4C.js} +3 -3
- package/dist/chunk-LFUID7OW.js +163 -0
- package/dist/chunk-LFUID7OW.js.map +1 -0
- package/dist/{chunk-4K6BIMLF.js → chunk-LKFKXS5K.js} +2 -2
- package/dist/{chunk-POFYIGQ2.js → chunk-LR4Z47QD.js} +3 -3
- package/dist/{chunk-LUYPYCHY.js → chunk-MTBXJAS4.js} +4 -4
- package/dist/{chunk-FX3UIDCS.js → chunk-N4CNVSUF.js} +2 -2
- package/dist/{chunk-FU5VYEYK.js → chunk-NLKLXXTO.js} +2 -2
- package/dist/{chunk-YYV53EHO.js → chunk-OPXR4PB2.js} +2 -2
- package/dist/{chunk-5F7BZAGV.js → chunk-OWLVBOWO.js} +10 -10
- package/dist/{chunk-6NR36UNB.js → chunk-P6ASQOZR.js} +2 -2
- package/dist/{chunk-5ATC6UT4.js → chunk-PCQDY6QN.js} +6 -6
- package/dist/{chunk-EQOTJL76.js → chunk-PGFKIOR3.js} +3 -3
- package/dist/{chunk-D2YFQ7XG.js → chunk-POS53FG6.js} +2 -2
- package/dist/{chunk-ZY6P7M52.js → chunk-PQ6Z2TAP.js} +2 -2
- package/dist/{chunk-5OT4G5N5.js → chunk-PUJTKLPL.js} +3 -3
- package/dist/{chunk-64WHKBMP.js → chunk-QGJ4XIA7.js} +8 -8
- package/dist/{chunk-DECNV4QK.js → chunk-QHJKK77B.js} +6 -6
- package/dist/{chunk-JHYKSMVX.js → chunk-QI5NWLVW.js} +7 -7
- package/dist/{chunk-BZ3WMOYX.js → chunk-RC4BROYR.js} +3 -3
- package/dist/{chunk-IWQPYT6S.js → chunk-RDHUZ674.js} +4 -4
- package/dist/{chunk-UJ4Z67UQ.js → chunk-RK7N4OQ5.js} +1 -1
- package/dist/chunk-RK7N4OQ5.js.map +1 -0
- package/dist/{chunk-EHW7NLGD.js → chunk-S2VG3ABP.js} +3 -3
- package/dist/chunk-S2VG3ABP.js.map +1 -0
- package/dist/{chunk-7OBIBPCV.js → chunk-S35S77YU.js} +10 -10
- package/dist/{chunk-22GR3O4J.js → chunk-SHILAQH5.js} +2 -2
- package/dist/{chunk-WPZ5FVAS.js → chunk-T3PHCEN4.js} +3 -3
- package/dist/{chunk-GKTW3KLV.js → chunk-TOV6VMHF.js} +5 -5
- package/dist/chunk-TOV6VMHF.js.map +1 -0
- package/dist/{chunk-6RH7PRTL.js → chunk-TVIFAHZR.js} +6 -6
- package/dist/chunk-UBSFPGVJ.js +1 -0
- package/dist/{chunk-323MN67Z.js → chunk-UCUALOSM.js} +2 -2
- package/dist/{chunk-B4CRUZPR.js → chunk-VAG47QHV.js} +2 -2
- package/dist/{chunk-QH47SQLD.js → chunk-VFIWDPXZ.js} +3 -3
- package/dist/{chunk-K6CPIK3R.js → chunk-VTG7327U.js} +4 -4
- package/dist/chunk-VTG7327U.js.map +1 -0
- package/dist/{chunk-ONPVHX2Y.js → chunk-W5LHQXZU.js} +2 -2
- package/dist/{chunk-ZIMQDXTQ.js → chunk-WK5FSW7T.js} +8 -8
- package/dist/{chunk-PFWE7FJG.js → chunk-WLLUM35R.js} +2 -2
- package/dist/{chunk-IWKCJCLP.js → chunk-X62MEF2O.js} +5 -5
- package/dist/chunk-X62MEF2O.js.map +1 -0
- package/dist/{chunk-XPEPMK4Y.js → chunk-X67FCULK.js} +5 -5
- package/dist/chunk-X67FCULK.js.map +1 -0
- package/dist/{chunk-C3XWJCG7.js → chunk-XDVVBETV.js} +2 -2
- package/dist/chunk-XDVVBETV.js.map +1 -0
- package/dist/chunk-XJ3FEKEY.js +15 -0
- package/dist/chunk-XJ3FEKEY.js.map +1 -0
- package/dist/{chunk-EV2TDHQZ.js → chunk-XSN63FUS.js} +2 -2
- package/dist/{chunk-OR2FYRYR.js → chunk-XVU7J43V.js} +2 -2
- package/dist/{chunk-DNKVKO7K.js → chunk-Y6GZ2P4M.js} +2 -2
- package/dist/{chunk-ATY3ZASK.js → chunk-YCSM3GZU.js} +2 -2
- package/dist/{chunk-RDB66EKD.js → chunk-YMLQBZFJ.js} +6 -6
- package/dist/{chunk-EHRIDNZX.js → chunk-YPSOHDNC.js} +2 -2
- package/dist/{chunk-KM6ZXG7U.js → chunk-YXA2TCTZ.js} +4 -4
- package/dist/{chunk-TKBB62DN.js → chunk-Z2PWOSCJ.js} +2 -2
- package/dist/{chunk-S2I5MYSA.js → chunk-Z2WK53N6.js} +42 -15
- package/dist/chunk-Z2WK53N6.js.map +1 -0
- package/dist/{chunk-5O5ZSW7N.js → chunk-Z7ZXZL6Y.js} +2 -2
- package/dist/{chunk-2ZCWHCLF.js → chunk-ZO252Q5S.js} +6 -6
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-AZDSDG6V.js → classified-marker-BSQHU4JT.js} +3 -3
- package/dist/collection-facade-LG3NYZVB.js +45 -0
- package/dist/{computed-VG2PCM4L.js → computed-ASBNTLOK.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/cover/index.js +9 -9
- package/dist/custody/index.js +12 -12
- package/dist/{dead-filter-JNQNB3TA.js → dead-filter-QKU56XTQ.js} +2 -2
- package/dist/debug/index.js +1 -1
- package/dist/{delegation-5F36DRDH.js → delegation-XWRPYODW.js} +11 -11
- package/dist/derivations/index.js +12 -12
- package/dist/derive-CXHCY46K.js +22 -0
- package/dist/directory/index.js +10 -10
- package/dist/{dispatch-3ZA733EY.js → dispatch-4AP4PUZU.js} +18 -18
- package/dist/{dispatch-TNM5CRLZ.js → dispatch-VR4LRXZ7.js} +5 -5
- package/dist/{enclave-Y2ALNDRD.js → enclave-NYPT7WA7.js} +9 -9
- package/dist/executor-3KFRQETS.js +29 -0
- package/dist/executor-AFHQYRAU.js +9 -0
- package/dist/executor-YYDW6XQI.js +9 -0
- package/dist/export-accessible-BX2ILB4C.js +23 -0
- package/dist/extract-partition-UPOVITFI.js +38 -0
- package/dist/{fanout-sidecar-3QZU7ZZX.js → fanout-sidecar-IWP3R4RC.js} +9 -9
- package/dist/{fence-watcher-DHQ775JB.js → fence-watcher-ZVSMLKQD.js} +1 -1
- package/dist/fence-watcher-ZVSMLKQD.js.map +1 -0
- package/dist/find-SZBL2HPB.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +7 -7
- package/dist/history/index.js +13 -13
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +5 -5
- package/dist/index.js +134 -131
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +2 -2
- package/dist/introspection/index.js +12 -11
- package/dist/issue-G53NB6EW.js +19 -0
- package/dist/kernel/collection-config.d.ts +9 -9
- package/dist/kernel/collection.d.ts +1 -1
- package/dist/kernel/errors.d.ts +2 -2
- package/dist/kernel/noydb.d.ts +6 -6
- package/dist/kernel/secret-mode.d.ts +1 -1
- package/dist/kernel/types.d.ts +34 -15
- package/dist/kernel/vault.d.ts +12 -3
- package/dist/kernel/via/compose.d.ts +3 -3
- package/dist/kernel/via/index.d.ts +4 -4
- package/dist/kernel/via/pipeline.d.ts +6 -6
- package/dist/kernel/via/reconcile.d.ts +2 -2
- package/dist/kernel/via/taint-binding.d.ts +3 -3
- package/dist/{ledger-MQIIOTZB.js → ledger-T5K4P2D7.js} +11 -11
- package/dist/liberate-VEOZRESE.js +25 -0
- package/dist/{link-set-5PJBBR63.js → link-set-76JZ6YB4.js} +11 -11
- package/dist/{managed-secret-ETDG6AAE.js → managed-secret-6YC32VXG.js} +12 -12
- package/dist/materialized-views/index.js +25 -25
- package/dist/{migrate-cek-V3VDRV24.js → migrate-cek-LBRKYUZZ.js} +2 -2
- package/dist/money/index.js +4 -4
- package/dist/noydb-4VV2ZGLZ.js +86 -0
- package/dist/on/index.js +1 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +12 -12
- package/dist/pod/index.js +58 -57
- package/dist/{pod-handle-AZ3CXY5Y.js → pod-handle-P6DPBM5U.js} +9 -9
- package/dist/policy/index.js +10 -10
- package/dist/port/as/active.d.ts +10 -0
- package/dist/port/as/index.d.ts +32 -0
- package/dist/port/as/types.d.ts +113 -0
- package/dist/port/at/index.d.ts +37 -0
- package/dist/port/by/default-provider.d.ts +3 -3
- package/dist/port/by/index.d.ts +32 -10
- package/dist/port/by/types.d.ts +29 -11
- package/dist/port/on/index.d.ts +50 -0
- package/dist/port/with/computed-strategy.d.ts +1 -1
- package/dist/port/with/device-seal-strategy.d.ts +2 -2
- package/dist/port/with/formats-strategy.d.ts +76 -0
- package/dist/port/with/strategies.d.ts +11 -5
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-QCJYRMIK.js → post-register-53O7AJRZ.js} +6 -6
- package/dist/query/index.js +3 -3
- package/dist/reduce/index.js +4 -4
- package/dist/register-6TCBR6XD.js +32 -0
- package/dist/registry-DH2L4O2V.js +18 -0
- package/dist/registry-IWFMXCHX.js +9 -0
- package/dist/registry-Q3FG3OAX.js +9 -0
- package/dist/registry-YC3IFG3A.js +19 -0
- package/dist/request-withdrawal-NM5VYR6F.js +31 -0
- package/dist/{reveal-W7BKZSUP.js → reveal-XBIMHAXR.js} +6 -6
- package/dist/revoke-MJNYWO72.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +12 -12
- package/dist/search/index.js +4 -4
- package/dist/{seed-55FPOMYP.js → seed-NSNIGYXE.js} +12 -12
- package/dist/sequence/index.js +9 -9
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/signer-6XVS2AU3.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/{stale-TH7SSVRV.js → stale-MCS46TFO.js} +10 -10
- package/dist/stale-MCS46TFO.js.map +1 -0
- package/dist/storage-ZXUT476I.js +23 -0
- package/dist/storage-ZXUT476I.js.map +1 -0
- package/dist/{store-coordination-provider-R27VRD6K.js → store-coordination-provider-6FM26VQM.js} +14 -13
- package/dist/store-coordination-provider-6FM26VQM.js.map +1 -0
- package/dist/sync/index.js +10 -10
- package/dist/team/index.js +17 -17
- package/dist/tiers/index.js +11 -11
- package/dist/to/index.js +1 -1
- package/dist/transactions/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/vault-diff-FE5J35NJ.js +9 -0
- package/dist/vault-diff-FE5J35NJ.js.map +1 -0
- package/dist/vault-head/index.js +8 -8
- package/dist/{verify-M5LQH43C.js → verify-WYOFLSNA.js} +5 -5
- package/dist/via/blob/binding.d.ts +6 -6
- package/dist/via/classified/binding.d.ts +9 -9
- package/dist/via/computed/binding.d.ts +2 -2
- package/dist/via/i18n/binding.d.ts +4 -4
- package/dist/via/lookup/binding.d.ts +5 -5
- package/dist/via/lookup/index.d.ts +1 -1
- package/dist/via/lookup/snapshot.d.ts +1 -1
- package/dist/via/money/binding.d.ts +3 -3
- package/dist/via/money/normalize.d.ts +1 -1
- package/dist/via/money/where.d.ts +3 -3
- package/dist/walk-JNEOYCAU.js +21 -0
- package/dist/walk-JNEOYCAU.js.map +1 -0
- package/dist/with-cargo/adopt-partition.d.ts +6 -6
- package/dist/with-cargo/floor.d.ts +1 -1
- package/dist/with-cargo/index.d.ts +1 -1
- package/dist/with-party/team/deed.d.ts +4 -4
- package/dist/with-party/team/device-seal.d.ts +5 -5
- package/dist/with-party/team/echo-ceremony.d.ts +2 -2
- package/dist/with-party/team/echo-secret.d.ts +4 -4
- package/dist/with-party/team/index.d.ts +2 -2
- package/dist/with-party/team/keyring.d.ts +2 -2
- package/dist/with-party/team/managed-secret.d.ts +21 -11
- package/dist/with-party/team/noydb-facade.d.ts +2 -2
- package/dist/with-party/team/{shamir-recovery-provider.d.ts → noydb-shamir.d.ts} +1 -1
- package/dist/with-party/team/recovery.d.ts +3 -3
- package/dist/with-party/team/rotate-recover.d.ts +5 -5
- package/dist/with-pod/format.d.ts +1 -1
- package/dist/with-pod/pod.d.ts +6 -6
- package/dist/with-shape/introspection/describe.d.ts +2 -2
- package/dist/with-shape/schema-update/fence-controller.d.ts +4 -4
- package/dist/with-shape/schema-update/fence-watcher.d.ts +4 -4
- package/dist/with-shape/schema-update/store-coordination-provider.d.ts +7 -6
- package/dist/withdraw-accessible-ILTSXTIE.js +28 -0
- package/dist/withdraw-accessible-ILTSXTIE.js.map +1 -0
- package/package.json +23 -5
- package/dist/api-6X2VLZ7J.js +0 -20
- package/dist/chunk-AJGGBXWA.js.map +0 -1
- package/dist/chunk-BMU2DS3S.js.map +0 -1
- package/dist/chunk-C3XWJCG7.js.map +0 -1
- package/dist/chunk-EHW7NLGD.js.map +0 -1
- package/dist/chunk-GCU42IG7.js.map +0 -1
- package/dist/chunk-GKTW3KLV.js.map +0 -1
- package/dist/chunk-IWKCJCLP.js.map +0 -1
- package/dist/chunk-J6I5VR6P.js.map +0 -1
- package/dist/chunk-JYPRZWCZ.js.map +0 -1
- package/dist/chunk-K6CPIK3R.js.map +0 -1
- package/dist/chunk-LC6NE4IQ.js.map +0 -1
- package/dist/chunk-LIR2DJWP.js.map +0 -1
- package/dist/chunk-PJX72ICF.js.map +0 -1
- package/dist/chunk-S2I5MYSA.js.map +0 -1
- package/dist/chunk-UJ4Z67UQ.js.map +0 -1
- package/dist/chunk-XINT4VJA.js.map +0 -1
- package/dist/chunk-XPEPMK4Y.js.map +0 -1
- package/dist/chunk-YTUFV7U7.js.map +0 -1
- package/dist/chunk-Z3BZXPRO.js.map +0 -1
- package/dist/collection-facade-WSUAYFJ4.js +0 -45
- package/dist/derive-MPOGZ4NR.js +0 -22
- package/dist/executor-BBEEUFO3.js +0 -9
- package/dist/executor-G6G3YEWR.js +0 -9
- package/dist/executor-ZUTUMTPA.js +0 -29
- package/dist/export-accessible-S3KEB763.js +0 -23
- package/dist/extract-partition-KVCTSUVE.js +0 -38
- package/dist/fence-watcher-DHQ775JB.js.map +0 -1
- package/dist/find-V4FN5ITT.js +0 -11
- package/dist/issue-5CFBWBRX.js +0 -19
- package/dist/liberate-LW7OKVBH.js +0 -25
- package/dist/noydb-LFDRMYZ5.js +0 -85
- package/dist/register-JBOEHTVX.js +0 -32
- package/dist/registry-5DYHQFJS.js +0 -9
- package/dist/registry-EANV44W2.js +0 -9
- package/dist/registry-J25H6VB4.js +0 -19
- package/dist/registry-R23SQUQH.js +0 -18
- package/dist/request-withdrawal-KQ4W4UT5.js +0 -31
- package/dist/revoke-H3VSTAIE.js +0 -24
- package/dist/signer-53AQ3BU2.js +0 -25
- package/dist/storage-WSF7ZKTL.js +0 -23
- package/dist/store-coordination-provider-R27VRD6K.js.map +0 -1
- package/dist/walk-NABCHDZN.js +0 -21
- package/dist/withdraw-accessible-VCINIG6V.js +0 -28
- /package/dist/{api-6X2VLZ7J.js.map → api-EQYRTZO2.js.map} +0 -0
- /package/dist/{collection-facade-WSUAYFJ4.js.map → at/index.js.map} +0 -0
- /package/dist/{backup-VL4GRIEW.js.map → backup-Z7ZBTAQ6.js.map} +0 -0
- /package/dist/{computed-VG2PCM4L.js.map → by/index.js.map} +0 -0
- /package/dist/{chunk-JKATP6OE.js.map → chunk-225O5CXQ.js.map} +0 -0
- /package/dist/{chunk-CXPOG3ZY.js.map → chunk-2LPVI4PX.js.map} +0 -0
- /package/dist/{chunk-2J5IT37K.js.map → chunk-3L2MVE36.js.map} +0 -0
- /package/dist/{chunk-HOPNIR5R.js.map → chunk-3QARDAYW.js.map} +0 -0
- /package/dist/{chunk-HSJBJIB2.js.map → chunk-467SKJ65.js.map} +0 -0
- /package/dist/{chunk-YCGLAANM.js.map → chunk-4A4TYISP.js.map} +0 -0
- /package/dist/{chunk-2CBFYXJX.js.map → chunk-4G25SDQL.js.map} +0 -0
- /package/dist/{chunk-5LZZQMIC.js.map → chunk-4LPF226H.js.map} +0 -0
- /package/dist/{chunk-GANFIM2M.js.map → chunk-4ZPE6SKS.js.map} +0 -0
- /package/dist/{chunk-65JXA63J.js.map → chunk-5263OEM3.js.map} +0 -0
- /package/dist/{chunk-FNYCT27B.js.map → chunk-57JTHWLQ.js.map} +0 -0
- /package/dist/{chunk-5IHGJHWC.js.map → chunk-5ACAVJUI.js.map} +0 -0
- /package/dist/{chunk-3OE2QNSM.js.map → chunk-5AFMP532.js.map} +0 -0
- /package/dist/{chunk-7ZGPQOFV.js.map → chunk-6EW2UCVF.js.map} +0 -0
- /package/dist/{chunk-36CEG6CM.js.map → chunk-7LYUJNU3.js.map} +0 -0
- /package/dist/{chunk-D6SXRMZZ.js.map → chunk-A2YW5EMU.js.map} +0 -0
- /package/dist/{chunk-OQMCFHUX.js.map → chunk-AB5P32RE.js.map} +0 -0
- /package/dist/{chunk-JMJSCI7U.js.map → chunk-ALB64CZM.js.map} +0 -0
- /package/dist/{chunk-RPRASGEY.js.map → chunk-ALUNQEBY.js.map} +0 -0
- /package/dist/{chunk-W3HAIN6U.js.map → chunk-CN6B5PEN.js.map} +0 -0
- /package/dist/{chunk-JIHWBKMQ.js.map → chunk-DBNYPLWY.js.map} +0 -0
- /package/dist/{chunk-ZJUZOJVW.js.map → chunk-DFAUMLD7.js.map} +0 -0
- /package/dist/{chunk-S6PJ6ZKE.js.map → chunk-DKWPJOYH.js.map} +0 -0
- /package/dist/{chunk-MPKP6L5E.js.map → chunk-E6YA6UAP.js.map} +0 -0
- /package/dist/{chunk-S7PM7Z4K.js.map → chunk-F7ZFRPGQ.js.map} +0 -0
- /package/dist/{chunk-CKKN25P2.js.map → chunk-FOG7YEJP.js.map} +0 -0
- /package/dist/{chunk-4ATF4BLF.js.map → chunk-H36KSN6X.js.map} +0 -0
- /package/dist/{chunk-QQRRKO7W.js.map → chunk-H7HP56F6.js.map} +0 -0
- /package/dist/{chunk-RJZQ2PVD.js.map → chunk-HM4JSXX2.js.map} +0 -0
- /package/dist/{chunk-3YGUHUJA.js.map → chunk-HTGRQZFB.js.map} +0 -0
- /package/dist/{chunk-JXHNUYQO.js.map → chunk-IESNYJXZ.js.map} +0 -0
- /package/dist/{chunk-ZYZJLYNS.js.map → chunk-ISSU3OH6.js.map} +0 -0
- /package/dist/{chunk-OCJ3JA4O.js.map → chunk-J4MN6XIU.js.map} +0 -0
- /package/dist/{chunk-HWI7GHJZ.js.map → chunk-J4UJ5FRV.js.map} +0 -0
- /package/dist/{chunk-QVXZFJBU.js.map → chunk-JVLSU7S2.js.map} +0 -0
- /package/dist/{chunk-7Q3RHOA5.js.map → chunk-KDJGJR7F.js.map} +0 -0
- /package/dist/{chunk-M7WBE3OR.js.map → chunk-L6GTLZRK.js.map} +0 -0
- /package/dist/{chunk-2ZT4INZ4.js.map → chunk-LF6DMX4C.js.map} +0 -0
- /package/dist/{chunk-4K6BIMLF.js.map → chunk-LKFKXS5K.js.map} +0 -0
- /package/dist/{chunk-POFYIGQ2.js.map → chunk-LR4Z47QD.js.map} +0 -0
- /package/dist/{chunk-LUYPYCHY.js.map → chunk-MTBXJAS4.js.map} +0 -0
- /package/dist/{chunk-FX3UIDCS.js.map → chunk-N4CNVSUF.js.map} +0 -0
- /package/dist/{chunk-FU5VYEYK.js.map → chunk-NLKLXXTO.js.map} +0 -0
- /package/dist/{chunk-YYV53EHO.js.map → chunk-OPXR4PB2.js.map} +0 -0
- /package/dist/{chunk-5F7BZAGV.js.map → chunk-OWLVBOWO.js.map} +0 -0
- /package/dist/{chunk-6NR36UNB.js.map → chunk-P6ASQOZR.js.map} +0 -0
- /package/dist/{chunk-5ATC6UT4.js.map → chunk-PCQDY6QN.js.map} +0 -0
- /package/dist/{chunk-EQOTJL76.js.map → chunk-PGFKIOR3.js.map} +0 -0
- /package/dist/{chunk-D2YFQ7XG.js.map → chunk-POS53FG6.js.map} +0 -0
- /package/dist/{chunk-ZY6P7M52.js.map → chunk-PQ6Z2TAP.js.map} +0 -0
- /package/dist/{chunk-5OT4G5N5.js.map → chunk-PUJTKLPL.js.map} +0 -0
- /package/dist/{chunk-64WHKBMP.js.map → chunk-QGJ4XIA7.js.map} +0 -0
- /package/dist/{chunk-DECNV4QK.js.map → chunk-QHJKK77B.js.map} +0 -0
- /package/dist/{chunk-JHYKSMVX.js.map → chunk-QI5NWLVW.js.map} +0 -0
- /package/dist/{chunk-BZ3WMOYX.js.map → chunk-RC4BROYR.js.map} +0 -0
- /package/dist/{chunk-IWQPYT6S.js.map → chunk-RDHUZ674.js.map} +0 -0
- /package/dist/{chunk-7OBIBPCV.js.map → chunk-S35S77YU.js.map} +0 -0
- /package/dist/{chunk-22GR3O4J.js.map → chunk-SHILAQH5.js.map} +0 -0
- /package/dist/{chunk-WPZ5FVAS.js.map → chunk-T3PHCEN4.js.map} +0 -0
- /package/dist/{chunk-6RH7PRTL.js.map → chunk-TVIFAHZR.js.map} +0 -0
- /package/dist/{derive-MPOGZ4NR.js.map → chunk-UBSFPGVJ.js.map} +0 -0
- /package/dist/{chunk-323MN67Z.js.map → chunk-UCUALOSM.js.map} +0 -0
- /package/dist/{chunk-B4CRUZPR.js.map → chunk-VAG47QHV.js.map} +0 -0
- /package/dist/{chunk-QH47SQLD.js.map → chunk-VFIWDPXZ.js.map} +0 -0
- /package/dist/{chunk-ONPVHX2Y.js.map → chunk-W5LHQXZU.js.map} +0 -0
- /package/dist/{chunk-ZIMQDXTQ.js.map → chunk-WK5FSW7T.js.map} +0 -0
- /package/dist/{chunk-PFWE7FJG.js.map → chunk-WLLUM35R.js.map} +0 -0
- /package/dist/{chunk-EV2TDHQZ.js.map → chunk-XSN63FUS.js.map} +0 -0
- /package/dist/{chunk-OR2FYRYR.js.map → chunk-XVU7J43V.js.map} +0 -0
- /package/dist/{chunk-DNKVKO7K.js.map → chunk-Y6GZ2P4M.js.map} +0 -0
- /package/dist/{chunk-ATY3ZASK.js.map → chunk-YCSM3GZU.js.map} +0 -0
- /package/dist/{chunk-RDB66EKD.js.map → chunk-YMLQBZFJ.js.map} +0 -0
- /package/dist/{chunk-EHRIDNZX.js.map → chunk-YPSOHDNC.js.map} +0 -0
- /package/dist/{chunk-KM6ZXG7U.js.map → chunk-YXA2TCTZ.js.map} +0 -0
- /package/dist/{chunk-TKBB62DN.js.map → chunk-Z2PWOSCJ.js.map} +0 -0
- /package/dist/{chunk-5O5ZSW7N.js.map → chunk-Z7ZXZL6Y.js.map} +0 -0
- /package/dist/{chunk-2ZCWHCLF.js.map → chunk-ZO252Q5S.js.map} +0 -0
- /package/dist/{classified-marker-AZDSDG6V.js.map → classified-marker-BSQHU4JT.js.map} +0 -0
- /package/dist/{enclave-Y2ALNDRD.js.map → collection-facade-LG3NYZVB.js.map} +0 -0
- /package/dist/{executor-BBEEUFO3.js.map → computed-ASBNTLOK.js.map} +0 -0
- /package/dist/{dead-filter-JNQNB3TA.js.map → dead-filter-QKU56XTQ.js.map} +0 -0
- /package/dist/{delegation-5F36DRDH.js.map → delegation-XWRPYODW.js.map} +0 -0
- /package/dist/{executor-G6G3YEWR.js.map → derive-CXHCY46K.js.map} +0 -0
- /package/dist/{dispatch-3ZA733EY.js.map → dispatch-4AP4PUZU.js.map} +0 -0
- /package/dist/{dispatch-TNM5CRLZ.js.map → dispatch-VR4LRXZ7.js.map} +0 -0
- /package/dist/{executor-ZUTUMTPA.js.map → enclave-NYPT7WA7.js.map} +0 -0
- /package/dist/{export-accessible-S3KEB763.js.map → executor-3KFRQETS.js.map} +0 -0
- /package/dist/{extract-partition-KVCTSUVE.js.map → executor-AFHQYRAU.js.map} +0 -0
- /package/dist/{find-V4FN5ITT.js.map → executor-YYDW6XQI.js.map} +0 -0
- /package/dist/{issue-5CFBWBRX.js.map → export-accessible-BX2ILB4C.js.map} +0 -0
- /package/dist/{ledger-MQIIOTZB.js.map → extract-partition-UPOVITFI.js.map} +0 -0
- /package/dist/{fanout-sidecar-3QZU7ZZX.js.map → fanout-sidecar-IWP3R4RC.js.map} +0 -0
- /package/dist/{liberate-LW7OKVBH.js.map → find-SZBL2HPB.js.map} +0 -0
- /package/dist/{link-set-5PJBBR63.js.map → issue-G53NB6EW.js.map} +0 -0
- /package/dist/{managed-secret-ETDG6AAE.js.map → ledger-T5K4P2D7.js.map} +0 -0
- /package/dist/{noydb-LFDRMYZ5.js.map → liberate-VEOZRESE.js.map} +0 -0
- /package/dist/{register-JBOEHTVX.js.map → link-set-76JZ6YB4.js.map} +0 -0
- /package/dist/{registry-5DYHQFJS.js.map → managed-secret-6YC32VXG.js.map} +0 -0
- /package/dist/{migrate-cek-V3VDRV24.js.map → migrate-cek-LBRKYUZZ.js.map} +0 -0
- /package/dist/{registry-EANV44W2.js.map → noydb-4VV2ZGLZ.js.map} +0 -0
- /package/dist/{registry-J25H6VB4.js.map → on/index.js.map} +0 -0
- /package/dist/{pod-handle-AZ3CXY5Y.js.map → pod-handle-P6DPBM5U.js.map} +0 -0
- /package/dist/{post-register-QCJYRMIK.js.map → post-register-53O7AJRZ.js.map} +0 -0
- /package/dist/{registry-R23SQUQH.js.map → register-6TCBR6XD.js.map} +0 -0
- /package/dist/{request-withdrawal-KQ4W4UT5.js.map → registry-DH2L4O2V.js.map} +0 -0
- /package/dist/{revoke-H3VSTAIE.js.map → registry-IWFMXCHX.js.map} +0 -0
- /package/dist/{signer-53AQ3BU2.js.map → registry-Q3FG3OAX.js.map} +0 -0
- /package/dist/{stale-TH7SSVRV.js.map → registry-YC3IFG3A.js.map} +0 -0
- /package/dist/{storage-WSF7ZKTL.js.map → request-withdrawal-NM5VYR6F.js.map} +0 -0
- /package/dist/{reveal-W7BKZSUP.js.map → reveal-XBIMHAXR.js.map} +0 -0
- /package/dist/{walk-NABCHDZN.js.map → revoke-MJNYWO72.js.map} +0 -0
- /package/dist/{seed-55FPOMYP.js.map → seed-NSNIGYXE.js.map} +0 -0
- /package/dist/{withdraw-accessible-VCINIG6V.js.map → signer-6XVS2AU3.js.map} +0 -0
- /package/dist/{verify-M5LQH43C.js.map → verify-WYOFLSNA.js.map} +0 -0
|
@@ -1,84 +1,86 @@
|
|
|
1
|
+
import {
|
|
2
|
+
resolveStaleOnRead
|
|
3
|
+
} from "./chunk-VAG47QHV.js";
|
|
4
|
+
import {
|
|
5
|
+
isManifestReservedCollection
|
|
6
|
+
} from "./chunk-EPFF7LOX.js";
|
|
1
7
|
import {
|
|
2
8
|
LinkIntegrityError,
|
|
3
9
|
declareLink,
|
|
4
10
|
isLinkCollectionName,
|
|
5
11
|
linkCollectionName,
|
|
6
12
|
linkRowKey
|
|
7
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WLLUM35R.js";
|
|
8
14
|
import {
|
|
9
15
|
hashFields,
|
|
10
16
|
validateSatelliteDeclaration
|
|
11
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-JVLSU7S2.js";
|
|
12
18
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import {
|
|
16
|
-
isManifestReservedCollection
|
|
17
|
-
} from "./chunk-EPFF7LOX.js";
|
|
19
|
+
loadFence
|
|
20
|
+
} from "./chunk-Y6GZ2P4M.js";
|
|
18
21
|
import {
|
|
19
22
|
VectorSet,
|
|
20
23
|
buildPersistedIndexCallbacks,
|
|
21
24
|
encodeVecId,
|
|
22
25
|
syncTierSearch
|
|
23
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-L6GTLZRK.js";
|
|
24
27
|
import {
|
|
25
28
|
isBaseLive,
|
|
26
29
|
liveBaseIdSet
|
|
27
30
|
} from "./chunk-GYGLAVCX.js";
|
|
28
|
-
import {
|
|
29
|
-
loadFence
|
|
30
|
-
} from "./chunk-DNKVKO7K.js";
|
|
31
|
-
import {
|
|
32
|
-
fallbackDerivationName,
|
|
33
|
-
jsonSchemaToFields
|
|
34
|
-
} from "./chunk-KHKKD62N.js";
|
|
35
|
-
import {
|
|
36
|
-
derivePersistedSchema,
|
|
37
|
-
isZod4Schema
|
|
38
|
-
} from "./chunk-6NR36UNB.js";
|
|
39
31
|
import {
|
|
40
32
|
SchemaUpdateGate
|
|
41
33
|
} from "./chunk-6LJY7X5A.js";
|
|
42
34
|
import {
|
|
43
35
|
NO_ATTESTATION
|
|
44
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-E6YA6UAP.js";
|
|
45
37
|
import {
|
|
46
38
|
NO_CLASSIFIED,
|
|
47
39
|
guardClassifiedCompat,
|
|
48
40
|
resolveClassifiedFields
|
|
49
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GK4DRVUD.js";
|
|
50
42
|
import {
|
|
51
43
|
NO_TIERS,
|
|
52
44
|
classifySealedShred,
|
|
53
45
|
syncDerivedOutputs
|
|
54
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-WK5FSW7T.js";
|
|
55
47
|
import {
|
|
56
48
|
NO_PORTABILITY
|
|
57
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-J4MN6XIU.js";
|
|
58
50
|
import {
|
|
59
|
-
NO_CARGO
|
|
60
|
-
|
|
61
|
-
} from "./chunk-LC6NE4IQ.js";
|
|
51
|
+
NO_CARGO
|
|
52
|
+
} from "./chunk-XJ3FEKEY.js";
|
|
62
53
|
import {
|
|
63
54
|
saveSealedSecret
|
|
64
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Z2WK53N6.js";
|
|
56
|
+
import {
|
|
57
|
+
runDrainBarrier
|
|
58
|
+
} from "./chunk-CBRS2NEK.js";
|
|
59
|
+
import {
|
|
60
|
+
fallbackDerivationName,
|
|
61
|
+
jsonSchemaToFields
|
|
62
|
+
} from "./chunk-KHKKD62N.js";
|
|
63
|
+
import {
|
|
64
|
+
derivePersistedSchema,
|
|
65
|
+
isZod4Schema
|
|
66
|
+
} from "./chunk-P6ASQOZR.js";
|
|
65
67
|
import {
|
|
66
68
|
loadPersistedSchema
|
|
67
|
-
} from "./chunk-
|
|
69
|
+
} from "./chunk-YXA2TCTZ.js";
|
|
68
70
|
import {
|
|
69
71
|
NO_SEQUENCE,
|
|
70
72
|
SEQUENCE_COLLECTION,
|
|
71
73
|
compileSequenceFormat,
|
|
72
74
|
resolveSequenceKey
|
|
73
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-CN6B5PEN.js";
|
|
74
76
|
import {
|
|
75
77
|
CustodyApi,
|
|
76
78
|
NO_CUSTODY
|
|
77
|
-
} from "./chunk-
|
|
79
|
+
} from "./chunk-J4UJ5FRV.js";
|
|
78
80
|
import {
|
|
79
81
|
DEFAULT_POSTURE,
|
|
80
82
|
ViaGraph
|
|
81
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-5263OEM3.js";
|
|
82
84
|
import {
|
|
83
85
|
buildLookupAltIndex,
|
|
84
86
|
buildLookupSnapshotRows,
|
|
@@ -102,10 +104,10 @@ import {
|
|
|
102
104
|
selfWriteFieldEqual,
|
|
103
105
|
touchFor,
|
|
104
106
|
updateReferencingRecords
|
|
105
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-VTG7327U.js";
|
|
106
108
|
import {
|
|
107
109
|
OverlayedCollection
|
|
108
|
-
} from "./chunk-
|
|
110
|
+
} from "./chunk-3QARDAYW.js";
|
|
109
111
|
import {
|
|
110
112
|
INDEXED_STORE_POLICY,
|
|
111
113
|
NO_SYNC
|
|
@@ -120,7 +122,7 @@ import {
|
|
|
120
122
|
resolvePeriodKey,
|
|
121
123
|
resolveReopenState,
|
|
122
124
|
samePartition
|
|
123
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-PCQDY6QN.js";
|
|
124
126
|
import {
|
|
125
127
|
PERIODS_COLLECTION,
|
|
126
128
|
PERIOD_ARCHIVES_COLLECTION,
|
|
@@ -128,7 +130,7 @@ import {
|
|
|
128
130
|
PERIOD_REOPENS_COLLECTION,
|
|
129
131
|
PERIOD_TARGET_PURGES_COLLECTION,
|
|
130
132
|
periodExclusiveUpperBound
|
|
131
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-Z7ZXZL6Y.js";
|
|
132
134
|
import {
|
|
133
135
|
NO_SHADOW
|
|
134
136
|
} from "./chunk-SMY5X46Z.js";
|
|
@@ -138,7 +140,7 @@ import {
|
|
|
138
140
|
import {
|
|
139
141
|
TxContext,
|
|
140
142
|
bestEffortRevert
|
|
141
|
-
} from "./chunk-
|
|
143
|
+
} from "./chunk-VFIWDPXZ.js";
|
|
142
144
|
import {
|
|
143
145
|
lazy
|
|
144
146
|
} from "./chunk-5D2ALSM5.js";
|
|
@@ -146,26 +148,26 @@ import {
|
|
|
146
148
|
InvertedIndex,
|
|
147
149
|
MemoryIndexStore,
|
|
148
150
|
NO_SEARCH
|
|
149
|
-
} from "./chunk-
|
|
151
|
+
} from "./chunk-S35S77YU.js";
|
|
150
152
|
import {
|
|
151
153
|
NO_SEALED_RECORD
|
|
152
|
-
} from "./chunk-
|
|
154
|
+
} from "./chunk-UCUALOSM.js";
|
|
153
155
|
import {
|
|
154
156
|
Query,
|
|
155
157
|
ScanBuilder
|
|
156
|
-
} from "./chunk-
|
|
158
|
+
} from "./chunk-S2VG3ABP.js";
|
|
157
159
|
import {
|
|
158
160
|
EXPORT_AUDIT_COLLECTION,
|
|
159
161
|
NO_BLOBS,
|
|
160
162
|
createExportBlobsHandle,
|
|
161
163
|
runCompaction
|
|
162
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-F23WQK3G.js";
|
|
163
165
|
import {
|
|
164
166
|
LazyQuery,
|
|
165
167
|
NO_INDEXING,
|
|
166
168
|
decodeIdxId,
|
|
167
169
|
encodeIdxId
|
|
168
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-F7ZFRPGQ.js";
|
|
169
171
|
import {
|
|
170
172
|
normalizeIndexDefs
|
|
171
173
|
} from "./chunk-I3ISCYT7.js";
|
|
@@ -188,7 +190,7 @@ import {
|
|
|
188
190
|
} from "./chunk-PVEWA2DU.js";
|
|
189
191
|
import {
|
|
190
192
|
dictCollectionName
|
|
191
|
-
} from "./chunk-
|
|
193
|
+
} from "./chunk-57JTHWLQ.js";
|
|
192
194
|
import {
|
|
193
195
|
NO_I18N,
|
|
194
196
|
getAtPath,
|
|
@@ -196,11 +198,11 @@ import {
|
|
|
196
198
|
isDictKeyDescriptor,
|
|
197
199
|
isI18nTextDescriptor,
|
|
198
200
|
isStaticDictDescriptor
|
|
199
|
-
} from "./chunk-
|
|
201
|
+
} from "./chunk-X67FCULK.js";
|
|
200
202
|
import {
|
|
201
203
|
isViaInstalled,
|
|
202
204
|
viaBinder
|
|
203
|
-
} from "./chunk-
|
|
205
|
+
} from "./chunk-XDVVBETV.js";
|
|
204
206
|
import {
|
|
205
207
|
NO_TEAM,
|
|
206
208
|
describeAllUsersAuth,
|
|
@@ -223,7 +225,7 @@ import {
|
|
|
223
225
|
saveShamirRecoveryEntries,
|
|
224
226
|
updateAuthenticator,
|
|
225
227
|
writeMagicLinkGrant
|
|
226
|
-
} from "./chunk-
|
|
228
|
+
} from "./chunk-H4M7ADXY.js";
|
|
227
229
|
import {
|
|
228
230
|
assertKeyringOpenAllowed,
|
|
229
231
|
buildRecipientKeyringFile,
|
|
@@ -238,15 +240,15 @@ import {
|
|
|
238
240
|
listUsers,
|
|
239
241
|
loadKeyring,
|
|
240
242
|
updateKeyringIdentity
|
|
241
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-5W7YXFV5.js";
|
|
242
244
|
import {
|
|
243
245
|
persistDirectoryConfig,
|
|
244
246
|
readDirectoryConfig
|
|
245
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-DFAUMLD7.js";
|
|
246
248
|
import {
|
|
247
249
|
NO_BROKER,
|
|
248
250
|
buildCredentialBrokerHandle
|
|
249
|
-
} from "./chunk-
|
|
251
|
+
} from "./chunk-4A4TYISP.js";
|
|
250
252
|
import {
|
|
251
253
|
NO_SESSION
|
|
252
254
|
} from "./chunk-VKQCVU2Z.js";
|
|
@@ -255,16 +257,16 @@ import {
|
|
|
255
257
|
} from "./chunk-4AOERLTV.js";
|
|
256
258
|
import {
|
|
257
259
|
NO_HISTORY
|
|
258
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-6EW2UCVF.js";
|
|
259
261
|
import {
|
|
260
262
|
sha256Hex
|
|
261
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-RC4BROYR.js";
|
|
262
264
|
import {
|
|
263
265
|
assertCutoverTierSafe,
|
|
264
266
|
assertTierWritable,
|
|
265
267
|
dekKey,
|
|
266
268
|
liveRecordIsElevated
|
|
267
|
-
} from "./chunk-
|
|
269
|
+
} from "./chunk-POS53FG6.js";
|
|
268
270
|
import {
|
|
269
271
|
NO_VAULT_HEAD
|
|
270
272
|
} from "./chunk-HK67PX4J.js";
|
|
@@ -276,7 +278,7 @@ import {
|
|
|
276
278
|
readDottedPath,
|
|
277
279
|
rebuildSubjectIndex,
|
|
278
280
|
removeSubjectRef
|
|
279
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-467SKJ65.js";
|
|
280
282
|
import {
|
|
281
283
|
RecordCodec,
|
|
282
284
|
SEALED_CEK_NS,
|
|
@@ -292,20 +294,20 @@ import {
|
|
|
292
294
|
rewrapBodyToDek,
|
|
293
295
|
validateSchemaInput,
|
|
294
296
|
verifyRecordIdentity
|
|
295
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-2LPVI4PX.js";
|
|
296
298
|
import {
|
|
297
299
|
buildDeleteMarker,
|
|
298
300
|
buildRecordEnvelope,
|
|
299
301
|
buildTombstone,
|
|
300
302
|
isDeleteMarker,
|
|
301
303
|
isTombstone
|
|
302
|
-
} from "./chunk-
|
|
304
|
+
} from "./chunk-N4CNVSUF.js";
|
|
303
305
|
import {
|
|
304
306
|
encrypt
|
|
305
|
-
} from "./chunk-
|
|
307
|
+
} from "./chunk-W5LHQXZU.js";
|
|
306
308
|
import {
|
|
307
309
|
SealedHandle
|
|
308
|
-
} from "./chunk-
|
|
310
|
+
} from "./chunk-RK7N4OQ5.js";
|
|
309
311
|
import {
|
|
310
312
|
AlreadyElevatedError,
|
|
311
313
|
AttestationError,
|
|
@@ -348,7 +350,7 @@ import {
|
|
|
348
350
|
UnsupportedTierCompositionError,
|
|
349
351
|
ValidationError,
|
|
350
352
|
isConflictError
|
|
351
|
-
} from "./chunk-
|
|
353
|
+
} from "./chunk-JBIV4FLR.js";
|
|
352
354
|
|
|
353
355
|
// src/kernel/merge-authority.ts
|
|
354
356
|
function buildMergeAuthority(keyring) {
|
|
@@ -379,6 +381,25 @@ function buildMergeAuthority(keyring) {
|
|
|
379
381
|
};
|
|
380
382
|
}
|
|
381
383
|
|
|
384
|
+
// src/port/with/formats-strategy.ts
|
|
385
|
+
var FormatsNotEnabledError = class extends Error {
|
|
386
|
+
constructor(op) {
|
|
387
|
+
super(
|
|
388
|
+
`vault.${op}() requires the formats service. Import { withFormats } from "@noy-db/hub/as" and pass formatsStrategy: withFormats() to createNoydb().`
|
|
389
|
+
);
|
|
390
|
+
this.name = "FormatsNotEnabledError";
|
|
391
|
+
}
|
|
392
|
+
};
|
|
393
|
+
var NO_FORMATS = {
|
|
394
|
+
enabled: false,
|
|
395
|
+
exportWith() {
|
|
396
|
+
throw new FormatsNotEnabledError("export");
|
|
397
|
+
},
|
|
398
|
+
importWith() {
|
|
399
|
+
throw new FormatsNotEnabledError("import");
|
|
400
|
+
}
|
|
401
|
+
};
|
|
402
|
+
|
|
382
403
|
// src/with-commit/tx/strategy.ts
|
|
383
404
|
var NOT_ENABLED = new Error(
|
|
384
405
|
'Multi-record transactions require the tx strategy. Import `{ withTransactions }` from "@noy-db/hub/transactions" and pass it to `createNoydb({ transactionsStrategy: withTransactions() })`.'
|
|
@@ -402,6 +423,7 @@ var NO_ARCHIVE = {
|
|
|
402
423
|
|
|
403
424
|
// src/port/with/strategies.ts
|
|
404
425
|
var STRATEGY_DEFAULTS = {
|
|
426
|
+
formats: NO_FORMATS,
|
|
405
427
|
reduce: NO_REDUCE,
|
|
406
428
|
archive: NO_ARCHIVE,
|
|
407
429
|
attestation: NO_ATTESTATION,
|
|
@@ -463,7 +485,7 @@ function validateSecretModeOptions(options) {
|
|
|
463
485
|
}
|
|
464
486
|
if (!options.sealingKey) {
|
|
465
487
|
throw new ValidationError(
|
|
466
|
-
'`secretMode: "managed"` requires `sealingKey:
|
|
488
|
+
'`secretMode: "managed"` requires `sealingKey: NoydbSealer` (see @noy-db/seal-macos-keychain / @noy-db/seal-aws-kms / etc.).'
|
|
467
489
|
);
|
|
468
490
|
}
|
|
469
491
|
}
|
|
@@ -508,7 +530,7 @@ function validateSecretModeOptions(options) {
|
|
|
508
530
|
}
|
|
509
531
|
async function resolveEffectiveSecret(options, store, vault) {
|
|
510
532
|
if (options.secretMode === "managed") {
|
|
511
|
-
const { resolveManagedSecret } = await import("./managed-secret-
|
|
533
|
+
const { resolveManagedSecret } = await import("./managed-secret-6YC32VXG.js");
|
|
512
534
|
return resolveManagedSecret(store, vault, options.sealingKey);
|
|
513
535
|
}
|
|
514
536
|
return options.secret;
|
|
@@ -525,9 +547,9 @@ function ownerKeyringOptions(options, secret) {
|
|
|
525
547
|
}
|
|
526
548
|
|
|
527
549
|
// src/port/by/default-provider.ts
|
|
528
|
-
async function
|
|
529
|
-
const {
|
|
530
|
-
return new
|
|
550
|
+
async function createDefaultMesh(store) {
|
|
551
|
+
const { StoreMesh } = await import("./store-coordination-provider-6FM26VQM.js");
|
|
552
|
+
return new StoreMesh(store);
|
|
531
553
|
}
|
|
532
554
|
|
|
533
555
|
// src/port/with/collection-registries.ts
|
|
@@ -586,11 +608,11 @@ var ViaPipeline = class _ViaPipeline {
|
|
|
586
608
|
constructor(bindings, taint) {
|
|
587
609
|
this.bindings = bindings;
|
|
588
610
|
this.taint = taint;
|
|
589
|
-
const
|
|
590
|
-
const
|
|
611
|
+
const moneyVias = bindings.filter((b) => b.brand === "money");
|
|
612
|
+
const computedVias = bindings.filter((b) => b.brand === "computed");
|
|
591
613
|
const restBindings = bindings.filter((b) => b.brand !== "money" && b.brand !== "computed");
|
|
592
|
-
this._presentOrder = [...
|
|
593
|
-
this._presentLateBoundary =
|
|
614
|
+
this._presentOrder = [...moneyVias, ...computedVias, ...restBindings];
|
|
615
|
+
this._presentLateBoundary = moneyVias.length + computedVias.length;
|
|
594
616
|
}
|
|
595
617
|
bindings;
|
|
596
618
|
taint;
|
|
@@ -602,7 +624,7 @@ var ViaPipeline = class _ViaPipeline {
|
|
|
602
624
|
* everything else (existing relative order). `present()` folds over this
|
|
603
625
|
* instead of `bindings` so a `mode: 'virtual'` computed field's value
|
|
604
626
|
* exists before i18n/lookup's dressing `present()` hooks run on it
|
|
605
|
-
* (today's `
|
|
627
|
+
* (today's `compileVias` order is money→i18n→lookup→classified→
|
|
606
628
|
* blob→computed, `collection-config.ts:554`, so dressing unconditionally
|
|
607
629
|
* ran BEFORE the value it dresses existed). This reorder is binding-level,
|
|
608
630
|
* not conditioned on any particular field composition — it applies to
|
|
@@ -641,7 +663,7 @@ var ViaPipeline = class _ViaPipeline {
|
|
|
641
663
|
* Money-dressing a virtual computed field's OWN output (the composed
|
|
642
664
|
* `computed(virtual) + money` case) is NOT resolved by this partition
|
|
643
665
|
* alone — #669 resolves it with a separate mid-fold hook instead:
|
|
644
|
-
* `
|
|
666
|
+
* `NoydbVia.presentLate` runs after every binding's `present()` in this
|
|
645
667
|
* money+computed segment, before the "everything else" segment below, so
|
|
646
668
|
* money can quantize/reinterpret a virtual field's fresh MAJOR-UNITS
|
|
647
669
|
* output as if it were a stored value, without perturbing this ordering
|
|
@@ -650,7 +672,7 @@ var ViaPipeline = class _ViaPipeline {
|
|
|
650
672
|
*/
|
|
651
673
|
_presentOrder;
|
|
652
674
|
/** #669 — index into `_presentOrder` where the money+computed segment ends and the
|
|
653
|
-
* "everything else" segment begins (`
|
|
675
|
+
* "everything else" segment begins (`moneyVias.length + computedVias.length`);
|
|
654
676
|
* `present()` runs every binding's `presentLate` at exactly this boundary. */
|
|
655
677
|
_presentLateBoundary;
|
|
656
678
|
/** undefined when there is nothing to enforce — the zero-via fast path is
|
|
@@ -2072,7 +2094,7 @@ var VIA_FIELD_MAP_FAMILY = {
|
|
|
2072
2094
|
blobFields: "blob",
|
|
2073
2095
|
computed: "computed"
|
|
2074
2096
|
};
|
|
2075
|
-
function guardCrossBindingFieldCollisions(fieldMaps, callerPrefix = "
|
|
2097
|
+
function guardCrossBindingFieldCollisions(fieldMaps, callerPrefix = "compileVias()") {
|
|
2076
2098
|
const claimantsByField = /* @__PURE__ */ new Map();
|
|
2077
2099
|
for (const [sourceKey, map] of Object.entries(fieldMaps)) {
|
|
2078
2100
|
for (const field of Object.keys(map ?? {})) {
|
|
@@ -2126,7 +2148,7 @@ function computedEntryParts(entry) {
|
|
|
2126
2148
|
function unifyComputedFields(opts, viaComputedFields) {
|
|
2127
2149
|
return { ...opts.computed ?? {}, ...viaComputedFields ?? {} };
|
|
2128
2150
|
}
|
|
2129
|
-
function
|
|
2151
|
+
function compileVias(opts, classifiedGuardCtx, eraseCfgOut) {
|
|
2130
2152
|
const { moneyFields, i18nFields, dictKeyFields, computedFields, lookupFields } = mergeViaFields(opts);
|
|
2131
2153
|
const allComputedFields = unifyComputedFields(opts, computedFields);
|
|
2132
2154
|
guardCrossBindingFieldCollisions({
|
|
@@ -2249,7 +2271,7 @@ function resolveComputedEdges(collectionName, computed, hasClassifiedFields, kno
|
|
|
2249
2271
|
}
|
|
2250
2272
|
return edges;
|
|
2251
2273
|
}
|
|
2252
|
-
function
|
|
2274
|
+
function resolveViaDepsEdges(collectionName, bindings, knownFields) {
|
|
2253
2275
|
const edges = [];
|
|
2254
2276
|
for (const binding of bindings) {
|
|
2255
2277
|
if (!binding.deps || binding.deps.length === 0) continue;
|
|
@@ -2369,7 +2391,7 @@ function resolveCollectionConfig(opts) {
|
|
|
2369
2391
|
const perRecordCek = opts.perRecordKeys === true;
|
|
2370
2392
|
const cekCache = perRecordCek ? new Lru({ maxRecords: 4096 }) : null;
|
|
2371
2393
|
const viaEraseCfgOut = {};
|
|
2372
|
-
const via2 = ViaPipeline.build(
|
|
2394
|
+
const via2 = ViaPipeline.build(compileVias(opts, classifiedGuardCtx, viaEraseCfgOut));
|
|
2373
2395
|
const knownFields = collectKnownFieldNames({
|
|
2374
2396
|
moneyFields: effectiveViaFields.moneyFields,
|
|
2375
2397
|
i18nFields: effectiveViaFields.i18nFields,
|
|
@@ -2379,7 +2401,7 @@ function resolveCollectionConfig(opts) {
|
|
|
2379
2401
|
lookupFields: effectiveViaFields.lookupFields
|
|
2380
2402
|
});
|
|
2381
2403
|
const computedEdges = resolveComputedEdges(opts.name, allComputed, resolvedClassified !== void 0, knownFields);
|
|
2382
|
-
const viaDepsEdges =
|
|
2404
|
+
const viaDepsEdges = resolveViaDepsEdges(opts.name, via2?.bindings ?? [], knownFields);
|
|
2383
2405
|
return {
|
|
2384
2406
|
adapter: opts.adapter,
|
|
2385
2407
|
vault: opts.vault,
|
|
@@ -2460,7 +2482,7 @@ function resolveCollectionConfig(opts) {
|
|
|
2460
2482
|
}
|
|
2461
2483
|
|
|
2462
2484
|
// src/with-formula/computed/lazy.ts
|
|
2463
|
-
var loadComputed = lazy(() => import("./computed-
|
|
2485
|
+
var loadComputed = lazy(() => import("./computed-ASBNTLOK.js"));
|
|
2464
2486
|
async function loadEvalComputedFields() {
|
|
2465
2487
|
return (await loadComputed()).evalComputedFields;
|
|
2466
2488
|
}
|
|
@@ -3243,7 +3265,7 @@ var Collection = class {
|
|
|
3243
3265
|
}
|
|
3244
3266
|
await this.onAccess?.("find", "*");
|
|
3245
3267
|
if (hits.length === 0) return [];
|
|
3246
|
-
const { verifyDigestField } = await import("./verify-
|
|
3268
|
+
const { verifyDigestField } = await import("./verify-WYOFLSNA.js");
|
|
3247
3269
|
const policy = {
|
|
3248
3270
|
normalize: spec.verifyNormalize ?? "password",
|
|
3249
3271
|
notLastN: spec.notLastN ?? 0,
|
|
@@ -3331,7 +3353,7 @@ var Collection = class {
|
|
|
3331
3353
|
* `openVault`, before the user's `collection(name, { moneyFields })`
|
|
3332
3354
|
* declaration; this reconciles that ordering. First-wins. Not public.
|
|
3333
3355
|
*
|
|
3334
|
-
* PREPENDS money rather than appending: {@link
|
|
3356
|
+
* PREPENDS money rather than appending: {@link compileVias} always
|
|
3335
3357
|
* compiles money before i18n (money-first pipeline order — see its
|
|
3336
3358
|
* docstring), and by the time this reconcile runs an i18n binding may
|
|
3337
3359
|
* already be sitting in `this.via.bindings` (declared at construction).
|
|
@@ -3455,7 +3477,7 @@ var Collection = class {
|
|
|
3455
3477
|
}
|
|
3456
3478
|
}
|
|
3457
3479
|
if (this.materializedViewSource !== void 0) {
|
|
3458
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
3480
|
+
const { resolveStaleMVOnRead } = await import("./stale-MCS46TFO.js");
|
|
3459
3481
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
3460
3482
|
}
|
|
3461
3483
|
let record;
|
|
@@ -3986,7 +4008,7 @@ var Collection = class {
|
|
|
3986
4008
|
*/
|
|
3987
4009
|
async dispatchMaterializedViews(id, record, wave) {
|
|
3988
4010
|
if (this.materializedViewSource === void 0) return;
|
|
3989
|
-
const { dispatchMaterializedViews } = await import("./dispatch-
|
|
4011
|
+
const { dispatchMaterializedViews } = await import("./dispatch-VR4LRXZ7.js");
|
|
3990
4012
|
return dispatchMaterializedViews(this.#mvDispatchCtx(this.materializedViewSource), id, record, wave);
|
|
3991
4013
|
}
|
|
3992
4014
|
/**
|
|
@@ -4159,7 +4181,7 @@ var Collection = class {
|
|
|
4159
4181
|
* dispatch wave's per-target dedup; `undefined` on the local-write path (byte-identical). */
|
|
4160
4182
|
async dispatchDerivations(id, record, version, wave) {
|
|
4161
4183
|
if (this.derivationSource === void 0) return;
|
|
4162
|
-
const { dispatchDerivations } = await import("./dispatch-
|
|
4184
|
+
const { dispatchDerivations } = await import("./dispatch-4AP4PUZU.js");
|
|
4163
4185
|
return dispatchDerivations({
|
|
4164
4186
|
...this.#derivationDeleteCtx(this.derivationSource),
|
|
4165
4187
|
via: this.via,
|
|
@@ -4474,7 +4496,7 @@ var Collection = class {
|
|
|
4474
4496
|
*/
|
|
4475
4497
|
async dispatchArrayDerivationsOnDelete(id, eraseRecordShapeToo = false) {
|
|
4476
4498
|
if (this.derivationSource === void 0) return 0;
|
|
4477
|
-
const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-
|
|
4499
|
+
const { dispatchArrayDerivationsOnDelete } = await import("./dispatch-4AP4PUZU.js");
|
|
4478
4500
|
return dispatchArrayDerivationsOnDelete(this.#derivationDeleteCtx(this.derivationSource), id, eraseRecordShapeToo);
|
|
4479
4501
|
}
|
|
4480
4502
|
/**
|
|
@@ -4488,7 +4510,7 @@ var Collection = class {
|
|
|
4488
4510
|
*/
|
|
4489
4511
|
async dispatchMaterializedViewsOnDelete(id) {
|
|
4490
4512
|
if (this.materializedViewSource === void 0) return { deleted: 0, residueUndecodable: [], residueDeclined: [] };
|
|
4491
|
-
const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-
|
|
4513
|
+
const { dispatchMaterializedViewsOnDelete } = await import("./dispatch-VR4LRXZ7.js");
|
|
4492
4514
|
return dispatchMaterializedViewsOnDelete(this.#mvDispatchCtx(this.materializedViewSource), id);
|
|
4493
4515
|
}
|
|
4494
4516
|
/**
|
|
@@ -4508,7 +4530,7 @@ var Collection = class {
|
|
|
4508
4530
|
);
|
|
4509
4531
|
}
|
|
4510
4532
|
if (this.materializedViewSource !== void 0) {
|
|
4511
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
4533
|
+
const { resolveStaleMVOnRead } = await import("./stale-MCS46TFO.js");
|
|
4512
4534
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
4513
4535
|
}
|
|
4514
4536
|
await this.ensureHydrated();
|
|
@@ -5618,14 +5640,14 @@ var Collection = class {
|
|
|
5618
5640
|
/** C-A/R10: persist the classified marker once per classified handle (store I/O in config-drift.ts). */
|
|
5619
5641
|
async _ensureClassifiedMarker() {
|
|
5620
5642
|
if (this._markerPersisted || this.vdigFields === null) return;
|
|
5621
|
-
const { persistClassifiedMarkerForFields } = await import("./classified-marker-
|
|
5643
|
+
const { persistClassifiedMarkerForFields } = await import("./classified-marker-BSQHU4JT.js");
|
|
5622
5644
|
await persistClassifiedMarkerForFields(this.adapter, this.vault, this.name, this.vdigFields, await this.getDEK(this.name));
|
|
5623
5645
|
this._markerPersisted = true;
|
|
5624
5646
|
}
|
|
5625
5647
|
/** C-A/R10 drift signal — the marker's declared digest-only set, memoized to one store read per handle (see config-drift.ts). */
|
|
5626
5648
|
async _classifiedMarkerDigestOnly() {
|
|
5627
5649
|
if (this._markerDigestOnlyCache !== void 0) return this._markerDigestOnlyCache;
|
|
5628
|
-
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-
|
|
5650
|
+
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-BSQHU4JT.js");
|
|
5629
5651
|
this._markerDigestOnlyCache = await readClassifiedMarkerDigestOnly(this.adapter, this.vault, this.name, await this.getDEK(this.name));
|
|
5630
5652
|
return this._markerDigestOnlyCache;
|
|
5631
5653
|
}
|
|
@@ -7251,7 +7273,7 @@ var VaultLinks = class {
|
|
|
7251
7273
|
// src/with-shape/links/lazy-handle.ts
|
|
7252
7274
|
function makeLazyLinkSetHandle(d) {
|
|
7253
7275
|
let engine = null;
|
|
7254
|
-
const load = () => engine ??= import("./link-set-
|
|
7276
|
+
const load = () => engine ??= import("./link-set-76JZ6YB4.js").then(
|
|
7255
7277
|
({ LinkSet }) => new LinkSet(d.adapter, d.vault, d.name, d.spec, d.encrypted, d.getDEK, d.actor, d.emitter, d.endpointExists)
|
|
7256
7278
|
);
|
|
7257
7279
|
return {
|
|
@@ -7369,7 +7391,7 @@ function registerCollectionGraphSources(graph, name, opts) {
|
|
|
7369
7391
|
...Object.keys(cfg.i18nFields ?? {}),
|
|
7370
7392
|
...Object.keys(cfg.dictKeyFields ?? {}),
|
|
7371
7393
|
// #650 Task 2 — native lookup()/enumOf()/dict() fields register their
|
|
7372
|
-
// posture (`
|
|
7394
|
+
// posture (`lookupVia().posture`) the same generic way every other
|
|
7373
7395
|
// binding does; no `'ref'` EdgeKind / graph edge yet (Task 5).
|
|
7374
7396
|
...Object.keys(cfg.lookupFields ?? {}),
|
|
7375
7397
|
...cfg.classified !== void 0 ? Object.keys(cfg.classified.byField) : []
|
|
@@ -7481,16 +7503,16 @@ var EMPTY_POSTURE_MAP = /* @__PURE__ */ new Map();
|
|
|
7481
7503
|
function hasI18nBinding(coll) {
|
|
7482
7504
|
return (coll._via?.bindings ?? []).some((b) => b.brand === "i18n");
|
|
7483
7505
|
}
|
|
7484
|
-
function insertI18nBinding(existing,
|
|
7506
|
+
function insertI18nBinding(existing, i18nVia) {
|
|
7485
7507
|
const idx = existing.findIndex((b) => b.brand === "lookup" || b.brand === "classified" || b.brand === "blob" || b.brand === "computed" || b.brand === "taint");
|
|
7486
|
-
return idx === -1 ? [...existing,
|
|
7508
|
+
return idx === -1 ? [...existing, i18nVia] : [...existing.slice(0, idx), i18nVia, ...existing.slice(idx)];
|
|
7487
7509
|
}
|
|
7488
7510
|
function hasLookupBinding(coll) {
|
|
7489
7511
|
return (coll._via?.bindings ?? []).some((b) => b.brand === "lookup");
|
|
7490
7512
|
}
|
|
7491
|
-
function insertLookupBinding(existing,
|
|
7513
|
+
function insertLookupBinding(existing, lookupViaObj) {
|
|
7492
7514
|
const idx = existing.findIndex((b) => b.brand === "classified" || b.brand === "blob" || b.brand === "computed" || b.brand === "taint");
|
|
7493
|
-
return idx === -1 ? [...existing,
|
|
7515
|
+
return idx === -1 ? [...existing, lookupViaObj] : [...existing.slice(0, idx), lookupViaObj, ...existing.slice(idx)];
|
|
7494
7516
|
}
|
|
7495
7517
|
function refuseUnattachableMatrixLookupFields(vaultCtx, lookupFields) {
|
|
7496
7518
|
for (const [field, desc] of Object.entries(lookupFields)) {
|
|
@@ -7902,7 +7924,7 @@ function declareSatellite(ctx, collectionName, options, existingRegistry) {
|
|
|
7902
7924
|
ctx.forEachSyncEngine((e) => e.remirrorPairResolvers([spec.base, spec.satellite]));
|
|
7903
7925
|
const registry = reg;
|
|
7904
7926
|
const baseSchema = ctx.getBaseSchema(spec.base);
|
|
7905
|
-
void import("./post-register-
|
|
7927
|
+
void import("./post-register-53O7AJRZ.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
|
|
7906
7928
|
});
|
|
7907
7929
|
return reg;
|
|
7908
7930
|
}
|
|
@@ -8659,7 +8681,7 @@ var Vault = class {
|
|
|
8659
8681
|
this.keyring = opts.keyring;
|
|
8660
8682
|
this.encrypted = opts.encrypted;
|
|
8661
8683
|
this.schemaFence = new SchemaFenceController({
|
|
8662
|
-
coordination: this.noydb.
|
|
8684
|
+
coordination: this.noydb.mesh,
|
|
8663
8685
|
vault: this.name,
|
|
8664
8686
|
onFlush: () => this.noydb._writeQueueTracker.onFlush(),
|
|
8665
8687
|
clientId: this.noydb._clientId,
|
|
@@ -8877,7 +8899,7 @@ var Vault = class {
|
|
|
8877
8899
|
const strategies = options.schemaUpdate ?? [];
|
|
8878
8900
|
const work = (async () => {
|
|
8879
8901
|
const dek = await this.getDEK(collectionName);
|
|
8880
|
-
const { persistSchemaIfNeeded } = await import("./register-
|
|
8902
|
+
const { persistSchemaIfNeeded } = await import("./register-6TCBR6XD.js");
|
|
8881
8903
|
const result = await persistSchemaIfNeeded({
|
|
8882
8904
|
store: this.adapter,
|
|
8883
8905
|
vault: this.name,
|
|
@@ -9027,7 +9049,7 @@ var Vault = class {
|
|
|
9027
9049
|
const work = (async () => {
|
|
9028
9050
|
try {
|
|
9029
9051
|
const dek = await this.getDEK(collectionName);
|
|
9030
|
-
await (await import("./register-
|
|
9052
|
+
await (await import("./register-6TCBR6XD.js")).persistSchemaIfNeeded({
|
|
9031
9053
|
store: this.adapter,
|
|
9032
9054
|
vault: this.name,
|
|
9033
9055
|
collectionName,
|
|
@@ -9073,7 +9095,7 @@ var Vault = class {
|
|
|
9073
9095
|
* writes (unfenced walk — see `with-shape/satellites/migrate-cek.ts`); resumable.
|
|
9074
9096
|
*/
|
|
9075
9097
|
async migrateSatellitePerRecordKeys(satelliteName) {
|
|
9076
|
-
const { migrateSatelliteCek } = await import("./migrate-cek-
|
|
9098
|
+
const { migrateSatelliteCek } = await import("./migrate-cek-LBRKYUZZ.js");
|
|
9077
9099
|
return migrateSatelliteCek(satelliteName, this.collection(satelliteName, { perRecordKeys: true }));
|
|
9078
9100
|
}
|
|
9079
9101
|
/**
|
|
@@ -9255,10 +9277,10 @@ var Vault = class {
|
|
|
9255
9277
|
async _ensureFenceCoordination() {
|
|
9256
9278
|
if (this.#fenceCoordinationStarted) return;
|
|
9257
9279
|
this.#fenceCoordinationStarted = true;
|
|
9258
|
-
const { FenceWatcher } = await import("./fence-watcher-
|
|
9280
|
+
const { FenceWatcher } = await import("./fence-watcher-ZVSMLKQD.js");
|
|
9259
9281
|
if (!this.#fenceCoordinationStarted) return;
|
|
9260
9282
|
this.#fenceWatcher = new FenceWatcher({
|
|
9261
|
-
coordination: this.noydb.
|
|
9283
|
+
coordination: this.noydb.mesh,
|
|
9262
9284
|
vault: this.name,
|
|
9263
9285
|
clientId: this.noydb._clientId,
|
|
9264
9286
|
sessionId: this.noydb._sessionId,
|
|
@@ -9704,7 +9726,7 @@ var Vault = class {
|
|
|
9704
9726
|
*/
|
|
9705
9727
|
// eslint-disable-next-line @typescript-eslint/consistent-type-imports
|
|
9706
9728
|
async _loadPodSigner() {
|
|
9707
|
-
const { loadSigner } = await import("./signer-
|
|
9729
|
+
const { loadSigner } = await import("./signer-6XVS2AU3.js");
|
|
9708
9730
|
return loadSigner(this.adapter, this.name, this.getDEK);
|
|
9709
9731
|
}
|
|
9710
9732
|
async writeExportAudit(entry) {
|
|
@@ -10194,7 +10216,7 @@ var Vault = class {
|
|
|
10194
10216
|
async _initGuards(handles) {
|
|
10195
10217
|
if (handles.length === 0) return;
|
|
10196
10218
|
const [{ GuardRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
|
|
10197
|
-
import("./registry-
|
|
10219
|
+
import("./registry-IWFMXCHX.js"),
|
|
10198
10220
|
import("./read-only-facade-CHCKSEPD.js")
|
|
10199
10221
|
]);
|
|
10200
10222
|
const registry = new GuardRegistry();
|
|
@@ -10222,7 +10244,7 @@ var Vault = class {
|
|
|
10222
10244
|
async _initDerivations(handles) {
|
|
10223
10245
|
if (handles.length === 0) return;
|
|
10224
10246
|
const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
|
|
10225
|
-
import("./registry-
|
|
10247
|
+
import("./registry-DH2L4O2V.js"),
|
|
10226
10248
|
import("./read-only-facade-CHCKSEPD.js")
|
|
10227
10249
|
]);
|
|
10228
10250
|
const registry = new DerivationRegistry();
|
|
@@ -10254,7 +10276,7 @@ var Vault = class {
|
|
|
10254
10276
|
*/
|
|
10255
10277
|
async _initMaterializedViews(handles) {
|
|
10256
10278
|
if (handles.length === 0) return;
|
|
10257
|
-
const { MaterializedViewRegistry } = await import("./registry-
|
|
10279
|
+
const { MaterializedViewRegistry } = await import("./registry-YC3IFG3A.js");
|
|
10258
10280
|
const registry = new MaterializedViewRegistry();
|
|
10259
10281
|
this.materializedViewRegistry = registry;
|
|
10260
10282
|
const db = this;
|
|
@@ -10279,7 +10301,7 @@ var Vault = class {
|
|
|
10279
10301
|
*/
|
|
10280
10302
|
async _initOverlayedViews(handles) {
|
|
10281
10303
|
if (handles.length === 0) return;
|
|
10282
|
-
const { OverlayedViewRegistry } = await import("./registry-
|
|
10304
|
+
const { OverlayedViewRegistry } = await import("./registry-Q3FG3OAX.js");
|
|
10283
10305
|
const registry = new OverlayedViewRegistry();
|
|
10284
10306
|
const mvRegistry = this.materializedViewRegistry;
|
|
10285
10307
|
const overlayNames = /* @__PURE__ */ new Set();
|
|
@@ -10342,14 +10364,14 @@ var Vault = class {
|
|
|
10342
10364
|
if (!reg) {
|
|
10343
10365
|
throw new Error(`refreshView: no MV registered with name "${name}"`);
|
|
10344
10366
|
}
|
|
10345
|
-
const { MaterializedViewExecutor } = await import("./executor-
|
|
10367
|
+
const { MaterializedViewExecutor } = await import("./executor-3KFRQETS.js");
|
|
10346
10368
|
const result = await MaterializedViewExecutor.refresh(reg, {
|
|
10347
10369
|
getCollection: (n) => this.collection(n),
|
|
10348
10370
|
getActiveTxContext: () => this.noydb._activeTxContextOrNull,
|
|
10349
10371
|
getQueryContext: () => this,
|
|
10350
10372
|
dispatchCtx: this._dispatchCtx({ collection: name, id: "refreshView" })
|
|
10351
10373
|
});
|
|
10352
|
-
const { clearMVStaleFully } = await import("./stale-
|
|
10374
|
+
const { clearMVStaleFully } = await import("./stale-MCS46TFO.js");
|
|
10353
10375
|
await clearMVStaleFully(this.adapter, this.name, registry, name);
|
|
10354
10376
|
return result;
|
|
10355
10377
|
}
|
|
@@ -10362,7 +10384,7 @@ var Vault = class {
|
|
|
10362
10384
|
if (registry === null) return { derived: 0, failed: 0, skippedFrozen: 0 };
|
|
10363
10385
|
const strategies = registry.strategiesForSource(sourceCollection);
|
|
10364
10386
|
if (strategies.length === 0) return { derived: 0, failed: 0, skippedFrozen: 0 };
|
|
10365
|
-
const { DerivationExecutor } = await import("./executor-
|
|
10387
|
+
const { DerivationExecutor } = await import("./executor-YYDW6XQI.js");
|
|
10366
10388
|
const sourceColl = this.collection(sourceCollection);
|
|
10367
10389
|
const records = await sourceColl.list();
|
|
10368
10390
|
const ctx = { vault: this.derivationFacade ?? new (await import("./read-only-facade-CHCKSEPD.js")).ReadOnlyVaultFacade(this, "derivation") };
|
|
@@ -10389,7 +10411,7 @@ var Vault = class {
|
|
|
10389
10411
|
if (!outSpec) continue;
|
|
10390
10412
|
const outputColl = this.collection(outSpec.collection);
|
|
10391
10413
|
if (out.kind === "array") {
|
|
10392
|
-
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-
|
|
10414
|
+
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-IWP3R4RC.js");
|
|
10393
10415
|
const prior = await loadFanoutSidecar(this.adapter, this.name, spec.source, id, key, this.getDEK, this.encrypted);
|
|
10394
10416
|
const prevKeys = new Set(prior?.keys ?? []);
|
|
10395
10417
|
const newKeysList = out.entries.map((e) => e.key);
|
|
@@ -10616,7 +10638,7 @@ var Vault = class {
|
|
|
10616
10638
|
* collection.
|
|
10617
10639
|
*/
|
|
10618
10640
|
async delegate(opts) {
|
|
10619
|
-
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
10641
|
+
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-XWRPYODW.js");
|
|
10620
10642
|
if (!this.keyring.kek) {
|
|
10621
10643
|
throw new ValidationError(
|
|
10622
10644
|
"issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (secret) first."
|
|
@@ -10638,7 +10660,7 @@ var Vault = class {
|
|
|
10638
10660
|
* if the id does not exist.
|
|
10639
10661
|
*/
|
|
10640
10662
|
async revokeDelegation(id) {
|
|
10641
|
-
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
10663
|
+
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-XWRPYODW.js");
|
|
10642
10664
|
await revokeDelegation(this.adapter, this.name, id);
|
|
10643
10665
|
void DELEGATIONS_COLLECTION;
|
|
10644
10666
|
}
|
|
@@ -10654,9 +10676,9 @@ var Vault = class {
|
|
|
10654
10676
|
* - The keyring must already carry a wrap for the target tier on
|
|
10655
10677
|
* at least one collection (or be `owner` / `admin`, who can
|
|
10656
10678
|
* auto-mint). Otherwise throws {@link TierNotGrantedError}.
|
|
10657
|
-
* -
|
|
10658
|
-
* `
|
|
10659
|
-
* projection, not a privilege escalation path.
|
|
10679
|
+
* - The export gates (`assertCanExport('plaintext', fmt)` and
|
|
10680
|
+
* `assertCanExport('bundle')`) are NOT bypassed — elevation is a
|
|
10681
|
+
* tier projection, not a privilege escalation path.
|
|
10660
10682
|
* - Only one elevation can be active per vault at a time.
|
|
10661
10683
|
* Calling `elevate(...)` while another is live throws
|
|
10662
10684
|
* {@link AlreadyElevatedError}.
|
|
@@ -10891,7 +10913,7 @@ var Vault = class {
|
|
|
10891
10913
|
* @see design-history/2026-05-22-schema-dump-design.md
|
|
10892
10914
|
*/
|
|
10893
10915
|
async dumpSchema(opts = {}) {
|
|
10894
|
-
const { dumpVaultSchema } = await import("./walk-
|
|
10916
|
+
const { dumpVaultSchema } = await import("./walk-JNEOYCAU.js");
|
|
10895
10917
|
return dumpVaultSchema(this, opts);
|
|
10896
10918
|
}
|
|
10897
10919
|
/**
|
|
@@ -10987,7 +11009,7 @@ var Vault = class {
|
|
|
10987
11009
|
* separate vault instances now.
|
|
10988
11010
|
*/
|
|
10989
11011
|
async getPodHandle() {
|
|
10990
|
-
const { buildPodHandle } = await import("./pod-handle-
|
|
11012
|
+
const { buildPodHandle } = await import("./pod-handle-P6DPBM5U.js");
|
|
10991
11013
|
return buildPodHandle(this.adapter, this.name);
|
|
10992
11014
|
}
|
|
10993
11015
|
/**
|
|
@@ -11019,7 +11041,7 @@ var Vault = class {
|
|
|
11019
11041
|
* both modes round-trip cleanly.
|
|
11020
11042
|
*/
|
|
11021
11043
|
async dump() {
|
|
11022
|
-
const { dumpVault } = await import("./backup-
|
|
11044
|
+
const { dumpVault } = await import("./backup-Z7ZBTAQ6.js");
|
|
11023
11045
|
return dumpVault(this.backupContext());
|
|
11024
11046
|
}
|
|
11025
11047
|
/**
|
|
@@ -11071,7 +11093,7 @@ var Vault = class {
|
|
|
11071
11093
|
* — there's no chain to verify against.
|
|
11072
11094
|
*/
|
|
11073
11095
|
async load(backupJson) {
|
|
11074
|
-
const { loadVault } = await import("./backup-
|
|
11096
|
+
const { loadVault } = await import("./backup-Z7ZBTAQ6.js");
|
|
11075
11097
|
return loadVault(this.backupContext(), backupJson);
|
|
11076
11098
|
}
|
|
11077
11099
|
/**
|
|
@@ -11103,7 +11125,7 @@ var Vault = class {
|
|
|
11103
11125
|
* way to detect tampering of an in-place vault.
|
|
11104
11126
|
*/
|
|
11105
11127
|
async verifyBackupIntegrity() {
|
|
11106
|
-
const { verifyBackupIntegrity } = await import("./backup-
|
|
11128
|
+
const { verifyBackupIntegrity } = await import("./backup-Z7ZBTAQ6.js");
|
|
11107
11129
|
return verifyBackupIntegrity(this.backupContext());
|
|
11108
11130
|
}
|
|
11109
11131
|
/**
|
|
@@ -11168,6 +11190,18 @@ var Vault = class {
|
|
|
11168
11190
|
* }
|
|
11169
11191
|
* ```
|
|
11170
11192
|
*/
|
|
11193
|
+
/**
|
|
11194
|
+
* Serialise this vault through an `as-*` format. The gate runs before a
|
|
11195
|
+
* record is read and the format never receives a vault — see
|
|
11196
|
+
* `docs/adr/0004-as-format-port.md` and `port/as/active.ts`.
|
|
11197
|
+
*/
|
|
11198
|
+
async export(format, options) {
|
|
11199
|
+
return this.strategies.formats.exportWith(this, format, options);
|
|
11200
|
+
}
|
|
11201
|
+
/** Plan an import from an `as-*` format. Nothing is written until `apply()`. */
|
|
11202
|
+
async import(format, input, options) {
|
|
11203
|
+
return this.strategies.formats.importWith(this, format, input, options);
|
|
11204
|
+
}
|
|
11171
11205
|
async *exportStream(opts = {}) {
|
|
11172
11206
|
const granularity = opts.granularity ?? "collection";
|
|
11173
11207
|
const exportLocale = opts.resolveLabels;
|
|
@@ -11321,7 +11355,7 @@ var Vault = class {
|
|
|
11321
11355
|
* is the live validator object, not a serialization of it).
|
|
11322
11356
|
*/
|
|
11323
11357
|
async exportJSON(opts = {}) {
|
|
11324
|
-
const { exportVaultJSON } = await import("./backup-
|
|
11358
|
+
const { exportVaultJSON } = await import("./backup-Z7ZBTAQ6.js");
|
|
11325
11359
|
return exportVaultJSON(this.backupContext(), opts);
|
|
11326
11360
|
}
|
|
11327
11361
|
};
|
|
@@ -12197,7 +12231,7 @@ var TeamFacade = class {
|
|
|
12197
12231
|
const p = this.deps.options.shamirRecovery;
|
|
12198
12232
|
if (!p) {
|
|
12199
12233
|
throw new Error(
|
|
12200
|
-
"shamir recovery requires a
|
|
12234
|
+
"shamir recovery requires a NoydbShamir \u2014 pass shamirRecovery: shamirRecoveryProvider() from '@noy-db/on-shamir' to createNoydb()"
|
|
12201
12235
|
);
|
|
12202
12236
|
}
|
|
12203
12237
|
return p;
|
|
@@ -12460,7 +12494,7 @@ var TeamFacade = class {
|
|
|
12460
12494
|
"rotate-secret",
|
|
12461
12495
|
"disabled",
|
|
12462
12496
|
{ minTier: 1, enabled: false },
|
|
12463
|
-
"Managed-secret mode (#14): the secret is hub-generated and sealed under the
|
|
12497
|
+
"Managed-secret mode (#14): the secret is hub-generated and sealed under the NoydbSealer \u2014 there is no plaintext to rotate. Use the recovery flow (follow-up issue) to mint a fresh sealed secret."
|
|
12464
12498
|
);
|
|
12465
12499
|
}
|
|
12466
12500
|
await this.deps.checkGate(vault, "rotate-secret", factors);
|
|
@@ -12638,7 +12672,7 @@ var TeamFacade = class {
|
|
|
12638
12672
|
* const db = await createNoydb({
|
|
12639
12673
|
* store, user: 'alice',
|
|
12640
12674
|
* secretMode: 'managed',
|
|
12641
|
-
* sealingKey:
|
|
12675
|
+
* sealingKey: atMacosKeychain({ ... }),
|
|
12642
12676
|
* })
|
|
12643
12677
|
*
|
|
12644
12678
|
* const { vault, recoveryEnrollments } = await db.team.openVaultAndEnrollRecovery('acme', {
|
|
@@ -12690,7 +12724,7 @@ var TeamFacade = class {
|
|
|
12690
12724
|
*
|
|
12691
12725
|
* Replaces the sealed secret of a managed-mode vault with a
|
|
12692
12726
|
* fresh 256-bit random, sealed under the configured
|
|
12693
|
-
* `
|
|
12727
|
+
* `NoydbSealer`. The user never sees the new secret.
|
|
12694
12728
|
*
|
|
12695
12729
|
* Internally:
|
|
12696
12730
|
* 1. Verify the recovery proof (Shamir today) and unwrap the
|
|
@@ -12988,8 +13022,8 @@ var Noydb = class {
|
|
|
12988
13022
|
/** Session that owns this instance's writers (one user's writers across vaults). */
|
|
12989
13023
|
sessionId;
|
|
12990
13024
|
/** Drain-barrier coordination transport for the schema fence. */
|
|
12991
|
-
|
|
12992
|
-
/** Pre-resolved `vault.user` API factory (mirrors `
|
|
13025
|
+
meshPort;
|
|
13026
|
+
/** Pre-resolved `vault.user` API factory (mirrors `meshPort` above). Public so `Vault` can call it. */
|
|
12993
13027
|
userApiFactory;
|
|
12994
13028
|
vaultCache = /* @__PURE__ */ new Map();
|
|
12995
13029
|
/**
|
|
@@ -13050,7 +13084,7 @@ var Noydb = class {
|
|
|
13050
13084
|
}
|
|
13051
13085
|
snapshots;
|
|
13052
13086
|
policyManager;
|
|
13053
|
-
/** Pre-resolved policy-gate engine function (mirrors `
|
|
13087
|
+
/** Pre-resolved policy-gate engine function (mirrors `meshPort`/`userApiFactory` above). */
|
|
13054
13088
|
policyCheckGate;
|
|
13055
13089
|
/**
|
|
13056
13090
|
* Credential and multi-user operations — enrolment, secret rotation,
|
|
@@ -13097,12 +13131,12 @@ var Noydb = class {
|
|
|
13097
13131
|
);
|
|
13098
13132
|
}
|
|
13099
13133
|
this.sessionId = options.sessionId ?? generateULID();
|
|
13100
|
-
if (!options.
|
|
13134
|
+
if (!options.mesh) {
|
|
13101
13135
|
throw new ValidationError(
|
|
13102
|
-
"Noydb must be constructed via createNoydb(), which resolves the default
|
|
13136
|
+
"Noydb must be constructed via createNoydb(), which resolves the default mesh."
|
|
13103
13137
|
);
|
|
13104
13138
|
}
|
|
13105
|
-
this.
|
|
13139
|
+
this.meshPort = options.mesh;
|
|
13106
13140
|
if (!options.userApiFactory) throw new ValidationError("Noydb must be constructed via createNoydb(), which resolves the default user-envelope API factory.");
|
|
13107
13141
|
this.userApiFactory = options.userApiFactory;
|
|
13108
13142
|
if (!options.policyFactory || !options.policyCheckGateFn) throw new ValidationError("Noydb must be constructed via createNoydb(), which resolves the default policy service.");
|
|
@@ -13249,7 +13283,7 @@ var Noydb = class {
|
|
|
13249
13283
|
if (!facade) return;
|
|
13250
13284
|
const ctx = { existing, vault: facade, userId: e.userId, role: e.role };
|
|
13251
13285
|
await registry.runChecks(e.collection, incoming, ctx);
|
|
13252
|
-
const { GuardExecutor } = await import("./executor-
|
|
13286
|
+
const { GuardExecutor } = await import("./executor-AFHQYRAU.js");
|
|
13253
13287
|
for (const g of guards) {
|
|
13254
13288
|
await GuardExecutor.checkFrozenFields(g, e.docId, existing, incoming, e.computedFieldNames);
|
|
13255
13289
|
}
|
|
@@ -14247,10 +14281,10 @@ var Noydb = class {
|
|
|
14247
14281
|
/**
|
|
14248
14282
|
* @internal Drain-barrier coordination transport for the schema fence.
|
|
14249
14283
|
* The default store-backed provider reproduces today's fence behavior; a
|
|
14250
|
-
* `by-*` real-time transport is injected via `
|
|
14284
|
+
* `by-*` real-time transport is injected via `mesh`.
|
|
14251
14285
|
*/
|
|
14252
|
-
get
|
|
14253
|
-
return this.
|
|
14286
|
+
get mesh() {
|
|
14287
|
+
return this.meshPort;
|
|
14254
14288
|
}
|
|
14255
14289
|
/**
|
|
14256
14290
|
* #693: true when multi-tab coordination is active at all — presence/election
|
|
@@ -14620,8 +14654,8 @@ var Noydb = class {
|
|
|
14620
14654
|
async function createNoydb(options) {
|
|
14621
14655
|
if (!options.store) options = { ...options, store: memoryStore() };
|
|
14622
14656
|
validateSecretModeOptions(options);
|
|
14623
|
-
if (!options.
|
|
14624
|
-
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-
|
|
14657
|
+
if (!options.mesh) options = { ...options, mesh: await createDefaultMesh(options.store) };
|
|
14658
|
+
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-EQYRTZO2.js")).createUserApi };
|
|
14625
14659
|
if (!options.policyFactory) {
|
|
14626
14660
|
const policyModule = await import("./policy/index.js");
|
|
14627
14661
|
options = { ...options, policyFactory: policyModule.createNoydbPolicy, policyCheckGateFn: policyModule.checkGate };
|
|
@@ -14656,4 +14690,4 @@ export {
|
|
|
14656
14690
|
Noydb,
|
|
14657
14691
|
createNoydb
|
|
14658
14692
|
};
|
|
14659
|
-
//# sourceMappingURL=chunk-
|
|
14693
|
+
//# sourceMappingURL=chunk-3SMSERQU.js.map
|