@noy-db/hub 0.2.0-pre.19 → 0.2.0-pre.20
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 +252 -2
- 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 +11 -7
- package/dist/blobs/index.js.map +1 -1
- package/dist/bundle/index.cjs +81 -7
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +6 -6
- package/dist/bundle/index.d.ts +6 -6
- package/dist/bundle/index.js +10 -10
- package/dist/{chunk-U7JNBSS3.js → chunk-2XA2ZML4.js} +3 -3
- package/dist/chunk-2XA2ZML4.js.map +1 -0
- package/dist/{chunk-OKOKPYWH.js → chunk-37VGJM3T.js} +2 -2
- package/dist/{chunk-B6E5IRPJ.js → chunk-3HNKR65T.js} +3 -3
- package/dist/{chunk-6KESZO5D.js → chunk-5YTXYPES.js} +5 -5
- package/dist/{chunk-7HD67R6U.js → chunk-6QAZ5O6X.js} +2 -2
- package/dist/{chunk-XPH3FWME.js → chunk-6QE4DUYC.js} +2 -2
- package/dist/{chunk-4ULLGYPA.js → chunk-7MRT7EPB.js} +3 -3
- package/dist/{chunk-KYGGXXT6.js → chunk-7PH4OPBZ.js} +119 -58
- package/dist/chunk-7PH4OPBZ.js.map +1 -0
- package/dist/{chunk-3FSMVWBN.js → chunk-AI4USDRI.js} +4 -4
- package/dist/{chunk-GKQAU52M.js → chunk-BZW5IL43.js} +4 -4
- package/dist/{chunk-NN6IISZO.js → chunk-C2RJVZZL.js} +2 -2
- package/dist/{chunk-VNUE6FHP.js → chunk-C6W5KVDV.js} +3 -3
- package/dist/{chunk-KNKNOJFS.js → chunk-CQYEDODS.js} +3 -3
- package/dist/{chunk-FPHRTW2Z.js → chunk-EYK72OTL.js} +5 -5
- package/dist/{chunk-FBLAWK6A.js → chunk-F5GWNSE2.js} +2 -2
- package/dist/{chunk-Y5J63SMF.js → chunk-F5ILTHMU.js} +5 -5
- package/dist/{chunk-M3FPNTO2.js → chunk-FRRJIUSI.js} +4 -4
- package/dist/chunk-FRRJIUSI.js.map +1 -0
- package/dist/{chunk-Q5MCHUXZ.js → chunk-GJTKMME7.js} +2 -2
- package/dist/{chunk-S22UOMHM.js → chunk-HYJMAV53.js} +6 -6
- package/dist/{chunk-YZE6C3TQ.js → chunk-I3IYTUUI.js} +3 -3
- package/dist/{chunk-5IGWRMEC.js → chunk-IVZWHIEK.js} +5 -5
- package/dist/{chunk-7C6VFNIY.js → chunk-IW4L4X65.js} +2 -2
- package/dist/{chunk-V3VIRTTE.js → chunk-IY24WS2P.js} +3 -3
- package/dist/{chunk-IVP5IVON.js → chunk-J6RGRZOY.js} +2 -2
- package/dist/{chunk-DY3EOJEN.js → chunk-JBBWALNI.js} +2 -2
- package/dist/{chunk-YX333DPS.js → chunk-JDCPRJVS.js} +4 -4
- package/dist/{chunk-E66DSTJP.js → chunk-JOK73NDT.js} +3 -3
- package/dist/{chunk-G4PYA575.js → chunk-JTI57WRT.js} +2 -2
- package/dist/{chunk-OBMYMKGO.js → chunk-JYNH4FIM.js} +4 -4
- package/dist/{chunk-GYAWXHFO.js → chunk-KOAJ3TZM.js} +2 -2
- package/dist/{chunk-X7FJMKT3.js → chunk-MBXKRHSS.js} +2 -2
- package/dist/{chunk-WFK2EVYU.js → chunk-NSXNXLYM.js} +2 -2
- package/dist/{chunk-3Q2AOPLT.js → chunk-NV4IHBZS.js} +5 -5
- package/dist/{chunk-H42KZXNV.js → chunk-O5XKZCUD.js} +5 -5
- package/dist/{chunk-DJF3FXW5.js → chunk-OTWT6BAJ.js} +18 -1
- package/dist/chunk-OTWT6BAJ.js.map +1 -0
- package/dist/{chunk-6OSOE6BY.js → chunk-S45MDEEF.js} +2 -2
- package/dist/{chunk-S3XA7G35.js → chunk-SQKAECUL.js} +2 -2
- package/dist/{chunk-YLRRU72W.js → chunk-SQOK5UM6.js} +2 -2
- package/dist/{chunk-SHIUFIPW.js → chunk-TA6HPKWQ.js} +1 -1
- package/dist/chunk-TA6HPKWQ.js.map +1 -0
- package/dist/{chunk-V5FZWQNN.js → chunk-TAMRU7A2.js} +4 -4
- package/dist/{chunk-PWFTQHYX.js → chunk-TGIJTNM3.js} +2 -2
- package/dist/{chunk-VEIVAYJ7.js → chunk-TNH5SLCD.js} +2 -2
- package/dist/{chunk-IBVTH4JR.js → chunk-TYMDCIQM.js} +4 -4
- package/dist/{chunk-LSIIPKYT.js → chunk-U2XSUCDF.js} +2 -2
- package/dist/{chunk-MI36HL5G.js → chunk-UU6M64HI.js} +4 -4
- package/dist/{chunk-KEDJDWWQ.js → chunk-WE2BUQD2.js} +3 -3
- package/dist/{chunk-OY7RX2VL.js → chunk-WWVJXBOT.js} +256 -8
- package/dist/chunk-WWVJXBOT.js.map +1 -0
- package/dist/{chunk-CYNTFU2D.js → chunk-YPIOFSN3.js} +2 -2
- package/dist/{chunk-PTGQPWMV.js → chunk-ZONKSLF2.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-B46VNH6X.js → crypto-456N7UVX.js} +3 -3
- package/dist/{delegation-5HON72PV.js → delegation-DP4COTXB.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-BR1rMOS-.d.cts → dev-unlock-CY0HIZA0.d.cts} +1 -1
- package/dist/{dev-unlock-whL49sxV.d.ts → dev-unlock-CpKSkl2c.d.ts} +1 -1
- package/dist/{errors-DL-zTrrF.d.cts → errors-Dkc_fi-S.d.cts} +21 -1
- package/dist/{errors-DL-zTrrF.d.ts → errors-Dkc_fi-S.d.ts} +21 -1
- package/dist/executor-4IEW4KG5.js +8 -0
- package/dist/executor-KYJCJCIN.js +12 -0
- package/dist/executor-W7VIBOBZ.js +8 -0
- package/dist/{fanout-sidecar-DCQWJQ6S.js → fanout-sidecar-YXNAEZ33.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 +3 -3
- package/dist/{hash-BEUBmmI4.d.cts → hash-BSd0-_L8.d.cts} +1 -1
- package/dist/{hash-Dtb7FwWd.d.ts → hash-BnBQx39y.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-BelbyUwz.d.ts → index-Bm9hIY7t.d.ts} +2 -2
- package/dist/{index-BM7O48Ur.d.cts → index-tZqVB9g5.d.cts} +2 -2
- package/dist/index.cjs +358 -9
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +42 -16
- package/dist/index.d.ts +42 -16
- package/dist/index.js +73 -46
- 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-JXC6T2QR.js +12 -0
- package/dist/{ledger-LS6GXCBP.js → ledger-I7JUYP4L.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-BnJCGJzB.d.cts +103 -0
- package/dist/mime-magic-CjSyakO4.d.ts +103 -0
- package/dist/noydb-ZZCRF6TE.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-AGU6SS4Z.js → public-envelope-5XRTUNKF.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-ATRHOG5B.js +8 -0
- package/dist/registry-LEHB26TY.js +8 -0
- package/dist/{registry-RDPTFXQ7.js → registry-NWHOLD5M.js} +3 -3
- package/dist/{revoke-IFLXEZA5.js → revoke-5IEK22KT.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-UNWOUJAK.js → signer-I6YARZQA.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-NTEV5SLX.js → stale-CPESGAPL.js} +2 -2
- package/dist/{state-vault-TUTFRTOA.js → state-vault-JR3CFGNP.js} +4 -4
- 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-BDxQnnTX.d.ts → strategy-54eIwox5.d.ts} +1 -1
- package/dist/{strategy-C5ol6NdV.d.cts → strategy-WtB-jXYv.d.cts} +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.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-C__YeF3_.d.ts → transition-guard-D4bfIAiW.d.ts} +1 -1
- package/dist/{transition-guard-B1N82hMf.d.cts → transition-guard-Dmpqzg-_.d.cts} +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-CraiZOyO.d.ts → types-DLfWFr6U.d.ts} +374 -139
- package/dist/{types-D-gr5t0G.d.cts → types-DyOI6XZ_.d.cts} +374 -139
- package/dist/{ulid-FFRRHkVf.d.ts → ulid-B2L_aqVA.d.ts} +1 -1
- package/dist/{ulid-DQnSAP5W.d.cts → ulid-LaxfH2tK.d.cts} +1 -1
- package/dist/util/index.cjs.map +1 -1
- package/dist/util/index.js +1 -1
- package/dist/{vault-group-27EV7KB4.js → vault-group-BB246VIM.js} +7 -7
- package/dist/{with-materialized-view-BboqxyV3.d.cts → with-materialized-view-CeZYGJVf.d.cts} +1 -1
- package/dist/{with-materialized-view-CguCeVcT.d.ts → with-materialized-view-DNULSxoP.d.ts} +1 -1
- package/dist/{with-overlayed-view-DO08u_tx.d.ts → with-overlayed-view-C9joG7UZ.d.ts} +1 -1
- package/dist/{with-overlayed-view-mmsg5Of3.d.cts → with-overlayed-view-kdcPGHih.d.cts} +1 -1
- package/dist/{with-rollup-_TyBzz3T.d.ts → with-rollup-DJDbrxjf.d.ts} +1 -1
- package/dist/{with-rollup-aaxOZcIb.d.cts → with-rollup-s58XAeWO.d.cts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-DJF3FXW5.js.map +0 -1
- package/dist/chunk-KYGGXXT6.js.map +0 -1
- package/dist/chunk-M3FPNTO2.js.map +0 -1
- package/dist/chunk-OY7RX2VL.js.map +0 -1
- package/dist/chunk-SHIUFIPW.js.map +0 -1
- package/dist/chunk-U7JNBSS3.js.map +0 -1
- package/dist/executor-44R5CUS2.js +0 -12
- package/dist/executor-AOACUK7Z.js +0 -8
- package/dist/executor-OKFLQCDW.js +0 -8
- package/dist/issue-EPA2PSWP.js +0 -12
- package/dist/mime-magic-CBBSOkjm.d.cts +0 -50
- package/dist/mime-magic-CBBSOkjm.d.ts +0 -50
- package/dist/noydb-BVKFP74P.js +0 -38
- package/dist/registry-ERNAMRDE.js +0 -8
- package/dist/registry-EXTHSXQW.js +0 -8
- /package/dist/{chunk-OKOKPYWH.js.map → chunk-37VGJM3T.js.map} +0 -0
- /package/dist/{chunk-B6E5IRPJ.js.map → chunk-3HNKR65T.js.map} +0 -0
- /package/dist/{chunk-6KESZO5D.js.map → chunk-5YTXYPES.js.map} +0 -0
- /package/dist/{chunk-7HD67R6U.js.map → chunk-6QAZ5O6X.js.map} +0 -0
- /package/dist/{chunk-XPH3FWME.js.map → chunk-6QE4DUYC.js.map} +0 -0
- /package/dist/{chunk-4ULLGYPA.js.map → chunk-7MRT7EPB.js.map} +0 -0
- /package/dist/{chunk-3FSMVWBN.js.map → chunk-AI4USDRI.js.map} +0 -0
- /package/dist/{chunk-GKQAU52M.js.map → chunk-BZW5IL43.js.map} +0 -0
- /package/dist/{chunk-NN6IISZO.js.map → chunk-C2RJVZZL.js.map} +0 -0
- /package/dist/{chunk-VNUE6FHP.js.map → chunk-C6W5KVDV.js.map} +0 -0
- /package/dist/{chunk-KNKNOJFS.js.map → chunk-CQYEDODS.js.map} +0 -0
- /package/dist/{chunk-FPHRTW2Z.js.map → chunk-EYK72OTL.js.map} +0 -0
- /package/dist/{chunk-FBLAWK6A.js.map → chunk-F5GWNSE2.js.map} +0 -0
- /package/dist/{chunk-Y5J63SMF.js.map → chunk-F5ILTHMU.js.map} +0 -0
- /package/dist/{chunk-Q5MCHUXZ.js.map → chunk-GJTKMME7.js.map} +0 -0
- /package/dist/{chunk-S22UOMHM.js.map → chunk-HYJMAV53.js.map} +0 -0
- /package/dist/{chunk-YZE6C3TQ.js.map → chunk-I3IYTUUI.js.map} +0 -0
- /package/dist/{chunk-5IGWRMEC.js.map → chunk-IVZWHIEK.js.map} +0 -0
- /package/dist/{chunk-7C6VFNIY.js.map → chunk-IW4L4X65.js.map} +0 -0
- /package/dist/{chunk-V3VIRTTE.js.map → chunk-IY24WS2P.js.map} +0 -0
- /package/dist/{chunk-IVP5IVON.js.map → chunk-J6RGRZOY.js.map} +0 -0
- /package/dist/{chunk-DY3EOJEN.js.map → chunk-JBBWALNI.js.map} +0 -0
- /package/dist/{chunk-YX333DPS.js.map → chunk-JDCPRJVS.js.map} +0 -0
- /package/dist/{chunk-E66DSTJP.js.map → chunk-JOK73NDT.js.map} +0 -0
- /package/dist/{chunk-G4PYA575.js.map → chunk-JTI57WRT.js.map} +0 -0
- /package/dist/{chunk-OBMYMKGO.js.map → chunk-JYNH4FIM.js.map} +0 -0
- /package/dist/{chunk-GYAWXHFO.js.map → chunk-KOAJ3TZM.js.map} +0 -0
- /package/dist/{chunk-X7FJMKT3.js.map → chunk-MBXKRHSS.js.map} +0 -0
- /package/dist/{chunk-WFK2EVYU.js.map → chunk-NSXNXLYM.js.map} +0 -0
- /package/dist/{chunk-3Q2AOPLT.js.map → chunk-NV4IHBZS.js.map} +0 -0
- /package/dist/{chunk-H42KZXNV.js.map → chunk-O5XKZCUD.js.map} +0 -0
- /package/dist/{chunk-6OSOE6BY.js.map → chunk-S45MDEEF.js.map} +0 -0
- /package/dist/{chunk-S3XA7G35.js.map → chunk-SQKAECUL.js.map} +0 -0
- /package/dist/{chunk-YLRRU72W.js.map → chunk-SQOK5UM6.js.map} +0 -0
- /package/dist/{chunk-V5FZWQNN.js.map → chunk-TAMRU7A2.js.map} +0 -0
- /package/dist/{chunk-PWFTQHYX.js.map → chunk-TGIJTNM3.js.map} +0 -0
- /package/dist/{chunk-VEIVAYJ7.js.map → chunk-TNH5SLCD.js.map} +0 -0
- /package/dist/{chunk-IBVTH4JR.js.map → chunk-TYMDCIQM.js.map} +0 -0
- /package/dist/{chunk-LSIIPKYT.js.map → chunk-U2XSUCDF.js.map} +0 -0
- /package/dist/{chunk-MI36HL5G.js.map → chunk-UU6M64HI.js.map} +0 -0
- /package/dist/{chunk-KEDJDWWQ.js.map → chunk-WE2BUQD2.js.map} +0 -0
- /package/dist/{chunk-CYNTFU2D.js.map → chunk-YPIOFSN3.js.map} +0 -0
- /package/dist/{chunk-PTGQPWMV.js.map → chunk-ZONKSLF2.js.map} +0 -0
- /package/dist/{crypto-B46VNH6X.js.map → crypto-456N7UVX.js.map} +0 -0
- /package/dist/{delegation-5HON72PV.js.map → delegation-DP4COTXB.js.map} +0 -0
- /package/dist/{executor-44R5CUS2.js.map → executor-4IEW4KG5.js.map} +0 -0
- /package/dist/{executor-AOACUK7Z.js.map → executor-KYJCJCIN.js.map} +0 -0
- /package/dist/{executor-OKFLQCDW.js.map → executor-W7VIBOBZ.js.map} +0 -0
- /package/dist/{fanout-sidecar-DCQWJQ6S.js.map → fanout-sidecar-YXNAEZ33.js.map} +0 -0
- /package/dist/{issue-EPA2PSWP.js.map → issue-JXC6T2QR.js.map} +0 -0
- /package/dist/{ledger-LS6GXCBP.js.map → ledger-I7JUYP4L.js.map} +0 -0
- /package/dist/{noydb-BVKFP74P.js.map → noydb-ZZCRF6TE.js.map} +0 -0
- /package/dist/{public-envelope-AGU6SS4Z.js.map → public-envelope-5XRTUNKF.js.map} +0 -0
- /package/dist/{registry-ERNAMRDE.js.map → registry-ATRHOG5B.js.map} +0 -0
- /package/dist/{registry-EXTHSXQW.js.map → registry-LEHB26TY.js.map} +0 -0
- /package/dist/{registry-RDPTFXQ7.js.map → registry-NWHOLD5M.js.map} +0 -0
- /package/dist/{revoke-IFLXEZA5.js.map → revoke-5IEK22KT.js.map} +0 -0
- /package/dist/{signer-UNWOUJAK.js.map → signer-I6YARZQA.js.map} +0 -0
- /package/dist/{stale-NTEV5SLX.js.map → stale-CPESGAPL.js.map} +0 -0
- /package/dist/{state-vault-TUTFRTOA.js.map → state-vault-JR3CFGNP.js.map} +0 -0
- /package/dist/{vault-group-27EV7KB4.js.map → vault-group-BB246VIM.js.map} +0 -0
package/dist/index.d.cts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export { d as detectMagic,
|
|
1
|
+
import { aW as NoydbStore, bs as UserEnvelope, bc 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, bC as DirectoryConfig, bD as UserVisibility, aU as UnlockedKeyring, bh as Vault, b1 as DiffEntry } from './types-DyOI6XZ_.cjs';
|
|
2
|
+
export { bE as AccessibleVault, bF as AffectedDocument, a_ as AppendInput, bG as ArchivePolicy, bH as ArchiveResult, bI as ArchiveRunOptions, bJ 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, bK as BUNDLE_STORE_POLICY, z as BlobObject, A as BlobPutOptions, C as BlobResponseOptions, E as BlobSet, bL as BuiltInGateName, be as BundleRecipient, a4 as CONSENT_AUDIT_COLLECTION, bM as CacheOptions, bN as CacheStats, bO as CapturedBlueprint, 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 CrossVaultAggregation, c0 as CrossVaultDerivationContext, c1 as CrossVaultDerivationSpec, c2 as CrossVaultGroupedAggregation, c3 as CrossVaultGroupedRow, c4 as CrossVaultLiveAggregation, c5 as CrossVaultLiveQuery, K as DEFAULT_CHUNK_SIZE, c6 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c7 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c8 as DeepPartial, c9 as DeepPartialOrNull, ca as DeferredNumberingConfig, cb as DelegationToken, cc as DeleteManyResult, cd as DeploymentEvent, ce as DerivationDescriptor, aC as DerivationStrategy, aG as DerivationStrategyHandle, aH as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, cf as DirtyEntry, cg as DryRunResult, ch as DumpSchemaOptions, ci as ELEVATION_AUDIT_COLLECTION, cj as ElevatedHandle, ck as EnrollAuthenticatorOptions, cl as EnrollAuthenticatorWrappingDEKsOptions, cm as EnrollAuthenticatorWrappingKEKOptions, cn as EnrollRecoveryResult, co as ExportCapability, cp as ExportChunk, cq as ExportFormat, cr as ExportStreamOptions, cs as FactorKind, ct as FactorProofBundle, cu as FactorRequirement, cv as FanoutQueryOptions, cw as FanoutResult, cx as FenceDoc, cy as FenceState, cz as FieldChange, cA as FieldDescriptor, cB as FieldSource, cC as FleetMigrationResult, cD as FormattedSequenceHandle, cE as GhostRecord, cF as GrantOptions, ao as GuardChange, ap as GuardContext, an as GuardStrategy, ar as GuardStrategyHandle, cG as GuardViolation, cH as HistoryConfig, cI as HistoryEntry, aX as HistoryOptions, cJ as INDEXED_STORE_POLICY, cK as ImportCapability, cL as InferOutput, cM as InternalCollectionStats, cN as IssueDelegationOptions, cO as IssueMagicLinkGrantOptions, b2 as JsonPatch, b3 as JsonPatchOp, cP as KeyringAuthenticator, cQ as KeyringAuthenticatorWrappingDEKs, cR as KeyringAuthenticatorWrappingKEK, cS as KeyringFile, b4 as LedgerStore, cT as LinkEndpointError, cU as LinkIntegrityError, cV as LinkOnDelete, cW as LinkRow, cX as LinkSetHandle, cY as LinkSpec, cZ as ListAccessibleVaultsOptions, c_ as ListPageResult, c$ as ListUsersOptions, d0 as LiveQueryOptions, d1 as LiveUserEnvelope, d2 as LocaleReadOptions, d3 as Lru, d4 as LruOptions, d5 as LruStats, d6 as MAGIC_LINK_CONTENT_INFO_PREFIX, d7 as MAGIC_LINK_GRANTS_COLLECTION, d8 as MAGIC_LINK_KEK_INFO_PREFIX, d9 as MagicLinkGrantPayload, da as MagicLinkGrantRecord, bo as MaterializedFromMeta, db as MaterializedViewDescriptor, bp as MaterializedViewOutput, aK as MaterializedViewStrategy, aL as MaterializedViewStrategyHandle, dc as MemoryRecipientSealer, dd as MemorySealingKeyProvider, de as MigrationStatusRow, df as NOYDB_BACKUP_VERSION, dg as NOYDB_FORMAT_VERSION, dh as NOYDB_KEYRING_VERSION, di as NOYDB_SYNC_VERSION, dj as NextOptions, dk as Noydb, aw as NoydbBundleStore, dl as NoydbEventMap, dm as NoydbOptions, dn 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, dp as OverlayViewDescriptor, aM as OverlayedViewStrategy, aR as OverlayedViewStrategyHandle, af as PERIODS_COLLECTION, dq as PUBLIC_ENVELOPE_FIELDS, dr as PaperRecoveryDoc, ds as PaperRecoveryEntry, dt as PassphrasePolicy, du as PassphraseValidationResult, ag as PeriodRecord, dv as Permission, dw as Permissions, dx as PersistedSchemaKind, dy as PlaintextTranslatorContext, dz as PlaintextTranslatorFn, P as PolicyEnforcer, dA as PresenceHandle, dB as PresencePeer, aZ as PruneOptions, dC as PublicEnvelopeField, dD as PublicEnvelopeSchema, dE as PublicEnvelopeText, dF as PullMode, dG as PullOptions, dH as PullPolicy, dI as PullResult, dJ as PushMode, dK as PushOptions, dL as PushPolicy, dM as PushResult, dN as PutManyItemOptions, dO as PutManyOptions, dP as PutManyResult, X as PutObjectOptions, Y as PutUrlOptions, dQ as QueryAcrossOptions, dR as QueryAcrossResult, dS as QuickUnlockState, dT as QuickUnlockStore, dU as ReAuthOperation, bg as RecipientHint, bf as RecipientSealer, aJ as RecordOutputSpec, dV as RecoverPassphraseInput, dW as RecoverPassphraseResult, dX as RecoverUserOptions, dY as RecoveryProof, dZ as RefreshInsightsResult, d_ as ResolvedPublicEnvelopeSchema, ax as RetentionPolicy, d$ as RevokeOptions, aT as Role, e0 as RotatePassphraseInput, e1 as RotateRecoveryOptions, e2 as RotateRecoveryResult, e3 as SEALED_PASSPHRASE_RECORD_ID, e4 as SchemaDelta, e5 as SchemaIntrospection, e6 as SchemaManifestRow, S as ScriptWarning, e7 as SealedEnvelope, e8 as SealedPassphrase, bd as SealingKeyProvider, e9 as SearchEntry, ea as SearchOptions, eb as SearchResult, ec as SequenceHandle, ed as SequenceOptions, ee as SequenceStore, ef as SessionPolicy, eg as SetPublicEnvelopeInput, eh as ShamirRecoveryDoc, ei as ShamirRecoveryEntry, bj as ShamirRecoveryProvider, ej as ShardedCollection, ek as ShardedGroupedQuery, el as ShardedQuery, em as ShardingConfig, en as SkippedVault, Z as SlotInfo, _ as SlotRecord, eo as SlotRewrapCeremony, ep as SlotRewrapContext, aA as SnapshotMeta, eq as StandardSchemaV1, er as StandardSchemaV1Issue, es as StandardSchemaV1SyncResult, et as StateManagementVault, e as StaticDictDescriptor, eu as StoreAuth, ev as StoreAuthKind, ew as StoreCapabilities, ex as StoreTime, ey as SyncEngine, ez as SyncMetadata, eA as SyncPolicy, eB as SyncScheduler, eC as SyncSchedulerStatus, eD as SyncStatus, eE as SyncTarget, eF as SyncTargetRole, eG as SyncTransaction, eH as SyncTransactionResult, eI as TabChannel, eJ as TabCoordinationOptions, eK as TabLockManager, eL as TabPresence, eM as TabRole, eN as TierMode, eO as TransactionInvariant, eP as TranslatorAuditEntry, eQ as TxCollection, bk as TxContext, eR as TxOp, eS as TxVault, eT as USER_ENVELOPE_COLLECTION, eU as USER_ENVELOPE_MAX_BYTES, bq as UnionArmJoin, br as UnionSource, eV as Unsubscribe, eW as UpdateAuthenticatorOptions, eX as UpdateContext, eY as UpdateUserOptions, eZ as UserApi, e_ as UserEnvelopeCheckGate, e$ as UserEnvelopeOversizedError, f0 as UserEnvelopePresented, f1 as UserInfo, f2 as VaultBackup, b5 as VaultEngine, av as VaultFrame, f3 as VaultGroup, f4 as VaultGroupOptions, b6 as VaultInstant, f5 as VaultPolicyOnDisk, f6 as VaultRegistryRow, f7 as VaultSchemaSnapshot, f8 as VaultSnapshot, f9 as VaultTemplate, b7 as VerifyResult, $ as VersionRecord, fa as WarningRules, fb as WeakPassphraseError, fc as WeakPassphraseReason, fd as WithArchiveOptions, fe as WrappedDeksBlob, ff as WriteConflict, fg as WriteEvent, fh as WriteHook, fi as WriteQueue, fj as aesGcmOpen, b8 as applyPatch, fk as assertStrongPassphrase, fl as buildRecipientKeyringFile, fm as burnPaperRecoveryEntry, fn as compileSequenceFormat, b9 as computePatch, n as createEnforcer, fo as createNoydb, fp as createStore, fq as deriveMagicLinkContentKey, f as dictCollectionName, g as dictKey, ba as diff, h as enforceScript, fr as enrollAuthenticator, fs as estimateEntropy, ft as evalComputedFields, fu as evaluateExportCapability, fv as evaluateImportCapability, fw as findAuthenticator, bb as formatDiff, fx as hasExportCapability, fy as hasImportCapability, fz as hasRecoveryEnrolled, i as inferScripts, j as isDictCollectionName, k as isDictKeyDescriptor, fA as isLinkCollectionName, fB as isMagicLinkGrantExpired, fC as isPublicEnvelope, l as isStaticDictDescriptor, fD as issueDelegation, fE as keyringRecoverPassphrase, fF as keyringRotatePassphrase, fG as listMagicLinkGrants, fH as listUsers, fI as listUsersWithEnvelopes, fJ as loadActiveDelegations, fK as loadPaperRecoveryEntries, fL as loadSealedPassphrase, fM as loadShamirRecoveryEntries, fN as magicLinkGrantRecordId, a1 as memoryObjectProjection, fO as mintPaperRecoveryEntry, fP as mintShamirRecoveryEntry, fQ as mintWrappedDeksBlob, fR as parseRsaOaepTlv, fS as parseSealedEnvelope, fT as readMagicLinkGrantRecord, fU as recoverUser, fV as removeAuthenticator, fW as resolvePublicEnvelopeSchema, fX as resolveSequenceKey, fY as revokeDelegation, fZ as revokeMagicLinkGrant, f_ as runTransaction, f$ as savePaperRecoveryEntries, g0 as saveSealedPassphrase, g1 as saveShamirRecoveryEntries, g2 as sealRsaOaepTlv, s as staticDict, g3 as unwrapDeksFromBlob, g4 as unwrapDeksFromPaperEntry, g5 as unwrapDeksFromShamirEntry, g6 as unwrapMagicLinkGrant, g7 as validatePassphrase, g8 as validatePublicEnvelopeInput, g9 as validateSchemaInput, ga as validateSchemaOutput, v as validateSessionPolicy, gb as withArchive, gc as withDeferredNumbering, gd as writeMagicLinkGrant } from './types-DyOI6XZ_.cjs';
|
|
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-BnJCGJzB.cjs';
|
|
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.cjs';
|
|
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
|
|
7
|
-
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-
|
|
8
|
-
export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-
|
|
5
|
+
import { N as NoydbError } from './errors-Dkc_fi-S.cjs';
|
|
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, a2 as FilenameSanitizationError, a3 as ForgetStrategyNotConfiguredError, a4 as GroupCardinalityError, I as IllegalTransitionError, a5 as ImportCapabilityError, a6 as IndexRequiredError, a7 as IndexWriteFailureError, a8 as InvalidKeyError, f as InvariantError, a9 as JoinTooLargeError, aa as KeyringCorruptError, ab as KeyringExpiredError, ac as LedgerContentionError, L as LocaleNotSpecifiedError, z as MaterializedViewConfigError, C as MaterializedViewCycleError, E as MaterializedViewSourceUnknownError, G as MaterializedViewTooLargeError, ad as MigrationRequiredError, M as MissingTranslationError, ae as NetworkError, af as NoAccessError, ag as NonAdditiveSchemaChangeError, ah as NotFoundError, ai as NumberingUncertaintyError, O as OverlayBaseIsVirtualError, n as OverlayCollectionUnavailableError, o as OverlayIdMismatchError, p as OverlayNameCollisionError, aj as PathEscapeError, ak as PeriodClosedError, al as PermissionDeniedError, am as PrivilegeEscalationError, an as QuiesceTimeoutError, ao as ReadOnlyAtInstantError, ap as ReadOnlyError, aq as ReadOnlyFrameError, ar as RecordCekNotFoundError, g as RecordLockedError, R as ReservedCollectionNameError, as as ReservedVaultNameError, at as SchemaFenceError, au as SchemaLockedError, av as SchemaUpdateError, aw as SchemaValidationError, S as ScriptViolationError, q as SealedRecordExpiredError, r as SealedRecordMismatchError, ax as SequenceContentionError, ay as SequenceOfflineError, c as SessionExpiredError, d as SessionNotFoundError, e as SessionPolicyError, az as ShardProvisioningError, h as SnapshotNotFoundError, b as StaticDictReadonlyError, aA as StoreCapabilityError, aB as TamperedError, aC as TierDemoteDeniedError, aD as TierNotGrantedError, T as TranslatorNotConfiguredError, aE as UniqueConstraintError, U as UnknownDictCodeError, aF as UnknownShardError, aG as UnsupportedIndexOptionError, aH as ValidationError, aI as VaultTemplateNotFoundError } from './errors-Dkc_fi-S.cjs';
|
|
7
|
+
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-tZqVB9g5.cjs';
|
|
8
|
+
export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-LaxfH2tK.cjs';
|
|
9
9
|
export { L as LedgerEntry, c as canonicalJson, h as hashEntry, p as paddedIndex, a as parseIndex, s as sha256Hex } from './index-BMmajblo.cjs';
|
|
10
10
|
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.cjs';
|
|
11
11
|
export { TransactionStrategyOptions } from './tx/index.cjs';
|
|
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-
|
|
12
|
+
export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-Dmpqzg-_.cjs';
|
|
13
|
+
import { K as RoundingMode } from './strategy-WtB-jXYv.cjs';
|
|
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-WtB-jXYv.cjs';
|
|
15
|
+
export { w as withDerivation, a as withRollup } from './with-rollup-s58XAeWO.cjs';
|
|
16
|
+
export { w as withMaterializedView } from './with-materialized-view-CeZYGJVf.cjs';
|
|
17
17
|
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.cjs';
|
|
18
|
-
export { w as withOverlayedView } from './with-overlayed-view-
|
|
18
|
+
export { w as withOverlayedView } from './with-overlayed-view-kdcPGHih.cjs';
|
|
19
19
|
export { SYNC_CREDENTIALS_COLLECTION, SyncCredential, credentialStatus, deleteCredential, getCredential, listCredentials, putCredential } from './team/index.cjs';
|
|
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-
|
|
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-CY0HIZA0.cjs';
|
|
21
21
|
export { i as isDiscriminant } from './discriminant-BN9REW3o.cjs';
|
|
22
|
-
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-
|
|
22
|
+
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-BSd0-_L8.cjs';
|
|
23
23
|
import './lazy-builder-eYZzLEL1.cjs';
|
|
24
24
|
import '@noy-db/attestation';
|
|
25
25
|
|
|
@@ -364,6 +364,32 @@ declare function loadVaultPolicy(store: NoydbStore, vault: string): Promise<Vaul
|
|
|
364
364
|
*/
|
|
365
365
|
declare function saveVaultPolicy(store: NoydbStore, vault: string, policy: VaultPolicy): Promise<void>;
|
|
366
366
|
|
|
367
|
+
/**
|
|
368
|
+
* Helpers for reading records out of a *plaintext* store (`encrypt: false`)
|
|
369
|
+
* with native tooling — the programmatic core of a `noydb cat`-style unwrap.
|
|
370
|
+
* See the plaintext/debug-store-mode design.
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Extract the record from a plaintext stored envelope, handling both layouts:
|
|
375
|
+
*
|
|
376
|
+
* - **classic plaintext** (`encrypt: false`): the record is JSON in `_data`.
|
|
377
|
+
* - **debugPlaintext**: the record's fields are inlined beside the
|
|
378
|
+
* `_`-prefixed metadata (marked by `_debug`).
|
|
379
|
+
*
|
|
380
|
+
* Returns `null` for an empty/absent body. Throws if handed an **encrypted**
|
|
381
|
+
* envelope (non-empty `_iv`) — there is no key here; decrypt through the vault
|
|
382
|
+
* instead. Intended for record envelopes, not blob chunks.
|
|
383
|
+
*
|
|
384
|
+
* @example
|
|
385
|
+
* ```ts
|
|
386
|
+
* // node script over a to-file store, no vault needed:
|
|
387
|
+
* const env = JSON.parse(readFileSync('data/acme/invoices/inv-1.json', 'utf8'))
|
|
388
|
+
* console.log(readPlaintextRecord(env)) // → { id: 'inv-1', total: '120.00', … }
|
|
389
|
+
* ```
|
|
390
|
+
*/
|
|
391
|
+
declare function readPlaintextRecord<T = Record<string, unknown>>(envelope: EncryptedEnvelope): T | null;
|
|
392
|
+
|
|
367
393
|
/** Allow any schema change. Explicit blind / back-compat. */
|
|
368
394
|
declare function blindUpdate(): SchemaUpdateStrategy;
|
|
369
395
|
/** Allow additive changes; reject non-additive ones. The safety backstop. */
|
|
@@ -963,4 +989,4 @@ type DiffCandidate<T = unknown> = Vault | Record<string, readonly T[]> | string;
|
|
|
963
989
|
*/
|
|
964
990
|
declare function diffVault<T = unknown>(vault: Vault, candidate: DiffCandidate<T>, options?: DiffOptions): Promise<VaultDiff<T>>;
|
|
965
991
|
|
|
966
|
-
export { ActiveTier, type AllocateOptions, type CheckGateContext, DEFAULT_FRESHNESS_MS, DIRECTORY_RECORD_ID, type DiffCandidate, DiffEntry, type DiffOptions, DirectoryConfig, 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, base64ToBuffer, blindUpdate, bufferToBase64, checkGate, coordinatedCutover, decryptBytes, decryptDeterministic, dekKey, deleteUserEnvelope, deleteUserVisibility, derivePersistedSchema, derivePresenceKey, describeAllUsersAuth, describeAuthConfig, describeGate, describeUserAuth, diagramAuthConfig, diffVault, effectiveClearance, encryptBytes, encryptDeterministic, estimateRecordBytes, isMoneyString, isZodSchema, listUserEnvelopeIds, loadPersistedSchema, loadPublicEnvelope, loadUserEnvelope, loadVaultPolicy, lockSchema, mergePolicy, moneyNumber, mulRate, parseBytes, persistDirectoryConfig, persistSchemaIfNeeded, persistUserVisibility, readDirectoryConfig, readPublicEnvelope, readUserVisibility, savePersistedSchema, savePublicEnvelope, saveUserEnvelope, saveVaultPolicy, scaleForCurrency, tokenize, visibilityRecordId };
|
|
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, base64ToBuffer, blindUpdate, bufferToBase64, checkGate, coordinatedCutover, decryptBytes, decryptDeterministic, dekKey, deleteUserEnvelope, deleteUserVisibility, derivePersistedSchema, derivePresenceKey, describeAllUsersAuth, describeAuthConfig, describeGate, describeUserAuth, diagramAuthConfig, diffVault, effectiveClearance, encryptBytes, encryptDeterministic, estimateRecordBytes, isMoneyString, isZodSchema, listUserEnvelopeIds, loadPersistedSchema, loadPublicEnvelope, loadUserEnvelope, loadVaultPolicy, lockSchema, mergePolicy, moneyNumber, mulRate, parseBytes, persistDirectoryConfig, persistSchemaIfNeeded, persistUserVisibility, readDirectoryConfig, readPlaintextRecord, readPublicEnvelope, readUserVisibility, savePersistedSchema, savePublicEnvelope, saveUserEnvelope, saveVaultPolicy, scaleForCurrency, tokenize, visibilityRecordId };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
export { d as detectMagic,
|
|
1
|
+
import { aW as NoydbStore, bs as UserEnvelope, bc 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, bC as DirectoryConfig, bD as UserVisibility, aU as UnlockedKeyring, bh as Vault, b1 as DiffEntry } from './types-DLfWFr6U.js';
|
|
2
|
+
export { bE as AccessibleVault, bF as AffectedDocument, a_ as AppendInput, bG as ArchivePolicy, bH as ArchiveResult, bI as ArchiveRunOptions, bJ 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, bK as BUNDLE_STORE_POLICY, z as BlobObject, A as BlobPutOptions, C as BlobResponseOptions, E as BlobSet, bL as BuiltInGateName, be as BundleRecipient, a4 as CONSENT_AUDIT_COLLECTION, bM as CacheOptions, bN as CacheStats, bO as CapturedBlueprint, 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 CrossVaultAggregation, c0 as CrossVaultDerivationContext, c1 as CrossVaultDerivationSpec, c2 as CrossVaultGroupedAggregation, c3 as CrossVaultGroupedRow, c4 as CrossVaultLiveAggregation, c5 as CrossVaultLiveQuery, K as DEFAULT_CHUNK_SIZE, c6 as DEFAULT_PUBLIC_ENVELOPE_SCHEMA, c7 as DELEGATIONS_COLLECTION, D as DICT_COLLECTION_PREFIX, c8 as DeepPartial, c9 as DeepPartialOrNull, ca as DeferredNumberingConfig, cb as DelegationToken, cc as DeleteManyResult, cd as DeploymentEvent, ce as DerivationDescriptor, aC as DerivationStrategy, aG as DerivationStrategyHandle, aH as DerivedFromMeta, a as DictEntry, b as DictKeyDescriptor, c as DictionaryHandle, d as DictionaryOptions, cf as DirtyEntry, cg as DryRunResult, ch as DumpSchemaOptions, ci as ELEVATION_AUDIT_COLLECTION, cj as ElevatedHandle, ck as EnrollAuthenticatorOptions, cl as EnrollAuthenticatorWrappingDEKsOptions, cm as EnrollAuthenticatorWrappingKEKOptions, cn as EnrollRecoveryResult, co as ExportCapability, cp as ExportChunk, cq as ExportFormat, cr as ExportStreamOptions, cs as FactorKind, ct as FactorProofBundle, cu as FactorRequirement, cv as FanoutQueryOptions, cw as FanoutResult, cx as FenceDoc, cy as FenceState, cz as FieldChange, cA as FieldDescriptor, cB as FieldSource, cC as FleetMigrationResult, cD as FormattedSequenceHandle, cE as GhostRecord, cF as GrantOptions, ao as GuardChange, ap as GuardContext, an as GuardStrategy, ar as GuardStrategyHandle, cG as GuardViolation, cH as HistoryConfig, cI as HistoryEntry, aX as HistoryOptions, cJ as INDEXED_STORE_POLICY, cK as ImportCapability, cL as InferOutput, cM as InternalCollectionStats, cN as IssueDelegationOptions, cO as IssueMagicLinkGrantOptions, b2 as JsonPatch, b3 as JsonPatchOp, cP as KeyringAuthenticator, cQ as KeyringAuthenticatorWrappingDEKs, cR as KeyringAuthenticatorWrappingKEK, cS as KeyringFile, b4 as LedgerStore, cT as LinkEndpointError, cU as LinkIntegrityError, cV as LinkOnDelete, cW as LinkRow, cX as LinkSetHandle, cY as LinkSpec, cZ as ListAccessibleVaultsOptions, c_ as ListPageResult, c$ as ListUsersOptions, d0 as LiveQueryOptions, d1 as LiveUserEnvelope, d2 as LocaleReadOptions, d3 as Lru, d4 as LruOptions, d5 as LruStats, d6 as MAGIC_LINK_CONTENT_INFO_PREFIX, d7 as MAGIC_LINK_GRANTS_COLLECTION, d8 as MAGIC_LINK_KEK_INFO_PREFIX, d9 as MagicLinkGrantPayload, da as MagicLinkGrantRecord, bo as MaterializedFromMeta, db as MaterializedViewDescriptor, bp as MaterializedViewOutput, aK as MaterializedViewStrategy, aL as MaterializedViewStrategyHandle, dc as MemoryRecipientSealer, dd as MemorySealingKeyProvider, de as MigrationStatusRow, df as NOYDB_BACKUP_VERSION, dg as NOYDB_FORMAT_VERSION, dh as NOYDB_KEYRING_VERSION, di as NOYDB_SYNC_VERSION, dj as NextOptions, dk as Noydb, aw as NoydbBundleStore, dl as NoydbEventMap, dm as NoydbOptions, dn 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, dp as OverlayViewDescriptor, aM as OverlayedViewStrategy, aR as OverlayedViewStrategyHandle, af as PERIODS_COLLECTION, dq as PUBLIC_ENVELOPE_FIELDS, dr as PaperRecoveryDoc, ds as PaperRecoveryEntry, dt as PassphrasePolicy, du as PassphraseValidationResult, ag as PeriodRecord, dv as Permission, dw as Permissions, dx as PersistedSchemaKind, dy as PlaintextTranslatorContext, dz as PlaintextTranslatorFn, P as PolicyEnforcer, dA as PresenceHandle, dB as PresencePeer, aZ as PruneOptions, dC as PublicEnvelopeField, dD as PublicEnvelopeSchema, dE as PublicEnvelopeText, dF as PullMode, dG as PullOptions, dH as PullPolicy, dI as PullResult, dJ as PushMode, dK as PushOptions, dL as PushPolicy, dM as PushResult, dN as PutManyItemOptions, dO as PutManyOptions, dP as PutManyResult, X as PutObjectOptions, Y as PutUrlOptions, dQ as QueryAcrossOptions, dR as QueryAcrossResult, dS as QuickUnlockState, dT as QuickUnlockStore, dU as ReAuthOperation, bg as RecipientHint, bf as RecipientSealer, aJ as RecordOutputSpec, dV as RecoverPassphraseInput, dW as RecoverPassphraseResult, dX as RecoverUserOptions, dY as RecoveryProof, dZ as RefreshInsightsResult, d_ as ResolvedPublicEnvelopeSchema, ax as RetentionPolicy, d$ as RevokeOptions, aT as Role, e0 as RotatePassphraseInput, e1 as RotateRecoveryOptions, e2 as RotateRecoveryResult, e3 as SEALED_PASSPHRASE_RECORD_ID, e4 as SchemaDelta, e5 as SchemaIntrospection, e6 as SchemaManifestRow, S as ScriptWarning, e7 as SealedEnvelope, e8 as SealedPassphrase, bd as SealingKeyProvider, e9 as SearchEntry, ea as SearchOptions, eb as SearchResult, ec as SequenceHandle, ed as SequenceOptions, ee as SequenceStore, ef as SessionPolicy, eg as SetPublicEnvelopeInput, eh as ShamirRecoveryDoc, ei as ShamirRecoveryEntry, bj as ShamirRecoveryProvider, ej as ShardedCollection, ek as ShardedGroupedQuery, el as ShardedQuery, em as ShardingConfig, en as SkippedVault, Z as SlotInfo, _ as SlotRecord, eo as SlotRewrapCeremony, ep as SlotRewrapContext, aA as SnapshotMeta, eq as StandardSchemaV1, er as StandardSchemaV1Issue, es as StandardSchemaV1SyncResult, et as StateManagementVault, e as StaticDictDescriptor, eu as StoreAuth, ev as StoreAuthKind, ew as StoreCapabilities, ex as StoreTime, ey as SyncEngine, ez as SyncMetadata, eA as SyncPolicy, eB as SyncScheduler, eC as SyncSchedulerStatus, eD as SyncStatus, eE as SyncTarget, eF as SyncTargetRole, eG as SyncTransaction, eH as SyncTransactionResult, eI as TabChannel, eJ as TabCoordinationOptions, eK as TabLockManager, eL as TabPresence, eM as TabRole, eN as TierMode, eO as TransactionInvariant, eP as TranslatorAuditEntry, eQ as TxCollection, bk as TxContext, eR as TxOp, eS as TxVault, eT as USER_ENVELOPE_COLLECTION, eU as USER_ENVELOPE_MAX_BYTES, bq as UnionArmJoin, br as UnionSource, eV as Unsubscribe, eW as UpdateAuthenticatorOptions, eX as UpdateContext, eY as UpdateUserOptions, eZ as UserApi, e_ as UserEnvelopeCheckGate, e$ as UserEnvelopeOversizedError, f0 as UserEnvelopePresented, f1 as UserInfo, f2 as VaultBackup, b5 as VaultEngine, av as VaultFrame, f3 as VaultGroup, f4 as VaultGroupOptions, b6 as VaultInstant, f5 as VaultPolicyOnDisk, f6 as VaultRegistryRow, f7 as VaultSchemaSnapshot, f8 as VaultSnapshot, f9 as VaultTemplate, b7 as VerifyResult, $ as VersionRecord, fa as WarningRules, fb as WeakPassphraseError, fc as WeakPassphraseReason, fd as WithArchiveOptions, fe as WrappedDeksBlob, ff as WriteConflict, fg as WriteEvent, fh as WriteHook, fi as WriteQueue, fj as aesGcmOpen, b8 as applyPatch, fk as assertStrongPassphrase, fl as buildRecipientKeyringFile, fm as burnPaperRecoveryEntry, fn as compileSequenceFormat, b9 as computePatch, n as createEnforcer, fo as createNoydb, fp as createStore, fq as deriveMagicLinkContentKey, f as dictCollectionName, g as dictKey, ba as diff, h as enforceScript, fr as enrollAuthenticator, fs as estimateEntropy, ft as evalComputedFields, fu as evaluateExportCapability, fv as evaluateImportCapability, fw as findAuthenticator, bb as formatDiff, fx as hasExportCapability, fy as hasImportCapability, fz as hasRecoveryEnrolled, i as inferScripts, j as isDictCollectionName, k as isDictKeyDescriptor, fA as isLinkCollectionName, fB as isMagicLinkGrantExpired, fC as isPublicEnvelope, l as isStaticDictDescriptor, fD as issueDelegation, fE as keyringRecoverPassphrase, fF as keyringRotatePassphrase, fG as listMagicLinkGrants, fH as listUsers, fI as listUsersWithEnvelopes, fJ as loadActiveDelegations, fK as loadPaperRecoveryEntries, fL as loadSealedPassphrase, fM as loadShamirRecoveryEntries, fN as magicLinkGrantRecordId, a1 as memoryObjectProjection, fO as mintPaperRecoveryEntry, fP as mintShamirRecoveryEntry, fQ as mintWrappedDeksBlob, fR as parseRsaOaepTlv, fS as parseSealedEnvelope, fT as readMagicLinkGrantRecord, fU as recoverUser, fV as removeAuthenticator, fW as resolvePublicEnvelopeSchema, fX as resolveSequenceKey, fY as revokeDelegation, fZ as revokeMagicLinkGrant, f_ as runTransaction, f$ as savePaperRecoveryEntries, g0 as saveSealedPassphrase, g1 as saveShamirRecoveryEntries, g2 as sealRsaOaepTlv, s as staticDict, g3 as unwrapDeksFromBlob, g4 as unwrapDeksFromPaperEntry, g5 as unwrapDeksFromShamirEntry, g6 as unwrapMagicLinkGrant, g7 as validatePassphrase, g8 as validatePublicEnvelopeInput, g9 as validateSchemaInput, ga as validateSchemaOutput, v as validateSessionPolicy, gb as withArchive, gc as withDeferredNumbering, gd as writeMagicLinkGrant } from './types-DLfWFr6U.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-CjSyakO4.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
|
|
7
|
-
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-
|
|
8
|
-
export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-
|
|
5
|
+
import { N as NoydbError } from './errors-Dkc_fi-S.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, F as FieldFrozenError, a2 as FilenameSanitizationError, a3 as ForgetStrategyNotConfiguredError, a4 as GroupCardinalityError, I as IllegalTransitionError, a5 as ImportCapabilityError, a6 as IndexRequiredError, a7 as IndexWriteFailureError, a8 as InvalidKeyError, f as InvariantError, a9 as JoinTooLargeError, aa as KeyringCorruptError, ab as KeyringExpiredError, ac as LedgerContentionError, L as LocaleNotSpecifiedError, z as MaterializedViewConfigError, C as MaterializedViewCycleError, E as MaterializedViewSourceUnknownError, G as MaterializedViewTooLargeError, ad as MigrationRequiredError, M as MissingTranslationError, ae as NetworkError, af as NoAccessError, ag as NonAdditiveSchemaChangeError, ah as NotFoundError, ai as NumberingUncertaintyError, O as OverlayBaseIsVirtualError, n as OverlayCollectionUnavailableError, o as OverlayIdMismatchError, p as OverlayNameCollisionError, aj as PathEscapeError, ak as PeriodClosedError, al as PermissionDeniedError, am as PrivilegeEscalationError, an as QuiesceTimeoutError, ao as ReadOnlyAtInstantError, ap as ReadOnlyError, aq as ReadOnlyFrameError, ar as RecordCekNotFoundError, g as RecordLockedError, R as ReservedCollectionNameError, as as ReservedVaultNameError, at as SchemaFenceError, au as SchemaLockedError, av as SchemaUpdateError, aw as SchemaValidationError, S as ScriptViolationError, q as SealedRecordExpiredError, r as SealedRecordMismatchError, ax as SequenceContentionError, ay as SequenceOfflineError, c as SessionExpiredError, d as SessionNotFoundError, e as SessionPolicyError, az as ShardProvisioningError, h as SnapshotNotFoundError, b as StaticDictReadonlyError, aA as StoreCapabilityError, aB as TamperedError, aC as TierDemoteDeniedError, aD as TierNotGrantedError, T as TranslatorNotConfiguredError, aE as UniqueConstraintError, U as UnknownDictCodeError, aF as UnknownShardError, aG as UnsupportedIndexOptionError, aH as ValidationError, aI as VaultTemplateNotFoundError } from './errors-Dkc_fi-S.js';
|
|
7
|
+
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-Bm9hIY7t.js';
|
|
8
|
+
export { A as AutoCredential, n as AutoCredentialKind, c as CompressionAlgo, N as NOYDB_BUNDLE_FORMAT_VERSION, e as NOYDB_BUNDLE_MAGIC, f as NOYDB_BUNDLE_PREFIX_BYTES, g as NoydbBundleHeader, h as NoydbBundleReadResult, R as ReadNoydbBundleOptions, W as WriteNoydbBundleOptions, j as generateULID, o as hasNoydbBundleMagic, k as isULID, r as readNoydbBundle, l as readNoydbBundleHeader, p as readNoydbBundlePublicEnvelope, m as resetBrotliSupportCache, w as writeNoydbBundle } from './ulid-B2L_aqVA.js';
|
|
9
9
|
export { L as LedgerEntry, c as canonicalJson, h as hashEntry, p as paddedIndex, a as parseIndex, s as sha256Hex } from './index-BMmajblo.js';
|
|
10
10
|
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';
|
|
11
11
|
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-
|
|
12
|
+
export { I as ImmutableGuardConfig, T as TransitionGuardConfig, i as immutableGuard, t as transitionGuard, w as withGuard } from './transition-guard-D4bfIAiW.js';
|
|
13
|
+
import { K as RoundingMode } from './strategy-54eIwox5.js';
|
|
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-54eIwox5.js';
|
|
15
|
+
export { w as withDerivation, a as withRollup } from './with-rollup-DJDbrxjf.js';
|
|
16
|
+
export { w as withMaterializedView } from './with-materialized-view-DNULSxoP.js';
|
|
17
17
|
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-
|
|
18
|
+
export { w as withOverlayedView } from './with-overlayed-view-C9joG7UZ.js';
|
|
19
19
|
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-
|
|
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-CpKSkl2c.js';
|
|
21
21
|
export { i as isDiscriminant } from './discriminant-BN9REW3o.js';
|
|
22
|
-
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-
|
|
22
|
+
export { L as LEDGER_COLLECTION, a as LEDGER_DELTAS_COLLECTION, e as envelopePayloadHash } from './hash-BnBQx39y.js';
|
|
23
23
|
import './lazy-builder-ChSqcF5t.js';
|
|
24
24
|
import '@noy-db/attestation';
|
|
25
25
|
|
|
@@ -364,6 +364,32 @@ declare function loadVaultPolicy(store: NoydbStore, vault: string): Promise<Vaul
|
|
|
364
364
|
*/
|
|
365
365
|
declare function saveVaultPolicy(store: NoydbStore, vault: string, policy: VaultPolicy): Promise<void>;
|
|
366
366
|
|
|
367
|
+
/**
|
|
368
|
+
* Helpers for reading records out of a *plaintext* store (`encrypt: false`)
|
|
369
|
+
* with native tooling — the programmatic core of a `noydb cat`-style unwrap.
|
|
370
|
+
* See the plaintext/debug-store-mode design.
|
|
371
|
+
*/
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* Extract the record from a plaintext stored envelope, handling both layouts:
|
|
375
|
+
*
|
|
376
|
+
* - **classic plaintext** (`encrypt: false`): the record is JSON in `_data`.
|
|
377
|
+
* - **debugPlaintext**: the record's fields are inlined beside the
|
|
378
|
+
* `_`-prefixed metadata (marked by `_debug`).
|
|
379
|
+
*
|
|
380
|
+
* Returns `null` for an empty/absent body. Throws if handed an **encrypted**
|
|
381
|
+
* envelope (non-empty `_iv`) — there is no key here; decrypt through the vault
|
|
382
|
+
* instead. Intended for record envelopes, not blob chunks.
|
|
383
|
+
*
|
|
384
|
+
* @example
|
|
385
|
+
* ```ts
|
|
386
|
+
* // node script over a to-file store, no vault needed:
|
|
387
|
+
* const env = JSON.parse(readFileSync('data/acme/invoices/inv-1.json', 'utf8'))
|
|
388
|
+
* console.log(readPlaintextRecord(env)) // → { id: 'inv-1', total: '120.00', … }
|
|
389
|
+
* ```
|
|
390
|
+
*/
|
|
391
|
+
declare function readPlaintextRecord<T = Record<string, unknown>>(envelope: EncryptedEnvelope): T | null;
|
|
392
|
+
|
|
367
393
|
/** Allow any schema change. Explicit blind / back-compat. */
|
|
368
394
|
declare function blindUpdate(): SchemaUpdateStrategy;
|
|
369
395
|
/** Allow additive changes; reject non-additive ones. The safety backstop. */
|
|
@@ -963,4 +989,4 @@ type DiffCandidate<T = unknown> = Vault | Record<string, readonly T[]> | string;
|
|
|
963
989
|
*/
|
|
964
990
|
declare function diffVault<T = unknown>(vault: Vault, candidate: DiffCandidate<T>, options?: DiffOptions): Promise<VaultDiff<T>>;
|
|
965
991
|
|
|
966
|
-
export { ActiveTier, type AllocateOptions, type CheckGateContext, DEFAULT_FRESHNESS_MS, DIRECTORY_RECORD_ID, type DiffCandidate, DiffEntry, type DiffOptions, DirectoryConfig, 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, base64ToBuffer, blindUpdate, bufferToBase64, checkGate, coordinatedCutover, decryptBytes, decryptDeterministic, dekKey, deleteUserEnvelope, deleteUserVisibility, derivePersistedSchema, derivePresenceKey, describeAllUsersAuth, describeAuthConfig, describeGate, describeUserAuth, diagramAuthConfig, diffVault, effectiveClearance, encryptBytes, encryptDeterministic, estimateRecordBytes, isMoneyString, isZodSchema, listUserEnvelopeIds, loadPersistedSchema, loadPublicEnvelope, loadUserEnvelope, loadVaultPolicy, lockSchema, mergePolicy, moneyNumber, mulRate, parseBytes, persistDirectoryConfig, persistSchemaIfNeeded, persistUserVisibility, readDirectoryConfig, readPublicEnvelope, readUserVisibility, savePersistedSchema, savePublicEnvelope, saveUserEnvelope, saveVaultPolicy, scaleForCurrency, tokenize, visibilityRecordId };
|
|
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, base64ToBuffer, blindUpdate, bufferToBase64, checkGate, coordinatedCutover, decryptBytes, decryptDeterministic, dekKey, deleteUserEnvelope, deleteUserVisibility, derivePersistedSchema, derivePresenceKey, describeAllUsersAuth, describeAuthConfig, describeGate, describeUserAuth, diagramAuthConfig, diffVault, effectiveClearance, encryptBytes, encryptDeterministic, estimateRecordBytes, isMoneyString, isZodSchema, listUserEnvelopeIds, loadPersistedSchema, loadPublicEnvelope, loadUserEnvelope, loadVaultPolicy, lockSchema, mergePolicy, moneyNumber, mulRate, parseBytes, persistDirectoryConfig, persistSchemaIfNeeded, persistUserVisibility, readDirectoryConfig, readPlaintextRecord, readPublicEnvelope, readUserVisibility, savePersistedSchema, savePublicEnvelope, saveUserEnvelope, saveVaultPolicy, scaleForCurrency, tokenize, visibilityRecordId };
|