@noy-db/hub 0.2.0-pre.13 → 0.2.0-pre.15
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 +56 -56
- package/dist/aggregate/index.cjs.map +1 -1
- package/dist/aggregate/index.d.cts +2 -2
- package/dist/aggregate/index.d.ts +2 -2
- package/dist/aggregate/index.js +4 -4
- package/dist/attestation/index.cjs.map +1 -1
- package/dist/attestation/index.d.cts +5 -5
- package/dist/attestation/index.d.ts +5 -5
- 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 +4 -4
- package/dist/bundle/index.cjs +559 -76
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +7 -7
- package/dist/bundle/index.d.ts +7 -7
- package/dist/bundle/index.js +8 -8
- package/dist/{chunk-YWBHS25M.js → chunk-3EWXMOK3.js} +8 -267
- package/dist/chunk-3EWXMOK3.js.map +1 -0
- package/dist/{chunk-SJ24GHID.js → chunk-4TBBMHVC.js} +2 -2
- package/dist/{chunk-NKGY3C53.js → chunk-535SSHBS.js} +8 -1
- package/dist/{chunk-NKGY3C53.js.map → chunk-535SSHBS.js.map} +1 -1
- package/dist/{chunk-HQXOEWLZ.js → chunk-56DJ7JVK.js} +3 -3
- package/dist/{chunk-KKB42D3Q.js → chunk-5LQG6ZO2.js} +2 -2
- package/dist/{chunk-TDECYU4Y.js → chunk-6AJBSQU4.js} +2 -2
- package/dist/{chunk-O2JW656W.js → chunk-6RR3MNMG.js} +3 -3
- package/dist/{chunk-P5MW7BG2.js → chunk-7EFFHEN5.js} +57 -50
- package/dist/chunk-7EFFHEN5.js.map +1 -0
- package/dist/{chunk-7TEI2K2A.js → chunk-7HT2MEZ5.js} +4 -4
- package/dist/{chunk-WQKZIQIL.js → chunk-7PS7EOCF.js} +3 -3
- package/dist/{chunk-C3WRKABE.js → chunk-A5ZOOZFB.js} +3 -3
- package/dist/{chunk-5NISHSBO.js → chunk-AAVWKNZW.js} +2 -2
- package/dist/{chunk-SOU42FGB.js → chunk-BIYRQQV6.js} +4 -4
- package/dist/{chunk-ILWQGTNH.js → chunk-BQ65SS5A.js} +2 -2
- package/dist/{chunk-CWFQTAD4.js → chunk-C5T5AFWN.js} +4 -4
- package/dist/chunk-CJORTUJ2.js +524 -0
- package/dist/chunk-CJORTUJ2.js.map +1 -0
- package/dist/{chunk-SYSKC237.js → chunk-COFPAMX6.js} +5 -5
- package/dist/{chunk-D5Y3HIC6.js → chunk-CZI2A4MQ.js} +3 -3
- package/dist/{chunk-KJF7EPUE.js → chunk-DKO2QFSA.js} +2 -2
- package/dist/{chunk-QFYVGJLI.js → chunk-DQU36Q7I.js} +2 -2
- package/dist/{chunk-NIUXQDWD.js → chunk-EGD5DXFT.js} +2 -2
- package/dist/{chunk-NJMKHRQI.js → chunk-EYVQHAGH.js} +267 -67
- package/dist/chunk-EYVQHAGH.js.map +1 -0
- package/dist/{chunk-KHQ3N5AB.js → chunk-F4OJZIWQ.js} +4 -4
- package/dist/{chunk-3OUCWHV6.js → chunk-FWPKCXTN.js} +2 -2
- package/dist/{chunk-QIVFGU2M.js → chunk-HOR4R722.js} +3 -3
- package/dist/{chunk-NP6EZT44.js → chunk-IQLVUT37.js} +2 -2
- package/dist/{chunk-4VCQH32J.js → chunk-JD3OZAI4.js} +2 -2
- package/dist/{chunk-J67BP5EP.js → chunk-KI6HAJWL.js} +3 -3
- package/dist/{chunk-AYNF7PVX.js → chunk-KIP6JLTF.js} +2 -2
- package/dist/{chunk-PW26DAXS.js → chunk-L2FE64BU.js} +3 -3
- package/dist/{chunk-QAWCVWCX.js → chunk-LX3CB26H.js} +4 -4
- package/dist/{chunk-VAK6NQAK.js → chunk-NSCVNK5K.js} +4 -4
- package/dist/{chunk-4YDZ7JPZ.js → chunk-NU6Q3FOR.js} +4 -4
- package/dist/chunk-NU6Q3FOR.js.map +1 -0
- package/dist/{chunk-3XZRRBFW.js → chunk-OHVFWCJP.js} +2 -2
- package/dist/{chunk-TEQGXA7L.js → chunk-PE4AQGFH.js} +4 -4
- package/dist/{chunk-UNQEWORI.js → chunk-TS26M2SB.js} +2 -2
- package/dist/{chunk-FNVFT4HZ.js → chunk-VU7SWWT5.js} +2 -2
- package/dist/{chunk-GZJ5JBED.js → chunk-WBAYSNUQ.js} +3 -3
- package/dist/{chunk-HHZ77DHM.js → chunk-WGHU7BLI.js} +2 -2
- package/dist/{chunk-GL3Z7LH7.js → chunk-X73VS74Y.js} +2 -2
- package/dist/{chunk-WIBHRONM.js → chunk-XWH4MXIU.js} +2 -2
- package/dist/{chunk-M6KXHRIA.js → chunk-YHPM5D7Y.js} +3 -3
- package/dist/{chunk-E3DIBDKA.js → chunk-YULZKK4F.js} +2 -2
- package/dist/{chunk-JWFNOD2T.js → chunk-Z4DO7YSI.js} +2 -2
- package/dist/{chunk-JPOQMXGT.js → chunk-ZNQYHJXX.js} +2 -2
- package/dist/consent/index.cjs.map +1 -1
- package/dist/consent/index.d.cts +6 -6
- package/dist/consent/index.d.ts +6 -6
- package/dist/consent/index.js +3 -3
- package/dist/{crypto-YXH6SAOW.js → crypto-QXQOHMHF.js} +3 -3
- package/dist/{delegation-K5ERUH6A.js → delegation-NIQ43IPU.js} +5 -5
- package/dist/derivations/index.cjs.map +1 -1
- package/dist/derivations/index.d.cts +7 -7
- package/dist/derivations/index.d.ts +7 -7
- package/dist/derivations/index.js +4 -4
- package/dist/{dev-unlock-BW0GNBEV.d.ts → dev-unlock-iAS8z9jc.d.ts} +1 -1
- package/dist/{dev-unlock-a7SOtaV0.d.cts → dev-unlock-nVkuRLLe.d.cts} +1 -1
- package/dist/executor-6ZDSDZ6V.js +8 -0
- package/dist/executor-HSSRXDOB.js +11 -0
- package/dist/executor-IDZDAFNH.js +8 -0
- package/dist/guards/index.cjs.map +1 -1
- package/dist/guards/index.d.cts +7 -7
- package/dist/guards/index.d.ts +7 -7
- package/dist/guards/index.js +3 -3
- package/dist/{hash-B0cLQcq_.d.cts → hash-Cv6byZs7.d.cts} +1 -1
- package/dist/{hash-uMNIAAW8.d.ts → hash-DHOnRarj.d.ts} +1 -1
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +7 -7
- package/dist/history/index.d.ts +7 -7
- package/dist/history/index.js +4 -4
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +6 -6
- package/dist/i18n/index.d.ts +6 -6
- package/dist/i18n/index.js +5 -5
- package/dist/{immutable-guard-B0h-ipLz.d.ts → immutable-guard-BehB1YGB.d.ts} +1 -1
- package/dist/{immutable-guard-BZIcYhYX.d.cts → immutable-guard-yBEOYmif.d.cts} +1 -1
- package/dist/{index-CUVOMtgg.d.cts → index-D95VK1Qy.d.cts} +11 -3
- package/dist/{index-Cqzp4tt9.d.ts → index-XNB2r6bX.d.ts} +11 -3
- package/dist/index.cjs +700 -78
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -15
- package/dist/index.d.ts +145 -15
- package/dist/index.js +164 -48
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.cjs +92 -31
- package/dist/indexing/index.cjs.map +1 -1
- package/dist/indexing/index.d.cts +3 -3
- package/dist/indexing/index.d.ts +3 -3
- package/dist/indexing/index.js +4 -4
- package/dist/issue-ADVS4OVP.js +12 -0
- package/dist/{lazy-builder-D5GU14TS.d.ts → lazy-builder-ChSqcF5t.d.ts} +1 -1
- package/dist/{lazy-builder-Ci5_YG73.d.cts → lazy-builder-eYZzLEL1.d.cts} +1 -1
- package/dist/{ledger-64TTQMRS.js → ledger-CWSE3BLF.js} +4 -4
- package/dist/materialized-views/index.cjs +2 -2
- package/dist/materialized-views/index.cjs.map +1 -1
- package/dist/materialized-views/index.d.cts +7 -7
- package/dist/materialized-views/index.d.ts +7 -7
- package/dist/materialized-views/index.js +7 -7
- package/dist/noydb-GZGFBA4E.js +35 -0
- package/dist/overlay-views/index.cjs.map +1 -1
- package/dist/overlay-views/index.d.cts +7 -7
- package/dist/overlay-views/index.d.ts +7 -7
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.cjs.map +1 -1
- package/dist/periods/index.d.cts +6 -6
- package/dist/periods/index.d.ts +6 -6
- package/dist/periods/index.js +4 -4
- package/dist/{predicate-Bt5ft-9c.d.cts → predicate-BmhBSPCH.d.cts} +59 -2
- package/dist/{predicate-Bt5ft-9c.d.ts → predicate-BmhBSPCH.d.ts} +59 -2
- package/dist/{public-envelope-MHG6YVXW.js → public-envelope-SYHEYQ3X.js} +3 -3
- package/dist/query/index.cjs +580 -195
- 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 +6 -6
- package/dist/{registry-PV4G3OPA.js → registry-DK5YWAAA.js} +3 -3
- package/dist/registry-IUZQVVBB.js +8 -0
- package/dist/registry-XGLNADIE.js +8 -0
- package/dist/{revoke-5BOLVJ3N.js → revoke-ZDFKMR5E.js} +5 -5
- package/dist/session/index.cjs.map +1 -1
- package/dist/session/index.d.cts +7 -7
- package/dist/session/index.d.ts +7 -7
- package/dist/session/index.js +3 -3
- package/dist/shadow/index.cjs.map +1 -1
- package/dist/shadow/index.d.cts +6 -6
- package/dist/shadow/index.d.ts +6 -6
- package/dist/shadow/index.js +2 -2
- package/dist/{signer-GRIYBA22.js → signer-P5D7Y72U.js} +4 -4
- package/dist/snapshots/index.cjs.map +1 -1
- package/dist/snapshots/index.d.cts +6 -6
- package/dist/snapshots/index.d.ts +6 -6
- package/dist/snapshots/index.js +3 -3
- package/dist/{stale-LZYMMDDS.js → stale-JH67FU57.js} +2 -2
- package/dist/{state-vault-QFJWU23A.js → state-vault-TMXZRTY5.js} +3 -3
- package/dist/store/index.cjs.map +1 -1
- package/dist/store/index.d.cts +6 -6
- package/dist/store/index.d.ts +6 -6
- package/dist/store/index.js +2 -2
- package/dist/{strategy-CrS7PnbE.d.ts → strategy-CbneC7bS.d.cts} +1 -1
- package/dist/{strategy-CrS7PnbE.d.cts → strategy-CbneC7bS.d.ts} +1 -1
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +5 -5
- package/dist/sync/index.d.ts +5 -5
- package/dist/sync/index.js +3 -3
- package/dist/team/index.cjs.map +1 -1
- package/dist/team/index.d.cts +6 -6
- package/dist/team/index.d.ts +6 -6
- package/dist/team/index.js +7 -7
- package/dist/tx/index.cjs.map +1 -1
- package/dist/tx/index.d.cts +6 -6
- package/dist/tx/index.d.ts +6 -6
- package/dist/tx/index.js +3 -3
- package/dist/{types-pax34sec.d.ts → types-4t1-tWS4.d.ts} +77 -9
- package/dist/{types-CDwSSXiI.d.cts → types-BpPV5uyy.d.cts} +77 -9
- package/dist/{ulid-7bCSgIgb.d.cts → ulid-CiPrpGqm.d.cts} +1 -1
- package/dist/{ulid-C_t4hL3d.d.ts → ulid-DAfenvFd.d.ts} +1 -1
- package/dist/util/index.cjs.map +1 -1
- package/dist/util/index.js +1 -1
- package/dist/{vault-group-UO4YUZOG.js → vault-group-KOM7QRJG.js} +125 -11
- package/dist/vault-group-KOM7QRJG.js.map +1 -0
- package/dist/{with-derivation-D8wFlb6V.d.cts → with-derivation-DBqJB3dQ.d.cts} +1 -1
- package/dist/{with-derivation-BjdOxUBn.d.ts → with-derivation-OK9M2sJE.d.ts} +1 -1
- package/dist/{with-materialized-view-DJb-HO65.d.ts → with-materialized-view-Dt-ufPWQ.d.ts} +1 -1
- package/dist/{with-materialized-view-5QMF1rS_.d.cts → with-materialized-view-NzuxYPDF.d.cts} +1 -1
- package/dist/{with-overlayed-view-DDNflPvC.d.cts → with-overlayed-view-CC0_ocy-.d.cts} +1 -1
- package/dist/{with-overlayed-view-CkqTefbz.d.ts → with-overlayed-view-eDvMs6LO.d.ts} +1 -1
- package/package.json +3 -3
- package/dist/chunk-4YDZ7JPZ.js.map +0 -1
- package/dist/chunk-NJMKHRQI.js.map +0 -1
- package/dist/chunk-P5MW7BG2.js.map +0 -1
- package/dist/chunk-TV3YZ35S.js +0 -90
- package/dist/chunk-TV3YZ35S.js.map +0 -1
- package/dist/chunk-YWBHS25M.js.map +0 -1
- package/dist/executor-AVJ7UEWA.js +0 -8
- package/dist/executor-IQO3KGXQ.js +0 -11
- package/dist/executor-VT7TKGE4.js +0 -8
- package/dist/issue-ZH27C23Y.js +0 -12
- package/dist/noydb-O76SKBST.js +0 -35
- package/dist/registry-2PKBQDCH.js +0 -8
- package/dist/registry-4VXFKCBJ.js +0 -8
- package/dist/vault-group-UO4YUZOG.js.map +0 -1
- /package/dist/{chunk-SJ24GHID.js.map → chunk-4TBBMHVC.js.map} +0 -0
- /package/dist/{chunk-HQXOEWLZ.js.map → chunk-56DJ7JVK.js.map} +0 -0
- /package/dist/{chunk-KKB42D3Q.js.map → chunk-5LQG6ZO2.js.map} +0 -0
- /package/dist/{chunk-TDECYU4Y.js.map → chunk-6AJBSQU4.js.map} +0 -0
- /package/dist/{chunk-O2JW656W.js.map → chunk-6RR3MNMG.js.map} +0 -0
- /package/dist/{chunk-7TEI2K2A.js.map → chunk-7HT2MEZ5.js.map} +0 -0
- /package/dist/{chunk-WQKZIQIL.js.map → chunk-7PS7EOCF.js.map} +0 -0
- /package/dist/{chunk-C3WRKABE.js.map → chunk-A5ZOOZFB.js.map} +0 -0
- /package/dist/{chunk-5NISHSBO.js.map → chunk-AAVWKNZW.js.map} +0 -0
- /package/dist/{chunk-SOU42FGB.js.map → chunk-BIYRQQV6.js.map} +0 -0
- /package/dist/{chunk-ILWQGTNH.js.map → chunk-BQ65SS5A.js.map} +0 -0
- /package/dist/{chunk-CWFQTAD4.js.map → chunk-C5T5AFWN.js.map} +0 -0
- /package/dist/{chunk-SYSKC237.js.map → chunk-COFPAMX6.js.map} +0 -0
- /package/dist/{chunk-D5Y3HIC6.js.map → chunk-CZI2A4MQ.js.map} +0 -0
- /package/dist/{chunk-KJF7EPUE.js.map → chunk-DKO2QFSA.js.map} +0 -0
- /package/dist/{chunk-QFYVGJLI.js.map → chunk-DQU36Q7I.js.map} +0 -0
- /package/dist/{chunk-NIUXQDWD.js.map → chunk-EGD5DXFT.js.map} +0 -0
- /package/dist/{chunk-KHQ3N5AB.js.map → chunk-F4OJZIWQ.js.map} +0 -0
- /package/dist/{chunk-3OUCWHV6.js.map → chunk-FWPKCXTN.js.map} +0 -0
- /package/dist/{chunk-QIVFGU2M.js.map → chunk-HOR4R722.js.map} +0 -0
- /package/dist/{chunk-NP6EZT44.js.map → chunk-IQLVUT37.js.map} +0 -0
- /package/dist/{chunk-4VCQH32J.js.map → chunk-JD3OZAI4.js.map} +0 -0
- /package/dist/{chunk-J67BP5EP.js.map → chunk-KI6HAJWL.js.map} +0 -0
- /package/dist/{chunk-AYNF7PVX.js.map → chunk-KIP6JLTF.js.map} +0 -0
- /package/dist/{chunk-PW26DAXS.js.map → chunk-L2FE64BU.js.map} +0 -0
- /package/dist/{chunk-QAWCVWCX.js.map → chunk-LX3CB26H.js.map} +0 -0
- /package/dist/{chunk-VAK6NQAK.js.map → chunk-NSCVNK5K.js.map} +0 -0
- /package/dist/{chunk-3XZRRBFW.js.map → chunk-OHVFWCJP.js.map} +0 -0
- /package/dist/{chunk-TEQGXA7L.js.map → chunk-PE4AQGFH.js.map} +0 -0
- /package/dist/{chunk-UNQEWORI.js.map → chunk-TS26M2SB.js.map} +0 -0
- /package/dist/{chunk-FNVFT4HZ.js.map → chunk-VU7SWWT5.js.map} +0 -0
- /package/dist/{chunk-GZJ5JBED.js.map → chunk-WBAYSNUQ.js.map} +0 -0
- /package/dist/{chunk-HHZ77DHM.js.map → chunk-WGHU7BLI.js.map} +0 -0
- /package/dist/{chunk-GL3Z7LH7.js.map → chunk-X73VS74Y.js.map} +0 -0
- /package/dist/{chunk-WIBHRONM.js.map → chunk-XWH4MXIU.js.map} +0 -0
- /package/dist/{chunk-M6KXHRIA.js.map → chunk-YHPM5D7Y.js.map} +0 -0
- /package/dist/{chunk-E3DIBDKA.js.map → chunk-YULZKK4F.js.map} +0 -0
- /package/dist/{chunk-JWFNOD2T.js.map → chunk-Z4DO7YSI.js.map} +0 -0
- /package/dist/{chunk-JPOQMXGT.js.map → chunk-ZNQYHJXX.js.map} +0 -0
- /package/dist/{crypto-YXH6SAOW.js.map → crypto-QXQOHMHF.js.map} +0 -0
- /package/dist/{delegation-K5ERUH6A.js.map → delegation-NIQ43IPU.js.map} +0 -0
- /package/dist/{executor-AVJ7UEWA.js.map → executor-6ZDSDZ6V.js.map} +0 -0
- /package/dist/{executor-IQO3KGXQ.js.map → executor-HSSRXDOB.js.map} +0 -0
- /package/dist/{executor-VT7TKGE4.js.map → executor-IDZDAFNH.js.map} +0 -0
- /package/dist/{issue-ZH27C23Y.js.map → issue-ADVS4OVP.js.map} +0 -0
- /package/dist/{ledger-64TTQMRS.js.map → ledger-CWSE3BLF.js.map} +0 -0
- /package/dist/{noydb-O76SKBST.js.map → noydb-GZGFBA4E.js.map} +0 -0
- /package/dist/{public-envelope-MHG6YVXW.js.map → public-envelope-SYHEYQ3X.js.map} +0 -0
- /package/dist/{registry-2PKBQDCH.js.map → registry-DK5YWAAA.js.map} +0 -0
- /package/dist/{registry-4VXFKCBJ.js.map → registry-IUZQVVBB.js.map} +0 -0
- /package/dist/{registry-PV4G3OPA.js.map → registry-XGLNADIE.js.map} +0 -0
- /package/dist/{revoke-5BOLVJ3N.js.map → revoke-ZDFKMR5E.js.map} +0 -0
- /package/dist/{signer-GRIYBA22.js.map → signer-P5D7Y72U.js.map} +0 -0
- /package/dist/{stale-LZYMMDDS.js.map → stale-JH67FU57.js.map} +0 -0
- /package/dist/{state-vault-QFJWU23A.js.map → state-vault-TMXZRTY5.js.map} +0 -0
package/dist/tx/index.d.cts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { aH as TxStrategy } from '../types-
|
|
2
|
-
export { aI as AmendmentTxOptions, aJ as TxCollection, aK as TxContext, aL as TxVault, aM as runTransaction } from '../types-
|
|
3
|
-
import '../lazy-builder-
|
|
4
|
-
import '../predicate-
|
|
5
|
-
import '../strategy-
|
|
1
|
+
import { aH as TxStrategy } from '../types-BpPV5uyy.cjs';
|
|
2
|
+
export { aI as AmendmentTxOptions, aJ as TxCollection, aK as TxContext, aL as TxVault, aM as runTransaction } from '../types-BpPV5uyy.cjs';
|
|
3
|
+
import '../lazy-builder-eYZzLEL1.cjs';
|
|
4
|
+
import '../predicate-BmhBSPCH.cjs';
|
|
5
|
+
import '../strategy-CbneC7bS.cjs';
|
|
6
6
|
import '../strategy-BSxFXGzb.cjs';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-D95VK1Qy.cjs';
|
|
8
8
|
import '@noy-db/attestation';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/tx/index.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { aH as TxStrategy } from '../types-
|
|
2
|
-
export { aI as AmendmentTxOptions, aJ as TxCollection, aK as TxContext, aL as TxVault, aM as runTransaction } from '../types-
|
|
3
|
-
import '../lazy-builder-
|
|
4
|
-
import '../predicate-
|
|
5
|
-
import '../strategy-
|
|
1
|
+
import { aH as TxStrategy } from '../types-4t1-tWS4.js';
|
|
2
|
+
export { aI as AmendmentTxOptions, aJ as TxCollection, aK as TxContext, aL as TxVault, aM as runTransaction } from '../types-4t1-tWS4.js';
|
|
3
|
+
import '../lazy-builder-ChSqcF5t.js';
|
|
4
|
+
import '../predicate-BmhBSPCH.js';
|
|
5
|
+
import '../strategy-CbneC7bS.js';
|
|
6
6
|
import '../strategy-BSxFXGzb.js';
|
|
7
|
-
import '../index-
|
|
7
|
+
import '../index-XNB2r6bX.js';
|
|
8
8
|
import '@noy-db/attestation';
|
|
9
9
|
|
|
10
10
|
/**
|
package/dist/tx/index.js
CHANGED
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
TxContext,
|
|
4
4
|
TxVault,
|
|
5
5
|
runTransaction
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-YHPM5D7Y.js";
|
|
7
7
|
import "../chunk-FZU343FL.js";
|
|
8
|
-
import "../chunk-
|
|
8
|
+
import "../chunk-535SSHBS.js";
|
|
9
9
|
|
|
10
10
|
// src/tx/dry-run.ts
|
|
11
11
|
var SEP = " ";
|
|
@@ -43,7 +43,7 @@ async function runDryRun(db, fn) {
|
|
|
43
43
|
const gctx = { existing: before, vault: facade, userId: v.userId, role: v.role };
|
|
44
44
|
try {
|
|
45
45
|
await registry.runChecks(op.collectionName, after, gctx);
|
|
46
|
-
const { GuardExecutor } = await import("../executor-
|
|
46
|
+
const { GuardExecutor } = await import("../executor-IDZDAFNH.js");
|
|
47
47
|
for (const g of guards) {
|
|
48
48
|
await GuardExecutor.checkFrozenFields(g, op.id, before, after);
|
|
49
49
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as IndexStrategy, d as LazyQuery } from './lazy-builder-
|
|
2
|
-
import { a7 as NoydbError, o as LiveAggregation, f as AggregateSpec, e as AggregateResult, A as AggregateStrategy,
|
|
1
|
+
import { I as IndexStrategy, d as LazyQuery } from './lazy-builder-ChSqcF5t.js';
|
|
2
|
+
import { a7 as NoydbError, o as LiveAggregation, f as AggregateSpec, e as AggregateResult, A as AggregateStrategy, av as MoneyDescriptor } from './strategy-CbneC7bS.js';
|
|
3
3
|
import { C as CrdtStrategy, a as CrdtMode, b as CrdtState } from './strategy-BSxFXGzb.js';
|
|
4
|
-
import { L as LiveQuery, Q as Query, j as RefRegistry, R as RefDescriptor, d as JoinableSource, l as RefViolation, S as ScanBuilder } from './index-
|
|
5
|
-
import { I as IndexDef, O as Operator, F as FieldClause, C as CollectionIndexes } from './predicate-
|
|
4
|
+
import { L as LiveQuery, Q as Query, c as JoinStrategy, j as RefRegistry, R as RefDescriptor, d as JoinableSource, l as RefViolation, S as ScanBuilder } from './index-XNB2r6bX.js';
|
|
5
|
+
import { I as IndexDef, O as Operator, F as FieldClause, C as CollectionIndexes } from './predicate-BmhBSPCH.js';
|
|
6
6
|
import { AttestationFieldSchema, RevocationList } from '@noy-db/attestation';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2972,9 +2972,18 @@ interface GatePutEvent {
|
|
|
2972
2972
|
readonly vault: string;
|
|
2973
2973
|
readonly collection: string;
|
|
2974
2974
|
readonly docId: string;
|
|
2975
|
-
/**
|
|
2975
|
+
/**
|
|
2976
|
+
* The record about to be written (pre schema-validation). Money fields
|
|
2977
|
+
* are presented in their canonical decoded form (#332) — equal on both
|
|
2978
|
+
* sides for an unchanged value, regardless of how the caller wrote them.
|
|
2979
|
+
*/
|
|
2976
2980
|
readonly incoming: unknown;
|
|
2977
|
-
/**
|
|
2981
|
+
/**
|
|
2982
|
+
* Decrypted prior record, or null on create / when prior is unreadable.
|
|
2983
|
+
* Money fields are decoded to the canonical decimal `get()` shape, NOT
|
|
2984
|
+
* the stored scaled-int (#332) — `incoming[f] === existing[f]` holds
|
|
2985
|
+
* for an unchanged money field.
|
|
2986
|
+
*/
|
|
2978
2987
|
readonly existing: unknown;
|
|
2979
2988
|
/** Prior envelope version, or 0 when none. */
|
|
2980
2989
|
readonly existingVersion: number;
|
|
@@ -2998,6 +3007,7 @@ interface GateDeleteEvent {
|
|
|
2998
3007
|
readonly docId: string;
|
|
2999
3008
|
/** True for system-internal (housekeeping) deletes — handlers branch on this. */
|
|
3000
3009
|
readonly internal: boolean;
|
|
3010
|
+
/** Decrypted prior record; money fields decoded to the canonical `get()` shape (#332). */
|
|
3001
3011
|
readonly existing: unknown;
|
|
3002
3012
|
readonly existingVersion: number;
|
|
3003
3013
|
readonly existingTs: string | undefined;
|
|
@@ -5272,6 +5282,51 @@ interface FactorProofBundle {
|
|
|
5272
5282
|
/** Active session tier — what the engine compares against `gate.minTier`. */
|
|
5273
5283
|
type ActiveTier = 1 | 2 | 3;
|
|
5274
5284
|
|
|
5285
|
+
/** Public options for `ShardedQuery.crossShardJoin`. */
|
|
5286
|
+
interface CrossShardJoinOptions {
|
|
5287
|
+
/** Alias key under which the joined same-shard record attaches. */
|
|
5288
|
+
readonly as: string;
|
|
5289
|
+
/** Per-shard row ceiling override (default DEFAULT_JOIN_MAX_ROWS). */
|
|
5290
|
+
readonly maxRows?: number;
|
|
5291
|
+
/** Planner strategy override, passed through to intra-vault `.join()`. */
|
|
5292
|
+
readonly strategy?: JoinStrategy;
|
|
5293
|
+
}
|
|
5294
|
+
/**
|
|
5295
|
+
* Minimal structural shape of a broadcast dimension source. A
|
|
5296
|
+
* `Collection` satisfies this natively: `list()` hydrates and returns
|
|
5297
|
+
* the decoded records. Kept as a one-method interface so plain test
|
|
5298
|
+
* sources are trivial to construct.
|
|
5299
|
+
*/
|
|
5300
|
+
interface BroadcastSource {
|
|
5301
|
+
list(): Promise<readonly unknown[]>;
|
|
5302
|
+
}
|
|
5303
|
+
/** Public options for `ShardedQuery.broadcastJoin`. */
|
|
5304
|
+
interface BroadcastJoinOptions {
|
|
5305
|
+
/** Alias key under which the dimension record attaches. */
|
|
5306
|
+
readonly as: string;
|
|
5307
|
+
/** The shared dimension collection (an opened handle in another vault). */
|
|
5308
|
+
readonly from: BroadcastSource;
|
|
5309
|
+
/** Right-side key to match `field` against. Default 'id'. */
|
|
5310
|
+
readonly on?: string;
|
|
5311
|
+
/** Miss behavior. 'warn' (default) attaches null + one-shot warning; 'cascade' is silent. */
|
|
5312
|
+
readonly mode?: 'warn' | 'cascade';
|
|
5313
|
+
}
|
|
5314
|
+
/** Internal co-partitioned leg carried on ShardedQuery. */
|
|
5315
|
+
interface CoPartitionedLeg {
|
|
5316
|
+
readonly field: string;
|
|
5317
|
+
readonly as: string;
|
|
5318
|
+
readonly maxRows: number | undefined;
|
|
5319
|
+
readonly strategy: JoinStrategy | undefined;
|
|
5320
|
+
}
|
|
5321
|
+
/** Internal broadcast leg carried on ShardedQuery. */
|
|
5322
|
+
interface BroadcastLeg {
|
|
5323
|
+
readonly field: string;
|
|
5324
|
+
readonly as: string;
|
|
5325
|
+
readonly from: BroadcastSource;
|
|
5326
|
+
readonly on: string;
|
|
5327
|
+
readonly mode: 'warn' | 'cascade';
|
|
5328
|
+
}
|
|
5329
|
+
|
|
5275
5330
|
/** A source that can fan out records across shards. Satisfied by ShardedQuery. */
|
|
5276
5331
|
interface FanoutRecordSource<R> {
|
|
5277
5332
|
fanoutRecords(options: FanoutQueryOptions): Promise<{
|
|
@@ -5397,17 +5452,25 @@ declare class ShardedQuery<T, R = T> {
|
|
|
5397
5452
|
private readonly group;
|
|
5398
5453
|
private readonly collectionName;
|
|
5399
5454
|
private readonly clauses;
|
|
5400
|
-
|
|
5455
|
+
private readonly coPartitionedLegs;
|
|
5456
|
+
private readonly broadcastLegs;
|
|
5457
|
+
constructor(group: VaultGroup<T>, collectionName: string, clauses: readonly WhereClause[], coPartitionedLegs?: readonly CoPartitionedLeg[], broadcastLegs?: readonly BroadcastLeg[]);
|
|
5401
5458
|
where(field: string, op: WhereClause['op'], value: unknown): ShardedQuery<T, R>;
|
|
5459
|
+
/** Co-partitioned join: each shard joins its own same-vault right collection (resolved via ref()), then union. */
|
|
5460
|
+
crossShardJoin(field: string, opts: CrossShardJoinOptions): ShardedQuery<T, R>;
|
|
5461
|
+
/** Broadcast dimension join: enrich every merged row from a single shared collection. */
|
|
5462
|
+
broadcastJoin(field: string, opts: BroadcastJoinOptions): ShardedQuery<T, R>;
|
|
5402
5463
|
/** @internal — fan out the where-filtered records across eligible shards. */
|
|
5403
5464
|
fanoutRecords(options?: FanoutQueryOptions): Promise<{
|
|
5404
5465
|
records: R[];
|
|
5405
5466
|
skippedVaults: SkippedVault[];
|
|
5406
5467
|
}>;
|
|
5407
|
-
/** Fan out across eligible shards
|
|
5468
|
+
/** Fan out across eligible shards, merge, then apply any broadcast dimension legs. */
|
|
5408
5469
|
toArray(options?: FanoutQueryOptions): Promise<FanoutResult<R>>;
|
|
5409
5470
|
/** @internal — build the change-subscription + relevance binding for this query's group+collection. */
|
|
5410
5471
|
liveBinding(): LiveBinding;
|
|
5472
|
+
/** @internal — joined queries don't support reactive/aggregate surfaces in v1. */
|
|
5473
|
+
private assertNoJoinLegs;
|
|
5411
5474
|
/** Returns a reactive cross-shard live query — a facade over CrossVaultLive. */
|
|
5412
5475
|
live(options?: LiveQueryOptions): CrossVaultLiveQuery<R>;
|
|
5413
5476
|
/** One-shot distributed aggregate — central reduce over all shard records. */
|
|
@@ -7030,7 +7093,12 @@ interface MaterializedViewStrategy<TRow extends Record<string, unknown>> {
|
|
|
7030
7093
|
*
|
|
7031
7094
|
* Mutually exclusive with {@link query}. Registration throws
|
|
7032
7095
|
* `MaterializedViewConfigError` if both are set, if `unionSources`
|
|
7033
|
-
*
|
|
7096
|
+
* is empty, or if two arms name the same `collection`.
|
|
7097
|
+
*
|
|
7098
|
+
* A SINGLE arm is valid (#331): it expresses map→group→aggregate
|
|
7099
|
+
* over one collection with a COMPUTED bucket key (e.g. a month
|
|
7100
|
+
* sliced from a date field). The query form's `.groupBy()` accepts
|
|
7101
|
+
* stored field names only, so a derived key needs the arm's `map`.
|
|
7034
7102
|
*
|
|
7035
7103
|
* UNION mode replaces the dependency-analyzer path: the source
|
|
7036
7104
|
* collections come directly from `unionSources[].collection`, and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { I as IndexStrategy, d as LazyQuery } from './lazy-builder-
|
|
2
|
-
import { a7 as NoydbError, o as LiveAggregation, f as AggregateSpec, e as AggregateResult, A as AggregateStrategy,
|
|
1
|
+
import { I as IndexStrategy, d as LazyQuery } from './lazy-builder-eYZzLEL1.cjs';
|
|
2
|
+
import { a7 as NoydbError, o as LiveAggregation, f as AggregateSpec, e as AggregateResult, A as AggregateStrategy, av as MoneyDescriptor } from './strategy-CbneC7bS.cjs';
|
|
3
3
|
import { C as CrdtStrategy, a as CrdtMode, b as CrdtState } from './strategy-BSxFXGzb.cjs';
|
|
4
|
-
import { L as LiveQuery, Q as Query, j as RefRegistry, R as RefDescriptor, d as JoinableSource, l as RefViolation, S as ScanBuilder } from './index-
|
|
5
|
-
import { I as IndexDef, O as Operator, F as FieldClause, C as CollectionIndexes } from './predicate-
|
|
4
|
+
import { L as LiveQuery, Q as Query, c as JoinStrategy, j as RefRegistry, R as RefDescriptor, d as JoinableSource, l as RefViolation, S as ScanBuilder } from './index-D95VK1Qy.cjs';
|
|
5
|
+
import { I as IndexDef, O as Operator, F as FieldClause, C as CollectionIndexes } from './predicate-BmhBSPCH.cjs';
|
|
6
6
|
import { AttestationFieldSchema, RevocationList } from '@noy-db/attestation';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -2972,9 +2972,18 @@ interface GatePutEvent {
|
|
|
2972
2972
|
readonly vault: string;
|
|
2973
2973
|
readonly collection: string;
|
|
2974
2974
|
readonly docId: string;
|
|
2975
|
-
/**
|
|
2975
|
+
/**
|
|
2976
|
+
* The record about to be written (pre schema-validation). Money fields
|
|
2977
|
+
* are presented in their canonical decoded form (#332) — equal on both
|
|
2978
|
+
* sides for an unchanged value, regardless of how the caller wrote them.
|
|
2979
|
+
*/
|
|
2976
2980
|
readonly incoming: unknown;
|
|
2977
|
-
/**
|
|
2981
|
+
/**
|
|
2982
|
+
* Decrypted prior record, or null on create / when prior is unreadable.
|
|
2983
|
+
* Money fields are decoded to the canonical decimal `get()` shape, NOT
|
|
2984
|
+
* the stored scaled-int (#332) — `incoming[f] === existing[f]` holds
|
|
2985
|
+
* for an unchanged money field.
|
|
2986
|
+
*/
|
|
2978
2987
|
readonly existing: unknown;
|
|
2979
2988
|
/** Prior envelope version, or 0 when none. */
|
|
2980
2989
|
readonly existingVersion: number;
|
|
@@ -2998,6 +3007,7 @@ interface GateDeleteEvent {
|
|
|
2998
3007
|
readonly docId: string;
|
|
2999
3008
|
/** True for system-internal (housekeeping) deletes — handlers branch on this. */
|
|
3000
3009
|
readonly internal: boolean;
|
|
3010
|
+
/** Decrypted prior record; money fields decoded to the canonical `get()` shape (#332). */
|
|
3001
3011
|
readonly existing: unknown;
|
|
3002
3012
|
readonly existingVersion: number;
|
|
3003
3013
|
readonly existingTs: string | undefined;
|
|
@@ -5272,6 +5282,51 @@ interface FactorProofBundle {
|
|
|
5272
5282
|
/** Active session tier — what the engine compares against `gate.minTier`. */
|
|
5273
5283
|
type ActiveTier = 1 | 2 | 3;
|
|
5274
5284
|
|
|
5285
|
+
/** Public options for `ShardedQuery.crossShardJoin`. */
|
|
5286
|
+
interface CrossShardJoinOptions {
|
|
5287
|
+
/** Alias key under which the joined same-shard record attaches. */
|
|
5288
|
+
readonly as: string;
|
|
5289
|
+
/** Per-shard row ceiling override (default DEFAULT_JOIN_MAX_ROWS). */
|
|
5290
|
+
readonly maxRows?: number;
|
|
5291
|
+
/** Planner strategy override, passed through to intra-vault `.join()`. */
|
|
5292
|
+
readonly strategy?: JoinStrategy;
|
|
5293
|
+
}
|
|
5294
|
+
/**
|
|
5295
|
+
* Minimal structural shape of a broadcast dimension source. A
|
|
5296
|
+
* `Collection` satisfies this natively: `list()` hydrates and returns
|
|
5297
|
+
* the decoded records. Kept as a one-method interface so plain test
|
|
5298
|
+
* sources are trivial to construct.
|
|
5299
|
+
*/
|
|
5300
|
+
interface BroadcastSource {
|
|
5301
|
+
list(): Promise<readonly unknown[]>;
|
|
5302
|
+
}
|
|
5303
|
+
/** Public options for `ShardedQuery.broadcastJoin`. */
|
|
5304
|
+
interface BroadcastJoinOptions {
|
|
5305
|
+
/** Alias key under which the dimension record attaches. */
|
|
5306
|
+
readonly as: string;
|
|
5307
|
+
/** The shared dimension collection (an opened handle in another vault). */
|
|
5308
|
+
readonly from: BroadcastSource;
|
|
5309
|
+
/** Right-side key to match `field` against. Default 'id'. */
|
|
5310
|
+
readonly on?: string;
|
|
5311
|
+
/** Miss behavior. 'warn' (default) attaches null + one-shot warning; 'cascade' is silent. */
|
|
5312
|
+
readonly mode?: 'warn' | 'cascade';
|
|
5313
|
+
}
|
|
5314
|
+
/** Internal co-partitioned leg carried on ShardedQuery. */
|
|
5315
|
+
interface CoPartitionedLeg {
|
|
5316
|
+
readonly field: string;
|
|
5317
|
+
readonly as: string;
|
|
5318
|
+
readonly maxRows: number | undefined;
|
|
5319
|
+
readonly strategy: JoinStrategy | undefined;
|
|
5320
|
+
}
|
|
5321
|
+
/** Internal broadcast leg carried on ShardedQuery. */
|
|
5322
|
+
interface BroadcastLeg {
|
|
5323
|
+
readonly field: string;
|
|
5324
|
+
readonly as: string;
|
|
5325
|
+
readonly from: BroadcastSource;
|
|
5326
|
+
readonly on: string;
|
|
5327
|
+
readonly mode: 'warn' | 'cascade';
|
|
5328
|
+
}
|
|
5329
|
+
|
|
5275
5330
|
/** A source that can fan out records across shards. Satisfied by ShardedQuery. */
|
|
5276
5331
|
interface FanoutRecordSource<R> {
|
|
5277
5332
|
fanoutRecords(options: FanoutQueryOptions): Promise<{
|
|
@@ -5397,17 +5452,25 @@ declare class ShardedQuery<T, R = T> {
|
|
|
5397
5452
|
private readonly group;
|
|
5398
5453
|
private readonly collectionName;
|
|
5399
5454
|
private readonly clauses;
|
|
5400
|
-
|
|
5455
|
+
private readonly coPartitionedLegs;
|
|
5456
|
+
private readonly broadcastLegs;
|
|
5457
|
+
constructor(group: VaultGroup<T>, collectionName: string, clauses: readonly WhereClause[], coPartitionedLegs?: readonly CoPartitionedLeg[], broadcastLegs?: readonly BroadcastLeg[]);
|
|
5401
5458
|
where(field: string, op: WhereClause['op'], value: unknown): ShardedQuery<T, R>;
|
|
5459
|
+
/** Co-partitioned join: each shard joins its own same-vault right collection (resolved via ref()), then union. */
|
|
5460
|
+
crossShardJoin(field: string, opts: CrossShardJoinOptions): ShardedQuery<T, R>;
|
|
5461
|
+
/** Broadcast dimension join: enrich every merged row from a single shared collection. */
|
|
5462
|
+
broadcastJoin(field: string, opts: BroadcastJoinOptions): ShardedQuery<T, R>;
|
|
5402
5463
|
/** @internal — fan out the where-filtered records across eligible shards. */
|
|
5403
5464
|
fanoutRecords(options?: FanoutQueryOptions): Promise<{
|
|
5404
5465
|
records: R[];
|
|
5405
5466
|
skippedVaults: SkippedVault[];
|
|
5406
5467
|
}>;
|
|
5407
|
-
/** Fan out across eligible shards
|
|
5468
|
+
/** Fan out across eligible shards, merge, then apply any broadcast dimension legs. */
|
|
5408
5469
|
toArray(options?: FanoutQueryOptions): Promise<FanoutResult<R>>;
|
|
5409
5470
|
/** @internal — build the change-subscription + relevance binding for this query's group+collection. */
|
|
5410
5471
|
liveBinding(): LiveBinding;
|
|
5472
|
+
/** @internal — joined queries don't support reactive/aggregate surfaces in v1. */
|
|
5473
|
+
private assertNoJoinLegs;
|
|
5411
5474
|
/** Returns a reactive cross-shard live query — a facade over CrossVaultLive. */
|
|
5412
5475
|
live(options?: LiveQueryOptions): CrossVaultLiveQuery<R>;
|
|
5413
5476
|
/** One-shot distributed aggregate — central reduce over all shard records. */
|
|
@@ -7030,7 +7093,12 @@ interface MaterializedViewStrategy<TRow extends Record<string, unknown>> {
|
|
|
7030
7093
|
*
|
|
7031
7094
|
* Mutually exclusive with {@link query}. Registration throws
|
|
7032
7095
|
* `MaterializedViewConfigError` if both are set, if `unionSources`
|
|
7033
|
-
*
|
|
7096
|
+
* is empty, or if two arms name the same `collection`.
|
|
7097
|
+
*
|
|
7098
|
+
* A SINGLE arm is valid (#331): it expresses map→group→aggregate
|
|
7099
|
+
* over one collection with a COMPUTED bucket key (e.g. a month
|
|
7100
|
+
* sliced from a date field). The query form's `.groupBy()` accepts
|
|
7101
|
+
* stored field names only, so a derived key needs the arm's `map`.
|
|
7034
7102
|
*
|
|
7035
7103
|
* UNION mode replaces the dependency-analyzer path: the source
|
|
7036
7104
|
* collections come directly from `unionSources[].collection`, and
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { br as PublicEnvelope, bs as SealingKeyProvider, bt as BundleRecipient, bu as RecipientSealer, bv as RecipientHint, bw as Vault } from './types-
|
|
1
|
+
import { br as PublicEnvelope, bs as SealingKeyProvider, bt as BundleRecipient, bu as RecipientSealer, bv as RecipientHint, bw as Vault } from './types-BpPV5uyy.cjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* `.noydb` container format — byte layout, header schema, validators.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { br as PublicEnvelope, bs as SealingKeyProvider, bt as BundleRecipient, bu as RecipientSealer, bv as RecipientHint, bw as Vault } from './types-
|
|
1
|
+
import { br as PublicEnvelope, bs as SealingKeyProvider, bt as BundleRecipient, bu as RecipientSealer, bv as RecipientHint, bw as Vault } from './types-4t1-tWS4.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* `.noydb` container format — byte layout, header schema, validators.
|