@noy-db/hub 0.6.0-pre.8 → 0.6.0
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 +7079 -0
- package/codemods/0.6.0-pre.json +211 -0
- package/dist/api-6X2VLZ7J.js +20 -0
- package/dist/attestation/index.js +19 -19
- package/dist/{backup-KULFZ2T4.js → backup-VL4GRIEW.js} +36 -18
- package/dist/backup-VL4GRIEW.js.map +1 -0
- package/dist/blobs/index.js +22 -20
- package/dist/blobs/index.js.map +1 -1
- package/dist/broker/index.js +12 -12
- package/dist/cargo/index.js +35 -35
- package/dist/{chunk-KUDZVJKQ.js → chunk-22GR3O4J.js} +2 -2
- package/dist/{chunk-CCZJJ4I2.js → chunk-2CBFYXJX.js} +6 -6
- package/dist/{chunk-JJNOLSG5.js → chunk-2J5IT37K.js} +15 -16
- package/dist/chunk-2J5IT37K.js.map +1 -0
- package/dist/{chunk-PNKHAKQ7.js → chunk-2ZCWHCLF.js} +17 -10
- package/dist/chunk-2ZCWHCLF.js.map +1 -0
- package/dist/{chunk-2BMRJ6LQ.js → chunk-2ZT4INZ4.js} +8 -11
- package/dist/{chunk-2BMRJ6LQ.js.map → chunk-2ZT4INZ4.js.map} +1 -1
- package/dist/{chunk-FAXZQ5UF.js → chunk-323MN67Z.js} +2 -2
- package/dist/{chunk-VMCCGUQB.js → chunk-36CEG6CM.js} +2 -2
- package/dist/{chunk-PDLLCOGD.js → chunk-3OE2QNSM.js} +20 -17
- package/dist/chunk-3OE2QNSM.js.map +1 -0
- package/dist/{chunk-AHLJSVRL.js → chunk-3YGUHUJA.js} +5 -7
- package/dist/chunk-3YGUHUJA.js.map +1 -0
- package/dist/{chunk-ZJADGNYF.js → chunk-4AOERLTV.js} +1 -1
- package/dist/chunk-4AOERLTV.js.map +1 -0
- package/dist/{chunk-J7FM3RAU.js → chunk-4ATF4BLF.js} +87 -34
- package/dist/chunk-4ATF4BLF.js.map +1 -0
- package/dist/{chunk-747LRSOO.js → chunk-4K6BIMLF.js} +2 -2
- package/dist/{chunk-PXCBVDFY.js → chunk-5ATC6UT4.js} +40 -7
- package/dist/chunk-5ATC6UT4.js.map +1 -0
- package/dist/{chunk-4GZ6XOVW.js → chunk-5F7BZAGV.js} +44 -42
- package/dist/chunk-5F7BZAGV.js.map +1 -0
- package/dist/{chunk-FNSMZQS4.js → chunk-5IHGJHWC.js} +2 -2
- package/dist/{chunk-4I72F5DF.js → chunk-5LZZQMIC.js} +11 -14
- package/dist/chunk-5LZZQMIC.js.map +1 -0
- package/dist/{chunk-JXIDGFKS.js → chunk-5O5ZSW7N.js} +4 -2
- package/dist/chunk-5O5ZSW7N.js.map +1 -0
- package/dist/{chunk-CEJWMBXO.js → chunk-5OT4G5N5.js} +6 -2
- package/dist/chunk-5OT4G5N5.js.map +1 -0
- package/dist/{chunk-GAG7QOVO.js → chunk-64WHKBMP.js} +53 -18
- package/dist/chunk-64WHKBMP.js.map +1 -0
- package/dist/{chunk-7TSYBD3E.js → chunk-65JXA63J.js} +2 -2
- package/dist/{chunk-Z45YRGFO.js → chunk-6NR36UNB.js} +2 -2
- package/dist/{chunk-W77KZHCW.js → chunk-6RH7PRTL.js} +16 -17
- package/dist/chunk-6RH7PRTL.js.map +1 -0
- package/dist/{chunk-3JVXVJ7L.js → chunk-7OBIBPCV.js} +10 -10
- package/dist/{chunk-AR2JDFAE.js → chunk-7Q3RHOA5.js} +2 -2
- package/dist/chunk-7ZGPQOFV.js +190 -0
- package/dist/chunk-7ZGPQOFV.js.map +1 -0
- package/dist/{chunk-QULVCV3M.js → chunk-AJGGBXWA.js} +4 -4
- package/dist/{chunk-CADUYBQD.js → chunk-ATL3ZVXT.js} +2 -2
- package/dist/{chunk-DMQCLZ4Z.js → chunk-ATY3ZASK.js} +2 -2
- package/dist/{chunk-4HDYQL3J.js → chunk-B4CRUZPR.js} +2 -2
- package/dist/{chunk-IMZLOJTK.js → chunk-BMU2DS3S.js} +30 -21
- package/dist/chunk-BMU2DS3S.js.map +1 -0
- package/dist/{chunk-6SAFL5YE.js → chunk-BZ3WMOYX.js} +3 -3
- package/dist/{chunk-UHXCLPGC.js → chunk-C3XWJCG7.js} +2 -2
- package/dist/chunk-C3XWJCG7.js.map +1 -0
- package/dist/{chunk-HXGUIPQB.js → chunk-CKKN25P2.js} +3 -3
- package/dist/{chunk-3URQC7EH.js → chunk-CXPOG3ZY.js} +355 -132
- package/dist/chunk-CXPOG3ZY.js.map +1 -0
- package/dist/{chunk-3FSX6LDG.js → chunk-D2YFQ7XG.js} +18 -3
- package/dist/{chunk-3FSX6LDG.js.map → chunk-D2YFQ7XG.js.map} +1 -1
- package/dist/{chunk-52JPHN5N.js → chunk-D6SXRMZZ.js} +27 -149
- package/dist/chunk-D6SXRMZZ.js.map +1 -0
- package/dist/{chunk-2DHSSLOD.js → chunk-DECNV4QK.js} +13 -15
- package/dist/chunk-DECNV4QK.js.map +1 -0
- package/dist/{chunk-6BU3L4UE.js → chunk-DNKVKO7K.js} +7 -10
- package/dist/chunk-DNKVKO7K.js.map +1 -0
- package/dist/{chunk-6HFM7EIT.js → chunk-EHRIDNZX.js} +2 -2
- package/dist/{chunk-3737A6EA.js → chunk-EHW7NLGD.js} +127 -31
- package/dist/chunk-EHW7NLGD.js.map +1 -0
- package/dist/{chunk-BEFVYAR5.js → chunk-EQOTJL76.js} +4 -4
- package/dist/chunk-EQOTJL76.js.map +1 -0
- package/dist/{chunk-E6427JU2.js → chunk-EV2TDHQZ.js} +19 -3
- package/dist/chunk-EV2TDHQZ.js.map +1 -0
- package/dist/{chunk-WFUIE565.js → chunk-FNYCT27B.js} +17 -14
- package/dist/chunk-FNYCT27B.js.map +1 -0
- package/dist/{chunk-RTAMLDWP.js → chunk-FU5VYEYK.js} +2 -2
- package/dist/chunk-FX3UIDCS.js +66 -0
- package/dist/chunk-FX3UIDCS.js.map +1 -0
- package/dist/{chunk-7F4DBNSP.js → chunk-GANFIM2M.js} +135 -18
- package/dist/chunk-GANFIM2M.js.map +1 -0
- package/dist/{chunk-4VUPLMZ6.js → chunk-GCU42IG7.js} +66 -71
- package/dist/chunk-GCU42IG7.js.map +1 -0
- package/dist/{chunk-RXYYFSBB.js → chunk-GKTW3KLV.js} +4 -4
- package/dist/chunk-HK67PX4J.js +27 -0
- package/dist/chunk-HK67PX4J.js.map +1 -0
- package/dist/{chunk-OF3L2SD6.js → chunk-HOPNIR5R.js} +2 -2
- package/dist/{chunk-WLZ47GSL.js → chunk-HSJBJIB2.js} +12 -10
- package/dist/{chunk-WLZ47GSL.js.map → chunk-HSJBJIB2.js.map} +1 -1
- package/dist/{chunk-ADW22QSB.js → chunk-HWI7GHJZ.js} +4 -4
- package/dist/{chunk-GQ3BX5EA.js → chunk-I3ISCYT7.js} +2 -2
- package/dist/{chunk-YJ6IONGA.js → chunk-IWKCJCLP.js} +11 -3
- package/dist/{chunk-YJ6IONGA.js.map → chunk-IWKCJCLP.js.map} +1 -1
- package/dist/{chunk-NJDQ4YSV.js → chunk-IWQPYT6S.js} +4 -4
- package/dist/{chunk-JRKZTEZZ.js → chunk-J6I5VR6P.js} +444 -73
- package/dist/chunk-J6I5VR6P.js.map +1 -0
- package/dist/{chunk-2Z3NCLNX.js → chunk-JHYKSMVX.js} +7 -7
- package/dist/{chunk-6FJWSWFT.js → chunk-JIHWBKMQ.js} +3 -3
- package/dist/{chunk-YAWK6AWF.js → chunk-JKATP6OE.js} +2 -2
- package/dist/{chunk-PL2GHSCM.js → chunk-JMJSCI7U.js} +157 -90
- package/dist/chunk-JMJSCI7U.js.map +1 -0
- package/dist/{chunk-Q6TEJXBX.js → chunk-JXHNUYQO.js} +31 -49
- package/dist/chunk-JXHNUYQO.js.map +1 -0
- package/dist/{chunk-WK5XUYYF.js → chunk-JYPRZWCZ.js} +473 -231
- package/dist/chunk-JYPRZWCZ.js.map +1 -0
- package/dist/{chunk-5ZKS6ZE2.js → chunk-K6CPIK3R.js} +4 -4
- package/dist/chunk-K6CPIK3R.js.map +1 -0
- package/dist/{chunk-CDB2HVQW.js → chunk-KM6ZXG7U.js} +14 -15
- package/dist/chunk-KM6ZXG7U.js.map +1 -0
- package/dist/{chunk-DG27IUVI.js → chunk-LC6NE4IQ.js} +2 -2
- package/dist/{chunk-WASHZV34.js → chunk-LIR2DJWP.js} +63 -25
- package/dist/chunk-LIR2DJWP.js.map +1 -0
- package/dist/{chunk-VZ3XFUQ7.js → chunk-LUYPYCHY.js} +16 -22
- package/dist/chunk-LUYPYCHY.js.map +1 -0
- package/dist/{chunk-G6S5VVHP.js → chunk-M7WBE3OR.js} +10 -10
- package/dist/chunk-M7WBE3OR.js.map +1 -0
- package/dist/{chunk-VJFMXYKP.js → chunk-MPKP6L5E.js} +2 -2
- package/dist/{chunk-IGJCYUT5.js → chunk-NSITFOCJ.js} +1 -1
- package/dist/chunk-NSITFOCJ.js.map +1 -0
- package/dist/{chunk-FUHKW252.js → chunk-OCJ3JA4O.js} +2 -2
- package/dist/{chunk-VCETL77O.js → chunk-ONPVHX2Y.js} +36 -7
- package/dist/chunk-ONPVHX2Y.js.map +1 -0
- package/dist/{chunk-WLYIROCJ.js → chunk-OQMCFHUX.js} +2 -2
- package/dist/{chunk-JRCYZEHU.js → chunk-OR2FYRYR.js} +2 -2
- package/dist/{chunk-HNHCQ556.js → chunk-PFWE7FJG.js} +2 -2
- package/dist/{chunk-NPP5R7FF.js → chunk-PJX72ICF.js} +22 -18
- package/dist/chunk-PJX72ICF.js.map +1 -0
- package/dist/{chunk-U5O6GIWZ.js → chunk-POFYIGQ2.js} +3 -3
- package/dist/{chunk-35EBKWQU.js → chunk-QH47SQLD.js} +4 -4
- package/dist/{chunk-FZ6NYJ7L.js → chunk-QQRRKO7W.js} +11 -8
- package/dist/chunk-QQRRKO7W.js.map +1 -0
- package/dist/{chunk-HVQGCKY4.js → chunk-QVXZFJBU.js} +2 -2
- package/dist/{chunk-FMQJZH4R.js → chunk-RDB66EKD.js} +6 -6
- package/dist/{chunk-X56RTUK3.js → chunk-RJZQ2PVD.js} +3 -3
- package/dist/{chunk-SUFG5E73.js → chunk-RPRASGEY.js} +2 -2
- package/dist/{chunk-XWX7GL56.js → chunk-S2I5MYSA.js} +7 -10
- package/dist/chunk-S2I5MYSA.js.map +1 -0
- package/dist/{chunk-FFDNKRCY.js → chunk-S6PJ6ZKE.js} +2 -2
- package/dist/chunk-S6PJ6ZKE.js.map +1 -0
- package/dist/{chunk-JIUVJ4M7.js → chunk-S7PM7Z4K.js} +3 -3
- package/dist/{chunk-55LKVALY.js → chunk-T7IR4N2S.js} +1 -3
- package/dist/chunk-T7IR4N2S.js.map +1 -0
- package/dist/{chunk-N35NC4JH.js → chunk-TKBB62DN.js} +2 -2
- package/dist/{chunk-YPYHVOXP.js → chunk-UJ4Z67UQ.js} +2 -2
- package/dist/chunk-UJ4Z67UQ.js.map +1 -0
- package/dist/{chunk-7MNBICB5.js → chunk-W3HAIN6U.js} +16 -14
- package/dist/chunk-W3HAIN6U.js.map +1 -0
- package/dist/{chunk-4UVDI4XE.js → chunk-WPZ5FVAS.js} +4 -4
- package/dist/{chunk-MSWYQLMQ.js → chunk-XINT4VJA.js} +2 -2
- package/dist/{chunk-7G6VDWXB.js → chunk-XPEPMK4Y.js} +3 -3
- package/dist/chunk-XPEPMK4Y.js.map +1 -0
- package/dist/{chunk-W3TVWF6N.js → chunk-YCGLAANM.js} +2 -2
- package/dist/{chunk-O2ERS4UJ.js → chunk-YTUFV7U7.js} +80 -51
- package/dist/chunk-YTUFV7U7.js.map +1 -0
- package/dist/{chunk-FDX7OWWI.js → chunk-YYV53EHO.js} +2 -2
- package/dist/{chunk-HNGSV2YC.js → chunk-Z3BZXPRO.js} +67 -10
- package/dist/chunk-Z3BZXPRO.js.map +1 -0
- package/dist/{chunk-6NVPFKN3.js → chunk-ZIMQDXTQ.js} +92 -35
- package/dist/chunk-ZIMQDXTQ.js.map +1 -0
- package/dist/{chunk-5JY5TSVY.js → chunk-ZJUZOJVW.js} +25 -31
- package/dist/chunk-ZJUZOJVW.js.map +1 -0
- package/dist/{chunk-3IXIU6FP.js → chunk-ZY6P7M52.js} +7 -10
- package/dist/chunk-ZY6P7M52.js.map +1 -0
- package/dist/{chunk-H73G4XF4.js → chunk-ZYZJLYNS.js} +7 -11
- package/dist/chunk-ZYZJLYNS.js.map +1 -0
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-2KJAXRRO.js → classified-marker-AZDSDG6V.js} +3 -3
- package/dist/collection-facade-WSUAYFJ4.js +45 -0
- package/dist/{computed-6G5M3UPH.js → computed-VG2PCM4L.js} +3 -3
- package/dist/consent/index.js +10 -10
- package/dist/cover/index.js +10 -3
- package/dist/custody/index.js +12 -11
- package/dist/{dead-filter-DCB62VWW.js → dead-filter-JNQNB3TA.js} +2 -2
- package/dist/debug/index.js +1 -1
- package/dist/{delegation-MO7YZYJS.js → delegation-5F36DRDH.js} +24 -23
- package/dist/delegation-5F36DRDH.js.map +1 -0
- package/dist/derivations/index.js +12 -12
- package/dist/derive-MPOGZ4NR.js +22 -0
- package/dist/directory/index.js +10 -10
- package/dist/{dispatch-MJ6SHB3Y.js → dispatch-3ZA733EY.js} +18 -18
- package/dist/{dispatch-FZEAWKVM.js → dispatch-TNM5CRLZ.js} +9 -6
- package/dist/dispatch-TNM5CRLZ.js.map +1 -0
- package/dist/{enclave-JU4YIEPB.js → enclave-Y2ALNDRD.js} +31 -9
- package/dist/executor-BBEEUFO3.js +9 -0
- package/dist/executor-G6G3YEWR.js +9 -0
- package/dist/executor-ZUTUMTPA.js +29 -0
- package/dist/export-accessible-S3KEB763.js +23 -0
- package/dist/extract-partition-KVCTSUVE.js +38 -0
- package/dist/{fanout-sidecar-NNAJQXMX.js → fanout-sidecar-3QZU7ZZX.js} +18 -27
- package/dist/fanout-sidecar-3QZU7ZZX.js.map +1 -0
- package/dist/find-V4FN5ITT.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +7 -7
- package/dist/history/index.js +23 -20
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +30 -13
- package/dist/index.js +180 -188
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +4 -4
- package/dist/introspection/index.js +11 -11
- package/dist/issue-5CFBWBRX.js +19 -0
- package/dist/kernel/collection.d.ts +8 -2
- package/dist/kernel/constants.d.ts +36 -0
- package/dist/kernel/enclave/crypto.d.ts +52 -4
- package/dist/kernel/enclave/index.d.ts +10 -3
- package/dist/kernel/enclave/record-aad.d.ts +131 -0
- package/dist/kernel/enclave/record-envelope.d.ts +76 -0
- package/dist/kernel/enclave/record-keys/envelope-body.d.ts +34 -2
- package/dist/kernel/enclave/record-keys/lifecycle.d.ts +22 -5
- package/dist/kernel/enclave/record-keys/record-codec.d.ts +47 -14
- package/dist/kernel/enclave/record-keys/rekey-blob.d.ts +88 -0
- package/dist/kernel/enclave/record-keys/rekey.d.ts +91 -0
- package/dist/kernel/enclave/record-keys/tombstone.d.ts +3 -2
- package/dist/kernel/errors.d.ts +132 -12
- package/dist/kernel/merge-authority.d.ts +25 -0
- package/dist/kernel/noydb.d.ts +27 -4
- package/dist/kernel/query/builder.d.ts +51 -4
- package/dist/kernel/query/join.d.ts +27 -0
- package/dist/kernel/query/live.d.ts +31 -9
- package/dist/kernel/query/predicate.d.ts +9 -0
- package/dist/kernel/refs.d.ts +3 -1
- package/dist/kernel/sync-policy.d.ts +0 -2
- package/dist/kernel/tier-visibility.d.ts +34 -0
- package/dist/kernel/types.d.ts +111 -13
- package/dist/kernel/vault.d.ts +14 -8
- package/dist/kernel/via/index.d.ts +11 -2
- package/dist/kernel/via/reconcile.d.ts +12 -0
- package/dist/{ledger-AETNF4OM.js → ledger-MQIIOTZB.js} +11 -11
- package/dist/liberate-LW7OKVBH.js +25 -0
- package/dist/{link-set-E5HNY67I.js → link-set-5PJBBR63.js} +11 -11
- package/dist/{managed-secret-CWQ6PND5.js → managed-secret-ETDG6AAE.js} +11 -3
- package/dist/materialized-views/index.js +24 -24
- package/dist/migrate-cek-V3VDRV24.js +19 -0
- package/dist/migrate-cek-V3VDRV24.js.map +1 -0
- package/dist/money/index.js +5 -5
- package/dist/noydb-LFDRMYZ5.js +85 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +18 -12
- package/dist/pod/index.js +79 -89
- package/dist/pod-handle-AZ3CXY5Y.js +41 -0
- package/dist/pod-handle-AZ3CXY5Y.js.map +1 -0
- package/dist/policy/index.js +11 -4
- package/dist/port/to/index.d.ts +4 -4
- package/dist/port/to/locator.d.ts +54 -8
- package/dist/port/with/i18n-strategy.d.ts +4 -1
- package/dist/port/with/lookup-strategy.d.ts +4 -1
- package/dist/port/with/merge-authority.d.ts +52 -0
- package/dist/port/with/service-bus.d.ts +0 -4
- package/dist/port/with/strategies.d.ts +2 -0
- package/dist/port/with/team-strategy.d.ts +5 -1
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-2XSSMGEQ.js → post-register-QCJYRMIK.js} +6 -6
- package/dist/query/index.js +6 -6
- package/dist/reduce/index.js +6 -6
- package/dist/register-JBOEHTVX.js +32 -0
- package/dist/registry-5DYHQFJS.js +9 -0
- package/dist/registry-EANV44W2.js +9 -0
- package/dist/registry-J25H6VB4.js +19 -0
- package/dist/registry-R23SQUQH.js +18 -0
- package/dist/request-withdrawal-KQ4W4UT5.js +31 -0
- package/dist/{reveal-BW36KCOQ.js → reveal-W7BKZSUP.js} +6 -6
- package/dist/revoke-H3VSTAIE.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +20 -13
- package/dist/sealed-record/index.js.map +1 -1
- package/dist/search/index.js +4 -4
- package/dist/{seed-GDV5PT4R.js → seed-55FPOMYP.js} +20 -22
- package/dist/seed-55FPOMYP.js.map +1 -0
- package/dist/sequence/index.js +9 -9
- package/dist/session/index.js +10 -10
- package/dist/shadow/index.js +2 -2
- package/dist/share-link/index.js +1 -1
- package/dist/signer-53AQ3BU2.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/snapshots/index.js.map +1 -1
- package/dist/{stale-ARHFVL5U.js → stale-TH7SSVRV.js} +10 -10
- package/dist/storage-WSF7ZKTL.js +23 -0
- package/dist/{store-coordination-provider-GFCUOBR6.js → store-coordination-provider-R27VRD6K.js} +18 -12
- package/dist/store-coordination-provider-R27VRD6K.js.map +1 -0
- package/dist/sync/index.js +11 -11
- package/dist/team/index.js +15 -14
- package/dist/tiers/index.js +11 -10
- package/dist/to/index.js +17 -9
- package/dist/to/index.js.map +1 -1
- package/dist/transactions/index.js +4 -4
- package/dist/{ulid-PTAIMDG4.js → ulid-VQW6ERQN.js} +2 -2
- package/dist/util/index.js +1 -1
- package/dist/vault-head/index.js +115 -0
- package/dist/vault-head/index.js.map +1 -0
- package/dist/{verify-RO5RTZOJ.js → verify-M5LQH43C.js} +5 -5
- package/dist/via/blob/index.d.ts +3 -0
- package/dist/via/lookup/handle.d.ts +4 -1
- package/dist/walk-NABCHDZN.js +21 -0
- package/dist/with-audit/periods/index.d.ts +3 -3
- package/dist/with-audit/periods/periods.d.ts +82 -2
- package/dist/with-audit/periods/strategy.d.ts +1 -1
- package/dist/with-audit/periods/vault-facade.d.ts +54 -1
- package/dist/with-audit/periods/window.d.ts +10 -0
- package/dist/with-audit/sealed-record/index.d.ts +13 -0
- package/dist/with-audit/tiers/index.d.ts +17 -2
- package/dist/with-cargo/adopt-partition.d.ts +1 -1
- package/dist/with-cargo/extract-partition.d.ts +1 -1
- package/dist/with-cargo/index.d.ts +1 -1
- package/dist/with-commit/history/history.d.ts +26 -0
- package/dist/with-commit/history/index.d.ts +2 -1
- package/dist/with-commit/history/ledger/store.d.ts +7 -1
- package/dist/with-commit/history/strategy.d.ts +11 -1
- package/dist/with-commit/numbering/index.d.ts +0 -5
- package/dist/with-commit/vault-head/active.d.ts +2 -0
- package/dist/with-commit/vault-head/head.d.ts +28 -0
- package/dist/with-commit/vault-head/index.d.ts +10 -0
- package/dist/with-commit/vault-head/strategy.d.ts +127 -0
- package/dist/with-commit/vault-head/verify.d.ts +90 -0
- package/dist/with-formula/materialized-views/dependency-analyzer.d.ts +4 -0
- package/dist/with-formula/materialized-views/projection-legs.d.ts +59 -0
- package/dist/with-formula/materialized-views/registry.d.ts +50 -0
- package/dist/with-formula/materialized-views/types.d.ts +68 -10
- package/dist/with-party/directory/cover/storage.d.ts +0 -8
- package/dist/with-party/directory/storage.d.ts +0 -11
- package/dist/with-party/directory/visibility.d.ts +0 -21
- package/dist/with-party/policy/storage.d.ts +0 -10
- package/dist/with-party/team/index.d.ts +1 -1
- package/dist/with-party/team/keyring.d.ts +139 -2
- package/dist/with-party/team/noydb-facade.d.ts +5 -1
- package/dist/with-party/team/roster-tag.d.ts +101 -0
- package/dist/with-party/team/tiers.d.ts +2 -1
- package/dist/with-pod/format.d.ts +10 -12
- package/dist/with-pod/index.d.ts +10 -10
- package/dist/with-pod/open.d.ts +2 -2
- package/dist/with-pod/pod-handle.d.ts +19 -0
- package/dist/with-pod/pod-store.d.ts +0 -8
- package/dist/with-pod/{bundle.d.ts → pod.d.ts} +11 -19
- package/dist/with-pod/ulid.d.ts +1 -1
- package/dist/with-shape/blobs/blob-compaction.d.ts +13 -0
- package/dist/with-shape/blobs/blob-set.d.ts +83 -11
- package/dist/with-shape/blobs/orphan-report.d.ts +62 -0
- package/dist/with-shape/introspection/index.d.ts +1 -0
- package/dist/with-sync/engine.d.ts +54 -5
- package/dist/with-sync/strategy.d.ts +3 -0
- package/dist/withdraw-accessible-VCINIG6V.js +28 -0
- package/package.json +10 -4
- package/dist/api-RXUMEKT3.js +0 -20
- package/dist/backup-KULFZ2T4.js.map +0 -1
- package/dist/bundle-handle-GFNHT52M.js +0 -36
- package/dist/bundle-handle-GFNHT52M.js.map +0 -1
- package/dist/chunk-2DHSSLOD.js.map +0 -1
- package/dist/chunk-3737A6EA.js.map +0 -1
- package/dist/chunk-3IXIU6FP.js.map +0 -1
- package/dist/chunk-3URQC7EH.js.map +0 -1
- package/dist/chunk-4GZ6XOVW.js.map +0 -1
- package/dist/chunk-4I72F5DF.js.map +0 -1
- package/dist/chunk-4VUPLMZ6.js.map +0 -1
- package/dist/chunk-52JPHN5N.js.map +0 -1
- package/dist/chunk-55LKVALY.js.map +0 -1
- package/dist/chunk-5JY5TSVY.js.map +0 -1
- package/dist/chunk-5ZKS6ZE2.js.map +0 -1
- package/dist/chunk-6BU3L4UE.js.map +0 -1
- package/dist/chunk-6NVPFKN3.js.map +0 -1
- package/dist/chunk-7F4DBNSP.js.map +0 -1
- package/dist/chunk-7G6VDWXB.js.map +0 -1
- package/dist/chunk-7H73RIE3.js +0 -45
- package/dist/chunk-7H73RIE3.js.map +0 -1
- package/dist/chunk-7MNBICB5.js.map +0 -1
- package/dist/chunk-AFHQATY4.js +0 -47
- package/dist/chunk-AFHQATY4.js.map +0 -1
- package/dist/chunk-AHLJSVRL.js.map +0 -1
- package/dist/chunk-BEFVYAR5.js.map +0 -1
- package/dist/chunk-CDB2HVQW.js.map +0 -1
- package/dist/chunk-CEJWMBXO.js.map +0 -1
- package/dist/chunk-E6427JU2.js.map +0 -1
- package/dist/chunk-FFDNKRCY.js.map +0 -1
- package/dist/chunk-FZ6NYJ7L.js.map +0 -1
- package/dist/chunk-G6S5VVHP.js.map +0 -1
- package/dist/chunk-GAG7QOVO.js.map +0 -1
- package/dist/chunk-H73G4XF4.js.map +0 -1
- package/dist/chunk-HNGSV2YC.js.map +0 -1
- package/dist/chunk-IGJCYUT5.js.map +0 -1
- package/dist/chunk-IMZLOJTK.js.map +0 -1
- package/dist/chunk-J7FM3RAU.js.map +0 -1
- package/dist/chunk-JJNOLSG5.js.map +0 -1
- package/dist/chunk-JRKZTEZZ.js.map +0 -1
- package/dist/chunk-JXIDGFKS.js.map +0 -1
- package/dist/chunk-NPP5R7FF.js.map +0 -1
- package/dist/chunk-O2ERS4UJ.js.map +0 -1
- package/dist/chunk-PDLLCOGD.js.map +0 -1
- package/dist/chunk-PL2GHSCM.js.map +0 -1
- package/dist/chunk-PNKHAKQ7.js.map +0 -1
- package/dist/chunk-PXCBVDFY.js.map +0 -1
- package/dist/chunk-Q6TEJXBX.js.map +0 -1
- package/dist/chunk-UHXCLPGC.js.map +0 -1
- package/dist/chunk-VCETL77O.js.map +0 -1
- package/dist/chunk-VZ3XFUQ7.js.map +0 -1
- package/dist/chunk-W77KZHCW.js.map +0 -1
- package/dist/chunk-WASHZV34.js.map +0 -1
- package/dist/chunk-WFUIE565.js.map +0 -1
- package/dist/chunk-WK5XUYYF.js.map +0 -1
- package/dist/chunk-XWX7GL56.js.map +0 -1
- package/dist/chunk-YPYHVOXP.js.map +0 -1
- package/dist/chunk-ZJADGNYF.js.map +0 -1
- package/dist/collection-facade-QEJIM6BC.js +0 -45
- package/dist/delegation-MO7YZYJS.js.map +0 -1
- package/dist/derive-IUA6JFLB.js +0 -22
- package/dist/dispatch-FZEAWKVM.js.map +0 -1
- package/dist/executor-CYJQLKKI.js +0 -9
- package/dist/executor-S4QIKEHW.js +0 -9
- package/dist/executor-YIQB2S6N.js +0 -29
- package/dist/export-accessible-4S36PQNR.js +0 -23
- package/dist/extract-partition-IO7FDZ2P.js +0 -38
- package/dist/fanout-sidecar-NNAJQXMX.js.map +0 -1
- package/dist/find-RBBYKXI7.js +0 -11
- package/dist/issue-RIVHSY2S.js +0 -19
- package/dist/liberate-GFN4C7RR.js +0 -24
- package/dist/noydb-3MT74MZS.js +0 -83
- package/dist/register-4EFJCVYD.js +0 -32
- package/dist/registry-4SDHHOJ7.js +0 -18
- package/dist/registry-CZVINVQH.js +0 -9
- package/dist/registry-IKUR2MXD.js +0 -9
- package/dist/registry-OYTFGWVK.js +0 -19
- package/dist/request-withdrawal-KGXGDPVQ.js +0 -31
- package/dist/revoke-JFN773KF.js +0 -24
- package/dist/seed-GDV5PT4R.js.map +0 -1
- package/dist/signer-TA55QB6R.js +0 -25
- package/dist/storage-V7MTFAQJ.js +0 -23
- package/dist/store-coordination-provider-GFCUOBR6.js.map +0 -1
- package/dist/walk-3ZECBFDA.js +0 -21
- package/dist/with-pod/bundle-handle.d.ts +0 -9
- package/dist/withdraw-accessible-7PG4DYQK.js +0 -28
- /package/dist/{api-RXUMEKT3.js.map → api-6X2VLZ7J.js.map} +0 -0
- /package/dist/{chunk-KUDZVJKQ.js.map → chunk-22GR3O4J.js.map} +0 -0
- /package/dist/{chunk-CCZJJ4I2.js.map → chunk-2CBFYXJX.js.map} +0 -0
- /package/dist/{chunk-FAXZQ5UF.js.map → chunk-323MN67Z.js.map} +0 -0
- /package/dist/{chunk-VMCCGUQB.js.map → chunk-36CEG6CM.js.map} +0 -0
- /package/dist/{chunk-747LRSOO.js.map → chunk-4K6BIMLF.js.map} +0 -0
- /package/dist/{chunk-FNSMZQS4.js.map → chunk-5IHGJHWC.js.map} +0 -0
- /package/dist/{chunk-7TSYBD3E.js.map → chunk-65JXA63J.js.map} +0 -0
- /package/dist/{chunk-Z45YRGFO.js.map → chunk-6NR36UNB.js.map} +0 -0
- /package/dist/{chunk-3JVXVJ7L.js.map → chunk-7OBIBPCV.js.map} +0 -0
- /package/dist/{chunk-AR2JDFAE.js.map → chunk-7Q3RHOA5.js.map} +0 -0
- /package/dist/{chunk-QULVCV3M.js.map → chunk-AJGGBXWA.js.map} +0 -0
- /package/dist/{chunk-CADUYBQD.js.map → chunk-ATL3ZVXT.js.map} +0 -0
- /package/dist/{chunk-DMQCLZ4Z.js.map → chunk-ATY3ZASK.js.map} +0 -0
- /package/dist/{chunk-4HDYQL3J.js.map → chunk-B4CRUZPR.js.map} +0 -0
- /package/dist/{chunk-6SAFL5YE.js.map → chunk-BZ3WMOYX.js.map} +0 -0
- /package/dist/{chunk-HXGUIPQB.js.map → chunk-CKKN25P2.js.map} +0 -0
- /package/dist/{chunk-6HFM7EIT.js.map → chunk-EHRIDNZX.js.map} +0 -0
- /package/dist/{chunk-RTAMLDWP.js.map → chunk-FU5VYEYK.js.map} +0 -0
- /package/dist/{chunk-RXYYFSBB.js.map → chunk-GKTW3KLV.js.map} +0 -0
- /package/dist/{chunk-OF3L2SD6.js.map → chunk-HOPNIR5R.js.map} +0 -0
- /package/dist/{chunk-ADW22QSB.js.map → chunk-HWI7GHJZ.js.map} +0 -0
- /package/dist/{chunk-GQ3BX5EA.js.map → chunk-I3ISCYT7.js.map} +0 -0
- /package/dist/{chunk-NJDQ4YSV.js.map → chunk-IWQPYT6S.js.map} +0 -0
- /package/dist/{chunk-2Z3NCLNX.js.map → chunk-JHYKSMVX.js.map} +0 -0
- /package/dist/{chunk-6FJWSWFT.js.map → chunk-JIHWBKMQ.js.map} +0 -0
- /package/dist/{chunk-YAWK6AWF.js.map → chunk-JKATP6OE.js.map} +0 -0
- /package/dist/{chunk-DG27IUVI.js.map → chunk-LC6NE4IQ.js.map} +0 -0
- /package/dist/{chunk-VJFMXYKP.js.map → chunk-MPKP6L5E.js.map} +0 -0
- /package/dist/{chunk-FUHKW252.js.map → chunk-OCJ3JA4O.js.map} +0 -0
- /package/dist/{chunk-WLYIROCJ.js.map → chunk-OQMCFHUX.js.map} +0 -0
- /package/dist/{chunk-JRCYZEHU.js.map → chunk-OR2FYRYR.js.map} +0 -0
- /package/dist/{chunk-HNHCQ556.js.map → chunk-PFWE7FJG.js.map} +0 -0
- /package/dist/{chunk-U5O6GIWZ.js.map → chunk-POFYIGQ2.js.map} +0 -0
- /package/dist/{chunk-35EBKWQU.js.map → chunk-QH47SQLD.js.map} +0 -0
- /package/dist/{chunk-HVQGCKY4.js.map → chunk-QVXZFJBU.js.map} +0 -0
- /package/dist/{chunk-FMQJZH4R.js.map → chunk-RDB66EKD.js.map} +0 -0
- /package/dist/{chunk-X56RTUK3.js.map → chunk-RJZQ2PVD.js.map} +0 -0
- /package/dist/{chunk-SUFG5E73.js.map → chunk-RPRASGEY.js.map} +0 -0
- /package/dist/{chunk-JIUVJ4M7.js.map → chunk-S7PM7Z4K.js.map} +0 -0
- /package/dist/{chunk-N35NC4JH.js.map → chunk-TKBB62DN.js.map} +0 -0
- /package/dist/{chunk-4UVDI4XE.js.map → chunk-WPZ5FVAS.js.map} +0 -0
- /package/dist/{chunk-MSWYQLMQ.js.map → chunk-XINT4VJA.js.map} +0 -0
- /package/dist/{chunk-W3TVWF6N.js.map → chunk-YCGLAANM.js.map} +0 -0
- /package/dist/{chunk-FDX7OWWI.js.map → chunk-YYV53EHO.js.map} +0 -0
- /package/dist/{classified-marker-2KJAXRRO.js.map → classified-marker-AZDSDG6V.js.map} +0 -0
- /package/dist/{collection-facade-QEJIM6BC.js.map → collection-facade-WSUAYFJ4.js.map} +0 -0
- /package/dist/{computed-6G5M3UPH.js.map → computed-VG2PCM4L.js.map} +0 -0
- /package/dist/{dead-filter-DCB62VWW.js.map → dead-filter-JNQNB3TA.js.map} +0 -0
- /package/dist/{derive-IUA6JFLB.js.map → derive-MPOGZ4NR.js.map} +0 -0
- /package/dist/{dispatch-MJ6SHB3Y.js.map → dispatch-3ZA733EY.js.map} +0 -0
- /package/dist/{enclave-JU4YIEPB.js.map → enclave-Y2ALNDRD.js.map} +0 -0
- /package/dist/{executor-CYJQLKKI.js.map → executor-BBEEUFO3.js.map} +0 -0
- /package/dist/{executor-S4QIKEHW.js.map → executor-G6G3YEWR.js.map} +0 -0
- /package/dist/{executor-YIQB2S6N.js.map → executor-ZUTUMTPA.js.map} +0 -0
- /package/dist/{export-accessible-4S36PQNR.js.map → export-accessible-S3KEB763.js.map} +0 -0
- /package/dist/{extract-partition-IO7FDZ2P.js.map → extract-partition-KVCTSUVE.js.map} +0 -0
- /package/dist/{find-RBBYKXI7.js.map → find-V4FN5ITT.js.map} +0 -0
- /package/dist/{issue-RIVHSY2S.js.map → issue-5CFBWBRX.js.map} +0 -0
- /package/dist/{ledger-AETNF4OM.js.map → ledger-MQIIOTZB.js.map} +0 -0
- /package/dist/{liberate-GFN4C7RR.js.map → liberate-LW7OKVBH.js.map} +0 -0
- /package/dist/{link-set-E5HNY67I.js.map → link-set-5PJBBR63.js.map} +0 -0
- /package/dist/{managed-secret-CWQ6PND5.js.map → managed-secret-ETDG6AAE.js.map} +0 -0
- /package/dist/{noydb-3MT74MZS.js.map → noydb-LFDRMYZ5.js.map} +0 -0
- /package/dist/{post-register-2XSSMGEQ.js.map → post-register-QCJYRMIK.js.map} +0 -0
- /package/dist/{register-4EFJCVYD.js.map → register-JBOEHTVX.js.map} +0 -0
- /package/dist/{registry-4SDHHOJ7.js.map → registry-5DYHQFJS.js.map} +0 -0
- /package/dist/{registry-CZVINVQH.js.map → registry-EANV44W2.js.map} +0 -0
- /package/dist/{registry-IKUR2MXD.js.map → registry-J25H6VB4.js.map} +0 -0
- /package/dist/{registry-OYTFGWVK.js.map → registry-R23SQUQH.js.map} +0 -0
- /package/dist/{request-withdrawal-KGXGDPVQ.js.map → request-withdrawal-KQ4W4UT5.js.map} +0 -0
- /package/dist/{reveal-BW36KCOQ.js.map → reveal-W7BKZSUP.js.map} +0 -0
- /package/dist/{revoke-JFN773KF.js.map → revoke-H3VSTAIE.js.map} +0 -0
- /package/dist/{signer-TA55QB6R.js.map → signer-53AQ3BU2.js.map} +0 -0
- /package/dist/{stale-ARHFVL5U.js.map → stale-TH7SSVRV.js.map} +0 -0
- /package/dist/{storage-V7MTFAQJ.js.map → storage-WSF7ZKTL.js.map} +0 -0
- /package/dist/{ulid-PTAIMDG4.js.map → ulid-VQW6ERQN.js.map} +0 -0
- /package/dist/{verify-RO5RTZOJ.js.map → verify-M5LQH43C.js.map} +0 -0
- /package/dist/{walk-3ZECBFDA.js.map → walk-NABCHDZN.js.map} +0 -0
- /package/dist/{withdraw-accessible-7PG4DYQK.js.map → withdraw-accessible-VCINIG6V.js.map} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
|
-
import {
|
|
2
|
-
persistSchemaIfNeeded
|
|
3
|
-
} from "./chunk-2Z3NCLNX.js";
|
|
4
1
|
import {
|
|
5
2
|
LinkEndpointError
|
|
6
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-3OE2QNSM.js";
|
|
4
|
+
import {
|
|
5
|
+
persistSchemaIfNeeded
|
|
6
|
+
} from "./chunk-JHYKSMVX.js";
|
|
7
7
|
import {
|
|
8
8
|
ComputedFieldError,
|
|
9
9
|
evalComputedFields
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-36CEG6CM.js";
|
|
11
11
|
import {
|
|
12
12
|
WithdrawalRequestError,
|
|
13
13
|
approveWithdrawal,
|
|
14
14
|
listWithdrawalRequests,
|
|
15
15
|
rejectWithdrawal,
|
|
16
16
|
requestWithdrawal
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-5LZZQMIC.js";
|
|
18
|
+
import {
|
|
19
|
+
applyListProjection
|
|
20
|
+
} from "./chunk-VG2ZSFYD.js";
|
|
18
21
|
import {
|
|
19
22
|
allocate,
|
|
20
23
|
asMoney,
|
|
21
24
|
isMoneyString,
|
|
22
25
|
moneyNumber,
|
|
23
26
|
mulRate
|
|
24
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TKBB62DN.js";
|
|
25
28
|
import {
|
|
26
29
|
COVER_FIELDS,
|
|
27
30
|
DEFAULT_COVER_SCHEMA,
|
|
@@ -32,7 +35,7 @@ import {
|
|
|
32
35
|
blindUpdate,
|
|
33
36
|
coordinatedCutover,
|
|
34
37
|
lockSchema
|
|
35
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-ATY3ZASK.js";
|
|
36
39
|
import "./chunk-ZVF37PKE.js";
|
|
37
40
|
import {
|
|
38
41
|
DEFAULT_FRESHNESS_MS,
|
|
@@ -41,33 +44,33 @@ import {
|
|
|
41
44
|
checkGate,
|
|
42
45
|
describeGate,
|
|
43
46
|
mergePolicy
|
|
44
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-POFYIGQ2.js";
|
|
45
48
|
import "./chunk-GJW4HX2O.js";
|
|
46
49
|
import {
|
|
47
50
|
UserApi
|
|
48
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-JIHWBKMQ.js";
|
|
49
52
|
import {
|
|
50
53
|
classified,
|
|
51
54
|
luhnCheck
|
|
52
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-RDB66EKD.js";
|
|
53
56
|
import {
|
|
54
57
|
decryptExtractedPartition,
|
|
55
58
|
diffVault,
|
|
56
59
|
withCargo
|
|
57
|
-
} from "./chunk-
|
|
58
|
-
import "./chunk-
|
|
60
|
+
} from "./chunk-BMU2DS3S.js";
|
|
61
|
+
import "./chunk-5F7BZAGV.js";
|
|
59
62
|
import {
|
|
60
63
|
createDeedOwner,
|
|
61
64
|
isDeedVault,
|
|
62
65
|
liberateVault,
|
|
63
66
|
loadDeedMarker
|
|
64
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-PJX72ICF.js";
|
|
65
68
|
import {
|
|
66
69
|
withdrawAccessibleData
|
|
67
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-QQRRKO7W.js";
|
|
68
71
|
import {
|
|
69
72
|
exportAccessibleData
|
|
70
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-S6PJ6ZKE.js";
|
|
71
74
|
import {
|
|
72
75
|
routeStore,
|
|
73
76
|
withCache,
|
|
@@ -78,21 +81,18 @@ import {
|
|
|
78
81
|
withRetry,
|
|
79
82
|
wrapStore
|
|
80
83
|
} from "./chunk-EIPVYUEP.js";
|
|
81
|
-
import {
|
|
82
|
-
applyListProjection
|
|
83
|
-
} from "./chunk-VG2ZSFYD.js";
|
|
84
84
|
import {
|
|
85
85
|
withDerivation,
|
|
86
86
|
withRollup
|
|
87
|
-
} from "./chunk-
|
|
88
|
-
import "./chunk-
|
|
89
|
-
import "./chunk-
|
|
87
|
+
} from "./chunk-EHRIDNZX.js";
|
|
88
|
+
import "./chunk-IWQPYT6S.js";
|
|
89
|
+
import "./chunk-JKATP6OE.js";
|
|
90
90
|
import {
|
|
91
91
|
withMaterializedView
|
|
92
|
-
} from "./chunk-
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
95
|
-
import "./chunk-
|
|
92
|
+
} from "./chunk-5OT4G5N5.js";
|
|
93
|
+
import "./chunk-64WHKBMP.js";
|
|
94
|
+
import "./chunk-EQOTJL76.js";
|
|
95
|
+
import "./chunk-GANFIM2M.js";
|
|
96
96
|
import {
|
|
97
97
|
MoneyCurrencyError,
|
|
98
98
|
MoneyPrecisionError,
|
|
@@ -101,73 +101,27 @@ import {
|
|
|
101
101
|
isMoneyDescriptor,
|
|
102
102
|
money,
|
|
103
103
|
scaleForCurrency
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-GKTW3KLV.js";
|
|
105
105
|
import {
|
|
106
106
|
withOverlayedView
|
|
107
|
-
} from "./chunk-
|
|
108
|
-
import "./chunk-
|
|
107
|
+
} from "./chunk-YYV53EHO.js";
|
|
108
|
+
import "./chunk-5IHGJHWC.js";
|
|
109
109
|
import {
|
|
110
110
|
PresenceHandle,
|
|
111
111
|
SyncEngine,
|
|
112
112
|
SyncTransaction
|
|
113
|
-
} from "./chunk-
|
|
113
|
+
} from "./chunk-4ATF4BLF.js";
|
|
114
114
|
import {
|
|
115
115
|
isDiscriminant
|
|
116
116
|
} from "./chunk-PY4KJPYU.js";
|
|
117
117
|
import {
|
|
118
|
-
CONSENT_AUDIT_COLLECTION
|
|
119
|
-
} from "./chunk-VZ3XFUQ7.js";
|
|
120
|
-
import {
|
|
121
|
-
immutableGuard,
|
|
122
|
-
transitionGuard,
|
|
123
|
-
withGuard
|
|
124
|
-
} from "./chunk-RTAMLDWP.js";
|
|
125
|
-
import "./chunk-WLYIROCJ.js";
|
|
126
|
-
import "./chunk-KUDZVJKQ.js";
|
|
127
|
-
import "./chunk-JK733I5V.js";
|
|
128
|
-
import {
|
|
129
|
-
CollectionFrame,
|
|
130
|
-
VaultFrame
|
|
131
|
-
} from "./chunk-JRCYZEHU.js";
|
|
132
|
-
import {
|
|
133
|
-
importExternalObjects,
|
|
134
|
-
memoryObjectProjection
|
|
135
|
-
} from "./chunk-4Q6HSHHL.js";
|
|
136
|
-
import {
|
|
137
|
-
BLOB_CHUNKS_COLLECTION,
|
|
138
|
-
BLOB_COLLECTION,
|
|
139
|
-
BLOB_INDEX_COLLECTION,
|
|
140
|
-
BLOB_INTENT_COLLECTION,
|
|
141
|
-
BLOB_SLOTS_PREFIX,
|
|
142
|
-
BLOB_VERSIONS_PREFIX,
|
|
143
|
-
BlobSet,
|
|
144
|
-
DEFAULT_CHUNK_SIZE,
|
|
145
|
-
createIntent,
|
|
146
|
-
deleteIntent,
|
|
147
|
-
detectMagic,
|
|
148
|
-
detectMimeType,
|
|
149
|
-
getIntent,
|
|
150
|
-
isPreCompressed,
|
|
151
|
-
sweepBlobIntents
|
|
152
|
-
} from "./chunk-PL2GHSCM.js";
|
|
153
|
-
import {
|
|
154
|
-
withLazy
|
|
155
|
-
} from "./chunk-THNJ3IKU.js";
|
|
156
|
-
import "./chunk-CCZJJ4I2.js";
|
|
157
|
-
import {
|
|
158
|
-
mergeCrdtStates,
|
|
159
|
-
resolveCrdtSnapshot
|
|
160
|
-
} from "./chunk-4GPE63GU.js";
|
|
161
|
-
import {
|
|
162
|
-
createBundleStore,
|
|
163
118
|
createPodStore,
|
|
164
119
|
followRedirects,
|
|
165
120
|
open,
|
|
166
121
|
signRedirect,
|
|
167
122
|
verifyRedirect,
|
|
168
|
-
wrapBundleStore,
|
|
169
123
|
wrapPodStore
|
|
170
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-ZYZJLYNS.js";
|
|
171
125
|
import {
|
|
172
126
|
Collection,
|
|
173
127
|
ELEVATION_AUDIT_COLLECTION,
|
|
@@ -186,88 +140,107 @@ import {
|
|
|
186
140
|
refArray,
|
|
187
141
|
via,
|
|
188
142
|
withArchive
|
|
189
|
-
} from "./chunk-
|
|
190
|
-
import
|
|
191
|
-
|
|
143
|
+
} from "./chunk-JYPRZWCZ.js";
|
|
144
|
+
import {
|
|
145
|
+
LinkIntegrityError,
|
|
146
|
+
isLinkCollectionName
|
|
147
|
+
} from "./chunk-PFWE7FJG.js";
|
|
148
|
+
import "./chunk-QVXZFJBU.js";
|
|
149
|
+
import "./chunk-B4CRUZPR.js";
|
|
192
150
|
import {
|
|
193
151
|
deriveSchemaManifest,
|
|
194
152
|
loadSchemaManifestEntry
|
|
195
|
-
} from "./chunk-
|
|
153
|
+
} from "./chunk-DECNV4QK.js";
|
|
196
154
|
import {
|
|
197
155
|
MANIFEST_COLLECTION,
|
|
198
156
|
isManifestReservedCollection
|
|
199
157
|
} from "./chunk-EPFF7LOX.js";
|
|
200
|
-
import
|
|
201
|
-
LinkIntegrityError,
|
|
202
|
-
isLinkCollectionName
|
|
203
|
-
} from "./chunk-HNHCQ556.js";
|
|
158
|
+
import "./chunk-M7WBE3OR.js";
|
|
204
159
|
import "./chunk-GYGLAVCX.js";
|
|
205
|
-
import "./chunk-
|
|
206
|
-
import "./chunk-
|
|
160
|
+
import "./chunk-DNKVKO7K.js";
|
|
161
|
+
import "./chunk-KHKKD62N.js";
|
|
162
|
+
import {
|
|
163
|
+
derivePersistedSchema,
|
|
164
|
+
isZodSchema
|
|
165
|
+
} from "./chunk-6NR36UNB.js";
|
|
207
166
|
import "./chunk-6LJY7X5A.js";
|
|
167
|
+
import "./chunk-Y2NBBT6K.js";
|
|
168
|
+
import "./chunk-MPKP6L5E.js";
|
|
208
169
|
import {
|
|
209
170
|
ClassifiedNeverStoredError,
|
|
210
171
|
ClassifiedValidationError,
|
|
211
172
|
isClassifiedFieldSpec,
|
|
212
173
|
isClassifiedGroup,
|
|
213
174
|
resolveClassifiedFields
|
|
214
|
-
} from "./chunk-
|
|
215
|
-
import "./chunk-
|
|
216
|
-
import "./chunk-
|
|
175
|
+
} from "./chunk-AJGGBXWA.js";
|
|
176
|
+
import "./chunk-ZIMQDXTQ.js";
|
|
177
|
+
import "./chunk-OCJ3JA4O.js";
|
|
217
178
|
import {
|
|
218
179
|
NO_CARGO
|
|
219
|
-
} from "./chunk-
|
|
180
|
+
} from "./chunk-LC6NE4IQ.js";
|
|
220
181
|
import {
|
|
221
182
|
MemoryRecipientSealer,
|
|
222
183
|
MemorySealingKeyProvider,
|
|
223
184
|
aesGcmOpen,
|
|
224
185
|
parseRsaOaepTlv,
|
|
225
186
|
sealRsaOaepTlv
|
|
226
|
-
} from "./chunk-
|
|
227
|
-
import "./chunk-KHKKD62N.js";
|
|
228
|
-
import {
|
|
229
|
-
derivePersistedSchema,
|
|
230
|
-
isZodSchema
|
|
231
|
-
} from "./chunk-Z45YRGFO.js";
|
|
232
|
-
import "./chunk-Y2NBBT6K.js";
|
|
187
|
+
} from "./chunk-S2I5MYSA.js";
|
|
233
188
|
import {
|
|
234
189
|
SCHEMAS_COLLECTION,
|
|
235
190
|
loadPersistedSchema,
|
|
236
191
|
savePersistedSchema
|
|
237
|
-
} from "./chunk-
|
|
192
|
+
} from "./chunk-KM6ZXG7U.js";
|
|
193
|
+
import {
|
|
194
|
+
NO_SEQUENCE,
|
|
195
|
+
SequenceStore,
|
|
196
|
+
compileSequenceFormat,
|
|
197
|
+
resolveSequenceKey,
|
|
198
|
+
withSequence
|
|
199
|
+
} from "./chunk-W3HAIN6U.js";
|
|
238
200
|
import {
|
|
239
201
|
CustodyApi,
|
|
240
202
|
NO_CUSTODY,
|
|
241
203
|
withCustody
|
|
242
|
-
} from "./chunk-
|
|
243
|
-
import "./chunk-
|
|
204
|
+
} from "./chunk-HWI7GHJZ.js";
|
|
205
|
+
import "./chunk-65JXA63J.js";
|
|
244
206
|
import {
|
|
245
207
|
buildLookupSnapshot
|
|
246
|
-
} from "./chunk-
|
|
247
|
-
import "./chunk-
|
|
208
|
+
} from "./chunk-K6CPIK3R.js";
|
|
209
|
+
import "./chunk-HOPNIR5R.js";
|
|
248
210
|
import {
|
|
249
|
-
BUNDLE_STORE_POLICY,
|
|
250
211
|
INDEXED_STORE_POLICY,
|
|
251
212
|
POD_STORE_POLICY,
|
|
252
213
|
SyncScheduler
|
|
253
|
-
} from "./chunk-
|
|
254
|
-
import
|
|
214
|
+
} from "./chunk-T7IR4N2S.js";
|
|
215
|
+
import {
|
|
216
|
+
CONSENT_AUDIT_COLLECTION
|
|
217
|
+
} from "./chunk-LUYPYCHY.js";
|
|
255
218
|
import "./chunk-PEOZ34EM.js";
|
|
256
|
-
import "./chunk-
|
|
219
|
+
import "./chunk-5ATC6UT4.js";
|
|
257
220
|
import "./chunk-GHVIKOHT.js";
|
|
258
221
|
import {
|
|
259
222
|
PERIODS_COLLECTION
|
|
260
|
-
} from "./chunk-
|
|
223
|
+
} from "./chunk-5O5ZSW7N.js";
|
|
224
|
+
import {
|
|
225
|
+
immutableGuard,
|
|
226
|
+
transitionGuard,
|
|
227
|
+
withGuard
|
|
228
|
+
} from "./chunk-FU5VYEYK.js";
|
|
229
|
+
import "./chunk-JK733I5V.js";
|
|
230
|
+
import "./chunk-OQMCFHUX.js";
|
|
231
|
+
import "./chunk-22GR3O4J.js";
|
|
232
|
+
import {
|
|
233
|
+
CollectionFrame,
|
|
234
|
+
VaultFrame
|
|
235
|
+
} from "./chunk-OR2FYRYR.js";
|
|
261
236
|
import "./chunk-SMY5X46Z.js";
|
|
262
237
|
import "./chunk-DZFQVICS.js";
|
|
263
238
|
import {
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
239
|
+
NOYDB_POD_FORMAT_VERSION,
|
|
240
|
+
NOYDB_POD_MAGIC,
|
|
241
|
+
NOYDB_POD_PREFIX_BYTES,
|
|
267
242
|
POD_SIG_ALG,
|
|
268
|
-
|
|
269
|
-
readNoydbBundle,
|
|
270
|
-
readNoydbBundleHeader,
|
|
243
|
+
hasNoydbPodMagic,
|
|
271
244
|
readPod,
|
|
272
245
|
readPodCover,
|
|
273
246
|
readPodHeader,
|
|
@@ -276,9 +249,8 @@ import {
|
|
|
276
249
|
signedBytes,
|
|
277
250
|
verifyPodHeader,
|
|
278
251
|
verifyRecord,
|
|
279
|
-
writeNoydbBundle,
|
|
280
252
|
writePod
|
|
281
|
-
} from "./chunk-
|
|
253
|
+
} from "./chunk-GCU42IG7.js";
|
|
282
254
|
import {
|
|
283
255
|
COVER_RECORD_ID,
|
|
284
256
|
isCover,
|
|
@@ -286,69 +258,92 @@ import {
|
|
|
286
258
|
readCover,
|
|
287
259
|
saveCover,
|
|
288
260
|
validateCoverInput
|
|
289
|
-
} from "./chunk-
|
|
261
|
+
} from "./chunk-2ZT4INZ4.js";
|
|
290
262
|
import {
|
|
291
263
|
TxCollection,
|
|
292
264
|
TxContext,
|
|
293
265
|
TxVault,
|
|
294
266
|
runTransaction
|
|
295
|
-
} from "./chunk-
|
|
267
|
+
} from "./chunk-QH47SQLD.js";
|
|
296
268
|
import "./chunk-5D2ALSM5.js";
|
|
297
269
|
import {
|
|
298
270
|
NO_SEARCH,
|
|
299
271
|
tokenize,
|
|
300
272
|
withSearch
|
|
301
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-7OBIBPCV.js";
|
|
302
274
|
import {
|
|
303
275
|
fuseRetrieval
|
|
304
276
|
} from "./chunk-AURFOK3D.js";
|
|
305
|
-
import
|
|
306
|
-
NO_SEQUENCE,
|
|
307
|
-
SequenceStore,
|
|
308
|
-
compileSequenceFormat,
|
|
309
|
-
resolveSequenceKey,
|
|
310
|
-
withSequence
|
|
311
|
-
} from "./chunk-7MNBICB5.js";
|
|
277
|
+
import "./chunk-323MN67Z.js";
|
|
312
278
|
import {
|
|
313
279
|
DEFAULT_CROSS_JOIN_MAX_ROWS,
|
|
314
280
|
Query,
|
|
315
281
|
ScanBuilder,
|
|
316
282
|
buildLiveQuery,
|
|
317
283
|
executePlan
|
|
318
|
-
} from "./chunk-
|
|
284
|
+
} from "./chunk-EHW7NLGD.js";
|
|
319
285
|
import {
|
|
320
286
|
DEFAULT_JOIN_MAX_ROWS,
|
|
321
287
|
applyJoins
|
|
322
|
-
} from "./chunk-
|
|
323
|
-
import
|
|
324
|
-
|
|
288
|
+
} from "./chunk-EV2TDHQZ.js";
|
|
289
|
+
import {
|
|
290
|
+
importExternalObjects,
|
|
291
|
+
memoryObjectProjection
|
|
292
|
+
} from "./chunk-4Q6HSHHL.js";
|
|
293
|
+
import "./chunk-LIR2DJWP.js";
|
|
294
|
+
import {
|
|
295
|
+
BLOB_CHUNKS_COLLECTION,
|
|
296
|
+
BLOB_COLLECTION,
|
|
297
|
+
BLOB_INDEX_COLLECTION,
|
|
298
|
+
BLOB_INTENT_COLLECTION,
|
|
299
|
+
BLOB_SLOTS_PREFIX,
|
|
300
|
+
BLOB_VERSIONS_PREFIX,
|
|
301
|
+
BlobSet,
|
|
302
|
+
DEFAULT_CHUNK_SIZE,
|
|
303
|
+
createIntent,
|
|
304
|
+
deleteIntent,
|
|
305
|
+
detectMagic,
|
|
306
|
+
detectMimeType,
|
|
307
|
+
getIntent,
|
|
308
|
+
isPreCompressed,
|
|
309
|
+
sweepBlobIntents
|
|
310
|
+
} from "./chunk-JMJSCI7U.js";
|
|
311
|
+
import "./chunk-S7PM7Z4K.js";
|
|
325
312
|
import {
|
|
326
313
|
CollectionIndexes
|
|
327
|
-
} from "./chunk-
|
|
314
|
+
} from "./chunk-I3ISCYT7.js";
|
|
315
|
+
import {
|
|
316
|
+
withLazy
|
|
317
|
+
} from "./chunk-THNJ3IKU.js";
|
|
328
318
|
import {
|
|
329
319
|
Lru,
|
|
330
320
|
estimateRecordBytes,
|
|
331
321
|
parseBytes
|
|
332
322
|
} from "./chunk-NO272T7Q.js";
|
|
323
|
+
import "./chunk-2CBFYXJX.js";
|
|
333
324
|
import "./chunk-XZHEOSQ2.js";
|
|
334
325
|
import "./chunk-YMUFFJCO.js";
|
|
335
|
-
import "./chunk-
|
|
326
|
+
import "./chunk-ATL3ZVXT.js";
|
|
336
327
|
import {
|
|
337
328
|
evaluateClause,
|
|
338
329
|
evaluateFieldClause,
|
|
339
330
|
readPath
|
|
340
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-NSITFOCJ.js";
|
|
332
|
+
import {
|
|
333
|
+
mergeCrdtStates,
|
|
334
|
+
resolveCrdtSnapshot
|
|
335
|
+
} from "./chunk-4GPE63GU.js";
|
|
341
336
|
import "./chunk-PVEWA2DU.js";
|
|
342
|
-
import "./chunk-
|
|
337
|
+
import "./chunk-RPRASGEY.js";
|
|
343
338
|
import {
|
|
344
339
|
dictKey,
|
|
345
340
|
staticDict
|
|
346
|
-
} from "./chunk-
|
|
341
|
+
} from "./chunk-XINT4VJA.js";
|
|
347
342
|
import {
|
|
348
343
|
DICT_COLLECTION_PREFIX,
|
|
349
344
|
LookupHandle,
|
|
350
345
|
dictCollectionName
|
|
351
|
-
} from "./chunk-
|
|
346
|
+
} from "./chunk-FNYCT27B.js";
|
|
352
347
|
import {
|
|
353
348
|
applyI18nLocale,
|
|
354
349
|
enforceScript,
|
|
@@ -363,15 +358,15 @@ import {
|
|
|
363
358
|
resolvePolicy,
|
|
364
359
|
setAtPathInPlace,
|
|
365
360
|
validateI18nTextValue
|
|
366
|
-
} from "./chunk-
|
|
361
|
+
} from "./chunk-XPEPMK4Y.js";
|
|
367
362
|
import {
|
|
368
363
|
installViaBinder
|
|
369
|
-
} from "./chunk-
|
|
364
|
+
} from "./chunk-C3XWJCG7.js";
|
|
370
365
|
import {
|
|
371
366
|
MemoryDeviceSealProvider,
|
|
372
367
|
beginEchoUnlock,
|
|
373
368
|
withTeam
|
|
374
|
-
} from "./chunk-
|
|
369
|
+
} from "./chunk-IWKCJCLP.js";
|
|
375
370
|
import {
|
|
376
371
|
MAGIC_LINK_GRANTS_COLLECTION,
|
|
377
372
|
NO_TEAM,
|
|
@@ -400,18 +395,19 @@ import {
|
|
|
400
395
|
unwrapDeksFromPaperEntry,
|
|
401
396
|
unwrapMagicLinkGrant,
|
|
402
397
|
writeMagicLinkGrant
|
|
403
|
-
} from "./chunk-
|
|
398
|
+
} from "./chunk-YTUFV7U7.js";
|
|
404
399
|
import {
|
|
405
400
|
META_COLLECTION,
|
|
406
401
|
POLICY_RECORD_ID,
|
|
407
402
|
loadVaultPolicy,
|
|
408
403
|
saveVaultPolicy
|
|
409
|
-
} from "./chunk-
|
|
404
|
+
} from "./chunk-ZY6P7M52.js";
|
|
410
405
|
import {
|
|
411
406
|
DEFAULT_ECHO_MIN_WORD_LENGTH,
|
|
412
407
|
DEFAULT_ECHO_PROMPT_MIN_WORDS,
|
|
413
408
|
SYNC_CREDENTIALS_COLLECTION,
|
|
414
409
|
WeakSecretError,
|
|
410
|
+
assertRosterAuthenticated,
|
|
415
411
|
assertStrongEchoSecret,
|
|
416
412
|
assertStrongSecret,
|
|
417
413
|
buildEchoBlock,
|
|
@@ -429,7 +425,7 @@ import {
|
|
|
429
425
|
validateSecret,
|
|
430
426
|
verifyPrompt,
|
|
431
427
|
verifyTypedEcho
|
|
432
|
-
} from "./chunk-
|
|
428
|
+
} from "./chunk-J6I5VR6P.js";
|
|
433
429
|
import {
|
|
434
430
|
DIRECTORY_RECORD_ID,
|
|
435
431
|
VISIBILITY_RECORD_PREFIX,
|
|
@@ -443,9 +439,9 @@ import {
|
|
|
443
439
|
readUserVisibility,
|
|
444
440
|
saveUserEnvelope,
|
|
445
441
|
visibilityRecordId
|
|
446
|
-
} from "./chunk-
|
|
447
|
-
import "./chunk-
|
|
448
|
-
import "./chunk-
|
|
442
|
+
} from "./chunk-ZJUZOJVW.js";
|
|
443
|
+
import "./chunk-3YGUHUJA.js";
|
|
444
|
+
import "./chunk-YCGLAANM.js";
|
|
449
445
|
import {
|
|
450
446
|
PolicyEnforcer,
|
|
451
447
|
activeSessionCount,
|
|
@@ -460,31 +456,30 @@ import {
|
|
|
460
456
|
revokeAllSessions,
|
|
461
457
|
revokeSession,
|
|
462
458
|
validateSessionPolicy
|
|
463
|
-
} from "./chunk-
|
|
459
|
+
} from "./chunk-WPZ5FVAS.js";
|
|
464
460
|
import "./chunk-VKQCVU2Z.js";
|
|
465
461
|
import {
|
|
466
462
|
generateULID,
|
|
467
463
|
isULID
|
|
468
|
-
} from "./chunk-
|
|
464
|
+
} from "./chunk-4AOERLTV.js";
|
|
469
465
|
import {
|
|
470
466
|
CollectionInstant,
|
|
471
467
|
VaultInstant
|
|
472
|
-
} from "./chunk-
|
|
468
|
+
} from "./chunk-D6SXRMZZ.js";
|
|
473
469
|
import {
|
|
474
470
|
diff,
|
|
475
471
|
formatDiff
|
|
476
472
|
} from "./chunk-SVLR4POP.js";
|
|
477
|
-
import "./chunk-
|
|
473
|
+
import "./chunk-7ZGPQOFV.js";
|
|
478
474
|
import {
|
|
479
475
|
LedgerStore,
|
|
480
476
|
applyPatch,
|
|
481
477
|
computePatch
|
|
482
|
-
} from "./chunk-
|
|
478
|
+
} from "./chunk-JXHNUYQO.js";
|
|
483
479
|
import {
|
|
484
480
|
LEDGER_COLLECTION,
|
|
485
481
|
LEDGER_DELTAS_COLLECTION
|
|
486
482
|
} from "./chunk-I7FD46FF.js";
|
|
487
|
-
import "./chunk-3FSX6LDG.js";
|
|
488
483
|
import {
|
|
489
484
|
canonicalJson,
|
|
490
485
|
envelopePayloadHash,
|
|
@@ -492,18 +487,23 @@ import {
|
|
|
492
487
|
paddedIndex,
|
|
493
488
|
parseIndex,
|
|
494
489
|
sha256Hex
|
|
495
|
-
} from "./chunk-
|
|
496
|
-
import "./chunk-
|
|
497
|
-
import "./chunk-
|
|
490
|
+
} from "./chunk-BZ3WMOYX.js";
|
|
491
|
+
import "./chunk-D2YFQ7XG.js";
|
|
492
|
+
import "./chunk-HK67PX4J.js";
|
|
493
|
+
import "./chunk-HSJBJIB2.js";
|
|
498
494
|
import {
|
|
495
|
+
buildRecordAad,
|
|
499
496
|
openEnvelopeJson,
|
|
497
|
+
recordAadFor,
|
|
500
498
|
validateSchemaInput,
|
|
501
499
|
validateSchemaOutput
|
|
502
|
-
} from "./chunk-
|
|
503
|
-
import
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
import "./chunk-
|
|
500
|
+
} from "./chunk-CXPOG3ZY.js";
|
|
501
|
+
import {
|
|
502
|
+
buildRecordEnvelope
|
|
503
|
+
} from "./chunk-FX3UIDCS.js";
|
|
504
|
+
import "./chunk-CKKN25P2.js";
|
|
505
|
+
import "./chunk-7Q3RHOA5.js";
|
|
506
|
+
import "./chunk-4K6BIMLF.js";
|
|
507
507
|
import "./chunk-LP7BEXCT.js";
|
|
508
508
|
import {
|
|
509
509
|
base64ToBuffer,
|
|
@@ -514,7 +514,7 @@ import {
|
|
|
514
514
|
encrypt,
|
|
515
515
|
encryptBytes,
|
|
516
516
|
encryptDeterministic
|
|
517
|
-
} from "./chunk-
|
|
517
|
+
} from "./chunk-ONPVHX2Y.js";
|
|
518
518
|
import {
|
|
519
519
|
NOYDB_BACKUP_VERSION,
|
|
520
520
|
NOYDB_FORMAT_VERSION,
|
|
@@ -522,7 +522,7 @@ import {
|
|
|
522
522
|
NOYDB_SYNC_VERSION,
|
|
523
523
|
SealedHandle,
|
|
524
524
|
createStore
|
|
525
|
-
} from "./chunk-
|
|
525
|
+
} from "./chunk-UJ4Z67UQ.js";
|
|
526
526
|
import {
|
|
527
527
|
AlreadyElevatedError,
|
|
528
528
|
AmendmentForbiddenError,
|
|
@@ -532,9 +532,6 @@ import {
|
|
|
532
532
|
BackupLedgerError,
|
|
533
533
|
BlobIntentPendingError,
|
|
534
534
|
BlobOfflineError,
|
|
535
|
-
BundleIntegrityError,
|
|
536
|
-
BundleSealMismatchError,
|
|
537
|
-
BundleVersionConflictError,
|
|
538
535
|
CargoNotEnabledError,
|
|
539
536
|
ClassifiedConfigError,
|
|
540
537
|
ClassifiedNotEnabledError,
|
|
@@ -579,6 +576,7 @@ import {
|
|
|
579
576
|
JoinTooLargeError,
|
|
580
577
|
KeyringCorruptError,
|
|
581
578
|
KeyringExpiredError,
|
|
579
|
+
KeyringTamperedError,
|
|
582
580
|
LedgerContentionError,
|
|
583
581
|
LocaleNotSpecifiedError,
|
|
584
582
|
ManagedRecoveryNotEnrolledError,
|
|
@@ -604,6 +602,8 @@ import {
|
|
|
604
602
|
PermissionDeniedError,
|
|
605
603
|
PersistedIndexCompensationError,
|
|
606
604
|
PodHeaderVerificationError,
|
|
605
|
+
PodIntegrityError,
|
|
606
|
+
PodSealMismatchError,
|
|
607
607
|
PodVersionConflictError,
|
|
608
608
|
PolicyDeniedError,
|
|
609
609
|
PortabilityNotEnabledError,
|
|
@@ -620,6 +620,7 @@ import {
|
|
|
620
620
|
RedirectDepthExceededError,
|
|
621
621
|
RedirectLoopError,
|
|
622
622
|
RedirectUnreachableError,
|
|
623
|
+
RefNotDeclaredError,
|
|
623
624
|
ReservedCollectionNameError,
|
|
624
625
|
ReservedVaultNameError,
|
|
625
626
|
RestrictRefUnresolvableError,
|
|
@@ -665,7 +666,7 @@ import {
|
|
|
665
666
|
WrongEchoError,
|
|
666
667
|
WrongPromptError,
|
|
667
668
|
isConflictError
|
|
668
|
-
} from "./chunk-
|
|
669
|
+
} from "./chunk-Z3BZXPRO.js";
|
|
669
670
|
import "./chunk-PZ5AY32C.js";
|
|
670
671
|
|
|
671
672
|
// src/with-commit/numbering/descriptor.ts
|
|
@@ -1003,17 +1004,11 @@ async function putCredential(adapter, vault, keyring, credential) {
|
|
|
1003
1004
|
requireAdminAccess(keyring);
|
|
1004
1005
|
const getDek = await ensureCollectionDEK(adapter, vault, keyring);
|
|
1005
1006
|
const dek = await getDek(SYNC_CREDENTIALS_COLLECTION);
|
|
1006
|
-
const { iv, data } = await encrypt(JSON.stringify(credential), dek);
|
|
1007
1007
|
const existing = await adapter.get(vault, SYNC_CREDENTIALS_COLLECTION, credential.adapterId);
|
|
1008
1008
|
const version = existing ? existing._v + 1 : 1;
|
|
1009
|
-
const
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
_ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1013
|
-
_iv: iv,
|
|
1014
|
-
_data: data,
|
|
1015
|
-
_by: keyring.userId
|
|
1016
|
-
};
|
|
1009
|
+
const identity = { collection: SYNC_CREDENTIALS_COLLECTION, id: credential.adapterId, version };
|
|
1010
|
+
const { iv, data } = await encrypt(JSON.stringify(credential), dek, buildRecordAad(identity));
|
|
1011
|
+
const envelope = buildRecordEnvelope(identity, { iv, data });
|
|
1017
1012
|
await adapter.put(
|
|
1018
1013
|
vault,
|
|
1019
1014
|
SYNC_CREDENTIALS_COLLECTION,
|
|
@@ -1028,7 +1023,7 @@ async function getCredential(adapter, vault, keyring, adapterId) {
|
|
|
1028
1023
|
const dek = await getDek(SYNC_CREDENTIALS_COLLECTION);
|
|
1029
1024
|
const envelope = await adapter.get(vault, SYNC_CREDENTIALS_COLLECTION, adapterId);
|
|
1030
1025
|
if (!envelope) return null;
|
|
1031
|
-
const plaintext = await openEnvelopeJson(envelope, dek);
|
|
1026
|
+
const plaintext = await openEnvelopeJson({ collection: SYNC_CREDENTIALS_COLLECTION, id: adapterId }, envelope, dek);
|
|
1032
1027
|
return JSON.parse(plaintext);
|
|
1033
1028
|
}
|
|
1034
1029
|
async function deleteCredential(adapter, vault, keyring, adapterId) {
|
|
@@ -1056,15 +1051,11 @@ export {
|
|
|
1056
1051
|
BLOB_INTENT_COLLECTION,
|
|
1057
1052
|
BLOB_SLOTS_PREFIX,
|
|
1058
1053
|
BLOB_VERSIONS_PREFIX,
|
|
1059
|
-
BUNDLE_STORE_POLICY,
|
|
1060
1054
|
BackupCorruptedError,
|
|
1061
1055
|
BackupLedgerError,
|
|
1062
1056
|
BlobIntentPendingError,
|
|
1063
1057
|
BlobOfflineError,
|
|
1064
1058
|
BlobSet,
|
|
1065
|
-
BundleIntegrityError,
|
|
1066
|
-
BundleSealMismatchError,
|
|
1067
|
-
BundleVersionConflictError,
|
|
1068
1059
|
CONSENT_AUDIT_COLLECTION,
|
|
1069
1060
|
COVER_FIELDS,
|
|
1070
1061
|
COVER_RECORD_ID,
|
|
@@ -1133,6 +1124,7 @@ export {
|
|
|
1133
1124
|
JoinTooLargeError,
|
|
1134
1125
|
KeyringCorruptError,
|
|
1135
1126
|
KeyringExpiredError,
|
|
1127
|
+
KeyringTamperedError,
|
|
1136
1128
|
LEDGER_COLLECTION,
|
|
1137
1129
|
LEDGER_DELTAS_COLLECTION,
|
|
1138
1130
|
LedgerContentionError,
|
|
@@ -1159,11 +1151,11 @@ export {
|
|
|
1159
1151
|
MoneyPrecisionError,
|
|
1160
1152
|
MoneyUnsupportedError,
|
|
1161
1153
|
NOYDB_BACKUP_VERSION,
|
|
1162
|
-
NOYDB_BUNDLE_FORMAT_VERSION,
|
|
1163
|
-
NOYDB_BUNDLE_MAGIC,
|
|
1164
|
-
NOYDB_BUNDLE_PREFIX_BYTES,
|
|
1165
1154
|
NOYDB_FORMAT_VERSION,
|
|
1166
1155
|
NOYDB_KEYRING_VERSION,
|
|
1156
|
+
NOYDB_POD_FORMAT_VERSION,
|
|
1157
|
+
NOYDB_POD_MAGIC,
|
|
1158
|
+
NOYDB_POD_PREFIX_BYTES,
|
|
1167
1159
|
NOYDB_SYNC_VERSION,
|
|
1168
1160
|
NO_CARGO,
|
|
1169
1161
|
NO_CUSTODY,
|
|
@@ -1191,6 +1183,8 @@ export {
|
|
|
1191
1183
|
PermissionDeniedError,
|
|
1192
1184
|
PersistedIndexCompensationError,
|
|
1193
1185
|
PodHeaderVerificationError,
|
|
1186
|
+
PodIntegrityError,
|
|
1187
|
+
PodSealMismatchError,
|
|
1194
1188
|
PodVersionConflictError,
|
|
1195
1189
|
PolicyDeniedError,
|
|
1196
1190
|
PolicyEnforcer,
|
|
@@ -1212,6 +1206,7 @@ export {
|
|
|
1212
1206
|
RedirectLoopError,
|
|
1213
1207
|
RedirectUnreachableError,
|
|
1214
1208
|
RefIntegrityError,
|
|
1209
|
+
RefNotDeclaredError,
|
|
1215
1210
|
RefRegistry,
|
|
1216
1211
|
RefScopeError,
|
|
1217
1212
|
ReservedCollectionNameError,
|
|
@@ -1287,6 +1282,7 @@ export {
|
|
|
1287
1282
|
applyPatch,
|
|
1288
1283
|
approveWithdrawal,
|
|
1289
1284
|
asMoney,
|
|
1285
|
+
assertRosterAuthenticated,
|
|
1290
1286
|
assertStrongEchoSecret,
|
|
1291
1287
|
assertStrongSecret,
|
|
1292
1288
|
base64ToBuffer,
|
|
@@ -1305,7 +1301,6 @@ export {
|
|
|
1305
1301
|
computePatch,
|
|
1306
1302
|
computed,
|
|
1307
1303
|
coordinatedCutover,
|
|
1308
|
-
createBundleStore,
|
|
1309
1304
|
createDeedOwner,
|
|
1310
1305
|
createEnforcer,
|
|
1311
1306
|
createIntent,
|
|
@@ -1364,7 +1359,7 @@ export {
|
|
|
1364
1359
|
getIntent,
|
|
1365
1360
|
hasExportCapability,
|
|
1366
1361
|
hasImportCapability,
|
|
1367
|
-
|
|
1362
|
+
hasNoydbPodMagic,
|
|
1368
1363
|
hashEntry,
|
|
1369
1364
|
i18nText,
|
|
1370
1365
|
immutableGuard,
|
|
@@ -1435,14 +1430,13 @@ export {
|
|
|
1435
1430
|
readCover,
|
|
1436
1431
|
readDirectoryConfig,
|
|
1437
1432
|
readMagicLinkGrantRecord,
|
|
1438
|
-
readNoydbBundle,
|
|
1439
|
-
readNoydbBundleHeader,
|
|
1440
1433
|
readPath,
|
|
1441
1434
|
readPod,
|
|
1442
1435
|
readPodCover,
|
|
1443
1436
|
readPodHeader,
|
|
1444
1437
|
readPodRedirect,
|
|
1445
1438
|
readUserVisibility,
|
|
1439
|
+
recordAadFor,
|
|
1446
1440
|
recoverUser,
|
|
1447
1441
|
ref,
|
|
1448
1442
|
refArray,
|
|
@@ -1514,11 +1508,9 @@ export {
|
|
|
1514
1508
|
withSequence,
|
|
1515
1509
|
withTeam,
|
|
1516
1510
|
withdrawAccessibleData,
|
|
1517
|
-
wrapBundleStore,
|
|
1518
1511
|
wrapPodStore,
|
|
1519
1512
|
wrapStore,
|
|
1520
1513
|
writeMagicLinkGrant,
|
|
1521
|
-
writeNoydbBundle,
|
|
1522
1514
|
writePod
|
|
1523
1515
|
};
|
|
1524
1516
|
//# sourceMappingURL=index.js.map
|