@noy-db/hub 0.6.0 → 0.7.0-pre.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 +48 -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 +258 -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-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-ZYZJLYNS.js → chunk-ATV637J7.js} +7 -7
- 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-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-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-JYPRZWCZ.js → chunk-Y3YLJORD.js} +167 -133
- package/dist/chunk-Y3YLJORD.js.map +1 -0
- package/dist/{chunk-DNKVKO7K.js → chunk-Y6GZ2P4M.js} +2 -2
- package/dist/{chunk-ATY3ZASK.js → chunk-YCSM3GZU.js} +2 -2
- package/dist/{chunk-BMU2DS3S.js → chunk-YKPGQJFU.js} +12 -171
- package/dist/chunk-YKPGQJFU.js.map +1 -0
- 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 +10 -1
- 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-EDJA4JNJ.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-ZYZJLYNS.js.map → chunk-ATV637J7.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-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-EDJA4JNJ.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
package/dist/on/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withOverlayedView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-OPXR4PB2.js";
|
|
4
4
|
import {
|
|
5
5
|
OverlayedViewRegistry
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-5ACAVJUI.js";
|
|
7
7
|
import {
|
|
8
8
|
OverlayedCollection
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-3QARDAYW.js";
|
|
10
10
|
import {
|
|
11
11
|
OverlayBaseIsVirtualError,
|
|
12
12
|
OverlayCollectionUnavailableError,
|
|
13
13
|
OverlayIdMismatchError,
|
|
14
14
|
OverlayNameCollisionError
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-JBIV4FLR.js";
|
|
16
16
|
import "../chunk-PZ5AY32C.js";
|
|
17
17
|
export {
|
|
18
18
|
OverlayBaseIsVirtualError,
|
package/dist/periods/index.js
CHANGED
|
@@ -11,7 +11,7 @@ import {
|
|
|
11
11
|
samePartition,
|
|
12
12
|
validatePeriodName,
|
|
13
13
|
withPeriods
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-PCQDY6QN.js";
|
|
15
15
|
import "../chunk-GHVIKOHT.js";
|
|
16
16
|
import {
|
|
17
17
|
PERIODS_COLLECTION,
|
|
@@ -20,19 +20,19 @@ import {
|
|
|
20
20
|
PERIOD_REOPENS_COLLECTION,
|
|
21
21
|
PERIOD_TARGET_PURGES_COLLECTION,
|
|
22
22
|
periodExclusiveUpperBound
|
|
23
|
-
} from "../chunk-
|
|
24
|
-
import "../chunk-
|
|
23
|
+
} from "../chunk-Z7ZXZL6Y.js";
|
|
24
|
+
import "../chunk-IESNYJXZ.js";
|
|
25
25
|
import "../chunk-I7FD46FF.js";
|
|
26
|
-
import "../chunk-
|
|
27
|
-
import "../chunk-
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
26
|
+
import "../chunk-RC4BROYR.js";
|
|
27
|
+
import "../chunk-2LPVI4PX.js";
|
|
28
|
+
import "../chunk-N4CNVSUF.js";
|
|
29
|
+
import "../chunk-FOG7YEJP.js";
|
|
30
|
+
import "../chunk-KDJGJR7F.js";
|
|
31
|
+
import "../chunk-LKFKXS5K.js";
|
|
32
32
|
import "../chunk-LP7BEXCT.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
35
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-W5LHQXZU.js";
|
|
34
|
+
import "../chunk-RK7N4OQ5.js";
|
|
35
|
+
import "../chunk-JBIV4FLR.js";
|
|
36
36
|
import "../chunk-PZ5AY32C.js";
|
|
37
37
|
export {
|
|
38
38
|
NO_PERIODS,
|
package/dist/pod/index.js
CHANGED
|
@@ -5,43 +5,44 @@ import {
|
|
|
5
5
|
signRedirect,
|
|
6
6
|
verifyRedirect,
|
|
7
7
|
wrapPodStore
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-QVXZFJBU.js";
|
|
12
|
-
import "../chunk-B4CRUZPR.js";
|
|
8
|
+
} from "../chunk-ATV637J7.js";
|
|
9
|
+
import "../chunk-Y3YLJORD.js";
|
|
10
|
+
import "../chunk-VAG47QHV.js";
|
|
13
11
|
import {
|
|
14
12
|
deriveSchemaManifest,
|
|
15
13
|
loadSchemaManifestEntry
|
|
16
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-QHJKK77B.js";
|
|
17
15
|
import {
|
|
18
16
|
MANIFEST_COLLECTION,
|
|
19
17
|
isManifestReservedCollection
|
|
20
18
|
} from "../chunk-EPFF7LOX.js";
|
|
21
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-WLLUM35R.js";
|
|
20
|
+
import "../chunk-JVLSU7S2.js";
|
|
21
|
+
import "../chunk-Y6GZ2P4M.js";
|
|
22
|
+
import "../chunk-L6GTLZRK.js";
|
|
22
23
|
import "../chunk-GYGLAVCX.js";
|
|
23
|
-
import "../chunk-DNKVKO7K.js";
|
|
24
|
-
import "../chunk-KHKKD62N.js";
|
|
25
|
-
import "../chunk-6NR36UNB.js";
|
|
26
24
|
import "../chunk-6LJY7X5A.js";
|
|
25
|
+
import "../chunk-E6YA6UAP.js";
|
|
26
|
+
import "../chunk-GK4DRVUD.js";
|
|
27
|
+
import "../chunk-WK5FSW7T.js";
|
|
28
|
+
import "../chunk-J4MN6XIU.js";
|
|
29
|
+
import "../chunk-XJ3FEKEY.js";
|
|
30
|
+
import "../chunk-Z2WK53N6.js";
|
|
31
|
+
import "../chunk-CBRS2NEK.js";
|
|
32
|
+
import "../chunk-KHKKD62N.js";
|
|
33
|
+
import "../chunk-P6ASQOZR.js";
|
|
27
34
|
import "../chunk-Y2NBBT6K.js";
|
|
28
|
-
import "../chunk-
|
|
29
|
-
import "../chunk-
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-KM6ZXG7U.js";
|
|
35
|
-
import "../chunk-W3HAIN6U.js";
|
|
36
|
-
import "../chunk-HWI7GHJZ.js";
|
|
37
|
-
import "../chunk-65JXA63J.js";
|
|
38
|
-
import "../chunk-K6CPIK3R.js";
|
|
39
|
-
import "../chunk-HOPNIR5R.js";
|
|
35
|
+
import "../chunk-YXA2TCTZ.js";
|
|
36
|
+
import "../chunk-CN6B5PEN.js";
|
|
37
|
+
import "../chunk-J4UJ5FRV.js";
|
|
38
|
+
import "../chunk-5263OEM3.js";
|
|
39
|
+
import "../chunk-VTG7327U.js";
|
|
40
|
+
import "../chunk-3QARDAYW.js";
|
|
40
41
|
import "../chunk-T7IR4N2S.js";
|
|
41
42
|
import "../chunk-PEOZ34EM.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
+
import "../chunk-PCQDY6QN.js";
|
|
43
44
|
import "../chunk-GHVIKOHT.js";
|
|
44
|
-
import "../chunk-
|
|
45
|
+
import "../chunk-Z7ZXZL6Y.js";
|
|
45
46
|
import "../chunk-SMY5X46Z.js";
|
|
46
47
|
import "../chunk-DZFQVICS.js";
|
|
47
48
|
import {
|
|
@@ -67,18 +68,18 @@ import {
|
|
|
67
68
|
verifyPodHeader,
|
|
68
69
|
verifyRecord,
|
|
69
70
|
writePod
|
|
70
|
-
} from "../chunk-
|
|
71
|
-
import "../chunk-
|
|
72
|
-
import "../chunk-
|
|
71
|
+
} from "../chunk-6FOGTKBY.js";
|
|
72
|
+
import "../chunk-LF6DMX4C.js";
|
|
73
|
+
import "../chunk-VFIWDPXZ.js";
|
|
73
74
|
import "../chunk-5D2ALSM5.js";
|
|
74
|
-
import "../chunk-
|
|
75
|
+
import "../chunk-S35S77YU.js";
|
|
75
76
|
import "../chunk-AURFOK3D.js";
|
|
76
|
-
import "../chunk-
|
|
77
|
-
import "../chunk-
|
|
78
|
-
import "../chunk-
|
|
79
|
-
import "../chunk-
|
|
80
|
-
import "../chunk-
|
|
81
|
-
import "../chunk-
|
|
77
|
+
import "../chunk-UCUALOSM.js";
|
|
78
|
+
import "../chunk-S2VG3ABP.js";
|
|
79
|
+
import "../chunk-XSN63FUS.js";
|
|
80
|
+
import "../chunk-F23WQK3G.js";
|
|
81
|
+
import "../chunk-ALB64CZM.js";
|
|
82
|
+
import "../chunk-F7ZFRPGQ.js";
|
|
82
83
|
import "../chunk-I3ISCYT7.js";
|
|
83
84
|
import "../chunk-NO272T7Q.js";
|
|
84
85
|
import "../chunk-XZHEOSQ2.js";
|
|
@@ -86,36 +87,36 @@ import "../chunk-YMUFFJCO.js";
|
|
|
86
87
|
import "../chunk-ATL3ZVXT.js";
|
|
87
88
|
import "../chunk-NSITFOCJ.js";
|
|
88
89
|
import "../chunk-PVEWA2DU.js";
|
|
89
|
-
import "../chunk-
|
|
90
|
-
import "../chunk-
|
|
91
|
-
import "../chunk-
|
|
92
|
-
import "../chunk-
|
|
93
|
-
import "../chunk-
|
|
94
|
-
import "../chunk-
|
|
95
|
-
import "../chunk-
|
|
96
|
-
import "../chunk-
|
|
97
|
-
import "../chunk-
|
|
98
|
-
import "../chunk-
|
|
90
|
+
import "../chunk-2GXEQUEX.js";
|
|
91
|
+
import "../chunk-57JTHWLQ.js";
|
|
92
|
+
import "../chunk-X67FCULK.js";
|
|
93
|
+
import "../chunk-XDVVBETV.js";
|
|
94
|
+
import "../chunk-H4M7ADXY.js";
|
|
95
|
+
import "../chunk-PQ6Z2TAP.js";
|
|
96
|
+
import "../chunk-5W7YXFV5.js";
|
|
97
|
+
import "../chunk-DFAUMLD7.js";
|
|
98
|
+
import "../chunk-HTGRQZFB.js";
|
|
99
|
+
import "../chunk-4A4TYISP.js";
|
|
99
100
|
import "../chunk-VKQCVU2Z.js";
|
|
100
101
|
import {
|
|
101
102
|
generateULID,
|
|
102
103
|
isULID
|
|
103
104
|
} from "../chunk-4AOERLTV.js";
|
|
104
|
-
import "../chunk-
|
|
105
|
-
import "../chunk-
|
|
105
|
+
import "../chunk-6EW2UCVF.js";
|
|
106
|
+
import "../chunk-IESNYJXZ.js";
|
|
106
107
|
import "../chunk-I7FD46FF.js";
|
|
107
|
-
import "../chunk-
|
|
108
|
-
import "../chunk-
|
|
108
|
+
import "../chunk-RC4BROYR.js";
|
|
109
|
+
import "../chunk-POS53FG6.js";
|
|
109
110
|
import "../chunk-HK67PX4J.js";
|
|
110
|
-
import "../chunk-
|
|
111
|
-
import "../chunk-
|
|
112
|
-
import "../chunk-
|
|
113
|
-
import "../chunk-
|
|
114
|
-
import "../chunk-
|
|
115
|
-
import "../chunk-
|
|
111
|
+
import "../chunk-467SKJ65.js";
|
|
112
|
+
import "../chunk-2LPVI4PX.js";
|
|
113
|
+
import "../chunk-N4CNVSUF.js";
|
|
114
|
+
import "../chunk-FOG7YEJP.js";
|
|
115
|
+
import "../chunk-KDJGJR7F.js";
|
|
116
|
+
import "../chunk-LKFKXS5K.js";
|
|
116
117
|
import "../chunk-LP7BEXCT.js";
|
|
117
|
-
import "../chunk-
|
|
118
|
-
import "../chunk-
|
|
118
|
+
import "../chunk-W5LHQXZU.js";
|
|
119
|
+
import "../chunk-RK7N4OQ5.js";
|
|
119
120
|
import {
|
|
120
121
|
BackupCorruptedError,
|
|
121
122
|
BackupLedgerError,
|
|
@@ -129,7 +130,7 @@ import {
|
|
|
129
130
|
RedirectDepthExceededError,
|
|
130
131
|
RedirectLoopError,
|
|
131
132
|
RedirectUnreachableError
|
|
132
|
-
} from "../chunk-
|
|
133
|
+
} from "../chunk-JBIV4FLR.js";
|
|
133
134
|
import "../chunk-PZ5AY32C.js";
|
|
134
135
|
export {
|
|
135
136
|
BackupCorruptedError,
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import "./chunk-
|
|
1
|
+
import "./chunk-2LPVI4PX.js";
|
|
2
2
|
import {
|
|
3
3
|
buildRecordEnvelope
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-N4CNVSUF.js";
|
|
5
|
+
import "./chunk-FOG7YEJP.js";
|
|
6
|
+
import "./chunk-KDJGJR7F.js";
|
|
7
|
+
import "./chunk-LKFKXS5K.js";
|
|
8
8
|
import "./chunk-LP7BEXCT.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-W5LHQXZU.js";
|
|
10
|
+
import "./chunk-RK7N4OQ5.js";
|
|
11
|
+
import "./chunk-JBIV4FLR.js";
|
|
12
12
|
import "./chunk-PZ5AY32C.js";
|
|
13
13
|
|
|
14
14
|
// src/with-pod/pod-handle.ts
|
|
@@ -38,4 +38,4 @@ async function buildPodHandle(adapter, name) {
|
|
|
38
38
|
export {
|
|
39
39
|
buildPodHandle
|
|
40
40
|
};
|
|
41
|
-
//# sourceMappingURL=pod-handle-
|
|
41
|
+
//# sourceMappingURL=pod-handle-P6DPBM5U.js.map
|
package/dist/policy/index.js
CHANGED
|
@@ -6,27 +6,27 @@ import {
|
|
|
6
6
|
createNoydbPolicy,
|
|
7
7
|
describeGate,
|
|
8
8
|
mergePolicy
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-LR4Z47QD.js";
|
|
10
10
|
import {
|
|
11
11
|
META_COLLECTION,
|
|
12
12
|
POLICY_RECORD_ID,
|
|
13
13
|
loadVaultPolicy,
|
|
14
14
|
saveVaultPolicy
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-PQ6Z2TAP.js";
|
|
16
|
+
import "../chunk-2LPVI4PX.js";
|
|
17
|
+
import "../chunk-N4CNVSUF.js";
|
|
18
|
+
import "../chunk-FOG7YEJP.js";
|
|
19
|
+
import "../chunk-KDJGJR7F.js";
|
|
20
|
+
import "../chunk-LKFKXS5K.js";
|
|
21
21
|
import "../chunk-LP7BEXCT.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-W5LHQXZU.js";
|
|
23
|
+
import "../chunk-RK7N4OQ5.js";
|
|
24
24
|
import {
|
|
25
25
|
ManagedRecoveryNotEnrolledError,
|
|
26
26
|
PolicyDeniedError,
|
|
27
27
|
RecoveryNotEnrolledError,
|
|
28
28
|
RecoveryProfileNotImplementedError
|
|
29
|
-
} from "../chunk-
|
|
29
|
+
} from "../chunk-JBIV4FLR.js";
|
|
30
30
|
import "../chunk-PZ5AY32C.js";
|
|
31
31
|
export {
|
|
32
32
|
DEFAULT_FRESHNESS_MS,
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { FormatsStrategy } from '../with/formats-strategy.js';
|
|
2
|
+
/**
|
|
3
|
+
* Enable `vault.export()` / `vault.import()`.
|
|
4
|
+
*
|
|
5
|
+
* ```ts
|
|
6
|
+
* const db = await createNoydb({ store, user, secret, formatsStrategy: withFormats() })
|
|
7
|
+
* const csv = await vault.export(asCsv(), { collections: ['invoices'] })
|
|
8
|
+
* ```
|
|
9
|
+
*/
|
|
10
|
+
export declare function withFormats(): FormatsStrategy;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@noy-db/hub/as` — the format port (the `as-*` family port).
|
|
3
|
+
*
|
|
4
|
+
* A serialization format — `as-csv`, `as-json`, a third party's — binds ONLY
|
|
5
|
+
* this subpath: the {@link NoydbFormat} contract plus the import types hub
|
|
6
|
+
* owns. Mirrors `@noy-db/hub/to` for stores and `/at` for sealers.
|
|
7
|
+
*
|
|
8
|
+
* ## Why this seam exists NOW and did not before
|
|
9
|
+
*
|
|
10
|
+
* `/as` shipped in 0.3.0 and was removed in 0.4.0 — "family port removed, it
|
|
11
|
+
* had zero importers" — alongside `/at`, `/in`, `/on` and `/ui`. It was a
|
|
12
|
+
* second place to find types already on the root barrel.
|
|
13
|
+
*
|
|
14
|
+
* What is different is not the subpath, it is what stands behind it. `/as` now
|
|
15
|
+
* carries types that exist NOWHERE ELSE: `ImportPolicy` was declared six times
|
|
16
|
+
* across satellites and not at all in hub, and `ImportPlan` was declared per
|
|
17
|
+
* package around a hub-owned `VaultDiff`. Consolidating them is the seam's
|
|
18
|
+
* substance — this is not a re-export of the root barrel, it is the first
|
|
19
|
+
* hub-side home the import contract has ever had.
|
|
20
|
+
*
|
|
21
|
+
* See `docs/adr/0004-as-format-port.md` for the measurements, and for why the
|
|
22
|
+
* port reaches five of ten `as-*` packages rather than all of them.
|
|
23
|
+
*
|
|
24
|
+
* ⚠️ Re-introducing a retired subpath is declared, not incidental: the
|
|
25
|
+
* `unretired` list in `codemods/0.7.0-pre.json` records it, and
|
|
26
|
+
* `codemod-map.test.ts` refuses the claim unless the subpath really resolves.
|
|
27
|
+
*
|
|
28
|
+
* Named re-exports only (no `export *`) so the published surface is explicit.
|
|
29
|
+
*/
|
|
30
|
+
export { withFormats } from './active.js';
|
|
31
|
+
export type { FormatsStrategy, FormatExportOptions, FormatImportOptions, } from '../with/formats-strategy.js';
|
|
32
|
+
export type { NoydbFormat, DecodedChunk, ImportPolicy, ImportPlan, ExportChunk, ExportFormat, VaultDiff, } from './types.js';
|
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The `as-*` family port — the contract a format implements, and the types
|
|
3
|
+
* hub owns on both sides of it.
|
|
4
|
+
*
|
|
5
|
+
* See `docs/adr/0004-as-format-port.md`. In short: `as-*` is export AND
|
|
6
|
+
* import — data, schema, validation — and both halves were duplicated per
|
|
7
|
+
* package. The import half was the worse of the two:
|
|
8
|
+
*
|
|
9
|
+
* ImportPolicy declared SIX times across as-* packages,
|
|
10
|
+
* byte-identical, and absent from hub entirely
|
|
11
|
+
* As<X>ImportPlan declared per package, byte-identical
|
|
12
|
+
* VaultDiff hub-owned — so a plan was HALF hub-owned
|
|
13
|
+
* and half copy-pasted
|
|
14
|
+
*
|
|
15
|
+
* Consolidating them here is non-breaking: each package re-exports these
|
|
16
|
+
* instead of redeclaring them, so six independent definitions that nothing
|
|
17
|
+
* compared become one that the compiler enforces.
|
|
18
|
+
*
|
|
19
|
+
* @module
|
|
20
|
+
*/
|
|
21
|
+
import type { ExportChunk, ExportFormat } from '../../kernel/types.js';
|
|
22
|
+
import type { VaultDiff } from '../../with-cargo/vault-diff.js';
|
|
23
|
+
/**
|
|
24
|
+
* How an import reconciles with what the collection already holds.
|
|
25
|
+
*
|
|
26
|
+
* Hub-owned as of 0.7. Previously declared independently in `as-csv`,
|
|
27
|
+
* `as-json`, `as-ndjson`, `as-xml`, `as-xlsx` and `as-zip` — six copies of one
|
|
28
|
+
* line, with no mechanism that would have noticed them drifting apart.
|
|
29
|
+
*/
|
|
30
|
+
export type ImportPolicy = 'merge' | 'replace' | 'insert-only';
|
|
31
|
+
/**
|
|
32
|
+
* A planned-but-not-applied import.
|
|
33
|
+
*
|
|
34
|
+
* Read the `plan` to show a diff, then `apply()` to commit it. The two-phase
|
|
35
|
+
* shape is deliberate: an import that writes before the caller has seen what
|
|
36
|
+
* it would change is not reviewable, and every `as-*` package had already
|
|
37
|
+
* converged on this independently — which is the argument for hub owning it
|
|
38
|
+
* rather than each of them re-deriving it.
|
|
39
|
+
*/
|
|
40
|
+
export interface ImportPlan {
|
|
41
|
+
/** What would change. Safe to render; nothing has been written. */
|
|
42
|
+
readonly plan: VaultDiff;
|
|
43
|
+
/** The reconciliation the plan was computed under. */
|
|
44
|
+
readonly policy: ImportPolicy;
|
|
45
|
+
/** Commit the plan. */
|
|
46
|
+
apply(): Promise<void>;
|
|
47
|
+
}
|
|
48
|
+
/**
|
|
49
|
+
* What a format produces from bytes: records, per collection.
|
|
50
|
+
*
|
|
51
|
+
* Deliberately NOT a `VaultDiff` — computing the diff needs the vault's
|
|
52
|
+
* current contents, which a format does not have and must not need. The
|
|
53
|
+
* format's job ends at "these are the records the input describes"; hub
|
|
54
|
+
* turns that into a plan.
|
|
55
|
+
*/
|
|
56
|
+
export interface DecodedChunk {
|
|
57
|
+
readonly collection: string;
|
|
58
|
+
readonly records: readonly unknown[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* A serialization format for vault data — the `as-*` family port.
|
|
62
|
+
*
|
|
63
|
+
* **Pure by construction.** A format receives records and returns bytes, or
|
|
64
|
+
* receives bytes and returns records. It never holds a `Vault`, which is what
|
|
65
|
+
* makes the export gate unskippable rather than merely checked: there is no
|
|
66
|
+
* vault in scope to read past `assertCanExport`.
|
|
67
|
+
*
|
|
68
|
+
* That property is the whole point of the inversion. The conformance kit it
|
|
69
|
+
* replaces could only check implementors who ran it; a format that cannot
|
|
70
|
+
* reach a vault is gated whether its author cooperated or not — including
|
|
71
|
+
* third-party formats this family will never see.
|
|
72
|
+
*
|
|
73
|
+
* Records arrive **already redacted**: hub applies the projection before
|
|
74
|
+
* `encode`, because five packages were each calling
|
|
75
|
+
* `vault.collection(x).describe()` and `applyListProjection` to do it
|
|
76
|
+
* themselves.
|
|
77
|
+
*
|
|
78
|
+
* @typeParam Out - `string` for text formats, `Uint8Array` for binary ones.
|
|
79
|
+
*/
|
|
80
|
+
export interface NoydbFormat<Out extends string | Uint8Array = string | Uint8Array> {
|
|
81
|
+
/**
|
|
82
|
+
* Stable identifier, e.g. `'csv'`.
|
|
83
|
+
*
|
|
84
|
+
* A format declares its own id rather than being named by hub's
|
|
85
|
+
* `ExportFormat` union, which is closed — under the old shape a new format
|
|
86
|
+
* needed a hub release just to be nameable.
|
|
87
|
+
*/
|
|
88
|
+
readonly id: string;
|
|
89
|
+
/** File extension without the dot, e.g. `'csv'`. Used by `download`/`write`. */
|
|
90
|
+
readonly extension: string;
|
|
91
|
+
/** MIME type, e.g. `'text/csv;charset=utf-8'`. Used by `download`. */
|
|
92
|
+
readonly mimeType: string;
|
|
93
|
+
/**
|
|
94
|
+
* The capability tier hub gates this format under. `'plaintext'` for a
|
|
95
|
+
* readable projection; `'bundle'` for encrypted output.
|
|
96
|
+
*
|
|
97
|
+
* Not inferred from anything: `as-noydb` emits an encrypted pod and gates on
|
|
98
|
+
* `'bundle'`, and a format that quietly gated on the wrong tier would be a
|
|
99
|
+
* silent downgrade.
|
|
100
|
+
*/
|
|
101
|
+
readonly tier: 'plaintext' | 'bundle';
|
|
102
|
+
/** Records → bytes. Pure. */
|
|
103
|
+
encode(chunks: readonly ExportChunk[]): Out | Promise<Out>;
|
|
104
|
+
/**
|
|
105
|
+
* Bytes → records. Pure.
|
|
106
|
+
*
|
|
107
|
+
* Optional on an implementation, not on the contract: `as-sql` is
|
|
108
|
+
* export-only today. A format that omits it makes `vault.import` throw with
|
|
109
|
+
* its id named, rather than failing somewhere less legible.
|
|
110
|
+
*/
|
|
111
|
+
decode?(input: Out): readonly DecodedChunk[] | Promise<readonly DecodedChunk[]>;
|
|
112
|
+
}
|
|
113
|
+
export type { ExportChunk, ExportFormat, VaultDiff };
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* `@noy-db/hub/at` — the sealing-key port (the `at-*` family port).
|
|
3
|
+
*
|
|
4
|
+
* A sealing-key provider — `at-env`, `at-aws-kms`, `at-gcp-kms`,
|
|
5
|
+
* `at-macos-keychain`, `at-azure-keyvault`, or a third party's — binds ONLY
|
|
6
|
+
* this subpath: the {@link NoydbSealer} contract plus the in-memory double an
|
|
7
|
+
* implementor develops against. Mirrors `@noy-db/hub/to` for stores.
|
|
8
|
+
*
|
|
9
|
+
* ## Why this seam exists NOW and did not before
|
|
10
|
+
*
|
|
11
|
+
* `/at` shipped in 0.3.0 and was removed in 0.4.0 — "family port removed, it
|
|
12
|
+
* had zero importers" — along with `/as`, `/in`, `/on` and `/ui`. Only `/to`
|
|
13
|
+
* survived, and the difference is not taste: `/to` had a contract, a registry
|
|
14
|
+
* and a conformance kit behind it, so a store author had a reason to bind it.
|
|
15
|
+
* `/at` was a second place to find a type already on the root barrel.
|
|
16
|
+
*
|
|
17
|
+
* What changed is not the subpath, it is what stands behind it:
|
|
18
|
+
* `@noy-db/test-sealer-conformance` publishes the contract as an executable
|
|
19
|
+
* suite, so "implements NoydbSealer" now means one checkable thing. The seam
|
|
20
|
+
* follows the port rather than preceding it — which is the ordering 0.4
|
|
21
|
+
* demonstrated the hard way.
|
|
22
|
+
*
|
|
23
|
+
* ⚠️ Re-introducing a retired subpath is declared, not incidental: the
|
|
24
|
+
* `unretired` list in `codemods/0.7.0-pre.json` records it, and
|
|
25
|
+
* `codemod-map.test.ts` refuses to accept the claim unless the subpath really
|
|
26
|
+
* resolves. Consumers who followed the 0.4 codemod row onto the root barrel
|
|
27
|
+
* are untouched — this is additive, and the root barrel and `/cargo` keep
|
|
28
|
+
* exporting everything they did.
|
|
29
|
+
*
|
|
30
|
+
* Named re-exports only (no `export *`) so the published surface is explicit
|
|
31
|
+
* and tsup's per-entry bundling keeps class identity stable across subpaths.
|
|
32
|
+
*/
|
|
33
|
+
export type { NoydbSealer } from '../../with-party/team/managed-secret.js';
|
|
34
|
+
export { MemorySealer, MemoryRecipientSealer } from '../../with-party/team/managed-secret.js';
|
|
35
|
+
export type { RecipientSealer } from '../../kernel/types.js';
|
|
36
|
+
export type { SealedSecret, SealedEnvelope, RecipientHint } from '../../with-party/team/managed-secret.js';
|
|
37
|
+
export { parseSealedEnvelope, SEALED_SECRET_RECORD_ID } from '../../with-party/team/managed-secret.js';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Lazy factory for the store-backed default {@link
|
|
2
|
+
* Lazy factory for the store-backed default {@link NoydbMesh}.
|
|
3
3
|
* `with-shape/schema-update` is service-layer code the kernel spine may not
|
|
4
4
|
* statically import — the dynamic `import()` below is the port-layering
|
|
5
5
|
* law's sanctioned escape hatch for this exact case.
|
|
6
6
|
*/
|
|
7
7
|
import type { NoydbStore } from '../../kernel/types.js';
|
|
8
|
-
export type {
|
|
9
|
-
export declare function
|
|
8
|
+
export type { NoydbMesh } from './types.js';
|
|
9
|
+
export declare function createDefaultMesh(store: NoydbStore): Promise<import("../../with-shape/schema-update/store-coordination-provider.js").StoreMesh>;
|
package/dist/port/by/index.d.ts
CHANGED
|
@@ -1,17 +1,39 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* family port).
|
|
2
|
+
* `@noy-db/hub/by` — the mesh port for `by-*` session-share transports.
|
|
4
3
|
*
|
|
5
|
-
* A
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* without ever naming a `by-*` package.
|
|
9
|
-
*
|
|
10
|
-
* —
|
|
4
|
+
* A `by-*` transport (`by-tabs`, `by-peer`) binds ONLY to this subpath: the
|
|
5
|
+
* drain-barrier contract for the schema-fence cutover — who is live, and what
|
|
6
|
+
* generation are they on. `@klum-db/lobby` drives the same port through the
|
|
7
|
+
* `Noydb` handle (`db.mesh`) without ever naming a `by-*` package.
|
|
8
|
+
*
|
|
9
|
+
* `StoreMesh` — the store-polling default — lives in
|
|
10
|
+
* `with-shape/schema-update`, its only consumer, and is intentionally NOT
|
|
11
|
+
* exported here. That is a real cost, recorded rather than worked around: it
|
|
12
|
+
* is hub's own implementation of this port and the one most consumers actually
|
|
13
|
+
* run, and because it is not on the published surface,
|
|
14
|
+
* `@noy-db/test-mesh-conformance` cannot import it. **A port's in-hub default
|
|
15
|
+
* is coverable by its published kit only if it is on the published surface.**
|
|
16
|
+
*
|
|
17
|
+
* ## Why this subpath exists again
|
|
18
|
+
*
|
|
19
|
+
* It shipped in 0.3.0 and was pruned in 0.4.0 for "zero importers" — correct at
|
|
20
|
+
* the time, because it was a second place to find types that were already on
|
|
21
|
+
* the root barrel. It returns in the 0.7 line because something now stands
|
|
22
|
+
* behind it: the contract is published as an executable suite, and two
|
|
23
|
+
* transports implement it. Ports first, then seams.
|
|
24
|
+
*
|
|
25
|
+
* ⚠️ That last sentence was FALSE when this seam first shipped (#1171).
|
|
26
|
+
* `by-peer`, `by-tabs` and the conformance kit all imported `NoydbMesh` from
|
|
27
|
+
* `@noy-db/hub/cargo`, so `/by` was republished with **zero binders** — the
|
|
28
|
+
* exact condition it was pruned for — while this comment claimed otherwise. A
|
|
29
|
+
* subpath resolves whether or not anyone imports it, so nothing was red. The
|
|
30
|
+
* three were migrated, and `family-port-has-binder` in check-architecture.mjs
|
|
31
|
+
* now asks the question on every run rather than trusting the sentence.
|
|
11
32
|
*
|
|
12
33
|
* Named re-exports only (no `export *`) so the published surface is explicit
|
|
13
34
|
* and tsup's per-entry bundling keeps class identity stable across subpaths.
|
|
14
|
-
*
|
|
35
|
+
* Everything here also remains on `/cargo`, which is where the 0.4 codemod row
|
|
36
|
+
* sends a consumer — this is additive, and that row stays true.
|
|
15
37
|
*/
|
|
16
38
|
export { isQuorum, runDrainBarrier } from './types.js';
|
|
17
|
-
export type {
|
|
39
|
+
export type { NoydbMesh, WriterPresence, FenceDoc, DrainBarrierOptions, } from './types.js';
|
package/dist/port/by/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Kernel coordination port — the injected `
|
|
2
|
+
* Kernel coordination port — the injected `NoydbMesh` seam for the
|
|
3
3
|
* schema-fence drain-barrier.
|
|
4
4
|
*
|
|
5
5
|
* The kernel defines this port; `@noy-db/by-tabs` / `@noy-db/by-peer` implement
|
|
@@ -15,11 +15,29 @@
|
|
|
15
15
|
* @module
|
|
16
16
|
*/
|
|
17
17
|
import type { Unsubscribe } from '../with/write-hooks.js';
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
18
|
+
import type { FenceDoc } from '../../with-shape/schema-update/fence.js';
|
|
19
|
+
/**
|
|
20
|
+
* What the mesh carries about the fence: the vault's schema generation and its
|
|
21
|
+
* drain phase. This is the vault's OWN fence document — `@noy-db/hub/by`
|
|
22
|
+
* re-exports it rather than declaring a parallel type.
|
|
23
|
+
*
|
|
24
|
+
* Through 0.6 this port declared its own `FenceState` interface with the same
|
|
25
|
+
* two fields. Two problems, and only the first was visible (#1188):
|
|
26
|
+
*
|
|
27
|
+
* 1. `FenceState` ALSO names an unrelated string union
|
|
28
|
+
* (`'normal' | 'draining' | …`) on `.` and `./cargo`. A consumer importing
|
|
29
|
+
* from `@noy-db/hub` and one importing from `@noy-db/hub/by` got different
|
|
30
|
+
* types, both compiling, failing only where they met.
|
|
31
|
+
* 2. It was a hand-copy — its own comment said "the existing FenceDoc shape" —
|
|
32
|
+
* and it had already drifted, missing the `schemaHash` field #946 added.
|
|
33
|
+
* Measured mutually assignable with `FenceDoc` under `--strict
|
|
34
|
+
* --exactOptionalPropertyTypes`, so there was no type to preserve.
|
|
35
|
+
*
|
|
36
|
+
* Re-exporting fixes both: one name, one meaning, one definition to keep
|
|
37
|
+
* current. `FenceState` on the root barrel is untouched and still means the
|
|
38
|
+
* string union.
|
|
39
|
+
*/
|
|
40
|
+
export type { FenceDoc };
|
|
23
41
|
/** A writer's presence + ack, tagged with the session that owns it. */
|
|
24
42
|
export interface WriterPresence {
|
|
25
43
|
/** = today's clientId (one per tab/peer). */
|
|
@@ -30,18 +48,18 @@ export interface WriterPresence {
|
|
|
30
48
|
readonly quiescedAtVersion: number | null;
|
|
31
49
|
}
|
|
32
50
|
/** Session-addressable drain-barrier coordination transport. Per-vault ops. */
|
|
33
|
-
export interface
|
|
51
|
+
export interface NoydbMesh {
|
|
34
52
|
/** orchestrator → all writers */
|
|
35
|
-
setFence(vault: string, fence:
|
|
53
|
+
setFence(vault: string, fence: FenceDoc): Promise<void>;
|
|
36
54
|
/**
|
|
37
55
|
* Fresh one-shot fence read for the write-path gate (`assertWritable`).
|
|
38
56
|
* A direct read (not a cached `observeFence` snapshot) avoids a staleness
|
|
39
57
|
* window and keeps the timing-sensitive cutover gate exact. The store
|
|
40
58
|
* default reads `_meta/schema-fence`; `by-*` return their last-pushed fence.
|
|
41
59
|
*/
|
|
42
|
-
readFence(vault: string): Promise<
|
|
60
|
+
readFence(vault: string): Promise<FenceDoc>;
|
|
43
61
|
/** writer observes fence changes (default: poll-emit; by-*: push) */
|
|
44
|
-
observeFence(vault: string, onChange: (f:
|
|
62
|
+
observeFence(vault: string, onChange: (f: FenceDoc) => void): Unsubscribe;
|
|
45
63
|
/** writer → orchestrator: presence + ack (heartbeat + quiescedAtVersion) */
|
|
46
64
|
reportPresence(vault: string, p: WriterPresence): Promise<void>;
|
|
47
65
|
/** orchestrator observes presence changes (default: poll-emit; by-*: push) */
|
|
@@ -83,4 +101,4 @@ export interface DrainBarrierOptions {
|
|
|
83
101
|
* `generation`, at which point `run` is invoked exactly once. Rejects with
|
|
84
102
|
* {@link QuiesceTimeoutError} if `quiesceTimeoutMs` elapses first.
|
|
85
103
|
*/
|
|
86
|
-
export declare function runDrainBarrier(provider:
|
|
104
|
+
export declare function runDrainBarrier(provider: NoydbMesh, o: DrainBarrierOptions, run: () => Promise<void>): Promise<void>;
|