@noy-db/hub 0.4.0-pre.4 → 0.4.0-pre.5
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/README.md +2 -2
- package/dist/aggregate/index.js +4 -4
- package/dist/api-22ES33N3.js +20 -0
- package/dist/as/index.js +11 -11
- package/dist/attestation/index.js +20 -20
- package/dist/{backup-JL2GOTYQ.js → backup-YCHAC575.js} +11 -11
- package/dist/blobs/index.js +12 -12
- package/dist/broker/index.js +12 -12
- package/dist/by/index.js +2 -2
- package/dist/cargo/index.js +29 -29
- package/dist/{chunk-2RMDVWGB.js → chunk-2CRZOVDI.js} +2 -2
- package/dist/{chunk-T7S4V52L.js → chunk-2PDBYF2O.js} +4 -4
- package/dist/{chunk-WJDYZP3U.js → chunk-3LJYHE7S.js} +36 -36
- package/dist/chunk-3LJYHE7S.js.map +1 -0
- package/dist/{chunk-CCT4WZI6.js → chunk-3OWYOECI.js} +5 -5
- package/dist/chunk-3OWYOECI.js.map +1 -0
- package/dist/{chunk-L4OA7G5T.js → chunk-522MBPE5.js} +2 -2
- package/dist/{chunk-ZJGZDOQO.js → chunk-5ATANZSW.js} +6 -6
- package/dist/{chunk-M25ZIEB2.js → chunk-5HSSTOOG.js} +2 -2
- package/dist/{chunk-LLVW4V7R.js → chunk-5WLDZZ6S.js} +3 -3
- package/dist/{chunk-7B4GPCX7.js → chunk-6RPWILRH.js} +5 -5
- package/dist/{chunk-IGM563N5.js → chunk-6SYOHUHM.js} +6 -6
- package/dist/chunk-6SYOHUHM.js.map +1 -0
- package/dist/{chunk-HGVFJL63.js → chunk-7BIJS6II.js} +15 -5
- package/dist/{chunk-HGVFJL63.js.map → chunk-7BIJS6II.js.map} +1 -1
- package/dist/{chunk-KR5EGWI4.js → chunk-7ICV4ASA.js} +5 -5
- package/dist/{chunk-J3VW4J4E.js → chunk-7LP7FFJ2.js} +2 -2
- package/dist/chunk-7LP7FFJ2.js.map +1 -0
- package/dist/{chunk-5P5AAXYA.js → chunk-7U6AB7DZ.js} +7 -7
- package/dist/chunk-7U6AB7DZ.js.map +1 -0
- package/dist/{chunk-KMONEHDJ.js → chunk-AFAPBZAA.js} +2 -2
- package/dist/{chunk-GBEXTC6Z.js → chunk-BAAUFCJK.js} +3 -3
- package/dist/chunk-BAAUFCJK.js.map +1 -0
- package/dist/{chunk-CGPO3ZYB.js → chunk-BY5YBSXA.js} +2 -2
- package/dist/{chunk-3O62PVDW.js → chunk-CJVEAVYH.js} +5 -5
- package/dist/chunk-CJVEAVYH.js.map +1 -0
- package/dist/{chunk-3XVOLB75.js → chunk-CKUYQO2P.js} +3 -3
- package/dist/{chunk-2JZ763FV.js → chunk-D4LAJ737.js} +2 -2
- package/dist/{chunk-OOTTXUNV.js → chunk-DYZ5CCVM.js} +2 -2
- package/dist/{chunk-W7TCXZWU.js → chunk-EEZCB74X.js} +393 -716
- package/dist/chunk-EEZCB74X.js.map +1 -0
- package/dist/{chunk-N4FZ6ITM.js → chunk-EGU4PWQW.js} +2 -2
- package/dist/{chunk-JKWNG3TM.js → chunk-FHHYCBBP.js} +2 -2
- package/dist/{chunk-QUIG6BZT.js → chunk-FIP7KI2P.js} +26 -26
- package/dist/chunk-FIP7KI2P.js.map +1 -0
- package/dist/{chunk-5KI3REO3.js → chunk-FTCGEUOY.js} +7 -7
- package/dist/{chunk-5BB3N4KU.js → chunk-G4MFQXYX.js} +2 -2
- package/dist/{chunk-PEY6ZTCF.js → chunk-GEEJPID6.js} +9 -9
- package/dist/{chunk-PEY6ZTCF.js.map → chunk-GEEJPID6.js.map} +1 -1
- package/dist/{chunk-KVHWEPT2.js → chunk-GHEMAVTN.js} +2 -2
- package/dist/{chunk-OVFCAS7U.js → chunk-GP54LU5N.js} +9 -9
- package/dist/{chunk-XW7NWO4A.js → chunk-GTNRMJYH.js} +2 -2
- package/dist/{chunk-JW3XCZA2.js → chunk-HAPY7WFP.js} +11 -11
- package/dist/{chunk-4X6DJZHY.js → chunk-HQKRZIX6.js} +4 -4
- package/dist/{chunk-OWE4BNTM.js → chunk-I2XEBEEF.js} +4 -4
- package/dist/{chunk-WEC3JGBA.js → chunk-IGLU4ME7.js} +3 -3
- package/dist/{chunk-BZK6JEX4.js → chunk-ILM6X6CP.js} +5 -5
- package/dist/{chunk-2KL6NDD4.js → chunk-J5TEU77Q.js} +4 -4
- package/dist/{chunk-UEO5CHOP.js → chunk-JAMDDLIM.js} +13 -13
- package/dist/chunk-JAMDDLIM.js.map +1 -0
- package/dist/{chunk-V7RGFJ3Z.js → chunk-JIHH26WQ.js} +6 -6
- package/dist/{chunk-XGVDLQJE.js → chunk-JN3SGXJE.js} +3 -3
- package/dist/{chunk-XULHFSHO.js → chunk-K4BWPNJO.js} +5 -5
- package/dist/chunk-K4BWPNJO.js.map +1 -0
- package/dist/{chunk-BZEPJJOK.js → chunk-K7BADAOS.js} +4 -4
- package/dist/{chunk-BLB7P7LS.js → chunk-KJTIAECI.js} +17 -17
- package/dist/chunk-KJTIAECI.js.map +1 -0
- package/dist/{chunk-U73LHVPF.js → chunk-L2CAWCQL.js} +4 -4
- package/dist/{chunk-MSO2C3KG.js → chunk-LC7DSMHR.js} +2 -2
- package/dist/{chunk-JA5B3SLH.js → chunk-M6QA2KK2.js} +2 -2
- package/dist/{chunk-IUIVDVXM.js → chunk-MUPZ6IZX.js} +2 -2
- package/dist/{chunk-QAFWRGVD.js → chunk-OGVE4IJW.js} +7 -7
- package/dist/{chunk-BCOKZC4B.js → chunk-OHV6T5JB.js} +19 -19
- package/dist/chunk-OHV6T5JB.js.map +1 -0
- package/dist/{chunk-25ZDB25Z.js → chunk-OMSKGLYA.js} +3 -3
- package/dist/chunk-OMSKGLYA.js.map +1 -0
- package/dist/{chunk-2U7Y7BNJ.js → chunk-ONB627HU.js} +2 -2
- package/dist/{chunk-GYB2QK5H.js → chunk-OWLZONGX.js} +2 -2
- package/dist/{chunk-YHPUDB7Q.js → chunk-OWOT7CFC.js} +2 -2
- package/dist/{chunk-VEX6G3YL.js → chunk-P4NUJVWL.js} +2 -2
- package/dist/{chunk-NM4LVUXH.js → chunk-PTT2NB46.js} +2 -2
- package/dist/{chunk-2ITLQZV5.js → chunk-PWWWMRT7.js} +2 -2
- package/dist/{chunk-GS3Q2KOZ.js → chunk-QBOQI6PG.js} +2 -2
- package/dist/{chunk-JIMEB4C6.js → chunk-QMMOMBH6.js} +4 -4
- package/dist/{chunk-QDNVHA2F.js → chunk-QMZ5A6FQ.js} +2 -2
- package/dist/{chunk-FLHOTGOO.js → chunk-QVGEVZ5F.js} +3 -3
- package/dist/{chunk-AFBJHD55.js → chunk-QZJEYZ4I.js} +5 -5
- package/dist/{chunk-V3YB7RGR.js → chunk-R2N37AA6.js} +3 -3
- package/dist/{chunk-JLHKBAFY.js → chunk-RWW3I3PO.js} +3 -3
- package/dist/{chunk-IGAIOGCN.js → chunk-S4YERMGJ.js} +4 -4
- package/dist/{chunk-OGFPMCSP.js → chunk-SBOHNJUD.js} +2 -2
- package/dist/{chunk-QXPOEAKR.js → chunk-SC4JLMZI.js} +2 -2
- package/dist/{chunk-EDC6MLXV.js → chunk-SEU6QHH4.js} +2 -2
- package/dist/{chunk-F4COUZLL.js → chunk-TMR64XPL.js} +2 -2
- package/dist/{chunk-DEQ2JTBR.js → chunk-TNATF3HB.js} +3 -3
- package/dist/{chunk-GZ2GKOF6.js → chunk-TNJVDG2B.js} +3 -3
- package/dist/{chunk-5OZCCLNC.js → chunk-TSNRZSRC.js} +2 -2
- package/dist/{chunk-QCUH2G77.js → chunk-UTEATWHO.js} +6 -6
- package/dist/{chunk-JA5O7UEZ.js → chunk-UVBHM7AK.js} +6 -6
- package/dist/chunk-UVBHM7AK.js.map +1 -0
- package/dist/{chunk-HKR25MGX.js → chunk-V5JUAW4M.js} +10 -10
- package/dist/chunk-V5JUAW4M.js.map +1 -0
- package/dist/{chunk-YGBIBOCR.js → chunk-VEGQYPCP.js} +7 -7
- package/dist/{chunk-25G7U6RD.js → chunk-WQN5SM7P.js} +2 -2
- package/dist/{chunk-NOT7XA7Q.js → chunk-X3MWEFPT.js} +5 -5
- package/dist/chunk-XUFAFHQM.js +78 -0
- package/dist/chunk-XUFAFHQM.js.map +1 -0
- package/dist/{chunk-MEKAMERX.js → chunk-YCAJDK4O.js} +29 -29
- package/dist/chunk-YCAJDK4O.js.map +1 -0
- package/dist/{chunk-BVZGNMVM.js → chunk-YFFEF6HR.js} +3 -3
- package/dist/{chunk-H4SMS4O2.js → chunk-YJ3TREAC.js} +2 -2
- package/dist/{chunk-5SZ24DL5.js → chunk-YQQPNXNO.js} +6 -6
- package/dist/{chunk-5BHNQNBI.js → chunk-YTW6ZIPD.js} +1 -1
- package/dist/chunk-YTW6ZIPD.js.map +1 -0
- package/dist/{chunk-EW4HFWGJ.js → chunk-YWZEDG7F.js} +6 -6
- package/dist/{chunk-2VUISNGP.js → chunk-YXIVUWDU.js} +5 -5
- package/dist/{chunk-YG2EG6CB.js → chunk-YXZNGHID.js} +4 -4
- package/dist/{chunk-QYJIOWKN.js → chunk-YZN6NRTR.js} +9 -9
- package/dist/{chunk-IZX3WZBF.js → chunk-YZNKFYDC.js} +4 -4
- package/dist/{chunk-E2R5NRZD.js → chunk-Z4D3YGAB.js} +2 -2
- package/dist/{chunk-STR7WBOB.js → chunk-ZUDAK436.js} +2 -2
- package/dist/{chunk-ITI3SJRB.js → chunk-ZX5FNWH7.js} +2 -2
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-7S5IEP6Q.js → classified-marker-52P3D72W.js} +3 -3
- package/dist/collection-facade-XKCFHSLR.js +44 -0
- package/dist/{computed-WZNKRLCY.js → computed-33DRJDOC.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/{cover-B5MY43CK.js → cover-5BSNJREH.js} +4 -4
- package/dist/{dead-filter-KRRD57MR.js → dead-filter-JXVCKS6W.js} +2 -2
- package/dist/delegation-WWZPEDK2.js +25 -0
- package/dist/derivations/index.js +12 -12
- package/dist/derive-CWWFEQ4N.js +21 -0
- package/dist/dispatch-PKQQFDBT.js +193 -0
- package/dist/dispatch-PKQQFDBT.js.map +1 -0
- package/dist/dispatch-SMXUO7W5.js +72 -0
- package/dist/dispatch-SMXUO7W5.js.map +1 -0
- package/dist/{enclave-YFKA3GJT.js → enclave-I5H3GINP.js} +11 -11
- package/dist/executor-FCJEH3FU.js +9 -0
- package/dist/executor-OHET7TF7.js +9 -0
- package/dist/executor-SHYLIBOM.js +26 -0
- package/dist/export-accessible-FBL6TDSK.js +23 -0
- package/dist/extract-partition-ZYIRYMTI.js +38 -0
- package/dist/{fanout-sidecar-HJV3A7PM.js → fanout-sidecar-WWXVHHUH.js} +9 -9
- package/dist/find-LEBUXVL7.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +3 -3
- package/dist/history/index.js +12 -12
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +13 -9
- package/dist/index.js +119 -118
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +2 -2
- package/dist/issue-F76PAGIR.js +19 -0
- package/dist/kernel/collection.d.ts +0 -1
- package/dist/kernel/enclave/crypto.d.ts +8 -8
- package/dist/kernel/enclave/index.d.ts +2 -2
- package/dist/kernel/errors.d.ts +20 -20
- package/dist/kernel/noydb.d.ts +32 -91
- package/dist/kernel/types.d.ts +82 -41
- package/dist/kernel/validation.d.ts +33 -33
- package/dist/kernel/vault.d.ts +12 -149
- package/dist/kernel/via/dispatch.d.ts +7 -0
- package/dist/{ledger-SW6QQOAV.js → ledger-M2BKCNVS.js} +11 -11
- package/dist/liberate-ZP7UB57K.js +24 -0
- package/dist/{link-set-GNGGCFI4.js → link-set-ZU4E5J5S.js} +11 -11
- package/dist/materialized-views/index.js +19 -19
- package/dist/noydb-BNDGEK5X.js +71 -0
- package/dist/on/index.js +9 -9
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +13 -13
- package/dist/pod/index.js +11 -11
- package/dist/{policy-EAXSJNOT.js → policy-IY2YEA3A.js} +5 -5
- package/dist/port/at/index.d.ts +4 -4
- package/dist/port/with/collection-options.d.ts +171 -0
- package/dist/port/with/team-strategy.d.ts +1 -1
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-A7HCFBP5.js → post-register-XIAHB6KF.js} +6 -6
- package/dist/query/index.js +6 -6
- package/dist/register-HB4TQZSV.js +23 -0
- package/dist/registry-6BMBFEXT.js +19 -0
- package/dist/registry-7CZWF3EQ.js +9 -0
- package/dist/registry-JOFO7RAH.js +18 -0
- package/dist/request-withdrawal-UN3TRHWI.js +31 -0
- package/dist/{reveal-PB3YG544.js → reveal-VWXRV2XU.js} +6 -6
- package/dist/revoke-OLO2OVR7.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/sealed-record/index.js +12 -12
- package/dist/{seed-EKF4DIBB.js → seed-CDBFOTIK.js} +12 -12
- package/dist/seed-CDBFOTIK.js.map +1 -0
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/signer-MGGKPYAN.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/{stale-4UNPHWOU.js → stale-NBROTA66.js} +10 -10
- package/dist/storage-3R37QZLA.js +23 -0
- package/dist/{store-coordination-provider-3AELCZ4Y.js → store-coordination-provider-P3IU5JHD.js} +3 -3
- package/dist/sync/index.js +10 -10
- package/dist/team/index.js +20 -20
- package/dist/tiers/index.js +10 -10
- package/dist/to/index.js +1 -1
- package/dist/tx/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/{verify-MXN66IIH.js → verify-5X37OXRY.js} +5 -5
- package/dist/{walk-H4YE52S2.js → walk-E3OVLBFR.js} +11 -11
- package/dist/with/index.js +11 -11
- package/dist/with-audit/portability/export-accessible.d.ts +4 -4
- package/dist/with-audit/portability/request-withdrawal.d.ts +3 -3
- package/dist/with-audit/portability/withdraw-accessible.d.ts +2 -2
- package/dist/with-audit/sealed-record/strategy.d.ts +1 -1
- package/dist/with-cargo/adopt-partition.d.ts +7 -7
- package/dist/with-cargo/index.d.ts +1 -1
- package/dist/with-commit/history/time-machine.d.ts +2 -2
- package/dist/with-formula/derivations/dispatch.d.ts +98 -0
- package/dist/with-formula/materialized-views/dispatch.d.ts +75 -0
- package/dist/with-party/custody/liberate.d.ts +3 -3
- package/dist/with-party/session/dev-unlock.d.ts +2 -2
- package/dist/with-party/session/session.d.ts +2 -2
- package/dist/with-party/team/deed.d.ts +8 -8
- package/dist/with-party/team/index.d.ts +2 -2
- package/dist/with-party/team/keyring.d.ts +19 -19
- package/dist/with-party/team/{managed-passphrase.d.ts → managed-secret.d.ts} +27 -27
- package/dist/with-party/team/noydb-facade.d.ts +41 -41
- package/dist/with-party/team/peer-recover.d.ts +13 -13
- package/dist/with-party/team/recovery.d.ts +5 -5
- package/dist/with-party/team/rotate-recover.d.ts +30 -30
- package/dist/with-pod/bundle.d.ts +30 -30
- package/dist/with-pod/format.d.ts +2 -2
- package/dist/withdraw-accessible-Q2EMATCU.js +28 -0
- package/package.json +3 -3
- package/dist/api-UPAT2O3M.js +0 -20
- package/dist/chunk-25ZDB25Z.js.map +0 -1
- package/dist/chunk-3O62PVDW.js.map +0 -1
- package/dist/chunk-5BHNQNBI.js.map +0 -1
- package/dist/chunk-5P5AAXYA.js.map +0 -1
- package/dist/chunk-BCOKZC4B.js.map +0 -1
- package/dist/chunk-BLB7P7LS.js.map +0 -1
- package/dist/chunk-CCT4WZI6.js.map +0 -1
- package/dist/chunk-GBEXTC6Z.js.map +0 -1
- package/dist/chunk-HKR25MGX.js.map +0 -1
- package/dist/chunk-IGM563N5.js.map +0 -1
- package/dist/chunk-J3VW4J4E.js.map +0 -1
- package/dist/chunk-JA5O7UEZ.js.map +0 -1
- package/dist/chunk-MEKAMERX.js.map +0 -1
- package/dist/chunk-QUIG6BZT.js.map +0 -1
- package/dist/chunk-UEO5CHOP.js.map +0 -1
- package/dist/chunk-W7TCXZWU.js.map +0 -1
- package/dist/chunk-WJDYZP3U.js.map +0 -1
- package/dist/chunk-XULHFSHO.js.map +0 -1
- package/dist/collection-facade-CMZGQ6IS.js +0 -44
- package/dist/delegation-UT76AQIG.js +0 -25
- package/dist/derive-SGRCCKVP.js +0 -21
- package/dist/executor-TEZYRDN3.js +0 -9
- package/dist/executor-WQQRU6DO.js +0 -9
- package/dist/executor-YORMIBWV.js +0 -26
- package/dist/export-accessible-HXMKW5LJ.js +0 -23
- package/dist/extract-partition-QGQ2R42J.js +0 -38
- package/dist/find-VV6PBIHK.js +0 -11
- package/dist/issue-7JJ4Z7E2.js +0 -19
- package/dist/liberate-FK7JI2QX.js +0 -24
- package/dist/noydb-N5IW6OFZ.js +0 -70
- package/dist/register-YBMRLZLO.js +0 -23
- package/dist/registry-3LXKNXWI.js +0 -9
- package/dist/registry-4V4YQCXJ.js +0 -19
- package/dist/registry-ZULMLCJK.js +0 -18
- package/dist/request-withdrawal-SEVUEUDG.js +0 -31
- package/dist/revoke-5QULL5GT.js +0 -24
- package/dist/seed-EKF4DIBB.js.map +0 -1
- package/dist/signer-ZMH35FT4.js +0 -25
- package/dist/storage-QOZKQMID.js +0 -23
- package/dist/withdraw-accessible-HPOVNG2G.js +0 -28
- /package/dist/{api-UPAT2O3M.js.map → api-22ES33N3.js.map} +0 -0
- /package/dist/{backup-JL2GOTYQ.js.map → backup-YCHAC575.js.map} +0 -0
- /package/dist/{chunk-2RMDVWGB.js.map → chunk-2CRZOVDI.js.map} +0 -0
- /package/dist/{chunk-T7S4V52L.js.map → chunk-2PDBYF2O.js.map} +0 -0
- /package/dist/{chunk-L4OA7G5T.js.map → chunk-522MBPE5.js.map} +0 -0
- /package/dist/{chunk-ZJGZDOQO.js.map → chunk-5ATANZSW.js.map} +0 -0
- /package/dist/{chunk-M25ZIEB2.js.map → chunk-5HSSTOOG.js.map} +0 -0
- /package/dist/{chunk-LLVW4V7R.js.map → chunk-5WLDZZ6S.js.map} +0 -0
- /package/dist/{chunk-7B4GPCX7.js.map → chunk-6RPWILRH.js.map} +0 -0
- /package/dist/{chunk-KR5EGWI4.js.map → chunk-7ICV4ASA.js.map} +0 -0
- /package/dist/{chunk-KMONEHDJ.js.map → chunk-AFAPBZAA.js.map} +0 -0
- /package/dist/{chunk-CGPO3ZYB.js.map → chunk-BY5YBSXA.js.map} +0 -0
- /package/dist/{chunk-3XVOLB75.js.map → chunk-CKUYQO2P.js.map} +0 -0
- /package/dist/{chunk-2JZ763FV.js.map → chunk-D4LAJ737.js.map} +0 -0
- /package/dist/{chunk-OOTTXUNV.js.map → chunk-DYZ5CCVM.js.map} +0 -0
- /package/dist/{chunk-N4FZ6ITM.js.map → chunk-EGU4PWQW.js.map} +0 -0
- /package/dist/{chunk-JKWNG3TM.js.map → chunk-FHHYCBBP.js.map} +0 -0
- /package/dist/{chunk-5KI3REO3.js.map → chunk-FTCGEUOY.js.map} +0 -0
- /package/dist/{chunk-5BB3N4KU.js.map → chunk-G4MFQXYX.js.map} +0 -0
- /package/dist/{chunk-KVHWEPT2.js.map → chunk-GHEMAVTN.js.map} +0 -0
- /package/dist/{chunk-OVFCAS7U.js.map → chunk-GP54LU5N.js.map} +0 -0
- /package/dist/{chunk-XW7NWO4A.js.map → chunk-GTNRMJYH.js.map} +0 -0
- /package/dist/{chunk-JW3XCZA2.js.map → chunk-HAPY7WFP.js.map} +0 -0
- /package/dist/{chunk-4X6DJZHY.js.map → chunk-HQKRZIX6.js.map} +0 -0
- /package/dist/{chunk-OWE4BNTM.js.map → chunk-I2XEBEEF.js.map} +0 -0
- /package/dist/{chunk-WEC3JGBA.js.map → chunk-IGLU4ME7.js.map} +0 -0
- /package/dist/{chunk-BZK6JEX4.js.map → chunk-ILM6X6CP.js.map} +0 -0
- /package/dist/{chunk-2KL6NDD4.js.map → chunk-J5TEU77Q.js.map} +0 -0
- /package/dist/{chunk-V7RGFJ3Z.js.map → chunk-JIHH26WQ.js.map} +0 -0
- /package/dist/{chunk-XGVDLQJE.js.map → chunk-JN3SGXJE.js.map} +0 -0
- /package/dist/{chunk-BZEPJJOK.js.map → chunk-K7BADAOS.js.map} +0 -0
- /package/dist/{chunk-U73LHVPF.js.map → chunk-L2CAWCQL.js.map} +0 -0
- /package/dist/{chunk-MSO2C3KG.js.map → chunk-LC7DSMHR.js.map} +0 -0
- /package/dist/{chunk-JA5B3SLH.js.map → chunk-M6QA2KK2.js.map} +0 -0
- /package/dist/{chunk-IUIVDVXM.js.map → chunk-MUPZ6IZX.js.map} +0 -0
- /package/dist/{chunk-QAFWRGVD.js.map → chunk-OGVE4IJW.js.map} +0 -0
- /package/dist/{chunk-2U7Y7BNJ.js.map → chunk-ONB627HU.js.map} +0 -0
- /package/dist/{chunk-GYB2QK5H.js.map → chunk-OWLZONGX.js.map} +0 -0
- /package/dist/{chunk-YHPUDB7Q.js.map → chunk-OWOT7CFC.js.map} +0 -0
- /package/dist/{chunk-VEX6G3YL.js.map → chunk-P4NUJVWL.js.map} +0 -0
- /package/dist/{chunk-NM4LVUXH.js.map → chunk-PTT2NB46.js.map} +0 -0
- /package/dist/{chunk-2ITLQZV5.js.map → chunk-PWWWMRT7.js.map} +0 -0
- /package/dist/{chunk-GS3Q2KOZ.js.map → chunk-QBOQI6PG.js.map} +0 -0
- /package/dist/{chunk-JIMEB4C6.js.map → chunk-QMMOMBH6.js.map} +0 -0
- /package/dist/{chunk-QDNVHA2F.js.map → chunk-QMZ5A6FQ.js.map} +0 -0
- /package/dist/{chunk-FLHOTGOO.js.map → chunk-QVGEVZ5F.js.map} +0 -0
- /package/dist/{chunk-AFBJHD55.js.map → chunk-QZJEYZ4I.js.map} +0 -0
- /package/dist/{chunk-V3YB7RGR.js.map → chunk-R2N37AA6.js.map} +0 -0
- /package/dist/{chunk-JLHKBAFY.js.map → chunk-RWW3I3PO.js.map} +0 -0
- /package/dist/{chunk-IGAIOGCN.js.map → chunk-S4YERMGJ.js.map} +0 -0
- /package/dist/{chunk-OGFPMCSP.js.map → chunk-SBOHNJUD.js.map} +0 -0
- /package/dist/{chunk-QXPOEAKR.js.map → chunk-SC4JLMZI.js.map} +0 -0
- /package/dist/{chunk-EDC6MLXV.js.map → chunk-SEU6QHH4.js.map} +0 -0
- /package/dist/{chunk-F4COUZLL.js.map → chunk-TMR64XPL.js.map} +0 -0
- /package/dist/{chunk-DEQ2JTBR.js.map → chunk-TNATF3HB.js.map} +0 -0
- /package/dist/{chunk-GZ2GKOF6.js.map → chunk-TNJVDG2B.js.map} +0 -0
- /package/dist/{chunk-5OZCCLNC.js.map → chunk-TSNRZSRC.js.map} +0 -0
- /package/dist/{chunk-QCUH2G77.js.map → chunk-UTEATWHO.js.map} +0 -0
- /package/dist/{chunk-YGBIBOCR.js.map → chunk-VEGQYPCP.js.map} +0 -0
- /package/dist/{chunk-25G7U6RD.js.map → chunk-WQN5SM7P.js.map} +0 -0
- /package/dist/{chunk-NOT7XA7Q.js.map → chunk-X3MWEFPT.js.map} +0 -0
- /package/dist/{chunk-BVZGNMVM.js.map → chunk-YFFEF6HR.js.map} +0 -0
- /package/dist/{chunk-H4SMS4O2.js.map → chunk-YJ3TREAC.js.map} +0 -0
- /package/dist/{chunk-5SZ24DL5.js.map → chunk-YQQPNXNO.js.map} +0 -0
- /package/dist/{chunk-EW4HFWGJ.js.map → chunk-YWZEDG7F.js.map} +0 -0
- /package/dist/{chunk-2VUISNGP.js.map → chunk-YXIVUWDU.js.map} +0 -0
- /package/dist/{chunk-YG2EG6CB.js.map → chunk-YXZNGHID.js.map} +0 -0
- /package/dist/{chunk-QYJIOWKN.js.map → chunk-YZN6NRTR.js.map} +0 -0
- /package/dist/{chunk-IZX3WZBF.js.map → chunk-YZNKFYDC.js.map} +0 -0
- /package/dist/{chunk-E2R5NRZD.js.map → chunk-Z4D3YGAB.js.map} +0 -0
- /package/dist/{chunk-STR7WBOB.js.map → chunk-ZUDAK436.js.map} +0 -0
- /package/dist/{chunk-ITI3SJRB.js.map → chunk-ZX5FNWH7.js.map} +0 -0
- /package/dist/{classified-marker-7S5IEP6Q.js.map → classified-marker-52P3D72W.js.map} +0 -0
- /package/dist/{collection-facade-CMZGQ6IS.js.map → collection-facade-XKCFHSLR.js.map} +0 -0
- /package/dist/{computed-WZNKRLCY.js.map → computed-33DRJDOC.js.map} +0 -0
- /package/dist/{cover-B5MY43CK.js.map → cover-5BSNJREH.js.map} +0 -0
- /package/dist/{dead-filter-KRRD57MR.js.map → dead-filter-JXVCKS6W.js.map} +0 -0
- /package/dist/{delegation-UT76AQIG.js.map → delegation-WWZPEDK2.js.map} +0 -0
- /package/dist/{derive-SGRCCKVP.js.map → derive-CWWFEQ4N.js.map} +0 -0
- /package/dist/{enclave-YFKA3GJT.js.map → enclave-I5H3GINP.js.map} +0 -0
- /package/dist/{executor-TEZYRDN3.js.map → executor-FCJEH3FU.js.map} +0 -0
- /package/dist/{executor-WQQRU6DO.js.map → executor-OHET7TF7.js.map} +0 -0
- /package/dist/{executor-YORMIBWV.js.map → executor-SHYLIBOM.js.map} +0 -0
- /package/dist/{export-accessible-HXMKW5LJ.js.map → export-accessible-FBL6TDSK.js.map} +0 -0
- /package/dist/{extract-partition-QGQ2R42J.js.map → extract-partition-ZYIRYMTI.js.map} +0 -0
- /package/dist/{fanout-sidecar-HJV3A7PM.js.map → fanout-sidecar-WWXVHHUH.js.map} +0 -0
- /package/dist/{find-VV6PBIHK.js.map → find-LEBUXVL7.js.map} +0 -0
- /package/dist/{issue-7JJ4Z7E2.js.map → issue-F76PAGIR.js.map} +0 -0
- /package/dist/{ledger-SW6QQOAV.js.map → ledger-M2BKCNVS.js.map} +0 -0
- /package/dist/{liberate-FK7JI2QX.js.map → liberate-ZP7UB57K.js.map} +0 -0
- /package/dist/{link-set-GNGGCFI4.js.map → link-set-ZU4E5J5S.js.map} +0 -0
- /package/dist/{noydb-N5IW6OFZ.js.map → noydb-BNDGEK5X.js.map} +0 -0
- /package/dist/{policy-EAXSJNOT.js.map → policy-IY2YEA3A.js.map} +0 -0
- /package/dist/{post-register-A7HCFBP5.js.map → post-register-XIAHB6KF.js.map} +0 -0
- /package/dist/{register-YBMRLZLO.js.map → register-HB4TQZSV.js.map} +0 -0
- /package/dist/{registry-3LXKNXWI.js.map → registry-6BMBFEXT.js.map} +0 -0
- /package/dist/{registry-4V4YQCXJ.js.map → registry-7CZWF3EQ.js.map} +0 -0
- /package/dist/{registry-ZULMLCJK.js.map → registry-JOFO7RAH.js.map} +0 -0
- /package/dist/{request-withdrawal-SEVUEUDG.js.map → request-withdrawal-UN3TRHWI.js.map} +0 -0
- /package/dist/{reveal-PB3YG544.js.map → reveal-VWXRV2XU.js.map} +0 -0
- /package/dist/{revoke-5QULL5GT.js.map → revoke-OLO2OVR7.js.map} +0 -0
- /package/dist/{signer-ZMH35FT4.js.map → signer-MGGKPYAN.js.map} +0 -0
- /package/dist/{stale-4UNPHWOU.js.map → stale-NBROTA66.js.map} +0 -0
- /package/dist/{storage-QOZKQMID.js.map → storage-3R37QZLA.js.map} +0 -0
- /package/dist/{store-coordination-provider-3AELCZ4Y.js.map → store-coordination-provider-P3IU5JHD.js.map} +0 -0
- /package/dist/{verify-MXN66IIH.js.map → verify-5X37OXRY.js.map} +0 -0
- /package/dist/{walk-H4YE52S2.js.map → walk-E3OVLBFR.js.map} +0 -0
- /package/dist/{withdraw-accessible-HPOVNG2G.js.map → withdraw-accessible-Q2EMATCU.js.map} +0 -0
package/dist/port/at/index.d.ts
CHANGED
|
@@ -3,16 +3,16 @@
|
|
|
3
3
|
*
|
|
4
4
|
* A sealing-key provider (`at-env`, `at-aws-kms`, `at-gcp-kms`, …) binds
|
|
5
5
|
* ONLY to this subpath: the `SealingKeyProvider` contract concrete
|
|
6
|
-
* providers implement to seal/unseal a hub-generated random
|
|
7
|
-
* for managed-
|
|
6
|
+
* providers implement to seal/unseal a hub-generated random secret
|
|
7
|
+
* for managed-secret mode. Its two methods (`seal`/`unseal`) close
|
|
8
8
|
* over only `Uint8Array`/`Promise`/`string` — no additional option or
|
|
9
9
|
* result types to re-export.
|
|
10
10
|
*
|
|
11
11
|
* NOTE: `SealingKeyProvider` is implemented in `with-party/team/*` (the
|
|
12
|
-
* managed-
|
|
12
|
+
* managed-secret service), not the kernel spine proper — same
|
|
13
13
|
* precedent as `@noy-db/hub/ui` re-exporting from `with-shape/introspection`.
|
|
14
14
|
*
|
|
15
15
|
* Named re-exports only (no `export *`) so the published surface is explicit and
|
|
16
16
|
* tsup's per-entry bundling keeps class identity stable across subpaths.
|
|
17
17
|
*/
|
|
18
|
-
export type { SealingKeyProvider } from '../../with-party/team/managed-
|
|
18
|
+
export type { SealingKeyProvider } from '../../with-party/team/managed-secret.js';
|
|
@@ -0,0 +1,171 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Options for `Vault.collection()` — opening or declaring a collection (#841).
|
|
3
|
+
*
|
|
4
|
+
* ## Why this lives on the port
|
|
5
|
+
*
|
|
6
|
+
* The shape references descriptor types owned by services — `EmbeddingDescriptor`
|
|
7
|
+
* (`with-lookup`), `ComputedFields` (`with-formula`), `FieldMeta` (`with-shape`) —
|
|
8
|
+
* so it cannot sit in `kernel/`: `port-layering` forbids the spine from
|
|
9
|
+
* statically importing a `with-*` service, and the grandfathered lists are
|
|
10
|
+
* frozen per file. `port/with/` is the seam that exists for exactly this, and
|
|
11
|
+
* port files may reach services freely — the same reasoning that placed the
|
|
12
|
+
* strategy table here in #838.
|
|
13
|
+
*
|
|
14
|
+
* @internal
|
|
15
|
+
*/
|
|
16
|
+
import type { CacheOptions } from '../../kernel/collection.js';
|
|
17
|
+
import type { RefDescriptor } from '../../kernel/refs.js';
|
|
18
|
+
import type { StandardSchemaV1 } from '../../kernel/schema.js';
|
|
19
|
+
import type { ConflictPolicy, HistoryConfig, IndexDefFor, IndexFieldName, MoneyFieldsOpt, SensitiveOpt, TierMode } from '../../kernel/types.js';
|
|
20
|
+
import type { ViaFieldSpec } from '../../kernel/via/compose.js';
|
|
21
|
+
import type { ClassifiedEntry } from '../../port/with/classified-strategy.js';
|
|
22
|
+
import type { CrdtMode } from '../../with-commit/crdt/crdt.js';
|
|
23
|
+
import type { ComputedFields } from '../../with-formula/computed/index.js';
|
|
24
|
+
import type { EmbeddingDescriptor } from '../../with-lookup/embeddings/index.js';
|
|
25
|
+
import type { BlobFieldsConfig } from '../../with-shape/blobs/blob-compaction.js';
|
|
26
|
+
import type { FieldMeta } from '../../with-shape/introspection/field-meta.js';
|
|
27
|
+
import type { CollectionMeta } from '../../with-shape/introspection/meta.js';
|
|
28
|
+
import type { DictKeyDescriptor, I18nTextDescriptor, StaticDictDescriptor } from './i18n-strategy.js';
|
|
29
|
+
import type { LookupDescriptor } from '../../via/lookup/descriptor.js';
|
|
30
|
+
import type { ArchivePolicy } from '../../with-fork/archive/index.js';
|
|
31
|
+
import type { SchemaUpdateStrategy } from '../../with-shape/schema-update/types.js';
|
|
32
|
+
import type { AttestationFieldSchema } from '@noy-db/attestation';
|
|
33
|
+
/**
|
|
34
|
+
* Options for {@link Vault.collection} — opening or declaring a collection.
|
|
35
|
+
*
|
|
36
|
+
* Extracted from a 124-line inline literal (#841). Naming it lets consumers
|
|
37
|
+
* annotate a call, lets `describe()` reuse the shape, and means a new option
|
|
38
|
+
* is one edit here rather than an edit buried in the middle of a 534-line
|
|
39
|
+
* method.
|
|
40
|
+
*
|
|
41
|
+
* Named `OpenCollectionOptions`, not `CollectionOptions` as the issue
|
|
42
|
+
* suggested, to keep a clear gap from the existing `CollectionOpts` in
|
|
43
|
+
* `collection-config.ts` — that one is the `Collection` CONSTRUCTOR's input,
|
|
44
|
+
* built from this one. A one-character difference between two adjacent
|
|
45
|
+
* config types is exactly the wart #844 is about.
|
|
46
|
+
*/
|
|
47
|
+
export interface OpenCollectionOptions<T, S extends keyof T & string = never, Q extends keyof T & string = never, M extends keyof T & string = never> {
|
|
48
|
+
indexes?: readonly IndexDefFor<IndexFieldName<T, S, Q>>[];
|
|
49
|
+
/** — auto-reconcile policy for persisted-index drift. */
|
|
50
|
+
reconcileOnOpen?: 'off' | 'dry-run' | 'auto';
|
|
51
|
+
prefetch?: boolean;
|
|
52
|
+
cache?: CacheOptions;
|
|
53
|
+
schema?: StandardSchemaV1<unknown, T>;
|
|
54
|
+
refs?: Record<string, RefDescriptor>;
|
|
55
|
+
/** — declare i18nText fields for locale-aware reads. */
|
|
56
|
+
i18nFields?: Record<string, I18nTextDescriptor>;
|
|
57
|
+
/** — embedding config for write-time vector derivation + semantic retrieval. */
|
|
58
|
+
embeddings?: EmbeddingDescriptor;
|
|
59
|
+
/** — string fields exposed to client-side `retrieve()`. */
|
|
60
|
+
textIndexes?: readonly IndexFieldName<T, S>[];
|
|
61
|
+
/** — pre-build the lexical index on open (eager-only). */
|
|
62
|
+
warmIndexOnOpen?: boolean;
|
|
63
|
+
/** — persist the lexical index as an opaque encrypted blob at `_ftindex/<name>`. */
|
|
64
|
+
textIndexPersist?: boolean;
|
|
65
|
+
/** — declare dictKey / staticDict fields for label resolution on reads. */
|
|
66
|
+
dictKeyFields?: Record<string, DictKeyDescriptor | StaticDictDescriptor>;
|
|
67
|
+
/** — declare lookup() / enumOf() / dict() fields (#650 Task 2 — the 'lookup' via binding's three tiers). */
|
|
68
|
+
lookupFields?: Record<string, LookupDescriptor>;
|
|
69
|
+
/** Consumer-neutral per-field descriptors (label/unit/semanticType/sensitivity…). See collection.describe(). */
|
|
70
|
+
fieldMeta?: Record<string, FieldMeta>;
|
|
71
|
+
/** The collection's own descriptive metadata (label/description/icon). See collection.describe(). */
|
|
72
|
+
meta?: CollectionMeta;
|
|
73
|
+
/** — declare money() fields for currency-safe decimal storage/formatting. */
|
|
74
|
+
moneyFields?: MoneyFieldsOpt<T, M>;
|
|
75
|
+
viaFields?: Record<string, ViaFieldSpec>;
|
|
76
|
+
/** — declare computed scalar fields, evaluated on write (schema-owned). Each entry may be
|
|
77
|
+
* a plain `(record) => value` function, OR `{ fn, deps }` to declare source fields for
|
|
78
|
+
* taint propagation (#638 Task 7 — supersedes the retired `computedDeps` option). */
|
|
79
|
+
computed?: ComputedFields<T>;
|
|
80
|
+
/** — declare classified() sensitive-field descriptors. See the classified-fields spec. */
|
|
81
|
+
classifiedFields?: Record<string, ClassifiedEntry>;
|
|
82
|
+
/** — per-collection conflict resolution policy. */
|
|
83
|
+
conflictPolicy?: ConflictPolicy<T>;
|
|
84
|
+
/** — CRDT mode for collaborative editing without conflicts. */
|
|
85
|
+
crdt?: CrdtMode;
|
|
86
|
+
/**
|
|
87
|
+
* declare deterministic-encryption fields for blind
|
|
88
|
+
* equality search. See `Collection` constructor docs for the full
|
|
89
|
+
* trade-off. Requires `acknowledgeDeterministicRisk: true`.
|
|
90
|
+
*/
|
|
91
|
+
deterministicFields?: readonly IndexFieldName<T, S>[];
|
|
92
|
+
/** — explicit ack that deterministic encryption leaks equality. */
|
|
93
|
+
acknowledgeDeterministicRisk?: boolean;
|
|
94
|
+
/** — explicit ack for the classified `equatable` knob (R8 door). Required
|
|
95
|
+
* when any classified field declares `equatable: true`. */
|
|
96
|
+
acknowledgeEquatableRisk?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* — structural group-encryption. Fields sealed into their own
|
|
99
|
+
* `_sealed[field]` envelope slot (per-field key), kept out of the open
|
|
100
|
+
* `_data` blob. Default-off; byte-identical output when absent.
|
|
101
|
+
*/
|
|
102
|
+
sensitive?: SensitiveOpt<T, S>;
|
|
103
|
+
/**
|
|
104
|
+
* — per-record content-encryption keys. When `true`, every record
|
|
105
|
+
* body is encrypted under a fresh per-record CEK wrapped under the
|
|
106
|
+
* collection DEK (`_cek`), stable across versions. Foundation for
|
|
107
|
+
* per-record erasure / record-scoped sealing. Off by
|
|
108
|
+
* default; non-adopting collections take the legacy path unchanged.
|
|
109
|
+
*/
|
|
110
|
+
perRecordKeys?: boolean;
|
|
111
|
+
satelliteOf?: string;
|
|
112
|
+
fields?: readonly string[];
|
|
113
|
+
joined?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Per-record provenance tracking. When `true`, `put()` calls that
|
|
116
|
+
* supply a `source` option stamp `_source` / `_sourceTs` onto the
|
|
117
|
+
* unencrypted envelope metadata. Off by default.
|
|
118
|
+
*/
|
|
119
|
+
provenance?: boolean;
|
|
120
|
+
/**
|
|
121
|
+
* declarative blob retention / TTL policy per slot
|
|
122
|
+
* name. Values are `{ retainDays?, evictWhen? }`. Evaluated only
|
|
123
|
+
* when `vault.compact()` runs.
|
|
124
|
+
*/
|
|
125
|
+
blobFields?: BlobFieldsConfig<T>;
|
|
126
|
+
blobTierPolicy?: 'isolate' | 'dedup';
|
|
127
|
+
/** — declarative record archival policy: `{ archiveWhen, legalHold? }`. Evaluated when `vault.archive()` runs. */
|
|
128
|
+
archive?: ArchivePolicy<T>;
|
|
129
|
+
/** — declared tiers for this collection. */
|
|
130
|
+
tiers?: readonly number[];
|
|
131
|
+
/** — how lower-tier reads see above-tier records. */
|
|
132
|
+
tierMode?: TierMode;
|
|
133
|
+
/**
|
|
134
|
+
* Opt-in persisted JSON Schema. When `true` AND a Zod `schema` is
|
|
135
|
+
* provided, hub derives a JSON Schema via `zod-to-json-schema`
|
|
136
|
+
* (optional peer-dep) and writes an encrypted snapshot to
|
|
137
|
+
* `_schemas/<collectionName>`. Re-runs on every open; hash-skip
|
|
138
|
+
* avoids write churn when the schema is unchanged.
|
|
139
|
+
*
|
|
140
|
+
* Default: `false`. Non-Zod Standard Schema validators receive a
|
|
141
|
+
* stub envelope flagging the kind without a JSON Schema body.
|
|
142
|
+
*
|
|
143
|
+
* @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
|
|
144
|
+
*/
|
|
145
|
+
persistJsonSchema?: boolean;
|
|
146
|
+
/**
|
|
147
|
+
* Ordered schema-update strategies. On a detected schema
|
|
148
|
+
* change, evaluated in order; the first non-`allow` decision wins.
|
|
149
|
+
* A `reject` is enforced at the write path (`put`/`delete` throw).
|
|
150
|
+
* Requires `persistJsonSchema: true` (detection needs the baseline).
|
|
151
|
+
*/
|
|
152
|
+
schemaUpdate?: readonly SchemaUpdateStrategy[];
|
|
153
|
+
/** — declare the per-field schema for document attestation (issue side). */
|
|
154
|
+
attestation?: AttestationFieldSchema;
|
|
155
|
+
/**
|
|
156
|
+
* Per-collection history & tamper-ledger scoping. Overrides the
|
|
157
|
+
* vault-wide `history` config for THIS collection only (wholesale, not
|
|
158
|
+
* merged). `enabled: false` suppresses per-record snapshots for this
|
|
159
|
+
* collection; `ledger: false` excludes its writes from the vault-wide
|
|
160
|
+
* hash-chained tamper ledger. Lets you confine version snapshots +
|
|
161
|
+
* tamper-evidence to the few collections where they carry legal weight,
|
|
162
|
+
* without paying snapshot + ledger-entry-per-write across operational /
|
|
163
|
+
* derived collections. Defaults to the vault-wide `history` config.
|
|
164
|
+
*/
|
|
165
|
+
historyConfig?: HistoryConfig;
|
|
166
|
+
/**
|
|
167
|
+
* Opt-in: keep the working set encrypted in RAM, decrypting on read (future phase).
|
|
168
|
+
* Default false — the working set is plaintext.
|
|
169
|
+
*/
|
|
170
|
+
ramCiphertext?: boolean;
|
|
171
|
+
}
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
* argument from the strategy.
|
|
17
17
|
*
|
|
18
18
|
* Deliberately NOT gated (single-user primitives): owner keyring creation,
|
|
19
|
-
* unlock, `listUsers`, `updateUser`,
|
|
19
|
+
* unlock, `listUsers`, `updateUser`, secret rotate/recover, and the
|
|
20
20
|
* `createDeedOwner` free function (no createNoydb instance to gate against —
|
|
21
21
|
* the same carve-out as `liberateVault`).
|
|
22
22
|
* @internal
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_PORTABILITY
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-OWLZONGX.js";
|
|
4
4
|
import {
|
|
5
5
|
PortabilityNotEnabledError
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-6SYOHUHM.js";
|
|
7
7
|
import "../chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
9
9
|
// src/with-audit/portability/active.ts
|
|
10
10
|
function withPortability() {
|
|
11
11
|
return {
|
|
12
12
|
async exportAccessibleData(vault, opts) {
|
|
13
|
-
const { exportAccessibleData } = await import("../export-accessible-
|
|
13
|
+
const { exportAccessibleData } = await import("../export-accessible-FBL6TDSK.js");
|
|
14
14
|
return exportAccessibleData(vault, opts);
|
|
15
15
|
},
|
|
16
16
|
async withdrawAccessibleData(vault, opts) {
|
|
17
|
-
const { withdrawAccessibleData } = await import("../withdraw-accessible-
|
|
17
|
+
const { withdrawAccessibleData } = await import("../withdraw-accessible-Q2EMATCU.js");
|
|
18
18
|
return withdrawAccessibleData(vault, opts);
|
|
19
19
|
},
|
|
20
20
|
async requestWithdrawal(vault, opts) {
|
|
21
|
-
const { requestWithdrawal } = await import("../request-withdrawal-
|
|
21
|
+
const { requestWithdrawal } = await import("../request-withdrawal-UN3TRHWI.js");
|
|
22
22
|
return requestWithdrawal(vault, opts);
|
|
23
23
|
},
|
|
24
24
|
async listWithdrawalRequests(vault, opts) {
|
|
25
|
-
const { listWithdrawalRequests } = await import("../request-withdrawal-
|
|
25
|
+
const { listWithdrawalRequests } = await import("../request-withdrawal-UN3TRHWI.js");
|
|
26
26
|
return listWithdrawalRequests(vault, opts);
|
|
27
27
|
},
|
|
28
28
|
async approveWithdrawal(vault, requestId, opts) {
|
|
29
|
-
const { approveWithdrawal } = await import("../request-withdrawal-
|
|
29
|
+
const { approveWithdrawal } = await import("../request-withdrawal-UN3TRHWI.js");
|
|
30
30
|
return approveWithdrawal(vault, requestId, opts);
|
|
31
31
|
},
|
|
32
32
|
async rejectWithdrawal(vault, requestId, opts) {
|
|
33
|
-
const { rejectWithdrawal } = await import("../request-withdrawal-
|
|
33
|
+
const { rejectWithdrawal } = await import("../request-withdrawal-UN3TRHWI.js");
|
|
34
34
|
return rejectWithdrawal(vault, requestId, opts);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
hashFields
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-522MBPE5.js";
|
|
4
4
|
import {
|
|
5
5
|
SatelliteConfigError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6SYOHUHM.js";
|
|
7
7
|
import "./chunk-PZ5AY32C.js";
|
|
8
8
|
|
|
9
9
|
// src/with-shape/satellites/marker.ts
|
|
@@ -14,7 +14,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
|
14
14
|
joined: spec.joined,
|
|
15
15
|
epoch: (/* @__PURE__ */ new Date()).toISOString()
|
|
16
16
|
};
|
|
17
|
-
const { loadPersistedSchema } = await import("./storage-
|
|
17
|
+
const { loadPersistedSchema } = await import("./storage-3R37QZLA.js");
|
|
18
18
|
const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek);
|
|
19
19
|
const prior = persisted?.satellite;
|
|
20
20
|
if (prior) {
|
|
@@ -25,7 +25,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
|
25
25
|
}
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
const { persistSatelliteMarker } = await import("./register-
|
|
28
|
+
const { persistSatelliteMarker } = await import("./register-HB4TQZSV.js");
|
|
29
29
|
await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next });
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -39,7 +39,7 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
39
39
|
}
|
|
40
40
|
if (baseSchema !== void 0) {
|
|
41
41
|
try {
|
|
42
|
-
const { derivePersistedSchema } = await import("./derive-
|
|
42
|
+
const { derivePersistedSchema } = await import("./derive-CWWFEQ4N.js");
|
|
43
43
|
const envelope = await derivePersistedSchema(baseSchema);
|
|
44
44
|
const properties = envelope.jsonSchema?.["properties"];
|
|
45
45
|
const baseFields = Object.keys(properties ?? {});
|
|
@@ -57,4 +57,4 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
57
57
|
export {
|
|
58
58
|
postRegister
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=post-register-
|
|
60
|
+
//# sourceMappingURL=post-register-XIAHB6KF.js.map
|
package/dist/query/index.js
CHANGED
|
@@ -4,12 +4,12 @@ import {
|
|
|
4
4
|
ScanBuilder,
|
|
5
5
|
buildLiveQuery,
|
|
6
6
|
executePlan
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-HQKRZIX6.js";
|
|
8
8
|
import {
|
|
9
9
|
DEFAULT_JOIN_MAX_ROWS,
|
|
10
10
|
applyJoins,
|
|
11
11
|
resetJoinWarnings
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-SBOHNJUD.js";
|
|
13
13
|
import {
|
|
14
14
|
CollectionIndexes
|
|
15
15
|
} from "../chunk-KPZS5QAQ.js";
|
|
@@ -33,14 +33,14 @@ import {
|
|
|
33
33
|
reducerBuilder,
|
|
34
34
|
resetGroupByWarnings,
|
|
35
35
|
sum
|
|
36
|
-
} from "../chunk-
|
|
36
|
+
} from "../chunk-QMMOMBH6.js";
|
|
37
37
|
import {
|
|
38
38
|
evaluateClause,
|
|
39
39
|
evaluateFieldClause,
|
|
40
40
|
readPath
|
|
41
41
|
} from "../chunk-IGJCYUT5.js";
|
|
42
|
-
import "../chunk-
|
|
43
|
-
import "../chunk-
|
|
42
|
+
import "../chunk-JN3SGXJE.js";
|
|
43
|
+
import "../chunk-ZUDAK436.js";
|
|
44
44
|
import {
|
|
45
45
|
CrossJoinSourceUnknownError,
|
|
46
46
|
CrossJoinTooLargeError,
|
|
@@ -50,7 +50,7 @@ import {
|
|
|
50
50
|
IndexRequiredError,
|
|
51
51
|
IndexWriteFailureError,
|
|
52
52
|
JoinTooLargeError
|
|
53
|
-
} from "../chunk-
|
|
53
|
+
} from "../chunk-6SYOHUHM.js";
|
|
54
54
|
import "../chunk-PZ5AY32C.js";
|
|
55
55
|
export {
|
|
56
56
|
Aggregation,
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
persistClassifiedMarker,
|
|
3
|
+
persistSatelliteMarker,
|
|
4
|
+
persistSchemaIfNeeded
|
|
5
|
+
} from "./chunk-YXZNGHID.js";
|
|
6
|
+
import "./chunk-SEU6QHH4.js";
|
|
7
|
+
import "./chunk-S4YERMGJ.js";
|
|
8
|
+
import "./chunk-GEEJPID6.js";
|
|
9
|
+
import "./chunk-SC4JLMZI.js";
|
|
10
|
+
import "./chunk-5WLDZZ6S.js";
|
|
11
|
+
import "./chunk-5HSSTOOG.js";
|
|
12
|
+
import "./chunk-G4MFQXYX.js";
|
|
13
|
+
import "./chunk-LP7BEXCT.js";
|
|
14
|
+
import "./chunk-7U6AB7DZ.js";
|
|
15
|
+
import "./chunk-YTW6ZIPD.js";
|
|
16
|
+
import "./chunk-6SYOHUHM.js";
|
|
17
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
|
+
export {
|
|
19
|
+
persistClassifiedMarker,
|
|
20
|
+
persistSatelliteMarker,
|
|
21
|
+
persistSchemaIfNeeded
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=register-HB4TQZSV.js.map
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MaterializedViewRegistry,
|
|
3
|
+
wrapDbWithPredicates
|
|
4
|
+
} from "./chunk-TNATF3HB.js";
|
|
5
|
+
import "./chunk-GEEJPID6.js";
|
|
6
|
+
import "./chunk-SC4JLMZI.js";
|
|
7
|
+
import "./chunk-5WLDZZ6S.js";
|
|
8
|
+
import "./chunk-5HSSTOOG.js";
|
|
9
|
+
import "./chunk-G4MFQXYX.js";
|
|
10
|
+
import "./chunk-LP7BEXCT.js";
|
|
11
|
+
import "./chunk-7U6AB7DZ.js";
|
|
12
|
+
import "./chunk-YTW6ZIPD.js";
|
|
13
|
+
import "./chunk-6SYOHUHM.js";
|
|
14
|
+
import "./chunk-PZ5AY32C.js";
|
|
15
|
+
export {
|
|
16
|
+
MaterializedViewRegistry,
|
|
17
|
+
wrapDbWithPredicates
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=registry-6BMBFEXT.js.map
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DerivationRegistry
|
|
3
|
+
} from "./chunk-2PDBYF2O.js";
|
|
4
|
+
import "./chunk-Z4D3YGAB.js";
|
|
5
|
+
import "./chunk-GEEJPID6.js";
|
|
6
|
+
import "./chunk-SC4JLMZI.js";
|
|
7
|
+
import "./chunk-5WLDZZ6S.js";
|
|
8
|
+
import "./chunk-5HSSTOOG.js";
|
|
9
|
+
import "./chunk-G4MFQXYX.js";
|
|
10
|
+
import "./chunk-LP7BEXCT.js";
|
|
11
|
+
import "./chunk-7U6AB7DZ.js";
|
|
12
|
+
import "./chunk-YTW6ZIPD.js";
|
|
13
|
+
import "./chunk-6SYOHUHM.js";
|
|
14
|
+
import "./chunk-PZ5AY32C.js";
|
|
15
|
+
export {
|
|
16
|
+
DerivationRegistry
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=registry-JOFO7RAH.js.map
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
3
|
+
WithdrawalRequestError,
|
|
4
|
+
approveWithdrawal,
|
|
5
|
+
listWithdrawalRequests,
|
|
6
|
+
rejectWithdrawal,
|
|
7
|
+
requestWithdrawal
|
|
8
|
+
} from "./chunk-3OWYOECI.js";
|
|
9
|
+
import "./chunk-K4BWPNJO.js";
|
|
10
|
+
import "./chunk-OMSKGLYA.js";
|
|
11
|
+
import "./chunk-YCAJDK4O.js";
|
|
12
|
+
import "./chunk-YFFEF6HR.js";
|
|
13
|
+
import "./chunk-GEEJPID6.js";
|
|
14
|
+
import "./chunk-SC4JLMZI.js";
|
|
15
|
+
import "./chunk-5WLDZZ6S.js";
|
|
16
|
+
import "./chunk-5HSSTOOG.js";
|
|
17
|
+
import "./chunk-G4MFQXYX.js";
|
|
18
|
+
import "./chunk-LP7BEXCT.js";
|
|
19
|
+
import "./chunk-7U6AB7DZ.js";
|
|
20
|
+
import "./chunk-YTW6ZIPD.js";
|
|
21
|
+
import "./chunk-6SYOHUHM.js";
|
|
22
|
+
import "./chunk-PZ5AY32C.js";
|
|
23
|
+
export {
|
|
24
|
+
WITHDRAWAL_REQUESTS_COLLECTION,
|
|
25
|
+
WithdrawalRequestError,
|
|
26
|
+
approveWithdrawal,
|
|
27
|
+
listWithdrawalRequests,
|
|
28
|
+
rejectWithdrawal,
|
|
29
|
+
requestWithdrawal
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=request-withdrawal-UN3TRHWI.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTombstone
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SC4JLMZI.js";
|
|
4
4
|
import {
|
|
5
5
|
dualReadSealedSlot
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-5HSSTOOG.js";
|
|
7
|
+
import "./chunk-7U6AB7DZ.js";
|
|
8
|
+
import "./chunk-YTW6ZIPD.js";
|
|
9
9
|
import {
|
|
10
10
|
ClassifiedRevealError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6SYOHUHM.js";
|
|
12
12
|
import "./chunk-PZ5AY32C.js";
|
|
13
13
|
|
|
14
14
|
// src/kernel/enclave/classify/reveal.ts
|
|
@@ -35,4 +35,4 @@ async function revealSealedField(ctx, id, field) {
|
|
|
35
35
|
export {
|
|
36
36
|
revealSealedField
|
|
37
37
|
};
|
|
38
|
-
//# sourceMappingURL=reveal-
|
|
38
|
+
//# sourceMappingURL=reveal-VWXRV2XU.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
getRevokedDocIdsCore,
|
|
3
|
+
publishRevocationListCore,
|
|
4
|
+
revokeDocCore,
|
|
5
|
+
unrevokeDocCore
|
|
6
|
+
} from "./chunk-UTEATWHO.js";
|
|
7
|
+
import "./chunk-QZJEYZ4I.js";
|
|
8
|
+
import "./chunk-GEEJPID6.js";
|
|
9
|
+
import "./chunk-SC4JLMZI.js";
|
|
10
|
+
import "./chunk-5WLDZZ6S.js";
|
|
11
|
+
import "./chunk-5HSSTOOG.js";
|
|
12
|
+
import "./chunk-G4MFQXYX.js";
|
|
13
|
+
import "./chunk-LP7BEXCT.js";
|
|
14
|
+
import "./chunk-7U6AB7DZ.js";
|
|
15
|
+
import "./chunk-YTW6ZIPD.js";
|
|
16
|
+
import "./chunk-6SYOHUHM.js";
|
|
17
|
+
import "./chunk-PZ5AY32C.js";
|
|
18
|
+
export {
|
|
19
|
+
getRevokedDocIdsCore,
|
|
20
|
+
publishRevocationListCore,
|
|
21
|
+
revokeDocCore,
|
|
22
|
+
unrevokeDocCore
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=revoke-OLO2OVR7.js.map
|
package/dist/satellites/index.js
CHANGED
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NO_SEALED_RECORD
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import "../chunk-
|
|
5
|
-
import "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
3
|
+
} from "../chunk-7LP7FFJ2.js";
|
|
4
|
+
import "../chunk-GEEJPID6.js";
|
|
5
|
+
import "../chunk-SC4JLMZI.js";
|
|
6
|
+
import "../chunk-5WLDZZ6S.js";
|
|
7
|
+
import "../chunk-5HSSTOOG.js";
|
|
8
|
+
import "../chunk-G4MFQXYX.js";
|
|
9
9
|
import "../chunk-LP7BEXCT.js";
|
|
10
10
|
import {
|
|
11
11
|
base64ToBuffer,
|
|
12
12
|
decrypt,
|
|
13
13
|
importCek
|
|
14
|
-
} from "../chunk-
|
|
15
|
-
import "../chunk-
|
|
14
|
+
} from "../chunk-7U6AB7DZ.js";
|
|
15
|
+
import "../chunk-YTW6ZIPD.js";
|
|
16
16
|
import {
|
|
17
17
|
SealedRecordExpiredError,
|
|
18
18
|
SealedRecordMismatchError,
|
|
19
19
|
SealedRecordNotEnabledError
|
|
20
|
-
} from "../chunk-
|
|
20
|
+
} from "../chunk-6SYOHUHM.js";
|
|
21
21
|
import "../chunk-PZ5AY32C.js";
|
|
22
22
|
|
|
23
23
|
// src/with-audit/sealed-record/active.ts
|
|
24
24
|
function withSealedRecord() {
|
|
25
25
|
return {
|
|
26
26
|
async sealRecordToHost(ctx, collection, id, hostSealer, opts) {
|
|
27
|
-
const { sealRecordToHost } = await import("../enclave-
|
|
27
|
+
const { sealRecordToHost } = await import("../enclave-I5H3GINP.js");
|
|
28
28
|
return sealRecordToHost(ctx, collection, id, hostSealer, opts);
|
|
29
29
|
},
|
|
30
30
|
async revokeSealedRecord(ctx, collection, id, pid, opts) {
|
|
31
|
-
const { revokeSealedRecord } = await import("../enclave-
|
|
31
|
+
const { revokeSealedRecord } = await import("../enclave-I5H3GINP.js");
|
|
32
32
|
return revokeSealedRecord(ctx, collection, id, pid, opts);
|
|
33
33
|
},
|
|
34
34
|
async rotateRecordCek(ctx, collection, id) {
|
|
35
|
-
const { rotateRecordCek } = await import("../enclave-
|
|
35
|
+
const { rotateRecordCek } = await import("../enclave-I5H3GINP.js");
|
|
36
36
|
return rotateRecordCek(ctx, collection, id);
|
|
37
37
|
}
|
|
38
38
|
};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BROKER_COLLECTION,
|
|
3
3
|
ensureCollectionDEK
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3LJYHE7S.js";
|
|
5
|
+
import "./chunk-6RPWILRH.js";
|
|
6
6
|
import {
|
|
7
7
|
computeBrokerProof,
|
|
8
8
|
deriveBrokerProofBits,
|
|
9
9
|
openEnvelopeJson,
|
|
10
10
|
writeEnvelopeBody
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-GEEJPID6.js";
|
|
12
|
+
import "./chunk-SC4JLMZI.js";
|
|
13
|
+
import "./chunk-5WLDZZ6S.js";
|
|
14
|
+
import "./chunk-5HSSTOOG.js";
|
|
15
|
+
import "./chunk-G4MFQXYX.js";
|
|
16
16
|
import "./chunk-LP7BEXCT.js";
|
|
17
17
|
import {
|
|
18
18
|
base64ToBuffer,
|
|
19
19
|
bufferToBase64
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-7U6AB7DZ.js";
|
|
21
21
|
import {
|
|
22
22
|
NOYDB_FORMAT_VERSION
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YTW6ZIPD.js";
|
|
24
24
|
import {
|
|
25
25
|
BrokerEnrolmentError,
|
|
26
26
|
BrokerProofError,
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
NetworkError,
|
|
29
29
|
PermissionDeniedError,
|
|
30
30
|
ValidationError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-6SYOHUHM.js";
|
|
32
32
|
import "./chunk-PZ5AY32C.js";
|
|
33
33
|
|
|
34
34
|
// src/with-party/broker/seed.ts
|
|
@@ -57,7 +57,7 @@ async function brokerDek(store, vault, keyring) {
|
|
|
57
57
|
} catch (err) {
|
|
58
58
|
if (err instanceof ValidationError) {
|
|
59
59
|
throw new BrokerEnrolmentError(
|
|
60
|
-
"enroll()/rotate() need the KEK to provision the _broker DEK on first use \u2014 re-authenticate at tier 1 (
|
|
60
|
+
"enroll()/rotate() need the KEK to provision the _broker DEK on first use \u2014 re-authenticate at tier 1 (secret) before enrolling. Using an already-enrolled seed (credentialSource()) needs only the DEK."
|
|
61
61
|
);
|
|
62
62
|
}
|
|
63
63
|
throw err;
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
mintStoreCredentials,
|
|
229
229
|
rotateSeed
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=seed-
|
|
231
|
+
//# sourceMappingURL=seed-CDBFOTIK.js.map
|