@noy-db/hub 0.2.0-pre.23 → 0.2.0-pre.24
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/dist/aggregate/index.cjs.map +1 -1
- package/dist/aggregate/index.d.cts +3 -3
- package/dist/aggregate/index.d.ts +3 -3
- package/dist/aggregate/index.js +5 -5
- package/dist/attestation/index.cjs.map +1 -1
- package/dist/attestation/index.d.cts +4 -4
- package/dist/attestation/index.d.ts +4 -4
- package/dist/attestation/index.js +6 -6
- package/dist/blobs/index.cjs.map +1 -1
- package/dist/blobs/index.d.cts +6 -6
- package/dist/blobs/index.d.ts +6 -6
- package/dist/blobs/index.js +6 -6
- package/dist/bundle/index.cjs +617 -1202
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +15 -6
- package/dist/bundle/index.d.ts +15 -6
- package/dist/bundle/index.js +58 -193
- package/dist/bundle/index.js.map +1 -1
- package/dist/{chunk-CQYEDODS.js → chunk-35U5YNRR.js} +3 -3
- package/dist/{chunk-NV4IHBZS.js → chunk-3XJU3OHE.js} +5 -5
- package/dist/{chunk-OTWT6BAJ.js → chunk-4BB4T3O7.js} +12 -2
- package/dist/chunk-4BB4T3O7.js.map +1 -0
- package/dist/{chunk-IVZWHIEK.js → chunk-4HEGG5NJ.js} +5 -5
- package/dist/{chunk-WE2BUQD2.js → chunk-4TCMCCC3.js} +5 -3
- package/dist/{chunk-5YTXYPES.js → chunk-5A2FVGHT.js} +5 -5
- package/dist/{chunk-NSXNXLYM.js → chunk-5GZC2ZM3.js} +2 -2
- package/dist/{chunk-JYNH4FIM.js → chunk-77WF53XY.js} +4 -4
- package/dist/{chunk-O5XKZCUD.js → chunk-7X4EF35A.js} +5 -5
- package/dist/{chunk-SQKAECUL.js → chunk-7ZCTUI26.js} +2 -2
- package/dist/{chunk-J6RGRZOY.js → chunk-AO3QSMCU.js} +2 -2
- package/dist/{chunk-JDCPRJVS.js → chunk-AONK5GCC.js} +4 -4
- package/dist/{chunk-FRRJIUSI.js → chunk-B5CSNGSE.js} +17 -9
- package/dist/chunk-B5CSNGSE.js.map +1 -0
- package/dist/{chunk-IY24WS2P.js → chunk-BCMHJYVT.js} +4 -4
- package/dist/{chunk-IY24WS2P.js.map → chunk-BCMHJYVT.js.map} +1 -1
- package/dist/{chunk-TYMDCIQM.js → chunk-C472BRJ4.js} +4 -4
- package/dist/{chunk-MBXKRHSS.js → chunk-CCNRFAL3.js} +2 -2
- package/dist/{chunk-BZW5IL43.js → chunk-DCA2BDHA.js} +4 -4
- package/dist/{chunk-JBBWALNI.js → chunk-DCICHSRS.js} +2 -2
- package/dist/{chunk-2XA2ZML4.js → chunk-FG6IQ3ZL.js} +3 -3
- package/dist/{chunk-C2RJVZZL.js → chunk-G4GW5VOS.js} +2 -2
- package/dist/{chunk-U2XSUCDF.js → chunk-GEWIFM4J.js} +2 -2
- package/dist/{chunk-TNH5SLCD.js → chunk-HD4QCT2O.js} +2 -2
- package/dist/{chunk-I3IYTUUI.js → chunk-HHJ5DZCZ.js} +3 -3
- package/dist/{chunk-6QAZ5O6X.js → chunk-IEIADIPM.js} +2 -2
- package/dist/{chunk-YPIOFSN3.js → chunk-IHAISFXP.js} +2 -2
- package/dist/{chunk-GJTKMME7.js → chunk-JKM2AVVH.js} +2 -2
- package/dist/{chunk-EYK72OTL.js → chunk-JRMOSIH4.js} +5 -5
- package/dist/chunk-JRMOSIH4.js.map +1 -0
- package/dist/{chunk-S45MDEEF.js → chunk-LMWVNF6X.js} +2 -2
- package/dist/{chunk-TA6HPKWQ.js → chunk-LR7CODVN.js} +1 -1
- package/dist/chunk-LR7CODVN.js.map +1 -0
- package/dist/{chunk-TAMRU7A2.js → chunk-OKV7S356.js} +4 -4
- package/dist/{chunk-HYJMAV53.js → chunk-OWAMTSAI.js} +93 -93
- package/dist/chunk-OWAMTSAI.js.map +1 -0
- package/dist/{chunk-IW4L4X65.js → chunk-P5A4E53B.js} +2 -2
- package/dist/{chunk-JOK73NDT.js → chunk-P7OL22JP.js} +3 -3
- package/dist/{chunk-P65YMN5V.js → chunk-QOXZM3L2.js} +407 -162
- package/dist/chunk-QOXZM3L2.js.map +1 -0
- package/dist/chunk-R43KS34V.js +399 -0
- package/dist/chunk-R43KS34V.js.map +1 -0
- package/dist/{chunk-TGIJTNM3.js → chunk-R5ZECURV.js} +2 -2
- package/dist/{chunk-KOAJ3TZM.js → chunk-RFEXGW3L.js} +2 -2
- package/dist/{chunk-F5ILTHMU.js → chunk-RNQPDV75.js} +5 -5
- package/dist/{chunk-WWVJXBOT.js → chunk-SGM7CK7R.js} +5 -5
- package/dist/{chunk-7MRT7EPB.js → chunk-SOQE5DUV.js} +3 -3
- package/dist/{chunk-F5GWNSE2.js → chunk-TOMSCJRV.js} +3 -3
- package/dist/{chunk-F5GWNSE2.js.map → chunk-TOMSCJRV.js.map} +1 -1
- package/dist/{chunk-ZONKSLF2.js → chunk-TQMQZOMX.js} +2 -2
- package/dist/{chunk-3HNKR65T.js → chunk-U6LTLN7O.js} +3 -3
- package/dist/{chunk-UU6M64HI.js → chunk-UAK2AMO2.js} +4 -4
- package/dist/{chunk-37VGJM3T.js → chunk-WQ3KAGOV.js} +2 -2
- package/dist/{chunk-C6W5KVDV.js → chunk-XC32SZPW.js} +35 -35
- package/dist/chunk-XC32SZPW.js.map +1 -0
- package/dist/{chunk-AI4USDRI.js → chunk-XQO4TAJS.js} +4 -4
- package/dist/{chunk-SQOK5UM6.js → chunk-ZBENTRFS.js} +2 -2
- package/dist/{chunk-6QE4DUYC.js → chunk-ZDITTESU.js} +2 -2
- package/dist/consent/index.cjs.map +1 -1
- package/dist/consent/index.d.cts +5 -5
- package/dist/consent/index.d.ts +5 -5
- package/dist/consent/index.js +3 -3
- package/dist/{crypto-456N7UVX.js → crypto-2LU6XUFF.js} +3 -3
- package/dist/{delegation-DP4COTXB.js → delegation-6ABSJGXV.js} +5 -5
- package/dist/derivations/index.cjs.map +1 -1
- package/dist/derivations/index.d.cts +6 -6
- package/dist/derivations/index.d.ts +6 -6
- package/dist/derivations/index.js +4 -4
- package/dist/{dev-unlock-DzDzLTdZ.d.ts → dev-unlock-BlhRHr6p.d.ts} +1 -1
- package/dist/{dev-unlock-Bw7iBD1D.d.cts → dev-unlock-DURe4IvF.d.cts} +1 -1
- package/dist/{errors-Dkc_fi-S.d.cts → errors-B2tUcRPg.d.cts} +19 -5
- package/dist/{errors-Dkc_fi-S.d.ts → errors-B2tUcRPg.d.ts} +19 -5
- package/dist/executor-JKMSEB34.js +8 -0
- package/dist/executor-UYXSQB4D.js +12 -0
- package/dist/executor-VJSCTBWY.js +8 -0
- package/dist/{fanout-sidecar-YXNAEZ33.js → fanout-sidecar-ZQT4Y7PF.js} +2 -2
- package/dist/forget/index.js +4 -4
- package/dist/guards/index.cjs.map +1 -1
- package/dist/guards/index.d.cts +6 -6
- package/dist/guards/index.d.ts +6 -6
- package/dist/guards/index.js +6 -6
- package/dist/{hash-C52X_-m5.d.cts → hash-CqRZfDZH.d.cts} +1 -1
- package/dist/{hash-DepR-xVc.d.ts → hash-cF4iWaBV.d.ts} +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +6 -6
- package/dist/history/index.d.ts +6 -6
- package/dist/history/index.js +5 -5
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +5 -5
- package/dist/i18n/index.d.ts +5 -5
- package/dist/i18n/index.js +6 -6
- package/dist/index-B8MoIS7B.d.ts +70 -0
- package/dist/{index-Bm9hIY7t.d.ts → index-BLff_E35.d.ts} +2 -2
- package/dist/{index-tZqVB9g5.d.cts → index-BthnP2MA.d.cts} +2 -2
- package/dist/index-da0M3NnR.d.cts +70 -0
- package/dist/index.cjs +25907 -25557
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +135 -80
- package/dist/index.d.ts +135 -80
- package/dist/index.js +78 -51
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.cjs.map +1 -1
- package/dist/indexing/index.js +4 -4
- package/dist/issue-KLRMW5DH.js +12 -0
- package/dist/kernel/index.cjs +657 -0
- package/dist/kernel/index.cjs.map +1 -0
- package/dist/kernel/index.d.cts +11 -0
- package/dist/kernel/index.d.ts +11 -0
- package/dist/kernel/index.js +40 -0
- package/dist/{ledger-I7JUYP4L.js → ledger-VOS2X3WJ.js} +5 -5
- package/dist/materialized-views/index.cjs.map +1 -1
- package/dist/materialized-views/index.d.cts +6 -6
- package/dist/materialized-views/index.d.ts +6 -6
- package/dist/materialized-views/index.js +8 -8
- package/dist/{mime-magic-Dejetix_.d.ts → mime-magic-BswIvWkR.d.ts} +1 -1
- package/dist/{mime-magic-Cxf9B_Dm.d.cts → mime-magic-CCrP-iXJ.d.cts} +1 -1
- package/dist/{ulid-Bg-IBJyA.d.cts → multi-bundle-6s5nKAZX.d.ts} +114 -58
- package/dist/{ulid-Dwt3JEcy.d.ts → multi-bundle-WhYiJEgV.d.cts} +114 -58
- package/dist/noydb-2PI2ZBX6.js +38 -0
- package/dist/overlay-views/index.cjs.map +1 -1
- package/dist/overlay-views/index.d.cts +6 -6
- package/dist/overlay-views/index.d.ts +6 -6
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.cjs.map +1 -1
- package/dist/periods/index.d.cts +5 -5
- package/dist/periods/index.d.ts +5 -5
- package/dist/periods/index.js +5 -5
- package/dist/{public-envelope-5XRTUNKF.js → public-envelope-IJJMWSTJ.js} +4 -4
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +7 -7
- package/dist/registry-GAIFVWXF.js +8 -0
- package/dist/registry-J77ZUQ7G.js +8 -0
- package/dist/{registry-NWHOLD5M.js → registry-JGEVJ6YC.js} +3 -3
- package/dist/{revoke-5IEK22KT.js → revoke-WUY4AYRJ.js} +6 -6
- package/dist/sealed-record/index.cjs.map +1 -1
- package/dist/sealed-record/index.d.cts +1 -1
- package/dist/sealed-record/index.d.ts +1 -1
- package/dist/sealed-record/index.js +2 -2
- package/dist/session/index.cjs.map +1 -1
- package/dist/session/index.d.cts +6 -6
- package/dist/session/index.d.ts +6 -6
- package/dist/session/index.js +3 -3
- package/dist/shadow/index.cjs.map +1 -1
- package/dist/shadow/index.d.cts +5 -5
- package/dist/shadow/index.d.ts +5 -5
- package/dist/shadow/index.js +2 -2
- package/dist/{signer-I6YARZQA.js → signer-UJF3CFDC.js} +5 -5
- package/dist/snapshots/index.cjs.map +1 -1
- package/dist/snapshots/index.d.cts +5 -5
- package/dist/snapshots/index.d.ts +5 -5
- package/dist/snapshots/index.js +4 -4
- package/dist/{stale-CPESGAPL.js → stale-PW6VBGSP.js} +2 -2
- package/dist/store/index.cjs.map +1 -1
- package/dist/store/index.d.cts +5 -5
- package/dist/store/index.d.ts +5 -5
- package/dist/store/index.js +2 -2
- package/dist/{strategy-WtB-jXYv.d.cts → strategy-BWmgRPA2.d.cts} +1 -1
- package/dist/{strategy-54eIwox5.d.ts → strategy-D47TC5X6.d.ts} +1 -1
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +4 -4
- package/dist/sync/index.d.ts +4 -4
- package/dist/sync/index.js +4 -4
- package/dist/team/index.cjs +10 -3
- package/dist/team/index.cjs.map +1 -1
- package/dist/team/index.d.cts +5 -5
- package/dist/team/index.d.ts +5 -5
- package/dist/team/index.js +8 -8
- package/dist/{transition-guard-BcLyTGYq.d.cts → transition-guard-C3NxfVKk.d.cts} +1 -1
- package/dist/{transition-guard-Ctxapq1b.d.ts → transition-guard-CQH5263l.d.ts} +1 -1
- package/dist/tx/index.cjs +1 -1
- package/dist/tx/index.cjs.map +1 -1
- package/dist/tx/index.d.cts +5 -5
- package/dist/tx/index.d.ts +5 -5
- package/dist/tx/index.js +3 -3
- package/dist/{types-DONgts0n.d.ts → types-BGRX6sPT.d.ts} +288 -578
- package/dist/{types-Bhs2i_Ll.d.cts → types-COQ6qJZh.d.cts} +288 -578
- package/dist/ulid-DRH25k3y.d.cts +66 -0
- package/dist/ulid-DRH25k3y.d.ts +66 -0
- package/dist/util/index.cjs.map +1 -1
- package/dist/util/index.js +1 -1
- package/dist/{with-materialized-view-CyVLOr09.d.ts → with-materialized-view-Cj-6fuav.d.ts} +1 -1
- package/dist/{with-materialized-view-BYb3p9wT.d.cts → with-materialized-view-D4U-KrBH.d.cts} +1 -1
- package/dist/{with-overlayed-view-LGrQ984e.d.cts → with-overlayed-view-BKjdUPRx.d.cts} +1 -1
- package/dist/{with-overlayed-view-BhLRxqwI.d.ts → with-overlayed-view-COp_7EEy.d.ts} +1 -1
- package/dist/{with-rollup-CO8ibRcK.d.ts → with-rollup-B1_ZjG02.d.ts} +1 -1
- package/dist/{with-rollup-Bj8c7ttB.d.cts → with-rollup-C-Bok_o2.d.cts} +1 -1
- package/package.json +13 -3
- package/dist/chunk-C6W5KVDV.js.map +0 -1
- package/dist/chunk-EYK72OTL.js.map +0 -1
- package/dist/chunk-FRRJIUSI.js.map +0 -1
- package/dist/chunk-HYJMAV53.js.map +0 -1
- package/dist/chunk-JTI57WRT.js +0 -164
- package/dist/chunk-JTI57WRT.js.map +0 -1
- package/dist/chunk-OTWT6BAJ.js.map +0 -1
- package/dist/chunk-P65YMN5V.js.map +0 -1
- package/dist/chunk-TA6HPKWQ.js.map +0 -1
- package/dist/chunk-ZC7J6ZYV.js +0 -7
- package/dist/chunk-ZC7J6ZYV.js.map +0 -1
- package/dist/executor-4IEW4KG5.js +0 -8
- package/dist/executor-KYJCJCIN.js +0 -12
- package/dist/executor-W7VIBOBZ.js +0 -8
- package/dist/issue-JXC6T2QR.js +0 -12
- package/dist/noydb-VGR2HLDB.js +0 -39
- package/dist/registry-ATRHOG5B.js +0 -8
- package/dist/registry-LEHB26TY.js +0 -8
- package/dist/state-vault-JR3CFGNP.js +0 -14
- package/dist/vault-group-BB246VIM.js +0 -804
- package/dist/vault-group-BB246VIM.js.map +0 -1
- /package/dist/{chunk-CQYEDODS.js.map → chunk-35U5YNRR.js.map} +0 -0
- /package/dist/{chunk-NV4IHBZS.js.map → chunk-3XJU3OHE.js.map} +0 -0
- /package/dist/{chunk-IVZWHIEK.js.map → chunk-4HEGG5NJ.js.map} +0 -0
- /package/dist/{chunk-WE2BUQD2.js.map → chunk-4TCMCCC3.js.map} +0 -0
- /package/dist/{chunk-5YTXYPES.js.map → chunk-5A2FVGHT.js.map} +0 -0
- /package/dist/{chunk-NSXNXLYM.js.map → chunk-5GZC2ZM3.js.map} +0 -0
- /package/dist/{chunk-JYNH4FIM.js.map → chunk-77WF53XY.js.map} +0 -0
- /package/dist/{chunk-O5XKZCUD.js.map → chunk-7X4EF35A.js.map} +0 -0
- /package/dist/{chunk-SQKAECUL.js.map → chunk-7ZCTUI26.js.map} +0 -0
- /package/dist/{chunk-J6RGRZOY.js.map → chunk-AO3QSMCU.js.map} +0 -0
- /package/dist/{chunk-JDCPRJVS.js.map → chunk-AONK5GCC.js.map} +0 -0
- /package/dist/{chunk-TYMDCIQM.js.map → chunk-C472BRJ4.js.map} +0 -0
- /package/dist/{chunk-MBXKRHSS.js.map → chunk-CCNRFAL3.js.map} +0 -0
- /package/dist/{chunk-BZW5IL43.js.map → chunk-DCA2BDHA.js.map} +0 -0
- /package/dist/{chunk-JBBWALNI.js.map → chunk-DCICHSRS.js.map} +0 -0
- /package/dist/{chunk-2XA2ZML4.js.map → chunk-FG6IQ3ZL.js.map} +0 -0
- /package/dist/{chunk-C2RJVZZL.js.map → chunk-G4GW5VOS.js.map} +0 -0
- /package/dist/{chunk-U2XSUCDF.js.map → chunk-GEWIFM4J.js.map} +0 -0
- /package/dist/{chunk-TNH5SLCD.js.map → chunk-HD4QCT2O.js.map} +0 -0
- /package/dist/{chunk-I3IYTUUI.js.map → chunk-HHJ5DZCZ.js.map} +0 -0
- /package/dist/{chunk-6QAZ5O6X.js.map → chunk-IEIADIPM.js.map} +0 -0
- /package/dist/{chunk-YPIOFSN3.js.map → chunk-IHAISFXP.js.map} +0 -0
- /package/dist/{chunk-GJTKMME7.js.map → chunk-JKM2AVVH.js.map} +0 -0
- /package/dist/{chunk-S45MDEEF.js.map → chunk-LMWVNF6X.js.map} +0 -0
- /package/dist/{chunk-TAMRU7A2.js.map → chunk-OKV7S356.js.map} +0 -0
- /package/dist/{chunk-IW4L4X65.js.map → chunk-P5A4E53B.js.map} +0 -0
- /package/dist/{chunk-JOK73NDT.js.map → chunk-P7OL22JP.js.map} +0 -0
- /package/dist/{chunk-TGIJTNM3.js.map → chunk-R5ZECURV.js.map} +0 -0
- /package/dist/{chunk-KOAJ3TZM.js.map → chunk-RFEXGW3L.js.map} +0 -0
- /package/dist/{chunk-F5ILTHMU.js.map → chunk-RNQPDV75.js.map} +0 -0
- /package/dist/{chunk-WWVJXBOT.js.map → chunk-SGM7CK7R.js.map} +0 -0
- /package/dist/{chunk-7MRT7EPB.js.map → chunk-SOQE5DUV.js.map} +0 -0
- /package/dist/{chunk-ZONKSLF2.js.map → chunk-TQMQZOMX.js.map} +0 -0
- /package/dist/{chunk-3HNKR65T.js.map → chunk-U6LTLN7O.js.map} +0 -0
- /package/dist/{chunk-UU6M64HI.js.map → chunk-UAK2AMO2.js.map} +0 -0
- /package/dist/{chunk-37VGJM3T.js.map → chunk-WQ3KAGOV.js.map} +0 -0
- /package/dist/{chunk-AI4USDRI.js.map → chunk-XQO4TAJS.js.map} +0 -0
- /package/dist/{chunk-SQOK5UM6.js.map → chunk-ZBENTRFS.js.map} +0 -0
- /package/dist/{chunk-6QE4DUYC.js.map → chunk-ZDITTESU.js.map} +0 -0
- /package/dist/{crypto-456N7UVX.js.map → crypto-2LU6XUFF.js.map} +0 -0
- /package/dist/{delegation-DP4COTXB.js.map → delegation-6ABSJGXV.js.map} +0 -0
- /package/dist/{executor-4IEW4KG5.js.map → executor-JKMSEB34.js.map} +0 -0
- /package/dist/{executor-KYJCJCIN.js.map → executor-UYXSQB4D.js.map} +0 -0
- /package/dist/{executor-W7VIBOBZ.js.map → executor-VJSCTBWY.js.map} +0 -0
- /package/dist/{fanout-sidecar-YXNAEZ33.js.map → fanout-sidecar-ZQT4Y7PF.js.map} +0 -0
- /package/dist/{issue-JXC6T2QR.js.map → issue-KLRMW5DH.js.map} +0 -0
- /package/dist/{ledger-I7JUYP4L.js.map → kernel/index.js.map} +0 -0
- /package/dist/{noydb-VGR2HLDB.js.map → ledger-VOS2X3WJ.js.map} +0 -0
- /package/dist/{public-envelope-5XRTUNKF.js.map → noydb-2PI2ZBX6.js.map} +0 -0
- /package/dist/{registry-ATRHOG5B.js.map → public-envelope-IJJMWSTJ.js.map} +0 -0
- /package/dist/{registry-LEHB26TY.js.map → registry-GAIFVWXF.js.map} +0 -0
- /package/dist/{registry-NWHOLD5M.js.map → registry-J77ZUQ7G.js.map} +0 -0
- /package/dist/{revoke-5IEK22KT.js.map → registry-JGEVJ6YC.js.map} +0 -0
- /package/dist/{signer-I6YARZQA.js.map → revoke-WUY4AYRJ.js.map} +0 -0
- /package/dist/{stale-CPESGAPL.js.map → signer-UJF3CFDC.js.map} +0 -0
- /package/dist/{state-vault-JR3CFGNP.js.map → stale-PW6VBGSP.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
|
-
import { aW as NoydbStore, bs as UserEnvelope,
|
|
2
|
-
export { bE as AccessibleVault, bF as AffectedDocument, a_ as AppendInput, bG as ApproveWithdrawalOptions, bH as ArchivePolicy, bI as ArchiveResult, bJ as ArchiveRunOptions, bK as ArchiveStrategy, aE as ArrayOutputSpec, o as BLOB_CHUNKS_COLLECTION, p as BLOB_COLLECTION, r as BLOB_INDEX_COLLECTION, t as BLOB_SLOTS_PREFIX, u as BLOB_VERSIONS_PREFIX, bL as BUNDLE_STORE_POLICY, z as BlobObject, A as BlobPutOptions, C as BlobResponseOptions, E as BlobSet, bM as BuiltInGateName, be as BundleRecipient, a4 as CONSENT_AUDIT_COLLECTION, bN as CacheOptions, bO as CacheStats, bP as CapturedBlueprint, bQ as ChangeEvent, a$ as ChangeType, ad as ClosePeriodOptions, aN as Collection, bR as CollectionChangeEvent, bS as CollectionConflictResolver, bT as CollectionDescriptor, au as CollectionFrame, b0 as CollectionInstant, bU as CollectionStats, bV as ComputedFieldError, bW as ComputedFields, bX as ComputedFn, bY as Conflict, bZ as ConflictPolicy, b_ as ConflictStrategy, a5 as ConsentAuditEntry, a6 as ConsentAuditFilter, a7 as ConsentContext, a8 as ConsentOp, b$ as CrossTierAccessEvent, c0 as CrossVaultAggregation, c1 as CrossVaultDerivationContext, c2 as CrossVaultDerivationSpec, c3 as CrossVaultGroupedAggregation, c4 as CrossVaultGroupedRow, c5 as CrossVaultLiveAggregation, c6 as CrossVaultLiveQuery, K as DEFAULT_CHUNK_SIZE, c7 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c8 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c9 as DeepPartial, ca as DeepPartialOrNull, cb as DeferredNumberingConfig, cc as DelegationToken, cd as DeleteManyResult, ce as DeploymentEvent, cf as DerivationDescriptor, aC as DerivationStrategy, aG as DerivationStrategyHandle, aH as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, cg as DirtyEntry, ch as DryRunResult, ci as DumpSchemaOptions, cj as ELEVATION_AUDIT_COLLECTION, ck as ElevatedHandle, cl as EnrollAuthenticatorOptions, cm as EnrollAuthenticatorWrappingDEKsOptions, cn as EnrollAuthenticatorWrappingKEKOptions, co as EnrollRecoveryResult, cp as ExportAccessibleOptions, cq as ExportCapability, cr as ExportChunk, cs as ExportFormat, ct as ExportStreamOptions, cu as FactorKind, cv as FactorProofBundle, cw as FactorRequirement, cx as FanoutQueryOptions, cy as FanoutResult, cz as FenceDoc, cA as FenceState, cB as FieldChange, cC as FieldDescriptor, cD as FieldSource, cE as FleetMigrationResult, cF as FormattedSequenceHandle, cG as FrozenSnapshotRef, cH as GhostRecord, cI as GrantOptions, ao as GuardChange, ap as GuardContext, an as GuardStrategy, ar as GuardStrategyHandle, cJ as GuardViolation, cK as HistoryConfig, cL as HistoryEntry, aX as HistoryOptions, cM as INDEXED_STORE_POLICY, cN as ImportCapability, cO as InferOutput, cP as InternalCollectionStats, cQ as IssueDelegationOptions, cR as IssueMagicLinkGrantOptions, b2 as JsonPatch, b3 as JsonPatchOp, cS as KeyringAuthenticator, cT as KeyringAuthenticatorWrappingDEKs, cU as KeyringAuthenticatorWrappingKEK, cV as KeyringFile, b4 as LedgerStore, cW as LinkEndpointError, cX as LinkIntegrityError, cY as LinkOnDelete, cZ as LinkRow, c_ as LinkSetHandle, c$ as LinkSpec, d0 as ListAccessibleVaultsOptions, d1 as ListPageResult, d2 as ListUsersOptions, d3 as LiveQueryOptions, d4 as LiveUserEnvelope, d5 as LocaleReadOptions, d6 as Lru, d7 as LruOptions, d8 as LruStats, d9 as MAGIC_LINK_CONTENT_INFO_PREFIX, da as MAGIC_LINK_GRANTS_COLLECTION, db as MAGIC_LINK_KEK_INFO_PREFIX, dc as MagicLinkGrantPayload, dd as MagicLinkGrantRecord, bo as MaterializedFromMeta, de as MaterializedViewDescriptor, bp as MaterializedViewOutput, aK as MaterializedViewStrategy, aL as MaterializedViewStrategyHandle, df as MemoryRecipientSealer, dg as MemorySealingKeyProvider, dh as MigrationStatusRow, di as NOYDB_BACKUP_VERSION, dj as NOYDB_FORMAT_VERSION, dk as NOYDB_KEYRING_VERSION, dl as NOYDB_SYNC_VERSION, dm as NextOptions, dn as Noydb, aw as NoydbBundleStore, dp as NoydbEventMap, dq as NoydbOptions, dr as NumberingAssignment, T as ObjectListEntry, U as ObjectMeta, V as ObjectProjection, W as ObjectUrlOptions, ae as OpenPeriodOptions, aI as OutputSpec, aO as OverlayFieldMergeMode, aP as OverlayFieldMergeRule, ds as OverlayViewDescriptor, aM as OverlayedViewStrategy, aR as OverlayedViewStrategyHandle, af as PERIODS_COLLECTION, dt as PUBLIC_ENVELOPE_FIELDS, du as PaperRecoveryDoc, dv as PaperRecoveryEntry, dw as PassphrasePolicy, dx as PassphraseValidationResult, ag as PeriodRecord, dy as Permission, dz as Permissions, dA as PersistedSchemaKind, dB as PlaintextTranslatorContext, dC as PlaintextTranslatorFn, P as PolicyEnforcer, dD as PresenceHandle, dE as PresencePeer, aZ as PruneOptions, dF as PublicEnvelopeField, dG as PublicEnvelopeSchema, dH as PublicEnvelopeText, dI as PullMode, dJ as PullOptions, dK as PullPolicy, dL as PullResult, dM as PushMode, dN as PushOptions, dO as PushPolicy, dP as PushResult, dQ as PutManyItemOptions, dR as PutManyOptions, dS as PutManyResult, X as PutObjectOptions, Y as PutUrlOptions, dT as QueryAcrossOptions, dU as QueryAcrossResult, dV as QuickUnlockState, dW as QuickUnlockStore, dX as ReAuthOperation, bg as RecipientHint, bf as RecipientSealer, aJ as RecordOutputSpec, dY as RecoverPassphraseInput, dZ as RecoverPassphraseResult, d_ as RecoverUserOptions, d$ as RecoveryProof, e0 as RefreshInsightsResult, e1 as RejectWithdrawalOptions, e2 as RequestWithdrawalOptions, e3 as RequestWithdrawalResult, e4 as ResolvedPublicEnvelopeSchema, ax as RetentionPolicy, e5 as RevokeOptions, aT as Role, e6 as RotatePassphraseInput, e7 as RotateRecoveryOptions, e8 as RotateRecoveryResult, e9 as SEALED_PASSPHRASE_RECORD_ID, ea as SchemaDelta, eb as SchemaIntrospection, ec as SchemaManifestRow, S as ScriptWarning, ed as SealedEnvelope, ee as SealedPassphrase, bd as SealingKeyProvider, ef as SearchEntry, eg as SearchOptions, eh as SearchResult, ei as SequenceHandle, ej as SequenceOptions, ek as SequenceStore, el as SessionPolicy, em as SetPublicEnvelopeInput, en as ShamirRecoveryDoc, eo as ShamirRecoveryEntry, bj as ShamirRecoveryProvider, ep as ShardedCollection, eq as ShardedGroupedQuery, er as ShardedQuery, es as ShardingConfig, et as SkippedVault, Z as SlotInfo, _ as SlotRecord, eu as SlotRewrapCeremony, ev as SlotRewrapContext, aA as SnapshotMeta, ew as StandardSchemaV1, ex as StandardSchemaV1Issue, ey as StandardSchemaV1SyncResult, ez as StateManagementVault, e as StaticDictDescriptor, eA as StoreAuth, eB as StoreAuthKind, eC as StoreCapabilities, eD as StoreTime, eE as SyncEngine, eF as SyncMetadata, eG as SyncPolicy, eH as SyncScheduler, eI as SyncSchedulerStatus, eJ as SyncStatus, eK as SyncTarget, eL as SyncTargetRole, eM as SyncTransaction, eN as SyncTransactionResult, eO as TabChannel, eP as TabCoordinationOptions, eQ as TabLockManager, eR as TabPresence, eS as TabRole, eT as TierMode, eU as TransactionInvariant, eV as TranslatorAuditEntry, eW as TxCollection, bk as TxContext, eX as TxOp, eY as TxVault, eZ as USER_ENVELOPE_COLLECTION, e_ as USER_ENVELOPE_MAX_BYTES, bq as UnionArmJoin, br as UnionSource, e$ as Unsubscribe, f0 as UpdateAuthenticatorOptions, f1 as UpdateContext, f2 as UpdateUserOptions, f3 as UserApi, f4 as UserEnvelopeCheckGate, f5 as UserEnvelopeOversizedError, f6 as UserEnvelopePresented, f7 as UserInfo, f8 as VaultBackup, b5 as VaultEngine, av as VaultFrame, f9 as VaultGroup, fa as VaultGroupOptions, b6 as VaultInstant, fb as VaultPolicyOnDisk, fc as VaultRegistryRow, fd as VaultSchemaSnapshot, fe as VaultSnapshot, ff as VaultTemplate, b7 as VerifyResult, $ as VersionRecord, fg as WarningRules, fh as WeakPassphraseError, fi as WeakPassphraseReason, fj as WithArchiveOptions, fk as WithdrawAccessibleOptions, fl as WithdrawResult, fm as WithdrawalRequest, fn as WithdrawalRequestError, fo as WithdrawalRequestStatus, fp as WrappedDeksBlob, fq as WriteConflict, fr as WriteEvent, fs as WriteHook, ft as WriteQueue, fu as aesGcmOpen, b8 as applyPatch, fv as approveWithdrawal, fw as assertStrongPassphrase, fx as buildRecipientKeyringFile, fy as burnPaperRecoveryEntry, fz as compileSequenceFormat, b9 as computePatch, n as createEnforcer, fA as createNoydb, fB as createStore, fC as deriveMagicLinkContentKey, f as dictCollectionName, g as dictKey, ba as diff, h as enforceScript, fD as enrollAuthenticator, fE as estimateEntropy, fF as evalComputedFields, fG as evaluateExportCapability, fH as evaluateImportCapability, fI as exportAccessibleData, fJ as findAuthenticator, bb as formatDiff, fK as hasExportCapability, fL as hasImportCapability, fM as hasRecoveryEnrolled, i as inferScripts, j as isDictCollectionName, k as isDictKeyDescriptor, fN as isLinkCollectionName, fO as isMagicLinkGrantExpired, fP as isPublicEnvelope, l as isStaticDictDescriptor, fQ as issueDelegation, fR as keyringRecoverPassphrase, fS as keyringRotatePassphrase, fT as listMagicLinkGrants, fU as listUsers, fV as listUsersWithEnvelopes, fW as listWithdrawalRequests, fX as loadActiveDelegations, fY as loadPaperRecoveryEntries, fZ as loadSealedPassphrase, f_ as loadShamirRecoveryEntries, f$ as magicLinkGrantRecordId, a1 as memoryObjectProjection, g0 as mintPaperRecoveryEntry, g1 as mintShamirRecoveryEntry, g2 as mintWrappedDeksBlob, g3 as parseRsaOaepTlv, g4 as parseSealedEnvelope, g5 as readMagicLinkGrantRecord, g6 as recoverUser, g7 as rejectWithdrawal, g8 as removeAuthenticator, g9 as requestWithdrawal, ga as resolvePublicEnvelopeSchema, gb as resolveSequenceKey, gc as revokeDelegation, gd as revokeMagicLinkGrant, ge as runTransaction, gf as savePaperRecoveryEntries, gg as saveSealedPassphrase, gh as saveShamirRecoveryEntries, gi as sealRsaOaepTlv, s as staticDict, gj as unwrapDeksFromBlob, gk as unwrapDeksFromPaperEntry, gl as unwrapDeksFromShamirEntry, gm as unwrapMagicLinkGrant, gn as validatePassphrase, go as validatePublicEnvelopeInput, gp as validateSchemaInput, gq as validateSchemaOutput, v as validateSessionPolicy, gr as withArchive, gs as withDeferredNumbering, gt as withdrawAccessibleData, gu as writeMagicLinkGrant } from './types-DONgts0n.js';
|
|
3
|
-
export { I as ImportExternalOptions, a as ImportExternalResult, b as ImportableCollection, d as detectMagic, c as detectMimeType, i as importExternalObjects, e as isPreCompressed } from './mime-magic-
|
|
1
|
+
import { aW as NoydbStore, bs as UserEnvelope, bg as PublicEnvelope, bt as GateName, bu as GatePolicy, bv as VaultPolicy, bw as ActiveTier, bx as FactorProof, aY as EncryptedEnvelope, by as SchemaUpdateStrategy, bz as TransformFn, bA as PersistedSchemaEnvelope, bB as UpdateDecision, bd as SealingKeyProvider, aU as UnlockedKeyring, bC as DirectoryConfig, bD as UserVisibility, bc as Vault, b1 as DiffEntry } from './types-BGRX6sPT.js';
|
|
2
|
+
export { bE as AccessibleVault, bF as AffectedDocument, a_ as AppendInput, bG as ApproveWithdrawalOptions, bH as ArchivePolicy, bI as ArchiveResult, bJ as ArchiveRunOptions, bK as ArchiveStrategy, aE as ArrayOutputSpec, o as BLOB_CHUNKS_COLLECTION, p as BLOB_COLLECTION, r as BLOB_INDEX_COLLECTION, t as BLOB_SLOTS_PREFIX, u as BLOB_VERSIONS_PREFIX, bL as BUNDLE_STORE_POLICY, z as BlobObject, A as BlobPutOptions, C as BlobResponseOptions, E as BlobSet, bM as BuiltInGateName, bh as BundleRecipient, a4 as CONSENT_AUDIT_COLLECTION, bN as CacheOptions, bO as CacheStats, bP as ChangeEvent, a$ as ChangeType, ad as ClosePeriodOptions, aN as Collection, bQ as CollectionChangeEvent, bR as CollectionConflictResolver, bS as CollectionDescriptor, au as CollectionFrame, b0 as CollectionInstant, bT as CollectionStats, bU as ComputedFieldError, bV as ComputedFields, bW as ComputedFn, bX as Conflict, bY as ConflictPolicy, bZ as ConflictStrategy, a5 as ConsentAuditEntry, a6 as ConsentAuditFilter, a7 as ConsentContext, a8 as ConsentOp, b_ as CrossTierAccessEvent, b$ as CustodyApi, K as DEFAULT_CHUNK_SIZE, c0 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c1 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c2 as DeepPartial, c3 as DeepPartialOrNull, c4 as DeferredNumberingConfig, c5 as DelegationToken, c6 as DeleteManyResult, c7 as DerivationDescriptor, aC as DerivationStrategy, aG as DerivationStrategyHandle, aH as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, c8 as DirtyEntry, c9 as DryRunResult, ca as DumpSchemaOptions, cb as ELEVATION_AUDIT_COLLECTION, cc as ElevatedHandle, cd as EnrollAuthenticatorOptions, ce as EnrollAuthenticatorWrappingDEKsOptions, cf as EnrollAuthenticatorWrappingKEKOptions, cg as EnrollRecoveryResult, ch as ExportAccessibleOptions, ci as ExportCapability, cj as ExportChunk, ck as ExportFormat, cl as ExportStreamOptions, cm as FactorKind, cn as FactorProofBundle, co as FactorRequirement, cp as FenceDoc, cq as FenceState, cr as FieldChange, cs as FieldDescriptor, ct as FieldSource, cu as FormattedSequenceHandle, cv as FrozenSnapshotRef, cw as GhostRecord, cx as GrantCustodianOptions, cy as GrantOptions, ao as GuardChange, ap as GuardContext, an as GuardStrategy, ar as GuardStrategyHandle, cz as GuardViolation, cA as HistoryConfig, cB as HistoryEntry, aX as HistoryOptions, cC as INDEXED_STORE_POLICY, cD as ImportCapability, cE as InferOutput, cF as InternalCollectionStats, cG as IssueDelegationOptions, cH as IssueMagicLinkGrantOptions, b2 as JsonPatch, b3 as JsonPatchOp, cI as KeyringAuthenticator, cJ as KeyringAuthenticatorWrappingDEKs, cK as KeyringAuthenticatorWrappingKEK, cL as KeyringFile, b4 as LedgerStore, cM as LiberateOptions, cN as LiberateResult, cO as LinkEndpointError, cP as LinkIntegrityError, cQ as LinkOnDelete, cR as LinkRow, cS as LinkSetHandle, cT as LinkSpec, cU as ListAccessibleVaultsOptions, cV as ListPageResult, cW as ListUsersOptions, cX as LiveUserEnvelope, cY as LocaleReadOptions, cZ as Lru, c_ as LruOptions, c$ as LruStats, d0 as MAGIC_LINK_CONTENT_INFO_PREFIX, d1 as MAGIC_LINK_GRANTS_COLLECTION, d2 as MAGIC_LINK_KEK_INFO_PREFIX, d3 as MagicLinkGrantPayload, d4 as MagicLinkGrantRecord, bo as MaterializedFromMeta, d5 as MaterializedViewDescriptor, bp as MaterializedViewOutput, aK as MaterializedViewStrategy, aL as MaterializedViewStrategyHandle, d6 as MemoryRecipientSealer, d7 as MemorySealingKeyProvider, d8 as NOYDB_BACKUP_VERSION, d9 as NOYDB_FORMAT_VERSION, da as NOYDB_KEYRING_VERSION, db as NOYDB_SYNC_VERSION, dc as NextOptions, dd as Noydb, aw as NoydbBundleStore, de as NoydbEventMap, df as NoydbOptions, dg as NumberingAssignment, T as ObjectListEntry, U as ObjectMeta, V as ObjectProjection, W as ObjectUrlOptions, ae as OpenPeriodOptions, aI as OutputSpec, aO as OverlayFieldMergeMode, aP as OverlayFieldMergeRule, dh as OverlayViewDescriptor, aM as OverlayedViewStrategy, aR as OverlayedViewStrategyHandle, af as PERIODS_COLLECTION, di as PUBLIC_ENVELOPE_FIELDS, dj as PaperRecoveryDoc, dk as PaperRecoveryEntry, dl as PassphrasePolicy, dm as PassphraseValidationResult, ag as PeriodRecord, dn as Permission, dp as Permissions, dq as PersistedSchemaKind, dr as PlaintextTranslatorContext, ds as PlaintextTranslatorFn, P as PolicyEnforcer, dt as PresenceHandle, du as PresencePeer, aZ as PruneOptions, dv as PublicEnvelopeField, dw as PublicEnvelopeSchema, dx as PublicEnvelopeText, dy as PullMode, dz as PullOptions, dA as PullPolicy, dB as PullResult, dC as PushMode, dD as PushOptions, dE as PushPolicy, dF as PushResult, dG as PutManyItemOptions, dH as PutManyOptions, dI as PutManyResult, X as PutObjectOptions, Y as PutUrlOptions, dJ as QueryAcrossOptions, dK as QueryAcrossResult, dL as QuickUnlockState, dM as QuickUnlockStore, dN as ReAuthOperation, bj as RecipientHint, bi as RecipientSealer, aJ as RecordOutputSpec, dO as RecoverPassphraseInput, dP as RecoverPassphraseResult, dQ as RecoverUserOptions, dR as RecoveryProof, dS as RejectWithdrawalOptions, dT as RequestWithdrawalOptions, dU as RequestWithdrawalResult, dV as ResolvedPublicEnvelopeSchema, ax as RetentionPolicy, dW as RevokeOptions, aT as Role, dX as RotatePassphraseInput, dY as RotateRecoveryOptions, dZ as RotateRecoveryResult, d_ as SEALED_PASSPHRASE_RECORD_ID, d$ as SchemaDelta, e0 as SchemaIntrospection, S as ScriptWarning, e1 as SealedEnvelope, e2 as SealedPassphrase, e3 as SearchEntry, e4 as SearchOptions, e5 as SearchResult, e6 as SequenceHandle, e7 as SequenceOptions, e8 as SequenceStore, e9 as SessionPolicy, ea as SetPublicEnvelopeInput, eb as ShamirRecoveryDoc, ec as ShamirRecoveryEntry, bf as ShamirRecoveryProvider, Z as SlotInfo, _ as SlotRecord, ed as SlotRewrapCeremony, ee as SlotRewrapContext, aA as SnapshotMeta, ef as StandardSchemaV1, eg as StandardSchemaV1Issue, eh as StandardSchemaV1SyncResult, e as StaticDictDescriptor, ei as StoreAuth, ej as StoreAuthKind, ek as StoreCapabilities, el as StoreTime, em as SyncEngine, en as SyncMetadata, eo as SyncPolicy, ep as SyncScheduler, eq as SyncSchedulerStatus, er as SyncStatus, es as SyncTarget, et as SyncTargetRole, eu as SyncTransaction, ev as SyncTransactionResult, ew as TabChannel, ex as TabCoordinationOptions, ey as TabLockManager, ez as TabPresence, eA as TabRole, eB as TierMode, eC as TransactionInvariant, eD as TranslatorAuditEntry, eE as TxCollection, bk as TxContext, eF as TxOp, eG as TxVault, eH as USER_ENVELOPE_COLLECTION, eI as USER_ENVELOPE_MAX_BYTES, bq as UnionArmJoin, br as UnionSource, eJ as Unsubscribe, eK as UpdateAuthenticatorOptions, eL as UpdateContext, eM as UpdateUserOptions, eN as UserApi, eO as UserEnvelopeCheckGate, eP as UserEnvelopeOversizedError, eQ as UserEnvelopePresented, eR as UserInfo, eS as VaultBackup, b5 as VaultEngine, av as VaultFrame, b6 as VaultInstant, eT as VaultPolicyOnDisk, eU as VaultSchemaSnapshot, eV as VaultSnapshot, b7 as VerifyResult, $ as VersionRecord, eW as WarningRules, eX as WeakPassphraseError, eY as WeakPassphraseReason, eZ as WithArchiveOptions, e_ as WithdrawAccessibleOptions, e$ as WithdrawResult, f0 as WithdrawalRequest, f1 as WithdrawalRequestError, f2 as WithdrawalRequestStatus, f3 as WrappedDeksBlob, f4 as WriteConflict, f5 as WriteEvent, f6 as WriteHook, f7 as WriteQueue, f8 as aesGcmOpen, b8 as applyPatch, f9 as approveWithdrawal, fa as assertStrongPassphrase, fb as buildRecipientKeyringFile, fc as burnPaperRecoveryEntry, fd as compileSequenceFormat, b9 as computePatch, n as createEnforcer, fe as createNoydb, ff as createStore, fg as deriveMagicLinkContentKey, f as dictCollectionName, g as dictKey, ba as diff, h as enforceScript, fh as enrollAuthenticator, fi as estimateEntropy, fj as evalComputedFields, fk as evaluateExportCapability, fl as evaluateImportCapability, fm as exportAccessibleData, fn as findAuthenticator, bb as formatDiff, fo as hasExportCapability, fp as hasImportCapability, fq as hasRecoveryEnrolled, i as inferScripts, j as isDictCollectionName, k as isDictKeyDescriptor, fr as isLinkCollectionName, fs as isMagicLinkGrantExpired, ft as isPublicEnvelope, l as isStaticDictDescriptor, fu as issueDelegation, fv as keyringRecoverPassphrase, fw as keyringRotatePassphrase, fx as liberateVault, fy as listMagicLinkGrants, fz as listUsers, fA as listUsersWithEnvelopes, fB as listWithdrawalRequests, fC as loadActiveDelegations, fD as loadPaperRecoveryEntries, fE as loadSealedPassphrase, fF as loadShamirRecoveryEntries, fG as magicLinkGrantRecordId, a1 as memoryObjectProjection, fH as mintPaperRecoveryEntry, fI as mintShamirRecoveryEntry, fJ as mintWrappedDeksBlob, fK as parseRsaOaepTlv, fL as parseSealedEnvelope, fM as readMagicLinkGrantRecord, fN as recoverUser, fO as rejectWithdrawal, fP as removeAuthenticator, fQ as requestWithdrawal, fR as resolvePublicEnvelopeSchema, fS as resolveSequenceKey, fT as revokeDelegation, fU as revokeMagicLinkGrant, fV as runTransaction, fW as savePaperRecoveryEntries, fX as saveSealedPassphrase, fY as saveShamirRecoveryEntries, fZ as sealRsaOaepTlv, s as staticDict, f_ as unwrapDeksFromBlob, f$ as unwrapDeksFromPaperEntry, g0 as unwrapDeksFromShamirEntry, g1 as unwrapMagicLinkGrant, g2 as validatePassphrase, g3 as validatePublicEnvelopeInput, g4 as validateSchemaInput, g5 as validateSchemaOutput, v as validateSessionPolicy, g6 as withArchive, g7 as withDeferredNumbering, g8 as withdrawAccessibleData, g9 as writeMagicLinkGrant } from './types-BGRX6sPT.js';
|
|
3
|
+
export { I as ImportExternalOptions, a as ImportExternalResult, b as ImportableCollection, d as detectMagic, c as detectMimeType, i as importExternalObjects, e as isPreCompressed } from './mime-magic-BswIvWkR.js';
|
|
4
4
|
export { AgeRoute, BlobLifecyclePolicy, BlobStoreRoute, CircuitBreakerOptions, HealthCheckOptions, LogLevel, LoggingOptions, MetricsOptions, OverrideOptions, OverrideTarget, RetryOptions, RouteStatus, RouteStoreOptions, RoutedNoydbStore, StoreCacheOptions, StoreMiddleware, StoreOperation, SuspendOptions, WrapBundleStoreOptions, WrappedBundleNoydbStore, createBundleStore, routeStore, withCache, withCircuitBreaker, withHealthCheck, withLogging, withMetrics, withRetry, wrapBundleStore, wrapStore } from './store/index.js';
|
|
5
|
-
import { N as NoydbError } from './errors-
|
|
6
|
-
export { H as AlreadyElevatedError, A as AmendmentForbiddenError, s as AttestationError, B as BackupCorruptedError, u as BackupLedgerError, v as BundleIntegrityError, w as BundleSealMismatchError, x as BundleVersionConflictError, J as ConflictError, K as CrossJoinSourceUnknownError, Q as CrossJoinTooLargeError, V as DanglingReferenceError, W as DataResidencyError, X as DebugPlaintextError, Y as DebugReservedFieldError, Z as DecryptionError, _ as DelegationTargetMissingError, i as DerivationCapExceededError, j as DerivationCycleError, k as DerivationDepthError, l as DerivationOutputShapeError, m as DerivationOutputUnknownError, D as DictKeyInUseError, a as DictKeyMissingError, $ as DirectoryDisabledError, a0 as ElevationExpiredError, a1 as ExportCapabilityError, F as FieldFrozenError,
|
|
7
|
-
export {
|
|
8
|
-
export {
|
|
5
|
+
import { N as NoydbError } from './errors-B2tUcRPg.js';
|
|
6
|
+
export { H as AlreadyElevatedError, A as AmendmentForbiddenError, s as AttestationError, B as BackupCorruptedError, u as BackupLedgerError, v as BundleIntegrityError, w as BundleSealMismatchError, x as BundleVersionConflictError, J as ConflictError, K as CrossJoinSourceUnknownError, Q as CrossJoinTooLargeError, V as DanglingReferenceError, W as DataResidencyError, X as DebugPlaintextError, Y as DebugReservedFieldError, Z as DecryptionError, _ as DelegationTargetMissingError, i as DerivationCapExceededError, j as DerivationCycleError, k as DerivationDepthError, l as DerivationOutputShapeError, m as DerivationOutputUnknownError, D as DictKeyInUseError, a as DictKeyMissingError, $ as DirectoryDisabledError, a0 as ElevationExpiredError, a1 as ExportCapabilityError, a2 as FederationMovedError, F as FieldFrozenError, a3 as FilenameSanitizationError, a4 as ForgetStrategyNotConfiguredError, a5 as GroupCardinalityError, I as IllegalTransitionError, a6 as ImportCapabilityError, a7 as IndexRequiredError, a8 as IndexWriteFailureError, a9 as InvalidKeyError, f as InvariantError, aa as JoinTooLargeError, ab as KeyringCorruptError, ac as KeyringExpiredError, ad as LedgerContentionError, L as LocaleNotSpecifiedError, z as MaterializedViewConfigError, C as MaterializedViewCycleError, E as MaterializedViewSourceUnknownError, G as MaterializedViewTooLargeError, ae as MigrationRequiredError, M as MissingTranslationError, af as NetworkError, ag as NoAccessError, ah as NonAdditiveSchemaChangeError, ai as NotFoundError, aj as NumberingUncertaintyError, O as OverlayBaseIsVirtualError, n as OverlayCollectionUnavailableError, o as OverlayIdMismatchError, p as OverlayNameCollisionError, ak as PathEscapeError, al as PeriodClosedError, am as PermissionDeniedError, an as PrivilegeEscalationError, ao as QuiesceTimeoutError, ap as ReadOnlyAtInstantError, aq as ReadOnlyError, ar as ReadOnlyFrameError, as as RecordCekNotFoundError, g as RecordLockedError, R as ReservedCollectionNameError, at as ReservedVaultNameError, au as SchemaFenceError, av as SchemaLockedError, aw as SchemaUpdateError, ax as SchemaValidationError, S as ScriptViolationError, q as SealedRecordExpiredError, r as SealedRecordMismatchError, ay as SequenceContentionError, az as SequenceOfflineError, c as SessionExpiredError, d as SessionNotFoundError, e as SessionPolicyError, aA as ShardProvisioningError, h as SnapshotNotFoundError, b as StaticDictReadonlyError, aB as StoreCapabilityError, aC as TamperedError, aD as TierDemoteDeniedError, aE as TierNotGrantedError, T as TranslatorNotConfiguredError, aF as UniqueConstraintError, U as UnknownDictCodeError, aG as UnknownShardError, aH as UnsupportedIndexOptionError, aI as ValidationError, aJ as VaultTemplateNotFoundError } from './errors-B2tUcRPg.js';
|
|
7
|
+
export { A as AutoCredential, z as AutoCredentialKind, c as CompartmentManifest, d as CompressionAlgo, D as DecryptedRecord, M as MultiBundleManifest, f as MultiVaultCompartmentInput, N as NOYDB_BUNDLE_FORMAT_VERSION, g as NOYDB_BUNDLE_MAGIC, h as NOYDB_BUNDLE_PREFIX_BYTES, l as NoydbBundleHeader, m as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, o as decryptExtractedPartition, B as hasNoydbBundleMagic, r as readMultiVaultBundleCompartment, s as readNoydbBundle, t as readNoydbBundleHeader, u as readNoydbBundleManifest, E as readNoydbBundlePublicEnvelope, v as resetBrotliSupportCache, x as writeMultiVaultBundle, y as writeNoydbBundle } from './multi-bundle-6s5nKAZX.js';
|
|
8
|
+
export { g as generateULID, i as isULID } from './ulid-DRH25k3y.js';
|
|
9
|
+
export { D as DEFAULT_CROSS_JOIN_MAX_ROWS, a as DEFAULT_JOIN_MAX_ROWS, J as JoinContext, b as JoinLeg, c as JoinStrategy, d as JoinableSource, L as LiveQuery, e as LiveUpstream, O as OrderBy, Q as Query, f as QueryPlan, g as QuerySource, R as RefDescriptor, h as RefIntegrityError, i as RefMode, j as RefRegistry, k as RefScopeError, l as RefViolation, S as ScanBuilder, m as ScanPageProvider, n as applyJoins, o as buildLiveQuery, p as executePlan, q as isRefArray, r as ref, s as refArray, t as resetJoinWarnings } from './index-BLff_E35.js';
|
|
9
10
|
export { L as LedgerEntry, c as canonicalJson, h as hashEntry, p as paddedIndex, a as parseIndex, s as sha256Hex } from './index-BMmajblo.js';
|
|
10
11
|
export { a as CrdtMode, b as CrdtState, L as LwwMapState, R as RgaState, Y as YjsState, m as mergeCrdtStates, r as resolveCrdtSnapshot } from './strategy-BSxFXGzb.js';
|
|
12
|
+
export { b as base64ToBuffer, a as bufferToBase64, d as decryptBytes, c as decryptDeterministic, e as derivePresenceKey, f as encryptBytes, g as encryptDeterministic } from './index-B8MoIS7B.js';
|
|
11
13
|
export { TransactionStrategyOptions } from './tx/index.js';
|
|
12
|
-
export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-
|
|
13
|
-
import { K as RoundingMode } from './strategy-
|
|
14
|
-
export { h as AggregateResult, j as AggregateSpec, k as Aggregation, l as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, m as GROUPBY_WARN_CARDINALITY, n as GroupedAggregation, o as GroupedQuery, p as GroupedQueryN, q as GroupedRow, t as GroupedRowN, I as I18nMap, a as I18nTextDescriptor, b as I18nTextOptions, L as Layer, u as LiveAggregation, M as MoneyCurrencyError, N as MoneyDescriptor, P as MoneyOptions, Q as MoneyOptionsFixed, S as MoneyOptionsMulti, T as MoneyPrecisionError, U as MoneyUnsupportedError, O as OnMissing, c as OnMissingPolicy, w as Reducer, x as ReducerOptions, R as ResolveI18nOptions, d as applyI18nLocale, y as avg, B as count, C as groupAndReduce, i as i18nText, e as isI18nTextDescriptor, V as isMoneyDescriptor, D as max, E as min, W as money, F as reduceRecords, r as resolveI18nText, f as resolvePolicy, J as sum, v as validateI18nTextValue } from './strategy-
|
|
15
|
-
export { w as withDerivation, a as withRollup } from './with-rollup-
|
|
16
|
-
export { w as withMaterializedView } from './with-materialized-view-
|
|
14
|
+
export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-CQH5263l.js';
|
|
15
|
+
import { K as RoundingMode } from './strategy-D47TC5X6.js';
|
|
16
|
+
export { h as AggregateResult, j as AggregateSpec, k as Aggregation, l as AggregationUpstream, G as GROUPBY_MAX_CARDINALITY, m as GROUPBY_WARN_CARDINALITY, n as GroupedAggregation, o as GroupedQuery, p as GroupedQueryN, q as GroupedRow, t as GroupedRowN, I as I18nMap, a as I18nTextDescriptor, b as I18nTextOptions, L as Layer, u as LiveAggregation, M as MoneyCurrencyError, N as MoneyDescriptor, P as MoneyOptions, Q as MoneyOptionsFixed, S as MoneyOptionsMulti, T as MoneyPrecisionError, U as MoneyUnsupportedError, O as OnMissing, c as OnMissingPolicy, w as Reducer, x as ReducerOptions, R as ResolveI18nOptions, d as applyI18nLocale, y as avg, B as count, C as groupAndReduce, i as i18nText, e as isI18nTextDescriptor, V as isMoneyDescriptor, D as max, E as min, W as money, F as reduceRecords, r as resolveI18nText, f as resolvePolicy, J as sum, v as validateI18nTextValue } from './strategy-D47TC5X6.js';
|
|
17
|
+
export { w as withDerivation, a as withRollup } from './with-rollup-B1_ZjG02.js';
|
|
18
|
+
export { w as withMaterializedView } from './with-materialized-view-Cj-6fuav.js';
|
|
17
19
|
export { a as Clause, C as CollectionIndexes, F as FieldClause, b as FilterClause, G as GroupClause, H as HashIndex, I as IndexDef, O as Operator, e as evaluateClause, c as evaluateFieldClause, r as readPath } from './predicate-BmhBSPCH.js';
|
|
18
|
-
export { w as withOverlayedView } from './with-overlayed-view-
|
|
20
|
+
export { w as withOverlayedView } from './with-overlayed-view-COp_7EEy.js';
|
|
19
21
|
export { SYNC_CREDENTIALS_COLLECTION, SyncCredential, credentialStatus, deleteCredential, getCredential, listCredentials, putCredential } from './team/index.js';
|
|
20
|
-
export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-
|
|
22
|
+
export { C as CreateSessionOptions, a as CreateSessionResult, D as DevUnlockOptions, S as SessionToken, b as activeSessionCount, c as clearDevUnlock, d as createSession, e as enableDevUnlock, i as isDevUnlockActive, f as isSessionAlive, l as loadDevUnlock, r as resolveSession, g as revokeAllSessions, h as revokeSession } from './dev-unlock-BlhRHr6p.js';
|
|
21
23
|
export { i as isDiscriminant } from './discriminant-BN9REW3o.js';
|
|
22
|
-
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-
|
|
24
|
+
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-cF4iWaBV.js';
|
|
23
25
|
import './lazy-builder-ChSqcF5t.js';
|
|
24
26
|
import '@noy-db/attestation';
|
|
25
27
|
|
|
@@ -123,15 +125,6 @@ declare function parseBytes(input: number | string): number;
|
|
|
123
125
|
*/
|
|
124
126
|
declare function estimateRecordBytes(record: unknown): number;
|
|
125
127
|
|
|
126
|
-
/**
|
|
127
|
-
* @category capability
|
|
128
|
-
* Zero-dependency federation constants. Kept import-free so the core
|
|
129
|
-
* graph can reference reserved names without pulling the (dynamically
|
|
130
|
-
* imported) federation chunk. See the StateManagement Vault design spec.
|
|
131
|
-
*/
|
|
132
|
-
/** Reserved fleet-wide control-plane vault name. */
|
|
133
|
-
declare const STATE_VAULT_NAME = "__noydb_state__";
|
|
134
|
-
|
|
135
128
|
/**
|
|
136
129
|
* Persistence helpers for `_meta/public-envelope`. Mirrors the
|
|
137
130
|
* bypass-AES pattern used by `_meta/handle` and `_meta/policy` —
|
|
@@ -408,6 +401,13 @@ declare function coordinatedCutover(opts: {
|
|
|
408
401
|
readonly transform: TransformFn;
|
|
409
402
|
}): SchemaUpdateStrategy;
|
|
410
403
|
|
|
404
|
+
/**
|
|
405
|
+
* Hub-core constants that must be referenceable without pulling any
|
|
406
|
+
* subsystem chunk. Kept import-free.
|
|
407
|
+
*/
|
|
408
|
+
/** Reserved fleet-wide control-plane vault name. Hub reserves it; @klum-db/lobby's StateManagementVault uses it. */
|
|
409
|
+
declare const STATE_VAULT_NAME = "__noydb_state__";
|
|
410
|
+
|
|
411
411
|
/**
|
|
412
412
|
* Derive a {@link PersistedSchemaEnvelope} from a Standard Schema v1
|
|
413
413
|
* validator. v0 supports Zod via `zod-to-json-schema` (optional peer-dep);
|
|
@@ -494,6 +494,90 @@ declare function persistSchemaIfNeeded(opts: {
|
|
|
494
494
|
readonly strategies?: readonly SchemaUpdateStrategy[];
|
|
495
495
|
}): Promise<PersistSchemaResult>;
|
|
496
496
|
|
|
497
|
+
/**
|
|
498
|
+
* FR-6 — Deed: sealed / hidden-owner provisioning.
|
|
499
|
+
*
|
|
500
|
+
* A **Deed** is a vault owned by a *latent* principal who never
|
|
501
|
+
* authenticates. The owner credential (the random passphrase that
|
|
502
|
+
* derives `KEK_owner`) is minted machine-side and sealed under a
|
|
503
|
+
* **non-firm** {@link SealingKeyProvider} — that sealing boundary is
|
|
504
|
+
* the cryptographic *inalienability anchor*: whoever holds the
|
|
505
|
+
* provider (the client / their KMS) is the only party that can ever
|
|
506
|
+
* re-derive `KEK_owner`. A firm-side custodian operates the vault
|
|
507
|
+
* fully but can never reach the owner key — there is deliberately NO
|
|
508
|
+
* firm-controlled fallback.
|
|
509
|
+
*
|
|
510
|
+
* Provisioning reuses the managed-mode seam:
|
|
511
|
+
* - {@link resolveManagedSecret} mints + seals + persists the random
|
|
512
|
+
* passphrase at `_meta/sealed-passphrase` (and unseals it on every
|
|
513
|
+
* subsequent open through the same provider).
|
|
514
|
+
* - {@link createOwnerKeyring} derives `KEK_owner` from that
|
|
515
|
+
* passphrase and writes the `_keyring/<ownerUserId>` file.
|
|
516
|
+
*
|
|
517
|
+
* On top of that, a Deed writes a `_meta/deed` **marker**. The marker
|
|
518
|
+
* is PLAINTEXT metadata — it records WHO the latent owner is and WHICH
|
|
519
|
+
* sealing boundary protects them, so it must be readable without
|
|
520
|
+
* unlocking the vault (a custodian or auditor inspecting the vault must
|
|
521
|
+
* be able to see "this is a Deed vault, owner = X, sealed under Y"
|
|
522
|
+
* without any key). The marker itself is therefore never sealed; only
|
|
523
|
+
* the owner *credential* is.
|
|
524
|
+
*
|
|
525
|
+
* @module
|
|
526
|
+
*/
|
|
527
|
+
|
|
528
|
+
/** Reserved id for the Deed marker under `_meta`. */
|
|
529
|
+
declare const DEED_RECORD_ID: "deed";
|
|
530
|
+
/**
|
|
531
|
+
* Plaintext metadata recording a vault's latent-owner Deed. Persisted
|
|
532
|
+
* at `_meta/deed`. Readable without unlocking the vault by design — it
|
|
533
|
+
* carries no secret material, only the identity of the latent owner
|
|
534
|
+
* and the sealing boundary that anchors inalienability.
|
|
535
|
+
*/
|
|
536
|
+
interface DeedMarker {
|
|
537
|
+
/** The latent owner principal — the user id of the `_keyring/<id>` owner file. */
|
|
538
|
+
readonly ownerUserId: string;
|
|
539
|
+
/**
|
|
540
|
+
* The `SealingKeyProvider.id` the owner credential is sealed under.
|
|
541
|
+
* The inalienability anchor: only the holder of this (non-firm)
|
|
542
|
+
* provider can re-derive `KEK_owner`. Audit metadata — never secret.
|
|
543
|
+
*/
|
|
544
|
+
readonly sealedUnder: string;
|
|
545
|
+
/** Always `true` for a Deed — the owner never authenticates interactively. */
|
|
546
|
+
readonly latent: true;
|
|
547
|
+
/** ISO-8601 timestamp the Deed was issued. */
|
|
548
|
+
readonly issuedAt: string;
|
|
549
|
+
/**
|
|
550
|
+
* ISO-8601 timestamp the vault was liberated (a new owner claimed it
|
|
551
|
+
* via the audited Liberate ceremony), if any. Absent until liberation.
|
|
552
|
+
*/
|
|
553
|
+
readonly liberatedAt?: string;
|
|
554
|
+
}
|
|
555
|
+
/**
|
|
556
|
+
* Provision a Deed: a latent owner whose credential is sealed under
|
|
557
|
+
* `sealing` (a NON-firm provider). Mints + seals the owner passphrase
|
|
558
|
+
* via {@link resolveManagedSecret}, derives the owner keyring via
|
|
559
|
+
* {@link createOwnerKeyring}, then writes the plaintext `_meta/deed`
|
|
560
|
+
* marker. Returns the unlocked owner keyring.
|
|
561
|
+
*
|
|
562
|
+
* The returned keyring is the only in-memory window onto `KEK_owner`
|
|
563
|
+
* for this call; the persistent re-entry point is the sealing provider
|
|
564
|
+
* (re-run {@link resolveManagedSecret} with the same provider to
|
|
565
|
+
* re-resolve the passphrase, then {@link createOwnerKeyring}/load to
|
|
566
|
+
* unlock — no interactive passphrase is ever required).
|
|
567
|
+
*
|
|
568
|
+
* There is deliberately no firm-controlled fallback: the marker's
|
|
569
|
+
* `sealedUnder` is the single cryptographic anchor of ownership.
|
|
570
|
+
*/
|
|
571
|
+
declare function createDeedOwner(store: NoydbStore, vault: string, ownerUserId: string, sealing: SealingKeyProvider): Promise<UnlockedKeyring>;
|
|
572
|
+
/**
|
|
573
|
+
* Read the {@link DeedMarker} from `_meta/deed`, or `null` if the vault
|
|
574
|
+
* has no Deed marker (i.e. it is not a Deed vault). Plaintext read — no
|
|
575
|
+
* unlocking required.
|
|
576
|
+
*/
|
|
577
|
+
declare function loadDeedMarker(store: NoydbStore, vault: string): Promise<DeedMarker | null>;
|
|
578
|
+
/** Whether `vault` carries a Deed marker (a sealed/latent owner). */
|
|
579
|
+
declare function isDeedVault(store: NoydbStore, vault: string): Promise<boolean>;
|
|
580
|
+
|
|
497
581
|
/**
|
|
498
582
|
* Authentication introspection.
|
|
499
583
|
*
|
|
@@ -617,61 +701,6 @@ declare function persistUserVisibility(store: NoydbStore, vault: string, keyring
|
|
|
617
701
|
*/
|
|
618
702
|
declare function deleteUserVisibility(store: NoydbStore, vault: string, keyringId: string): Promise<void>;
|
|
619
703
|
|
|
620
|
-
interface EncryptResult {
|
|
621
|
-
iv: string;
|
|
622
|
-
data: string;
|
|
623
|
-
}
|
|
624
|
-
/**
|
|
625
|
-
* Encrypt raw bytes with AES-256-GCM using a fresh random IV.
|
|
626
|
-
* Used by the attachment store so binary blobs avoid double base64 encoding
|
|
627
|
-
* (the existing `encrypt()` function calls `TextEncoder` on a string — here
|
|
628
|
-
* we pass the `Uint8Array` directly to `subtle.encrypt`).
|
|
629
|
-
*/
|
|
630
|
-
declare function encryptBytes(data: Uint8Array, dek: CryptoKey): Promise<EncryptResult>;
|
|
631
|
-
/**
|
|
632
|
-
* Decrypt AES-256-GCM ciphertext back to raw bytes.
|
|
633
|
-
* Counterpart to `encryptBytes`. Throws `TamperedError` on auth-tag failure.
|
|
634
|
-
*/
|
|
635
|
-
declare function decryptBytes(ivBase64: string, dataBase64: string, dek: CryptoKey): Promise<Uint8Array>;
|
|
636
|
-
/**
|
|
637
|
-
* Derive an AES-256-GCM presence key from a collection DEK using HKDF-SHA256.
|
|
638
|
-
*
|
|
639
|
-
* The presence key is domain-separated from the data DEK by the fixed salt
|
|
640
|
-
* `'noydb-presence'` and the `info` = collection name. This means:
|
|
641
|
-
* - The adapter never sees the presence key.
|
|
642
|
-
* - Presence payloads rotate automatically when the collection DEK is rotated.
|
|
643
|
-
* - Revoked users cannot derive the new presence key after a DEK rotation.
|
|
644
|
-
*
|
|
645
|
-
* @param dek The collection's AES-256-GCM DEK (extractable).
|
|
646
|
-
* @param collectionName Used as the HKDF `info` parameter for domain separation.
|
|
647
|
-
* @returns A non-extractable AES-256-GCM key suitable for presence payload encryption.
|
|
648
|
-
*/
|
|
649
|
-
declare function derivePresenceKey(dek: CryptoKey, collectionName: string): Promise<CryptoKey>;
|
|
650
|
-
/**
|
|
651
|
-
* Encrypt a plaintext string with AES-256-GCM and a deterministic,
|
|
652
|
-
* HKDF-derived IV.
|
|
653
|
-
*
|
|
654
|
-
* The same `{ dek, context, plaintext }` triple always produces the
|
|
655
|
-
* same `{ iv, data }` — call this twice and you can string-compare the
|
|
656
|
-
* ciphertexts to check equality of the inputs without decrypting them.
|
|
657
|
-
*
|
|
658
|
-
* @param context Domain-separation string — by convention
|
|
659
|
-
* `'<collection>/<field>'`. Different contexts encrypt
|
|
660
|
-
* the same plaintext to different ciphertexts, so
|
|
661
|
-
* `email` in collection `users` does not collide with
|
|
662
|
-
* `email` in collection `customers`.
|
|
663
|
-
*/
|
|
664
|
-
declare function encryptDeterministic(plaintext: string, dek: CryptoKey, context: string): Promise<EncryptResult>;
|
|
665
|
-
/**
|
|
666
|
-
* Counterpart to {@link encryptDeterministic}. The IV is stored
|
|
667
|
-
* alongside the ciphertext (exactly like the randomized path), so
|
|
668
|
-
* decrypt uses the stored IV and verifies the GCM auth tag — a tampered
|
|
669
|
-
* ciphertext throws `TamperedError` just like randomized AES-GCM.
|
|
670
|
-
*/
|
|
671
|
-
declare function decryptDeterministic(ivBase64: string, dataBase64: string, dek: CryptoKey): Promise<string>;
|
|
672
|
-
declare function bufferToBase64(buffer: ArrayBuffer | Uint8Array): string;
|
|
673
|
-
declare function base64ToBuffer(base64: string): Uint8Array<ArrayBuffer>;
|
|
674
|
-
|
|
675
704
|
/**
|
|
676
705
|
* Return the ISO-4217 minor-unit scale for a currency code, or `null`
|
|
677
706
|
* when the code is not in the known set (caller must supply an explicit
|
|
@@ -922,6 +951,23 @@ interface VaultDiffEntry<T = unknown> {
|
|
|
922
951
|
readonly collection: string;
|
|
923
952
|
readonly id: string;
|
|
924
953
|
readonly record: T;
|
|
954
|
+
/**
|
|
955
|
+
* Unencrypted envelope metadata for the RECEIVER-side record.
|
|
956
|
+
* Populated only when `diffVault` is called with `{includeMetadata: true}`.
|
|
957
|
+
* Default: `undefined` (zero extra reads, no behavior change).
|
|
958
|
+
*
|
|
959
|
+
* Populated for `modified` (the CURRENT receiver state, before the candidate
|
|
960
|
+
* is applied) and `deleted` (the receiver envelope of the record being
|
|
961
|
+
* removed). `added` entries have no receiver envelope at diff time, so their
|
|
962
|
+
* `metadata` is always absent.
|
|
963
|
+
*/
|
|
964
|
+
readonly metadata?: {
|
|
965
|
+
readonly version: number;
|
|
966
|
+
readonly timestamp: string;
|
|
967
|
+
readonly by?: string;
|
|
968
|
+
readonly source?: string;
|
|
969
|
+
readonly sourceTs?: string;
|
|
970
|
+
};
|
|
925
971
|
}
|
|
926
972
|
/** Modified records carry both halves of the diff plus the field-level breakdown. */
|
|
927
973
|
interface VaultDiffModifiedEntry<T = unknown> extends VaultDiffEntry<T> {
|
|
@@ -968,6 +1014,15 @@ interface DiffOptions {
|
|
|
968
1014
|
readonly compareFn?: (a: unknown, b: unknown) => boolean;
|
|
969
1015
|
/** If true, include unchanged records in the diff (off by default to save memory). */
|
|
970
1016
|
readonly includeUnchanged?: boolean;
|
|
1017
|
+
/**
|
|
1018
|
+
* When `true`, each entry in `added`, `modified`, and `deleted` will carry a
|
|
1019
|
+
* `metadata` field with the RECEIVER-side envelope metadata
|
|
1020
|
+
* (`version`, `timestamp`, `by?`, `source?`, `sourceTs?`).
|
|
1021
|
+
*
|
|
1022
|
+
* Off by default — no extra adapter reads, no behavior change for existing callers.
|
|
1023
|
+
* (FR-5 read surface, #445)
|
|
1024
|
+
*/
|
|
1025
|
+
readonly includeMetadata?: boolean;
|
|
971
1026
|
}
|
|
972
1027
|
/**
|
|
973
1028
|
* Candidate state to diff the vault against:
|
|
@@ -989,4 +1044,4 @@ type DiffCandidate<T = unknown> = Vault | Record<string, readonly T[]> | string;
|
|
|
989
1044
|
*/
|
|
990
1045
|
declare function diffVault<T = unknown>(vault: Vault, candidate: DiffCandidate<T>, options?: DiffOptions): Promise<VaultDiff<T>>;
|
|
991
1046
|
|
|
992
|
-
export { ActiveTier, type AllocateOptions, type CheckGateContext, DEFAULT_FRESHNESS_MS, DIRECTORY_RECORD_ID, type DiffCandidate, DiffEntry, type DiffOptions, DirectoryConfig, EncryptedEnvelope, FactorProof, type FxRates, GateName, GatePolicy, META_COLLECTION, ManagedRecoveryNotEnrolledError, type MoneyString, type MulRateOptions, NoydbError, NoydbStore, PERSONAL_POLICY, POLICY_RECORD_ID, PUBLIC_ENVELOPE_RECORD_ID, type PersistSchemaResult, PersistedSchemaEnvelope, PolicyDeniedError, type PolicyDenyReason, PublicEnvelope, RecoveryNotEnrolledError, RecoveryProfileNotImplementedError, RoundingMode, SCHEMAS_COLLECTION, STATE_VAULT_NAME, STRICT_POLICY, SchemaUpdateStrategy, type Tokenizer, UnlockedKeyring, UpdateDecision, UserEnvelope, UserVisibility, VISIBILITY_RECORD_PREFIX, Vault, type VaultDiff, type VaultDiffEntry, type VaultDiffModifiedEntry, VaultPolicy, additiveOnly, allocate, asMoney, assertTierAccess,
|
|
1047
|
+
export { ActiveTier, type AllocateOptions, type CheckGateContext, DEED_RECORD_ID, DEFAULT_FRESHNESS_MS, DIRECTORY_RECORD_ID, type DeedMarker, type DiffCandidate, DiffEntry, type DiffOptions, DirectoryConfig, EncryptedEnvelope, FactorProof, type FxRates, GateName, GatePolicy, META_COLLECTION, ManagedRecoveryNotEnrolledError, type MoneyString, type MulRateOptions, NoydbError, NoydbStore, PERSONAL_POLICY, POLICY_RECORD_ID, PUBLIC_ENVELOPE_RECORD_ID, type PersistSchemaResult, PersistedSchemaEnvelope, PolicyDeniedError, type PolicyDenyReason, PublicEnvelope, RecoveryNotEnrolledError, RecoveryProfileNotImplementedError, RoundingMode, SCHEMAS_COLLECTION, STATE_VAULT_NAME, STRICT_POLICY, SchemaUpdateStrategy, SealingKeyProvider, type Tokenizer, UnlockedKeyring, UpdateDecision, UserEnvelope, UserVisibility, VISIBILITY_RECORD_PREFIX, Vault, type VaultDiff, type VaultDiffEntry, type VaultDiffModifiedEntry, VaultPolicy, additiveOnly, allocate, asMoney, assertTierAccess, blindUpdate, checkGate, coordinatedCutover, createDeedOwner, dekKey, deleteUserEnvelope, deleteUserVisibility, derivePersistedSchema, describeAllUsersAuth, describeAuthConfig, describeGate, describeUserAuth, diagramAuthConfig, diffVault, effectiveClearance, estimateRecordBytes, isDeedVault, isMoneyString, isZodSchema, listUserEnvelopeIds, loadDeedMarker, loadPersistedSchema, loadPublicEnvelope, loadUserEnvelope, loadVaultPolicy, lockSchema, mergePolicy, moneyNumber, mulRate, parseBytes, persistDirectoryConfig, persistSchemaIfNeeded, persistUserVisibility, readDirectoryConfig, readPlaintextRecord, readPublicEnvelope, readUserVisibility, savePersistedSchema, savePublicEnvelope, saveUserEnvelope, saveVaultPolicy, scaleForCurrency, tokenize, visibilityRecordId };
|