@noy-db/hub 0.2.0-pre.24 → 0.2.0-pre.26
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 +5 -5
- 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 +5 -5
- package/dist/bundle/index.cjs +4 -207
- 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 -26
- package/dist/bundle/index.js.map +1 -1
- package/dist/{chunk-ZBENTRFS.js → chunk-2KA3PDUR.js} +2 -2
- package/dist/{chunk-OWAMTSAI.js → chunk-2RHBFCWQ.js} +5 -5
- package/dist/{chunk-GEWIFM4J.js → chunk-3BANVNDH.js} +2 -2
- package/dist/{chunk-QOXZM3L2.js → chunk-56ENKU46.js} +49 -62
- package/dist/{chunk-QOXZM3L2.js.map → chunk-56ENKU46.js.map} +1 -1
- package/dist/{chunk-WQ3KAGOV.js → chunk-7JSP3E67.js} +2 -2
- package/dist/{chunk-RNQPDV75.js → chunk-ANLOD6IS.js} +4 -4
- package/dist/{chunk-77WF53XY.js → chunk-C7UIT5XY.js} +4 -4
- package/dist/{chunk-4BB4T3O7.js → chunk-DDOYOMAD.js} +2 -12
- package/dist/chunk-DDOYOMAD.js.map +1 -0
- package/dist/{chunk-R5ZECURV.js → chunk-E5TJAQS7.js} +2 -2
- package/dist/{chunk-BCMHJYVT.js → chunk-EJJTUDNI.js} +3 -3
- package/dist/{chunk-JKM2AVVH.js → chunk-EW3H5Y7N.js} +2 -2
- package/dist/{chunk-AONK5GCC.js → chunk-EYZJULEN.js} +3 -3
- package/dist/{chunk-HHJ5DZCZ.js → chunk-FCIZXX56.js} +3 -3
- package/dist/{chunk-G4GW5VOS.js → chunk-FJ3C3ELF.js} +2 -2
- package/dist/{chunk-TQMQZOMX.js → chunk-FO5WEDKF.js} +2 -2
- package/dist/{chunk-7ZCTUI26.js → chunk-FUDVHE2U.js} +2 -2
- package/dist/{chunk-4HEGG5NJ.js → chunk-GHXOVGTX.js} +4 -4
- package/dist/{chunk-UAK2AMO2.js → chunk-GPZHHTJU.js} +3 -3
- package/dist/{chunk-U6LTLN7O.js → chunk-H4XFA2LM.js} +3 -3
- package/dist/{chunk-P7OL22JP.js → chunk-HUXDQIVU.js} +2 -2
- package/dist/{chunk-TOMSCJRV.js → chunk-J73KU4AE.js} +2 -2
- package/dist/{chunk-7X4EF35A.js → chunk-JJKXJAH2.js} +4 -4
- package/dist/{chunk-HD4QCT2O.js → chunk-KD253AI5.js} +2 -2
- package/dist/{chunk-SGM7CK7R.js → chunk-KJ37E3R5.js} +4 -4
- package/dist/{chunk-LMWVNF6X.js → chunk-KNJ7MK4B.js} +2 -2
- package/dist/{chunk-AO3QSMCU.js → chunk-LX4CPLU6.js} +2 -2
- package/dist/{chunk-4TCMCCC3.js → chunk-N4EXCKWP.js} +3 -5
- package/dist/{chunk-JRMOSIH4.js → chunk-OCRDV3NU.js} +4 -4
- package/dist/{chunk-DCICHSRS.js → chunk-OMBPGXCL.js} +2 -2
- package/dist/{chunk-3XJU3OHE.js → chunk-PS6PSEZL.js} +5 -5
- package/dist/{chunk-ZDITTESU.js → chunk-Q7P4WHTL.js} +2 -2
- package/dist/{chunk-OKV7S356.js → chunk-QYQRAOEF.js} +3 -3
- package/dist/{chunk-IEIADIPM.js → chunk-RHVYFAVQ.js} +2 -2
- package/dist/{chunk-R43KS34V.js → chunk-RZOGD7IF.js} +10 -177
- package/dist/chunk-RZOGD7IF.js.map +1 -0
- package/dist/{chunk-IHAISFXP.js → chunk-SKYBEGHB.js} +2 -2
- package/dist/{chunk-SOQE5DUV.js → chunk-TESFHBOW.js} +3 -3
- package/dist/{chunk-35U5YNRR.js → chunk-TSUICI5N.js} +2 -2
- package/dist/{chunk-B5CSNGSE.js → chunk-UNBX2HMA.js} +3 -3
- package/dist/{chunk-C472BRJ4.js → chunk-VGAN5RLD.js} +3 -3
- package/dist/{chunk-5A2FVGHT.js → chunk-VJNV2GRF.js} +5 -5
- package/dist/{chunk-5GZC2ZM3.js → chunk-VUUQYWF5.js} +2 -2
- package/dist/{chunk-P5A4E53B.js → chunk-WVYL6HM7.js} +2 -2
- package/dist/{chunk-DCA2BDHA.js → chunk-Y5CTT6K5.js} +3 -3
- package/dist/{chunk-XC32SZPW.js → chunk-YP2AYE5W.js} +2 -2
- package/dist/{chunk-RFEXGW3L.js → chunk-YRQPI67X.js} +2 -2
- package/dist/{chunk-CCNRFAL3.js → chunk-YYTM4U4J.js} +2 -2
- package/dist/{chunk-FG6IQ3ZL.js → chunk-ZCBJIDT4.js} +2 -2
- package/dist/{chunk-XQO4TAJS.js → chunk-ZW2YSN6G.js} +4 -4
- 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-2LU6XUFF.js → crypto-YBKBNPVM.js} +3 -3
- package/dist/{multi-bundle-6s5nKAZX.d.ts → decrypt-partition-C71vhnND.d.cts} +2 -103
- package/dist/{multi-bundle-WhYiJEgV.d.cts → decrypt-partition-CyyJUWLR.d.ts} +2 -103
- package/dist/{delegation-6ABSJGXV.js → delegation-4JSMM6BB.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-DURe4IvF.d.cts → dev-unlock-BdrE0kbS.d.cts} +1 -1
- package/dist/{dev-unlock-BlhRHr6p.d.ts → dev-unlock-ByBkl99-.d.ts} +1 -1
- package/dist/{errors-B2tUcRPg.d.ts → errors-Dwk2k1xY.d.cts} +1 -6
- package/dist/{errors-B2tUcRPg.d.cts → errors-Dwk2k1xY.d.ts} +1 -6
- package/dist/executor-3SVNESQ3.js +8 -0
- package/dist/executor-BIW4FT5R.js +12 -0
- package/dist/executor-VEZUBJNQ.js +8 -0
- package/dist/forget/index.js +3 -3
- 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-CqRZfDZH.d.cts → hash-BUkDp_8Q.d.cts} +1 -1
- package/dist/{hash-cF4iWaBV.d.ts → hash-CZxVv8RH.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 +4 -4
- 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 +5 -5
- package/dist/{index-da0M3NnR.d.cts → index-CBUhOmrM.d.cts} +4 -4
- package/dist/{index-B8MoIS7B.d.ts → index-DFhKV-6A.d.ts} +4 -4
- package/dist/{index-BthnP2MA.d.cts → index-DoxKSsMj.d.cts} +2 -2
- package/dist/{index-BLff_E35.d.ts → index-LaexBi3v.d.ts} +2 -2
- package/dist/index.cjs +5 -190
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +17 -17
- package/dist/index.d.ts +17 -17
- package/dist/index.js +46 -54
- 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-LEBPVF3Y.js +12 -0
- package/dist/kernel/index.cjs +1 -1
- package/dist/kernel/index.cjs.map +1 -1
- package/dist/kernel/index.d.cts +5 -5
- package/dist/kernel/index.d.ts +5 -5
- package/dist/kernel/index.js +5 -5
- package/dist/{ledger-VOS2X3WJ.js → ledger-FLRTSOYH.js} +4 -4
- 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-CCrP-iXJ.d.cts → mime-magic-BAhLjkHw.d.cts} +1 -1
- package/dist/{mime-magic-BswIvWkR.d.ts → mime-magic-C1UbcBxP.d.ts} +1 -1
- package/dist/noydb-6FA46A4M.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 +4 -4
- package/dist/{public-envelope-IJJMWSTJ.js → public-envelope-DBKJEBBF.js} +3 -3
- 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-CMEVTOCN.js +8 -0
- package/dist/{registry-JGEVJ6YC.js → registry-OUZ3VBZA.js} +3 -3
- package/dist/registry-XUBRO5JJ.js +8 -0
- package/dist/{revoke-WUY4AYRJ.js → revoke-P5D3UTRX.js} +5 -5
- 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-UJF3CFDC.js → signer-NEQPCHMW.js} +4 -4
- 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 +3 -3
- package/dist/{stale-PW6VBGSP.js → stale-KKCHF2VB.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-BWmgRPA2.d.cts → strategy-D1zjEV3n.d.cts} +1 -1
- package/dist/{strategy-D47TC5X6.d.ts → strategy-YQ1qJWyq.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 +3 -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 +7 -7
- package/dist/{transition-guard-CQH5263l.d.ts → transition-guard-BSLdikC_.d.ts} +1 -1
- package/dist/{transition-guard-C3NxfVKk.d.cts → transition-guard-DPs6al8h.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-COQ6qJZh.d.cts → types-BCYvhKzr.d.cts} +7 -13
- package/dist/{types-BGRX6sPT.d.ts → types-CCq0WHh9.d.ts} +7 -13
- package/dist/util/index.cjs.map +1 -1
- package/dist/util/index.js +1 -1
- package/dist/{with-materialized-view-D4U-KrBH.d.cts → with-materialized-view-CTHe6uh9.d.cts} +1 -1
- package/dist/{with-materialized-view-Cj-6fuav.d.ts → with-materialized-view-DiD41wQp.d.ts} +1 -1
- package/dist/{with-overlayed-view-COp_7EEy.d.ts → with-overlayed-view-DlbsJMhF.d.ts} +1 -1
- package/dist/{with-overlayed-view-BKjdUPRx.d.cts → with-overlayed-view-Dlz5hcM8.d.cts} +1 -1
- package/dist/{with-rollup-C-Bok_o2.d.cts → with-rollup-BBWdrCvu.d.cts} +1 -1
- package/dist/{with-rollup-B1_ZjG02.d.ts → with-rollup-mT4_CWaU.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-4BB4T3O7.js.map +0 -1
- package/dist/chunk-R43KS34V.js.map +0 -1
- package/dist/executor-JKMSEB34.js +0 -8
- package/dist/executor-UYXSQB4D.js +0 -12
- package/dist/executor-VJSCTBWY.js +0 -8
- package/dist/issue-KLRMW5DH.js +0 -12
- package/dist/noydb-2PI2ZBX6.js +0 -38
- package/dist/registry-GAIFVWXF.js +0 -8
- package/dist/registry-J77ZUQ7G.js +0 -8
- /package/dist/{chunk-ZBENTRFS.js.map → chunk-2KA3PDUR.js.map} +0 -0
- /package/dist/{chunk-OWAMTSAI.js.map → chunk-2RHBFCWQ.js.map} +0 -0
- /package/dist/{chunk-GEWIFM4J.js.map → chunk-3BANVNDH.js.map} +0 -0
- /package/dist/{chunk-WQ3KAGOV.js.map → chunk-7JSP3E67.js.map} +0 -0
- /package/dist/{chunk-RNQPDV75.js.map → chunk-ANLOD6IS.js.map} +0 -0
- /package/dist/{chunk-77WF53XY.js.map → chunk-C7UIT5XY.js.map} +0 -0
- /package/dist/{chunk-R5ZECURV.js.map → chunk-E5TJAQS7.js.map} +0 -0
- /package/dist/{chunk-BCMHJYVT.js.map → chunk-EJJTUDNI.js.map} +0 -0
- /package/dist/{chunk-JKM2AVVH.js.map → chunk-EW3H5Y7N.js.map} +0 -0
- /package/dist/{chunk-AONK5GCC.js.map → chunk-EYZJULEN.js.map} +0 -0
- /package/dist/{chunk-HHJ5DZCZ.js.map → chunk-FCIZXX56.js.map} +0 -0
- /package/dist/{chunk-G4GW5VOS.js.map → chunk-FJ3C3ELF.js.map} +0 -0
- /package/dist/{chunk-TQMQZOMX.js.map → chunk-FO5WEDKF.js.map} +0 -0
- /package/dist/{chunk-7ZCTUI26.js.map → chunk-FUDVHE2U.js.map} +0 -0
- /package/dist/{chunk-4HEGG5NJ.js.map → chunk-GHXOVGTX.js.map} +0 -0
- /package/dist/{chunk-UAK2AMO2.js.map → chunk-GPZHHTJU.js.map} +0 -0
- /package/dist/{chunk-U6LTLN7O.js.map → chunk-H4XFA2LM.js.map} +0 -0
- /package/dist/{chunk-P7OL22JP.js.map → chunk-HUXDQIVU.js.map} +0 -0
- /package/dist/{chunk-TOMSCJRV.js.map → chunk-J73KU4AE.js.map} +0 -0
- /package/dist/{chunk-7X4EF35A.js.map → chunk-JJKXJAH2.js.map} +0 -0
- /package/dist/{chunk-HD4QCT2O.js.map → chunk-KD253AI5.js.map} +0 -0
- /package/dist/{chunk-SGM7CK7R.js.map → chunk-KJ37E3R5.js.map} +0 -0
- /package/dist/{chunk-LMWVNF6X.js.map → chunk-KNJ7MK4B.js.map} +0 -0
- /package/dist/{chunk-AO3QSMCU.js.map → chunk-LX4CPLU6.js.map} +0 -0
- /package/dist/{chunk-4TCMCCC3.js.map → chunk-N4EXCKWP.js.map} +0 -0
- /package/dist/{chunk-JRMOSIH4.js.map → chunk-OCRDV3NU.js.map} +0 -0
- /package/dist/{chunk-DCICHSRS.js.map → chunk-OMBPGXCL.js.map} +0 -0
- /package/dist/{chunk-3XJU3OHE.js.map → chunk-PS6PSEZL.js.map} +0 -0
- /package/dist/{chunk-ZDITTESU.js.map → chunk-Q7P4WHTL.js.map} +0 -0
- /package/dist/{chunk-OKV7S356.js.map → chunk-QYQRAOEF.js.map} +0 -0
- /package/dist/{chunk-IEIADIPM.js.map → chunk-RHVYFAVQ.js.map} +0 -0
- /package/dist/{chunk-IHAISFXP.js.map → chunk-SKYBEGHB.js.map} +0 -0
- /package/dist/{chunk-SOQE5DUV.js.map → chunk-TESFHBOW.js.map} +0 -0
- /package/dist/{chunk-35U5YNRR.js.map → chunk-TSUICI5N.js.map} +0 -0
- /package/dist/{chunk-B5CSNGSE.js.map → chunk-UNBX2HMA.js.map} +0 -0
- /package/dist/{chunk-C472BRJ4.js.map → chunk-VGAN5RLD.js.map} +0 -0
- /package/dist/{chunk-5A2FVGHT.js.map → chunk-VJNV2GRF.js.map} +0 -0
- /package/dist/{chunk-5GZC2ZM3.js.map → chunk-VUUQYWF5.js.map} +0 -0
- /package/dist/{chunk-P5A4E53B.js.map → chunk-WVYL6HM7.js.map} +0 -0
- /package/dist/{chunk-DCA2BDHA.js.map → chunk-Y5CTT6K5.js.map} +0 -0
- /package/dist/{chunk-XC32SZPW.js.map → chunk-YP2AYE5W.js.map} +0 -0
- /package/dist/{chunk-RFEXGW3L.js.map → chunk-YRQPI67X.js.map} +0 -0
- /package/dist/{chunk-CCNRFAL3.js.map → chunk-YYTM4U4J.js.map} +0 -0
- /package/dist/{chunk-FG6IQ3ZL.js.map → chunk-ZCBJIDT4.js.map} +0 -0
- /package/dist/{chunk-XQO4TAJS.js.map → chunk-ZW2YSN6G.js.map} +0 -0
- /package/dist/{crypto-2LU6XUFF.js.map → crypto-YBKBNPVM.js.map} +0 -0
- /package/dist/{delegation-6ABSJGXV.js.map → delegation-4JSMM6BB.js.map} +0 -0
- /package/dist/{executor-JKMSEB34.js.map → executor-3SVNESQ3.js.map} +0 -0
- /package/dist/{executor-UYXSQB4D.js.map → executor-BIW4FT5R.js.map} +0 -0
- /package/dist/{executor-VJSCTBWY.js.map → executor-VEZUBJNQ.js.map} +0 -0
- /package/dist/{issue-KLRMW5DH.js.map → issue-LEBPVF3Y.js.map} +0 -0
- /package/dist/{ledger-VOS2X3WJ.js.map → ledger-FLRTSOYH.js.map} +0 -0
- /package/dist/{noydb-2PI2ZBX6.js.map → noydb-6FA46A4M.js.map} +0 -0
- /package/dist/{public-envelope-IJJMWSTJ.js.map → public-envelope-DBKJEBBF.js.map} +0 -0
- /package/dist/{registry-GAIFVWXF.js.map → registry-CMEVTOCN.js.map} +0 -0
- /package/dist/{registry-J77ZUQ7G.js.map → registry-OUZ3VBZA.js.map} +0 -0
- /package/dist/{registry-JGEVJ6YC.js.map → registry-XUBRO5JJ.js.map} +0 -0
- /package/dist/{revoke-WUY4AYRJ.js.map → revoke-P5D3UTRX.js.map} +0 -0
- /package/dist/{signer-UJF3CFDC.js.map → signer-NEQPCHMW.js.map} +0 -0
- /package/dist/{stale-PW6VBGSP.js.map → stale-KKCHF2VB.js.map} +0 -0
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
TxContext,
|
|
6
6
|
revertExecuted
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-EJJTUDNI.js";
|
|
8
8
|
import {
|
|
9
9
|
OverlayedCollection
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-YYTM4U4J.js";
|
|
11
11
|
import {
|
|
12
12
|
NO_AGGREGATE,
|
|
13
13
|
Query,
|
|
@@ -17,39 +17,39 @@ import {
|
|
|
17
17
|
decodeMoneyFields,
|
|
18
18
|
quantizeMoneyFields,
|
|
19
19
|
validateMoneyFieldPaths
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-PS6PSEZL.js";
|
|
21
21
|
import {
|
|
22
22
|
EXPORT_AUDIT_COLLECTION,
|
|
23
23
|
createExportBlobsHandle,
|
|
24
24
|
runCompaction
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-ZCBJIDT4.js";
|
|
26
26
|
import {
|
|
27
27
|
LazyQuery,
|
|
28
28
|
decodeIdxId,
|
|
29
29
|
encodeIdxId
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-H4XFA2LM.js";
|
|
31
31
|
import {
|
|
32
32
|
canonicalGroupKey
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-C7UIT5XY.js";
|
|
34
34
|
import {
|
|
35
35
|
readPath
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-3BANVNDH.js";
|
|
37
37
|
import {
|
|
38
38
|
SCHEMAS_COLLECTION,
|
|
39
39
|
loadPersistedSchema,
|
|
40
40
|
resolveManagedSecret,
|
|
41
41
|
savePersistedSchema,
|
|
42
42
|
saveSealedPassphrase
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YP2AYE5W.js";
|
|
44
44
|
import {
|
|
45
45
|
writeNoydbBundle
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-N4EXCKWP.js";
|
|
47
47
|
import {
|
|
48
48
|
loadPublicEnvelope,
|
|
49
49
|
readPublicEnvelope,
|
|
50
50
|
savePublicEnvelope,
|
|
51
51
|
validatePublicEnvelopeInput
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-HUXDQIVU.js";
|
|
53
53
|
import {
|
|
54
54
|
buildTombstone,
|
|
55
55
|
isTombstone,
|
|
@@ -58,19 +58,19 @@ import {
|
|
|
58
58
|
rewrapBodyToDek,
|
|
59
59
|
rotateRecordCek,
|
|
60
60
|
sealRecordToHost
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-Y5CTT6K5.js";
|
|
62
62
|
import {
|
|
63
63
|
PERIODS_COLLECTION
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-FCIZXX56.js";
|
|
65
65
|
import {
|
|
66
66
|
isDictCollectionName,
|
|
67
67
|
isStaticDictDescriptor
|
|
68
|
-
} from "./chunk-
|
|
68
|
+
} from "./chunk-JJKXJAH2.js";
|
|
69
69
|
import {
|
|
70
70
|
getAtPath,
|
|
71
71
|
resolvePolicy,
|
|
72
72
|
setAtPathInPlace
|
|
73
|
-
} from "./chunk-
|
|
73
|
+
} from "./chunk-KD253AI5.js";
|
|
74
74
|
import {
|
|
75
75
|
ManagedRecoveryNotEnrolledError,
|
|
76
76
|
PolicyDeniedError,
|
|
@@ -92,11 +92,11 @@ import {
|
|
|
92
92
|
saveShamirRecoveryEntries,
|
|
93
93
|
updateAuthenticator,
|
|
94
94
|
writeMagicLinkGrant
|
|
95
|
-
} from "./chunk-
|
|
95
|
+
} from "./chunk-2RHBFCWQ.js";
|
|
96
96
|
import {
|
|
97
97
|
assertTierAccess,
|
|
98
98
|
dekKey
|
|
99
|
-
} from "./chunk-
|
|
99
|
+
} from "./chunk-J73KU4AE.js";
|
|
100
100
|
import {
|
|
101
101
|
USER_ENVELOPE_COLLECTION,
|
|
102
102
|
assertKeyringOpenAllowed,
|
|
@@ -121,7 +121,7 @@ import {
|
|
|
121
121
|
rotateKeys,
|
|
122
122
|
saveUserEnvelope,
|
|
123
123
|
updateKeyringIdentity
|
|
124
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-UNBX2HMA.js";
|
|
125
125
|
import {
|
|
126
126
|
INDEXED_STORE_POLICY
|
|
127
127
|
} from "./chunk-2QR2PQTT.js";
|
|
@@ -131,7 +131,7 @@ import {
|
|
|
131
131
|
import {
|
|
132
132
|
LEDGER_COLLECTION,
|
|
133
133
|
LEDGER_DELTAS_COLLECTION
|
|
134
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-EYZJULEN.js";
|
|
135
135
|
import {
|
|
136
136
|
sha256Hex as sha256Hex2
|
|
137
137
|
} from "./chunk-PDVP3C2I.js";
|
|
@@ -143,7 +143,7 @@ import {
|
|
|
143
143
|
readDottedPath,
|
|
144
144
|
rebuildSubjectIndex,
|
|
145
145
|
removeSubjectRef
|
|
146
|
-
} from "./chunk-
|
|
146
|
+
} from "./chunk-TSUICI5N.js";
|
|
147
147
|
import {
|
|
148
148
|
NOYDB_BACKUP_VERSION,
|
|
149
149
|
NOYDB_FORMAT_VERSION
|
|
@@ -156,7 +156,7 @@ import {
|
|
|
156
156
|
unwrapCek,
|
|
157
157
|
wrapCek,
|
|
158
158
|
wrapKey
|
|
159
|
-
} from "./chunk-
|
|
159
|
+
} from "./chunk-7JSP3E67.js";
|
|
160
160
|
import {
|
|
161
161
|
AlreadyElevatedError,
|
|
162
162
|
AttestationError,
|
|
@@ -168,7 +168,6 @@ import {
|
|
|
168
168
|
DerivationCapExceededError,
|
|
169
169
|
ElevationExpiredError,
|
|
170
170
|
ExportCapabilityError,
|
|
171
|
-
FederationMovedError,
|
|
172
171
|
ForgetStrategyNotConfiguredError,
|
|
173
172
|
ImportCapabilityError,
|
|
174
173
|
IndexWriteFailureError,
|
|
@@ -196,7 +195,7 @@ import {
|
|
|
196
195
|
UnknownDictCodeError,
|
|
197
196
|
UnsupportedIndexOptionError,
|
|
198
197
|
ValidationError
|
|
199
|
-
} from "./chunk-
|
|
198
|
+
} from "./chunk-DDOYOMAD.js";
|
|
200
199
|
|
|
201
200
|
// src/policy/storage.ts
|
|
202
201
|
var META_COLLECTION = "_meta";
|
|
@@ -910,7 +909,7 @@ async function resolveStaleOnRead(accessor, outputCollection, id) {
|
|
|
910
909
|
}
|
|
911
910
|
const sourceWithId = { ...source, id };
|
|
912
911
|
if (DerivationExecutor === null) {
|
|
913
|
-
({ DerivationExecutor } = await import("./executor-
|
|
912
|
+
({ DerivationExecutor } = await import("./executor-VEZUBJNQ.js"));
|
|
914
913
|
}
|
|
915
914
|
const ctx = { vault: accessor.getReadOnlyFacade() };
|
|
916
915
|
const result = await DerivationExecutor.run(spec, sourceWithId, 0, strategyHash, ctx);
|
|
@@ -1467,7 +1466,7 @@ var Collection = class {
|
|
|
1467
1466
|
}
|
|
1468
1467
|
}
|
|
1469
1468
|
if (this.materializedViewSource !== void 0) {
|
|
1470
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
1469
|
+
const { resolveStaleMVOnRead } = await import("./stale-KKCHF2VB.js");
|
|
1471
1470
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name);
|
|
1472
1471
|
}
|
|
1473
1472
|
let record;
|
|
@@ -1926,7 +1925,7 @@ var Collection = class {
|
|
|
1926
1925
|
if (mode === "eager") {
|
|
1927
1926
|
if (executor === null) {
|
|
1928
1927
|
;
|
|
1929
|
-
({ MaterializedViewExecutor: executor } = await import("./executor-
|
|
1928
|
+
({ MaterializedViewExecutor: executor } = await import("./executor-BIW4FT5R.js"));
|
|
1930
1929
|
}
|
|
1931
1930
|
await executor.refresh(reg, {
|
|
1932
1931
|
getCollection: (name) => this.materializedViewSource.getCollection(name),
|
|
@@ -1935,7 +1934,7 @@ var Collection = class {
|
|
|
1935
1934
|
});
|
|
1936
1935
|
} else if (mode === "lazy") {
|
|
1937
1936
|
if (staleHelpers === null) {
|
|
1938
|
-
staleHelpers = await import("./stale-
|
|
1937
|
+
staleHelpers = await import("./stale-KKCHF2VB.js");
|
|
1939
1938
|
}
|
|
1940
1939
|
staleHelpers.markMVStale(registry, reg.spec.name);
|
|
1941
1940
|
}
|
|
@@ -2109,7 +2108,7 @@ var Collection = class {
|
|
|
2109
2108
|
continue;
|
|
2110
2109
|
}
|
|
2111
2110
|
if (DerivationExecutor === null) {
|
|
2112
|
-
({ DerivationExecutor } = await import("./executor-
|
|
2111
|
+
({ DerivationExecutor } = await import("./executor-VEZUBJNQ.js"));
|
|
2113
2112
|
}
|
|
2114
2113
|
for (const run of runs) {
|
|
2115
2114
|
const ctx = { vault: this.derivationSource.getReadOnlyFacade() };
|
|
@@ -2531,7 +2530,7 @@ var Collection = class {
|
|
|
2531
2530
|
if (mode === "eager") {
|
|
2532
2531
|
if (executor === null) {
|
|
2533
2532
|
;
|
|
2534
|
-
({ MaterializedViewExecutor: executor } = await import("./executor-
|
|
2533
|
+
({ MaterializedViewExecutor: executor } = await import("./executor-BIW4FT5R.js"));
|
|
2535
2534
|
}
|
|
2536
2535
|
await executor.refresh(reg, {
|
|
2537
2536
|
getCollection: (name) => this.materializedViewSource.getCollection(name),
|
|
@@ -2540,7 +2539,7 @@ var Collection = class {
|
|
|
2540
2539
|
});
|
|
2541
2540
|
} else if (mode === "lazy") {
|
|
2542
2541
|
if (staleHelpers === null) {
|
|
2543
|
-
staleHelpers = await import("./stale-
|
|
2542
|
+
staleHelpers = await import("./stale-KKCHF2VB.js");
|
|
2544
2543
|
}
|
|
2545
2544
|
staleHelpers.markMVStale(registry, reg.spec.name);
|
|
2546
2545
|
}
|
|
@@ -2563,7 +2562,7 @@ var Collection = class {
|
|
|
2563
2562
|
);
|
|
2564
2563
|
}
|
|
2565
2564
|
if (this.materializedViewSource !== void 0) {
|
|
2566
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
2565
|
+
const { resolveStaleMVOnRead } = await import("./stale-KKCHF2VB.js");
|
|
2567
2566
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name);
|
|
2568
2567
|
}
|
|
2569
2568
|
await this.ensureHydrated();
|
|
@@ -7712,12 +7711,12 @@ var Vault = class {
|
|
|
7712
7711
|
if (!fieldSchema) {
|
|
7713
7712
|
throw new AttestationError(`issueAttestation: collection '${collectionName}' has no attestation field-schema. Declare it via vault.collection('${collectionName}', { attestation: { fields: [...] } }).`);
|
|
7714
7713
|
}
|
|
7715
|
-
const { issueAttestationCore } = await import("./issue-
|
|
7714
|
+
const { issueAttestationCore } = await import("./issue-LEBPVF3Y.js");
|
|
7716
7715
|
const out = await issueAttestationCore(this.makeIssueContext(), { collection: collectionName, id, fieldSchema });
|
|
7717
7716
|
return { docId: out.docId, qr: out.qr, keyId: out.keyId, publicKeyB64: out.publicKeyB64 };
|
|
7718
7717
|
}
|
|
7719
7718
|
async getDocumentSigningPublicKey() {
|
|
7720
|
-
const { loadSigner, loadOrCreateSigner } = await import("./signer-
|
|
7719
|
+
const { loadSigner, loadOrCreateSigner } = await import("./signer-NEQPCHMW.js");
|
|
7721
7720
|
const existing = await loadSigner(this.adapter, this.name, this.getDEK);
|
|
7722
7721
|
if (existing) return { keyId: existing.keyId, publicKeyB64: existing.publicKeyB64 };
|
|
7723
7722
|
if (this.keyring.role !== "owner") {
|
|
@@ -7743,19 +7742,19 @@ var Vault = class {
|
|
|
7743
7742
|
};
|
|
7744
7743
|
}
|
|
7745
7744
|
async revokeAttestation(docId) {
|
|
7746
|
-
const { revokeDocCore } = await import("./revoke-
|
|
7745
|
+
const { revokeDocCore } = await import("./revoke-P5D3UTRX.js");
|
|
7747
7746
|
await revokeDocCore(this.makeRevokeContext(), docId);
|
|
7748
7747
|
}
|
|
7749
7748
|
async unrevokeAttestation(docId) {
|
|
7750
|
-
const { unrevokeDocCore } = await import("./revoke-
|
|
7749
|
+
const { unrevokeDocCore } = await import("./revoke-P5D3UTRX.js");
|
|
7751
7750
|
await unrevokeDocCore(this.makeRevokeContext(), docId);
|
|
7752
7751
|
}
|
|
7753
7752
|
async getRevokedDocIds() {
|
|
7754
|
-
const { getRevokedDocIdsCore } = await import("./revoke-
|
|
7753
|
+
const { getRevokedDocIdsCore } = await import("./revoke-P5D3UTRX.js");
|
|
7755
7754
|
return getRevokedDocIdsCore(this.makeRevokeContext());
|
|
7756
7755
|
}
|
|
7757
7756
|
async publishRevocationList() {
|
|
7758
|
-
const { publishRevocationListCore } = await import("./revoke-
|
|
7757
|
+
const { publishRevocationListCore } = await import("./revoke-P5D3UTRX.js");
|
|
7759
7758
|
return publishRevocationListCore(this.makeRevokeContext());
|
|
7760
7759
|
}
|
|
7761
7760
|
makeRevokeContext() {
|
|
@@ -8414,7 +8413,7 @@ var Vault = class {
|
|
|
8414
8413
|
async _initDerivations(handles) {
|
|
8415
8414
|
if (handles.length === 0) return;
|
|
8416
8415
|
const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
|
|
8417
|
-
import("./registry-
|
|
8416
|
+
import("./registry-CMEVTOCN.js"),
|
|
8418
8417
|
import("./read-only-facade-EX6WZZBP.js")
|
|
8419
8418
|
]);
|
|
8420
8419
|
const registry = new DerivationRegistry();
|
|
@@ -8445,7 +8444,7 @@ var Vault = class {
|
|
|
8445
8444
|
*/
|
|
8446
8445
|
async _initMaterializedViews(handles) {
|
|
8447
8446
|
if (handles.length === 0) return;
|
|
8448
|
-
const { MaterializedViewRegistry } = await import("./registry-
|
|
8447
|
+
const { MaterializedViewRegistry } = await import("./registry-OUZ3VBZA.js");
|
|
8449
8448
|
const registry = new MaterializedViewRegistry();
|
|
8450
8449
|
this.materializedViewRegistry = registry;
|
|
8451
8450
|
const db = this;
|
|
@@ -8469,7 +8468,7 @@ var Vault = class {
|
|
|
8469
8468
|
*/
|
|
8470
8469
|
async _initOverlayedViews(handles) {
|
|
8471
8470
|
if (handles.length === 0) return;
|
|
8472
|
-
const { OverlayedViewRegistry } = await import("./registry-
|
|
8471
|
+
const { OverlayedViewRegistry } = await import("./registry-XUBRO5JJ.js");
|
|
8473
8472
|
const registry = new OverlayedViewRegistry();
|
|
8474
8473
|
const mvRegistry = this.materializedViewRegistry;
|
|
8475
8474
|
const overlayNames = /* @__PURE__ */ new Set();
|
|
@@ -8516,13 +8515,13 @@ var Vault = class {
|
|
|
8516
8515
|
if (!reg) {
|
|
8517
8516
|
throw new Error(`refreshView: no MV registered with name "${name}"`);
|
|
8518
8517
|
}
|
|
8519
|
-
const { MaterializedViewExecutor } = await import("./executor-
|
|
8518
|
+
const { MaterializedViewExecutor } = await import("./executor-BIW4FT5R.js");
|
|
8520
8519
|
const result = await MaterializedViewExecutor.refresh(reg, {
|
|
8521
8520
|
getCollection: (n) => this.collection(n),
|
|
8522
8521
|
getActiveTxContext: () => this.noydb._activeTxContextOrNull,
|
|
8523
8522
|
getQueryContext: () => this
|
|
8524
8523
|
});
|
|
8525
|
-
const { clearMVStale } = await import("./stale-
|
|
8524
|
+
const { clearMVStale } = await import("./stale-KKCHF2VB.js");
|
|
8526
8525
|
clearMVStale(registry, name);
|
|
8527
8526
|
return result;
|
|
8528
8527
|
}
|
|
@@ -8538,7 +8537,7 @@ var Vault = class {
|
|
|
8538
8537
|
if (registry === null) return { derived: 0, failed: 0 };
|
|
8539
8538
|
const strategies = registry.strategiesForSource(sourceCollection);
|
|
8540
8539
|
if (strategies.length === 0) return { derived: 0, failed: 0 };
|
|
8541
|
-
const { DerivationExecutor } = await import("./executor-
|
|
8540
|
+
const { DerivationExecutor } = await import("./executor-VEZUBJNQ.js");
|
|
8542
8541
|
const sourceColl = this.collection(sourceCollection);
|
|
8543
8542
|
const records = await sourceColl.list();
|
|
8544
8543
|
const ctx = { vault: this.derivationFacade ?? new (await import("./read-only-facade-EX6WZZBP.js")).ReadOnlyVaultFacade(this, "derivation") };
|
|
@@ -8785,7 +8784,7 @@ var Vault = class {
|
|
|
8785
8784
|
* collection.
|
|
8786
8785
|
*/
|
|
8787
8786
|
async delegate(opts) {
|
|
8788
|
-
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
8787
|
+
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-4JSMM6BB.js");
|
|
8789
8788
|
if (!this.keyring.kek) {
|
|
8790
8789
|
throw new ValidationError(
|
|
8791
8790
|
"issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (passphrase) first."
|
|
@@ -8807,7 +8806,7 @@ var Vault = class {
|
|
|
8807
8806
|
* if the id does not exist.
|
|
8808
8807
|
*/
|
|
8809
8808
|
async revokeDelegation(id) {
|
|
8810
|
-
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
8809
|
+
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-4JSMM6BB.js");
|
|
8811
8810
|
await revokeDelegation(this.adapter, this.name, id);
|
|
8812
8811
|
void DELEGATIONS_COLLECTION;
|
|
8813
8812
|
}
|
|
@@ -9277,7 +9276,7 @@ var Vault = class {
|
|
|
9277
9276
|
* @see docs/subsystems/public-envelope.md
|
|
9278
9277
|
*/
|
|
9279
9278
|
async getPublicEnvelope(opts = {}) {
|
|
9280
|
-
const { readPublicEnvelope: readPublicEnvelope2 } = await import("./public-envelope-
|
|
9279
|
+
const { readPublicEnvelope: readPublicEnvelope2 } = await import("./public-envelope-DBKJEBBF.js");
|
|
9281
9280
|
return readPublicEnvelope2(this.adapter, this.name, opts);
|
|
9282
9281
|
}
|
|
9283
9282
|
/**
|
|
@@ -10991,7 +10990,7 @@ var Noydb = class {
|
|
|
10991
10990
|
if (!facade) return;
|
|
10992
10991
|
const ctx = { existing, vault: facade, userId: e.userId, role: e.role };
|
|
10993
10992
|
await registry.runChecks(e.collection, incoming, ctx);
|
|
10994
|
-
const { GuardExecutor } = await import("./executor-
|
|
10993
|
+
const { GuardExecutor } = await import("./executor-3SVNESQ3.js");
|
|
10995
10994
|
for (const g of guards) {
|
|
10996
10995
|
await GuardExecutor.checkFrozenFields(g, e.docId, existing, incoming, e.computedFieldNames);
|
|
10997
10996
|
}
|
|
@@ -11610,25 +11609,13 @@ var Noydb = class {
|
|
|
11610
11609
|
return results;
|
|
11611
11610
|
}
|
|
11612
11611
|
/**
|
|
11613
|
-
* @internal True once `close()` has been called. Read by
|
|
11614
|
-
*
|
|
11615
|
-
* `closed` field
|
|
11612
|
+
* @internal True once `close()` has been called. Read by outward
|
|
11613
|
+
* orchestration frameworks whose entry points can't see the private
|
|
11614
|
+
* `closed` field.
|
|
11616
11615
|
*/
|
|
11617
11616
|
get isClosed() {
|
|
11618
11617
|
return this.closed;
|
|
11619
11618
|
}
|
|
11620
|
-
/** @deprecated Federation moved to @klum-db/lobby. Use `createLobby(db).withVaultTemplate(...)`. */
|
|
11621
|
-
withVaultTemplate() {
|
|
11622
|
-
throw new FederationMovedError("withVaultTemplate");
|
|
11623
|
-
}
|
|
11624
|
-
/** @deprecated Federation moved to @klum-db/lobby. Use `createLobby(db).openVaultGroup(...)`. */
|
|
11625
|
-
async openVaultGroup() {
|
|
11626
|
-
throw new FederationMovedError("openVaultGroup");
|
|
11627
|
-
}
|
|
11628
|
-
/** @deprecated Federation moved to @klum-db/lobby. Use `createLobby(db).openStateManagementVault()`. */
|
|
11629
|
-
async openStateManagementVault() {
|
|
11630
|
-
throw new FederationMovedError("openStateManagementVault");
|
|
11631
|
-
}
|
|
11632
11619
|
/**
|
|
11633
11620
|
* @internal — true when an encrypted shard vault is provisioned
|
|
11634
11621
|
* (its keyring exists in the store).
|
|
@@ -13197,4 +13184,4 @@ export {
|
|
|
13197
13184
|
Noydb,
|
|
13198
13185
|
createNoydb
|
|
13199
13186
|
};
|
|
13200
|
-
//# sourceMappingURL=chunk-
|
|
13187
|
+
//# sourceMappingURL=chunk-56ENKU46.js.map
|