@noy-db/hub 0.3.0-pre.4 → 0.3.0-pre.6
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/adapter/index.d.ts +1 -1
- package/dist/adapter/index.js +1 -1
- package/dist/aggregate/index.d.ts +2 -2
- package/dist/aggregate/index.js +4 -4
- package/dist/api-OQ65LUSK.js +20 -0
- package/dist/as/index.d.ts +3 -3
- package/dist/as/index.js +9 -9
- package/dist/at/index.d.ts +1 -1
- package/dist/attestation/index.d.ts +2 -2
- package/dist/attestation/index.js +16 -16
- package/dist/{backup-MOB27UUN.js → backup-Y3RMFGVX.js} +9 -9
- package/dist/blobs/index.d.ts +3 -3
- package/dist/blobs/index.js +8 -8
- package/dist/bundle/index.d.ts +4 -4
- package/dist/bundle/index.js +17 -17
- package/dist/{bundle-Bs13EZtX.d.ts → bundle-BPOSpGZG.d.ts} +1 -1
- package/dist/by/index.js +2 -2
- package/dist/cargo/index.d.ts +3 -3
- package/dist/cargo/index.js +19 -19
- package/dist/{chunk-BMQOH7MM.js → chunk-26FSVNBL.js} +2 -2
- package/dist/{chunk-HLUKZ36Q.js → chunk-3IMGBWP7.js} +5 -5
- package/dist/{chunk-LPRPVCNY.js → chunk-3UUXDQPM.js} +2 -2
- package/dist/{chunk-AF5ZRTZ4.js → chunk-47C4CI7R.js} +2 -2
- package/dist/{chunk-P27Z66EB.js → chunk-4I4UNXHM.js} +4 -4
- package/dist/{chunk-ULIHDPKL.js → chunk-55LSDABW.js} +2 -2
- package/dist/{chunk-P5WXDYMD.js → chunk-5GQE5IDB.js} +4 -4
- package/dist/{chunk-TLJOJBZD.js → chunk-5HZULLHE.js} +2 -2
- package/dist/chunk-5JQMX2EH.js +50 -0
- package/dist/chunk-5JQMX2EH.js.map +1 -0
- package/dist/{chunk-PGFY7IRW.js → chunk-5UOPIPZC.js} +3 -3
- package/dist/{chunk-6HNKCKFZ.js → chunk-65FW3ALF.js} +4 -4
- package/dist/{chunk-ZKF6HH7V.js → chunk-6P5AJ2ZS.js} +2 -2
- package/dist/{chunk-QNTEDPWP.js → chunk-6PALJTC2.js} +3 -3
- package/dist/{chunk-GBTUANXF.js → chunk-6Z435B6N.js} +5 -5
- package/dist/{chunk-Z3FZC5GV.js → chunk-73C4RPMX.js} +3 -3
- package/dist/{chunk-VMJ5URU7.js → chunk-7A7LTSJR.js} +5 -5
- package/dist/{chunk-OVO2RZAE.js → chunk-7AGLCOYE.js} +10 -10
- package/dist/{chunk-XYYW64LB.js → chunk-7CZ6YXMO.js} +2 -2
- package/dist/{chunk-RDHAGBEB.js → chunk-7KTL4RHZ.js} +3 -3
- package/dist/{chunk-4K3MQ5S3.js → chunk-BASCPHNM.js} +2 -2
- package/dist/{chunk-CPXPHQGX.js → chunk-BYS45GOJ.js} +17 -12
- package/dist/chunk-BYS45GOJ.js.map +1 -0
- package/dist/{chunk-P2LDXRGP.js → chunk-C2ZKWL37.js} +2 -2
- package/dist/{chunk-BKGIWGCX.js → chunk-C4NOLA5X.js} +2 -2
- package/dist/{chunk-EWR7HL3K.js → chunk-C57J6AWN.js} +30 -5
- package/dist/{chunk-EWR7HL3K.js.map → chunk-C57J6AWN.js.map} +1 -1
- package/dist/{chunk-TB5RNNJ4.js → chunk-C6A2DPRE.js} +4 -4
- package/dist/{chunk-SW56GSYC.js → chunk-CHK5VVMI.js} +2 -2
- package/dist/{chunk-GOUNIHFA.js → chunk-CYWF3JJE.js} +10 -10
- package/dist/{chunk-ZPHDGUZZ.js → chunk-D6ADQ4QL.js} +581 -82
- package/dist/chunk-D6ADQ4QL.js.map +1 -0
- package/dist/{chunk-H7RYPVMJ.js → chunk-DBBP35OP.js} +2 -2
- package/dist/{chunk-A5DYVMDR.js → chunk-E7MAS736.js} +3 -3
- package/dist/{chunk-3Y4QLJ6K.js → chunk-EU7HDMT3.js} +2 -2
- package/dist/{chunk-T65UZXR6.js → chunk-FCOZ7DEC.js} +3 -3
- package/dist/{chunk-HBKDR7R3.js → chunk-GEK6UGOJ.js} +2 -2
- package/dist/{chunk-7J7JRYXW.js → chunk-GGFT2XFF.js} +4 -4
- package/dist/chunk-GYGLAVCX.js +19 -0
- package/dist/chunk-GYGLAVCX.js.map +1 -0
- package/dist/{chunk-HY6ZGGEC.js → chunk-HJZ3CTZ2.js} +2 -2
- package/dist/{chunk-GXGK22QU.js → chunk-HU55NPHZ.js} +2 -2
- package/dist/{chunk-U24XHXNK.js → chunk-I6JJ6VJS.js} +2 -2
- package/dist/{chunk-3QRQOBS7.js → chunk-I7GTYPWF.js} +2 -2
- package/dist/{chunk-N5YVZHCB.js → chunk-II6DLDZM.js} +2 -2
- package/dist/{chunk-XJR3COJO.js → chunk-IVIGZTFH.js} +4 -4
- package/dist/{chunk-Z7KI4WHR.js → chunk-LFGJG4XZ.js} +2 -2
- package/dist/{chunk-ZKYMKF2S.js → chunk-ML5UP7YN.js} +5 -5
- package/dist/{chunk-ZROMNP7Q.js → chunk-MOQ5M46U.js} +2 -2
- package/dist/{chunk-GQOT6QJR.js → chunk-MT4YWJRW.js} +5 -5
- package/dist/{chunk-P3V7JTB6.js → chunk-NL4HVTNO.js} +3 -3
- package/dist/{chunk-GZZL5R73.js → chunk-OCVO2V63.js} +4 -4
- package/dist/{chunk-U23JUUPX.js → chunk-OJ64XMPJ.js} +10 -2
- package/dist/{chunk-U23JUUPX.js.map → chunk-OJ64XMPJ.js.map} +1 -1
- package/dist/{chunk-VFRNWE5P.js → chunk-OLVIGEHQ.js} +6 -6
- package/dist/{chunk-HMXLN43G.js → chunk-OWGAXPRE.js} +2 -2
- package/dist/{chunk-T2EGAXPM.js → chunk-PAJCRV7O.js} +2 -2
- package/dist/{chunk-5MRE3C4Q.js → chunk-PLQCXH75.js} +2 -2
- package/dist/{chunk-RTS23VIJ.js → chunk-PYIUDUGS.js} +2 -2
- package/dist/{chunk-5CY35H55.js → chunk-QQQE6QUO.js} +8 -8
- package/dist/{chunk-TYGW5TOR.js → chunk-RIZQZKU6.js} +4 -4
- package/dist/{chunk-VPCMJ5Z4.js → chunk-RLP65PI3.js} +5 -5
- package/dist/{chunk-6RXPSMKR.js → chunk-RNYDHIQL.js} +3 -3
- package/dist/{chunk-5W7AOFWA.js → chunk-RXUFMTD5.js} +2 -2
- package/dist/chunk-S2IDC6MO.js +167 -0
- package/dist/chunk-S2IDC6MO.js.map +1 -0
- package/dist/{chunk-Z5PIUYNB.js → chunk-S55MJQUQ.js} +5 -5
- package/dist/{chunk-O2DB4C3M.js → chunk-SXLMLECV.js} +3 -3
- package/dist/{chunk-OPTFANOX.js → chunk-TSAT3E7Y.js} +3 -3
- package/dist/{chunk-M66NAZA4.js → chunk-TWJVOYU2.js} +3 -3
- package/dist/{chunk-43ISXURO.js → chunk-U7LV2DUN.js} +2 -2
- package/dist/{chunk-FH52CDEW.js → chunk-UB3XHGFG.js} +5 -5
- package/dist/{chunk-TCIUO62Z.js → chunk-UWZ7O4NR.js} +2 -2
- package/dist/{chunk-K5P46KB3.js → chunk-UZZFV3O3.js} +7 -7
- package/dist/{chunk-P3NGV5RV.js → chunk-V76PHWLE.js} +2 -2
- package/dist/{chunk-UOEWDCUX.js → chunk-VFQOE76I.js} +2 -2
- package/dist/{chunk-VRPBEOWU.js → chunk-VIWOGJ2O.js} +2 -2
- package/dist/{chunk-5EWYUR5P.js → chunk-VK6OC22R.js} +2 -2
- package/dist/{chunk-VAWY44JW.js → chunk-WAL4MRBK.js} +25 -10
- package/dist/chunk-WAL4MRBK.js.map +1 -0
- package/dist/{chunk-H5XRIJX3.js → chunk-WAW4VFS7.js} +4 -4
- package/dist/{chunk-SEQ2JI3Y.js → chunk-WQAT24C2.js} +6 -6
- package/dist/{chunk-NB47TXGP.js → chunk-XDWNF4BS.js} +8 -8
- package/dist/{chunk-G7RDYYTE.js → chunk-XW5LZYV4.js} +2 -2
- package/dist/{chunk-LIP6JWYK.js → chunk-YTCCC6NG.js} +3 -3
- package/dist/{chunk-OFBFAVLI.js → chunk-YXGIPYH4.js} +52 -6
- package/dist/chunk-YXGIPYH4.js.map +1 -0
- package/dist/{chunk-TVRQ3RYH.js → chunk-ZHK3F5RB.js} +6 -7
- package/dist/chunk-ZHK3F5RB.js.map +1 -0
- package/dist/{chunk-G4MGYGSS.js → chunk-ZRJBLWKQ.js} +5 -5
- package/dist/classified/index.d.ts +3 -3
- package/dist/classified/index.js +3 -3
- package/dist/{collection-facade-MKEBZDWW.js → collection-facade-5V3JS7SD.js} +13 -13
- package/dist/{computed-BMMEFRFJ.js → computed-6FOFXQPE.js} +3 -3
- package/dist/{config-drift-KGM7ZRW4.js → config-drift-SWZNEH5H.js} +3 -3
- package/dist/consent/index.d.ts +2 -2
- package/dist/consent/index.js +7 -7
- package/dist/crdt/index.d.ts +2 -2
- package/dist/dead-filter-MGWMNRO2.js +28 -0
- package/dist/dead-filter-MGWMNRO2.js.map +1 -0
- package/dist/{delegation-BQNIEHZE.js → delegation-AUY42TGU.js} +9 -9
- package/dist/derivations/index.d.ts +3 -3
- package/dist/derivations/index.js +9 -9
- package/dist/derive-FWSEWWI7.js +21 -0
- package/dist/{dev-unlock-Cqd5Xv5J.d.ts → dev-unlock-DxecHstJ.d.ts} +1 -1
- package/dist/{enclave-YN6223OG.js → enclave-UYZGSE2C.js} +8 -8
- package/dist/executor-EUPYHCLU.js +9 -0
- package/dist/executor-KZ4B3PRT.js +9 -0
- package/dist/executor-XWPD5PIM.js +21 -0
- package/dist/export-accessible-M54OI6FO.js +23 -0
- package/dist/{extract-partition-RNVSFHAB.js → extract-partition-MIHAL6PP.js} +13 -13
- package/dist/{fanout-sidecar-WS22Q5WH.js → fanout-sidecar-SSEW7BQB.js} +7 -7
- package/dist/find-OH4BEULF.js +11 -0
- package/dist/forget/index.js +7 -7
- package/dist/guards/index.d.ts +3 -3
- package/dist/guards/index.js +6 -6
- package/dist/{hash-D8Q5MJLA.d.ts → hash-umqwdLhO.d.ts} +1 -1
- package/dist/history/index.d.ts +3 -3
- package/dist/history/index.js +9 -9
- package/dist/i18n/index.d.ts +2 -2
- package/dist/i18n/index.js +11 -11
- package/dist/in/index.d.ts +1 -1
- package/dist/{index-D4GQe1Rx.d.ts → index-B-LKCpm6.d.ts} +103 -4
- package/dist/{index-DRxk8q_7.d.ts → index-zdEVWlkZ.d.ts} +2 -2
- package/dist/index.d.ts +21 -14
- package/dist/index.js +115 -113
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.d.ts +2 -2
- package/dist/indexing/index.js +4 -4
- package/dist/issue-PHWTGH2G.js +19 -0
- package/dist/kernel/index.d.ts +2 -2
- package/dist/kernel/index.js +10 -10
- package/dist/lazy/index.d.ts +2 -2
- package/dist/{ledger-KZWBKAG5.js → ledger-IWWY7IIC.js} +9 -9
- package/dist/liberate-QDTNV7SM.js +24 -0
- package/dist/{link-set-UQEIYQAM.js → link-set-HJOC7GB7.js} +9 -9
- package/dist/materialized-views/index.d.ts +3 -3
- package/dist/materialized-views/index.js +13 -13
- package/dist/{mime-magic-DmwT7OzZ.d.ts → mime-magic-C_O9KsAk.d.ts} +1 -1
- package/dist/noydb-Y5L74IDJ.js +62 -0
- package/dist/on/index.d.ts +1 -1
- package/dist/on/index.js +7 -7
- package/dist/overlay-views/index.d.ts +3 -3
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.d.ts +2 -2
- package/dist/periods/index.js +10 -10
- package/dist/pod/index.d.ts +2 -2
- package/dist/pod/index.js +9 -9
- package/dist/{policy-YIKUH4AD.js → policy-3ZKSGSRK.js} +3 -3
- package/dist/portability/index.d.ts +2 -2
- package/dist/portability/index.js +8 -8
- package/dist/post-register-BIXGCZ2M.js +55 -0
- package/dist/post-register-BIXGCZ2M.js.map +1 -0
- package/dist/{public-envelope-MRN5YYZZ.js → public-envelope-6UBQ4IUY.js} +3 -3
- package/dist/query/index.d.ts +1 -1
- package/dist/query/index.js +6 -6
- package/dist/register-OVONZ2MJ.js +23 -0
- package/dist/registry-AIEYUOSG.js +19 -0
- package/dist/registry-D5J7SVJ2.js +17 -0
- package/dist/registry-HSNQ4NBP.js +9 -0
- package/dist/{request-withdrawal-EHALV66Y.js → request-withdrawal-IHF64VIT.js} +12 -12
- package/dist/{reveal-TBLTFWQ2.js → reveal-B77Q2BJW.js} +5 -5
- package/dist/{revoke-MHAUAESM.js → revoke-BPPOUZPE.js} +9 -9
- package/dist/satellites/index.d.ts +5 -0
- package/dist/satellites/index.js +8 -0
- package/dist/sealed-record/index.d.ts +2 -2
- package/dist/sealed-record/index.js +10 -10
- package/dist/session/index.d.ts +3 -3
- package/dist/session/index.js +7 -7
- package/dist/shadow/index.d.ts +2 -2
- package/dist/shadow/index.js +2 -2
- package/dist/{signer-PQ74YXRY.js → signer-MNQEL27B.js} +8 -8
- package/dist/snapshots/index.d.ts +2 -2
- package/dist/snapshots/index.js +8 -8
- package/dist/{stale-7Q62KVI3.js → stale-COBBJORL.js} +2 -2
- package/dist/storage-DVKYH7UU.js +23 -0
- package/dist/storage-DVKYH7UU.js.map +1 -0
- package/dist/sync/index.d.ts +1 -1
- package/dist/sync/index.js +7 -7
- package/dist/team/index.d.ts +29 -4
- package/dist/team/index.js +14 -14
- package/dist/tiers/index.d.ts +1 -1
- package/dist/tiers/index.js +8 -8
- package/dist/to/index.d.ts +1 -1
- package/dist/to/index.js +1 -1
- package/dist/{transition-guard-C4hvR-Ac.d.ts → transition-guard-CzqWwVGP.d.ts} +1 -1
- package/dist/tx/index.d.ts +2 -2
- package/dist/tx/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/{validators-Ctgkj5qd.d.ts → validators-Bdiv0ucK.d.ts} +1 -1
- package/dist/{vault-diff-B1Ir6EGs.d.ts → vault-diff-BbZngJUP.d.ts} +1 -1
- package/dist/{verify-YB5LQHNA.js → verify-CAYGXYNO.js} +5 -5
- package/dist/{walk-5C3GPKT2.js → walk-CVNXFUEF.js} +9 -9
- package/dist/with/index.d.ts +2 -2
- package/dist/with/index.js +9 -9
- package/dist/{with-materialized-view-Bp65kKdQ.d.ts → with-materialized-view-BmKXygt2.d.ts} +1 -1
- package/dist/{with-overlayed-view-BRhdQNrK.d.ts → with-overlayed-view-Bnwe7E75.d.ts} +1 -1
- package/dist/{with-rollup-bQRPc3y1.d.ts → with-rollup-JXTxc9cu.d.ts} +1 -1
- package/dist/{withdraw-accessible-JMX2TCPX.js → withdraw-accessible-5ALN3ZGM.js} +11 -11
- package/dist/withdraw-accessible-5ALN3ZGM.js.map +1 -0
- package/package.json +7 -3
- package/dist/api-JOXUNSKP.js +0 -20
- package/dist/chunk-CPXPHQGX.js.map +0 -1
- package/dist/chunk-KYY7L72M.js +0 -106
- package/dist/chunk-KYY7L72M.js.map +0 -1
- package/dist/chunk-OFBFAVLI.js.map +0 -1
- package/dist/chunk-TVRQ3RYH.js.map +0 -1
- package/dist/chunk-VAWY44JW.js.map +0 -1
- package/dist/chunk-ZPHDGUZZ.js.map +0 -1
- package/dist/executor-CBTNU5VZ.js +0 -9
- package/dist/executor-DJHNSTIR.js +0 -9
- package/dist/executor-FGISLQIN.js +0 -21
- package/dist/export-accessible-P7SLRLK3.js +0 -23
- package/dist/find-RNBG7LBY.js +0 -11
- package/dist/issue-W5QG53B5.js +0 -19
- package/dist/liberate-GMGCHIND.js +0 -24
- package/dist/noydb-KS2O2MRI.js +0 -60
- package/dist/register-K6DDSIXN.js +0 -21
- package/dist/registry-IMNMHWTM.js +0 -17
- package/dist/registry-K6VUQXKV.js +0 -19
- package/dist/registry-ZVO3T4M5.js +0 -9
- package/dist/storage-5E6YB2JY.js +0 -21
- /package/dist/{api-JOXUNSKP.js.map → api-OQ65LUSK.js.map} +0 -0
- /package/dist/{backup-MOB27UUN.js.map → backup-Y3RMFGVX.js.map} +0 -0
- /package/dist/{chunk-BMQOH7MM.js.map → chunk-26FSVNBL.js.map} +0 -0
- /package/dist/{chunk-HLUKZ36Q.js.map → chunk-3IMGBWP7.js.map} +0 -0
- /package/dist/{chunk-LPRPVCNY.js.map → chunk-3UUXDQPM.js.map} +0 -0
- /package/dist/{chunk-AF5ZRTZ4.js.map → chunk-47C4CI7R.js.map} +0 -0
- /package/dist/{chunk-P27Z66EB.js.map → chunk-4I4UNXHM.js.map} +0 -0
- /package/dist/{chunk-ULIHDPKL.js.map → chunk-55LSDABW.js.map} +0 -0
- /package/dist/{chunk-P5WXDYMD.js.map → chunk-5GQE5IDB.js.map} +0 -0
- /package/dist/{chunk-TLJOJBZD.js.map → chunk-5HZULLHE.js.map} +0 -0
- /package/dist/{chunk-PGFY7IRW.js.map → chunk-5UOPIPZC.js.map} +0 -0
- /package/dist/{chunk-6HNKCKFZ.js.map → chunk-65FW3ALF.js.map} +0 -0
- /package/dist/{chunk-ZKF6HH7V.js.map → chunk-6P5AJ2ZS.js.map} +0 -0
- /package/dist/{chunk-QNTEDPWP.js.map → chunk-6PALJTC2.js.map} +0 -0
- /package/dist/{chunk-GBTUANXF.js.map → chunk-6Z435B6N.js.map} +0 -0
- /package/dist/{chunk-Z3FZC5GV.js.map → chunk-73C4RPMX.js.map} +0 -0
- /package/dist/{chunk-VMJ5URU7.js.map → chunk-7A7LTSJR.js.map} +0 -0
- /package/dist/{chunk-OVO2RZAE.js.map → chunk-7AGLCOYE.js.map} +0 -0
- /package/dist/{chunk-XYYW64LB.js.map → chunk-7CZ6YXMO.js.map} +0 -0
- /package/dist/{chunk-RDHAGBEB.js.map → chunk-7KTL4RHZ.js.map} +0 -0
- /package/dist/{chunk-4K3MQ5S3.js.map → chunk-BASCPHNM.js.map} +0 -0
- /package/dist/{chunk-P2LDXRGP.js.map → chunk-C2ZKWL37.js.map} +0 -0
- /package/dist/{chunk-BKGIWGCX.js.map → chunk-C4NOLA5X.js.map} +0 -0
- /package/dist/{chunk-TB5RNNJ4.js.map → chunk-C6A2DPRE.js.map} +0 -0
- /package/dist/{chunk-SW56GSYC.js.map → chunk-CHK5VVMI.js.map} +0 -0
- /package/dist/{chunk-GOUNIHFA.js.map → chunk-CYWF3JJE.js.map} +0 -0
- /package/dist/{chunk-H7RYPVMJ.js.map → chunk-DBBP35OP.js.map} +0 -0
- /package/dist/{chunk-A5DYVMDR.js.map → chunk-E7MAS736.js.map} +0 -0
- /package/dist/{chunk-3Y4QLJ6K.js.map → chunk-EU7HDMT3.js.map} +0 -0
- /package/dist/{chunk-T65UZXR6.js.map → chunk-FCOZ7DEC.js.map} +0 -0
- /package/dist/{chunk-HBKDR7R3.js.map → chunk-GEK6UGOJ.js.map} +0 -0
- /package/dist/{chunk-7J7JRYXW.js.map → chunk-GGFT2XFF.js.map} +0 -0
- /package/dist/{chunk-HY6ZGGEC.js.map → chunk-HJZ3CTZ2.js.map} +0 -0
- /package/dist/{chunk-GXGK22QU.js.map → chunk-HU55NPHZ.js.map} +0 -0
- /package/dist/{chunk-U24XHXNK.js.map → chunk-I6JJ6VJS.js.map} +0 -0
- /package/dist/{chunk-3QRQOBS7.js.map → chunk-I7GTYPWF.js.map} +0 -0
- /package/dist/{chunk-N5YVZHCB.js.map → chunk-II6DLDZM.js.map} +0 -0
- /package/dist/{chunk-XJR3COJO.js.map → chunk-IVIGZTFH.js.map} +0 -0
- /package/dist/{chunk-Z7KI4WHR.js.map → chunk-LFGJG4XZ.js.map} +0 -0
- /package/dist/{chunk-ZKYMKF2S.js.map → chunk-ML5UP7YN.js.map} +0 -0
- /package/dist/{chunk-ZROMNP7Q.js.map → chunk-MOQ5M46U.js.map} +0 -0
- /package/dist/{chunk-GQOT6QJR.js.map → chunk-MT4YWJRW.js.map} +0 -0
- /package/dist/{chunk-P3V7JTB6.js.map → chunk-NL4HVTNO.js.map} +0 -0
- /package/dist/{chunk-GZZL5R73.js.map → chunk-OCVO2V63.js.map} +0 -0
- /package/dist/{chunk-VFRNWE5P.js.map → chunk-OLVIGEHQ.js.map} +0 -0
- /package/dist/{chunk-HMXLN43G.js.map → chunk-OWGAXPRE.js.map} +0 -0
- /package/dist/{chunk-T2EGAXPM.js.map → chunk-PAJCRV7O.js.map} +0 -0
- /package/dist/{chunk-5MRE3C4Q.js.map → chunk-PLQCXH75.js.map} +0 -0
- /package/dist/{chunk-RTS23VIJ.js.map → chunk-PYIUDUGS.js.map} +0 -0
- /package/dist/{chunk-5CY35H55.js.map → chunk-QQQE6QUO.js.map} +0 -0
- /package/dist/{chunk-TYGW5TOR.js.map → chunk-RIZQZKU6.js.map} +0 -0
- /package/dist/{chunk-VPCMJ5Z4.js.map → chunk-RLP65PI3.js.map} +0 -0
- /package/dist/{chunk-6RXPSMKR.js.map → chunk-RNYDHIQL.js.map} +0 -0
- /package/dist/{chunk-5W7AOFWA.js.map → chunk-RXUFMTD5.js.map} +0 -0
- /package/dist/{chunk-Z5PIUYNB.js.map → chunk-S55MJQUQ.js.map} +0 -0
- /package/dist/{chunk-O2DB4C3M.js.map → chunk-SXLMLECV.js.map} +0 -0
- /package/dist/{chunk-OPTFANOX.js.map → chunk-TSAT3E7Y.js.map} +0 -0
- /package/dist/{chunk-M66NAZA4.js.map → chunk-TWJVOYU2.js.map} +0 -0
- /package/dist/{chunk-43ISXURO.js.map → chunk-U7LV2DUN.js.map} +0 -0
- /package/dist/{chunk-FH52CDEW.js.map → chunk-UB3XHGFG.js.map} +0 -0
- /package/dist/{chunk-TCIUO62Z.js.map → chunk-UWZ7O4NR.js.map} +0 -0
- /package/dist/{chunk-K5P46KB3.js.map → chunk-UZZFV3O3.js.map} +0 -0
- /package/dist/{chunk-P3NGV5RV.js.map → chunk-V76PHWLE.js.map} +0 -0
- /package/dist/{chunk-UOEWDCUX.js.map → chunk-VFQOE76I.js.map} +0 -0
- /package/dist/{chunk-VRPBEOWU.js.map → chunk-VIWOGJ2O.js.map} +0 -0
- /package/dist/{chunk-5EWYUR5P.js.map → chunk-VK6OC22R.js.map} +0 -0
- /package/dist/{chunk-H5XRIJX3.js.map → chunk-WAW4VFS7.js.map} +0 -0
- /package/dist/{chunk-SEQ2JI3Y.js.map → chunk-WQAT24C2.js.map} +0 -0
- /package/dist/{chunk-NB47TXGP.js.map → chunk-XDWNF4BS.js.map} +0 -0
- /package/dist/{chunk-G7RDYYTE.js.map → chunk-XW5LZYV4.js.map} +0 -0
- /package/dist/{chunk-LIP6JWYK.js.map → chunk-YTCCC6NG.js.map} +0 -0
- /package/dist/{chunk-G4MGYGSS.js.map → chunk-ZRJBLWKQ.js.map} +0 -0
- /package/dist/{collection-facade-MKEBZDWW.js.map → collection-facade-5V3JS7SD.js.map} +0 -0
- /package/dist/{computed-BMMEFRFJ.js.map → computed-6FOFXQPE.js.map} +0 -0
- /package/dist/{config-drift-KGM7ZRW4.js.map → config-drift-SWZNEH5H.js.map} +0 -0
- /package/dist/{delegation-BQNIEHZE.js.map → delegation-AUY42TGU.js.map} +0 -0
- /package/dist/{enclave-YN6223OG.js.map → derive-FWSEWWI7.js.map} +0 -0
- /package/dist/{executor-CBTNU5VZ.js.map → enclave-UYZGSE2C.js.map} +0 -0
- /package/dist/{executor-DJHNSTIR.js.map → executor-EUPYHCLU.js.map} +0 -0
- /package/dist/{executor-FGISLQIN.js.map → executor-KZ4B3PRT.js.map} +0 -0
- /package/dist/{export-accessible-P7SLRLK3.js.map → executor-XWPD5PIM.js.map} +0 -0
- /package/dist/{extract-partition-RNVSFHAB.js.map → export-accessible-M54OI6FO.js.map} +0 -0
- /package/dist/{find-RNBG7LBY.js.map → extract-partition-MIHAL6PP.js.map} +0 -0
- /package/dist/{fanout-sidecar-WS22Q5WH.js.map → fanout-sidecar-SSEW7BQB.js.map} +0 -0
- /package/dist/{issue-W5QG53B5.js.map → find-OH4BEULF.js.map} +0 -0
- /package/dist/{ledger-KZWBKAG5.js.map → issue-PHWTGH2G.js.map} +0 -0
- /package/dist/{liberate-GMGCHIND.js.map → ledger-IWWY7IIC.js.map} +0 -0
- /package/dist/{link-set-UQEIYQAM.js.map → liberate-QDTNV7SM.js.map} +0 -0
- /package/dist/{noydb-KS2O2MRI.js.map → link-set-HJOC7GB7.js.map} +0 -0
- /package/dist/{policy-YIKUH4AD.js.map → noydb-Y5L74IDJ.js.map} +0 -0
- /package/dist/{public-envelope-MRN5YYZZ.js.map → policy-3ZKSGSRK.js.map} +0 -0
- /package/dist/{register-K6DDSIXN.js.map → public-envelope-6UBQ4IUY.js.map} +0 -0
- /package/dist/{registry-IMNMHWTM.js.map → register-OVONZ2MJ.js.map} +0 -0
- /package/dist/{registry-K6VUQXKV.js.map → registry-AIEYUOSG.js.map} +0 -0
- /package/dist/{registry-ZVO3T4M5.js.map → registry-D5J7SVJ2.js.map} +0 -0
- /package/dist/{request-withdrawal-EHALV66Y.js.map → registry-HSNQ4NBP.js.map} +0 -0
- /package/dist/{revoke-MHAUAESM.js.map → request-withdrawal-IHF64VIT.js.map} +0 -0
- /package/dist/{reveal-TBLTFWQ2.js.map → reveal-B77Q2BJW.js.map} +0 -0
- /package/dist/{signer-PQ74YXRY.js.map → revoke-BPPOUZPE.js.map} +0 -0
- /package/dist/{stale-7Q62KVI3.js.map → satellites/index.js.map} +0 -0
- /package/dist/{storage-5E6YB2JY.js.map → signer-MNQEL27B.js.map} +0 -0
- /package/dist/{withdraw-accessible-JMX2TCPX.js.map → stale-COBBJORL.js.map} +0 -0
- /package/dist/{verify-YB5LQHNA.js.map → verify-CAYGXYNO.js.map} +0 -0
- /package/dist/{walk-5C3GPKT2.js.map → walk-CVNXFUEF.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
moneyRuntime,
|
|
3
3
|
readPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6P5AJ2ZS.js";
|
|
5
5
|
import {
|
|
6
6
|
applyI18nLocale
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BASCPHNM.js";
|
|
8
8
|
import {
|
|
9
9
|
GroupCardinalityError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
11
11
|
|
|
12
12
|
// src/with-lookup/aggregate/reducers.ts
|
|
13
13
|
function count(opts) {
|
|
@@ -510,4 +510,4 @@ export {
|
|
|
510
510
|
groupAndReduce,
|
|
511
511
|
GroupedAggregation
|
|
512
512
|
};
|
|
513
|
-
//# sourceMappingURL=chunk-
|
|
513
|
+
//# sourceMappingURL=chunk-5GQE5IDB.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
DecryptionError,
|
|
3
3
|
InvalidKeyError,
|
|
4
4
|
TamperedError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
6
6
|
|
|
7
7
|
// src/kernel/enclave/crypto.ts
|
|
8
8
|
var PBKDF2_ITERATIONS = 6e5;
|
|
@@ -401,4 +401,4 @@ export {
|
|
|
401
401
|
bufferToBase64,
|
|
402
402
|
base64ToBuffer
|
|
403
403
|
};
|
|
404
|
-
//# sourceMappingURL=chunk-
|
|
404
|
+
//# sourceMappingURL=chunk-5HZULLHE.js.map
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SatelliteConfigError
|
|
3
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
4
|
+
|
|
5
|
+
// src/with-shape/satellites/validate.ts
|
|
6
|
+
function validateSatelliteDeclaration(input) {
|
|
7
|
+
if (input.baseIsSatellite) {
|
|
8
|
+
throw new SatelliteConfigError(
|
|
9
|
+
`R-S3: "${input.satellite}" declares satelliteOf "${input.satelliteOf}", which is itself a satellite \u2014 no satellite-of-satellite chains.`
|
|
10
|
+
);
|
|
11
|
+
}
|
|
12
|
+
if (input.crdtMode) {
|
|
13
|
+
throw new SatelliteConfigError(
|
|
14
|
+
`R-S8: crdtMode is refused on either member of a satellite pair in v1 (revert cannot compensate a merge).`
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
if (!input.fields || input.fields.length === 0) {
|
|
18
|
+
throw new SatelliteConfigError(`R-S5: satellite "${input.satellite}" must declare a non-empty fields list.`);
|
|
19
|
+
}
|
|
20
|
+
if (input.fields.includes("id")) {
|
|
21
|
+
throw new SatelliteConfigError(`R-S5: fields must not contain the shared key "id".`);
|
|
22
|
+
}
|
|
23
|
+
if (input.joined !== void 0 && (input.joined === input.satellite || input.joined === input.satelliteOf)) {
|
|
24
|
+
throw new SatelliteConfigError(`R-S5: joined name "${input.joined}" collides with a pair member.`);
|
|
25
|
+
}
|
|
26
|
+
if (input.joinedCollidesWithCollection) {
|
|
27
|
+
throw new SatelliteConfigError(`R-S5: joined name "${input.joined}" collides with an already-declared collection.`);
|
|
28
|
+
}
|
|
29
|
+
return Object.freeze({
|
|
30
|
+
base: input.satelliteOf,
|
|
31
|
+
satellite: input.satellite,
|
|
32
|
+
fields: Object.freeze([...input.fields]),
|
|
33
|
+
joined: input.joined
|
|
34
|
+
});
|
|
35
|
+
}
|
|
36
|
+
function hashFields(fields) {
|
|
37
|
+
const s = [...fields].sort().join("");
|
|
38
|
+
let h = 2166136261;
|
|
39
|
+
for (let i = 0; i < s.length; i++) {
|
|
40
|
+
h ^= s.charCodeAt(i);
|
|
41
|
+
h = Math.imul(h, 16777619) >>> 0;
|
|
42
|
+
}
|
|
43
|
+
return h.toString(16);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export {
|
|
47
|
+
validateSatelliteDeclaration,
|
|
48
|
+
hashFields
|
|
49
|
+
};
|
|
50
|
+
//# sourceMappingURL=chunk-5JQMX2EH.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-shape/satellites/validate.ts"],"sourcesContent":["import { SatelliteConfigError } from '../../kernel/errors.js'\nimport type { SatelliteSpec } from './types.js'\n\nexport interface SatelliteDeclarationInput {\n readonly satellite: string\n readonly satelliteOf: string\n readonly fields: readonly string[] | undefined\n readonly joined?: string | undefined\n /** True when the named base is itself registered as a satellite (R-S3). */\n readonly baseIsSatellite: boolean\n /** True when the declaring collection (or its base) sets crdtMode (R-S8). */\n readonly crdtMode: boolean\n /** True when `joined` names an already-declared plain (non-pair) collection (R-S5). */\n readonly joinedCollidesWithCollection: boolean\n}\n\n/** Sync declaration refusals R-S3/R-S5/R-S8. Async cross-checks live in registry.ts. */\nexport function validateSatelliteDeclaration(input: SatelliteDeclarationInput): SatelliteSpec {\n if (input.baseIsSatellite) {\n throw new SatelliteConfigError(\n `R-S3: \"${input.satellite}\" declares satelliteOf \"${input.satelliteOf}\", which is itself a satellite — no satellite-of-satellite chains.`,\n )\n }\n if (input.crdtMode) {\n throw new SatelliteConfigError(\n `R-S8: crdtMode is refused on either member of a satellite pair in v1 (revert cannot compensate a merge).`,\n )\n }\n if (!input.fields || input.fields.length === 0) {\n throw new SatelliteConfigError(`R-S5: satellite \"${input.satellite}\" must declare a non-empty fields list.`)\n }\n if (input.fields.includes('id')) {\n throw new SatelliteConfigError(`R-S5: fields must not contain the shared key \"id\".`)\n }\n if (input.joined !== undefined && (input.joined === input.satellite || input.joined === input.satelliteOf)) {\n throw new SatelliteConfigError(`R-S5: joined name \"${input.joined}\" collides with a pair member.`)\n }\n if (input.joinedCollidesWithCollection) {\n throw new SatelliteConfigError(`R-S5: joined name \"${input.joined}\" collides with an already-declared collection.`)\n }\n return Object.freeze({\n base: input.satelliteOf,\n satellite: input.satellite,\n fields: Object.freeze([...input.fields]),\n joined: input.joined,\n })\n}\n\n/** Order-insensitive stable hash of the fields list (FNV-1a over the sorted, joined names). */\nexport function hashFields(fields: readonly string[]): string {\n // '\\x1f' (unit separator) — NOT '' — joins the sorted names: an empty\n // delimiter collapses ['ab'] and ['a', 'b'] onto the same hash.\n const s = [...fields].sort().join('\\x1f')\n let h = 0x811c9dc5\n for (let i = 0; i < s.length; i++) {\n h ^= s.charCodeAt(i)\n h = Math.imul(h, 0x01000193) >>> 0\n }\n return h.toString(16)\n}\n"],"mappings":";;;;;AAiBO,SAAS,6BAA6B,OAAiD;AAC5F,MAAI,MAAM,iBAAiB;AACzB,UAAM,IAAI;AAAA,MACR,UAAU,MAAM,SAAS,2BAA2B,MAAM,WAAW;AAAA,IACvE;AAAA,EACF;AACA,MAAI,MAAM,UAAU;AAClB,UAAM,IAAI;AAAA,MACR;AAAA,IACF;AAAA,EACF;AACA,MAAI,CAAC,MAAM,UAAU,MAAM,OAAO,WAAW,GAAG;AAC9C,UAAM,IAAI,qBAAqB,oBAAoB,MAAM,SAAS,yCAAyC;AAAA,EAC7G;AACA,MAAI,MAAM,OAAO,SAAS,IAAI,GAAG;AAC/B,UAAM,IAAI,qBAAqB,oDAAoD;AAAA,EACrF;AACA,MAAI,MAAM,WAAW,WAAc,MAAM,WAAW,MAAM,aAAa,MAAM,WAAW,MAAM,cAAc;AAC1G,UAAM,IAAI,qBAAqB,sBAAsB,MAAM,MAAM,gCAAgC;AAAA,EACnG;AACA,MAAI,MAAM,8BAA8B;AACtC,UAAM,IAAI,qBAAqB,sBAAsB,MAAM,MAAM,iDAAiD;AAAA,EACpH;AACA,SAAO,OAAO,OAAO;AAAA,IACnB,MAAM,MAAM;AAAA,IACZ,WAAW,MAAM;AAAA,IACjB,QAAQ,OAAO,OAAO,CAAC,GAAG,MAAM,MAAM,CAAC;AAAA,IACvC,QAAQ,MAAM;AAAA,EAChB,CAAC;AACH;AAGO,SAAS,WAAW,QAAmC;AAG5D,QAAM,IAAI,CAAC,GAAG,MAAM,EAAE,KAAK,EAAE,KAAK,GAAM;AACxC,MAAI,IAAI;AACR,WAAS,IAAI,GAAG,IAAI,EAAE,QAAQ,KAAK;AACjC,SAAK,EAAE,WAAW,CAAC;AACnB,QAAI,KAAK,KAAK,GAAG,QAAU,MAAM;AAAA,EACnC;AACA,SAAO,EAAE,SAAS,EAAE;AACtB;","names":[]}
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
base64ToBuffer,
|
|
3
3
|
decryptBytesWithAAD,
|
|
4
4
|
encryptBytesWithAAD
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-5HZULLHE.js";
|
|
6
6
|
import {
|
|
7
7
|
TamperedError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
9
9
|
|
|
10
10
|
// src/kernel/enclave/classify/compare.ts
|
|
11
11
|
var subtle = globalThis.crypto.subtle;
|
|
@@ -92,4 +92,4 @@ export {
|
|
|
92
92
|
openVdigPayload,
|
|
93
93
|
evaluateKofN
|
|
94
94
|
};
|
|
95
|
-
//# sourceMappingURL=chunk-
|
|
95
|
+
//# sourceMappingURL=chunk-5UOPIPZC.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ATTESTATIONS_COLLECTION,
|
|
3
3
|
loadOrCreateSigner
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WAW4VFS7.js";
|
|
5
5
|
import {
|
|
6
6
|
generateULID
|
|
7
7
|
} from "./chunk-ZJADGNYF.js";
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
} from "./chunk-LN22XH4B.js";
|
|
11
11
|
import {
|
|
12
12
|
encrypt
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-5HZULLHE.js";
|
|
14
14
|
import {
|
|
15
15
|
AttestationError
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
17
17
|
|
|
18
18
|
// src/with-audit/attestation/issue.ts
|
|
19
19
|
import {
|
|
@@ -56,4 +56,4 @@ async function issueAttestationCore(ctx, args) {
|
|
|
56
56
|
export {
|
|
57
57
|
issueAttestationCore
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-65FW3ALF.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NoydbError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
4
4
|
|
|
5
5
|
// src/kernel/money-runtime.ts
|
|
6
6
|
var engine = null;
|
|
@@ -117,4 +117,4 @@ export {
|
|
|
117
117
|
evaluateClause,
|
|
118
118
|
hasFnClause
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-6P5AJ2ZS.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
evaluateClause,
|
|
3
3
|
readPath
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6P5AJ2ZS.js";
|
|
5
5
|
import {
|
|
6
6
|
IndexRequiredError
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
8
8
|
|
|
9
9
|
// src/with-lookup/indexing/persisted-indexes.ts
|
|
10
10
|
var IDX_PREFIX = "_idx/";
|
|
@@ -427,4 +427,4 @@ export {
|
|
|
427
427
|
PersistedCollectionIndex,
|
|
428
428
|
LazyQuery
|
|
429
429
|
};
|
|
430
|
-
//# sourceMappingURL=chunk-
|
|
430
|
+
//# sourceMappingURL=chunk-6PALJTC2.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
reducerBuilder
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5GQE5IDB.js";
|
|
4
4
|
import {
|
|
5
5
|
evaluateClause,
|
|
6
6
|
hasFnClause,
|
|
7
7
|
moneyRuntime,
|
|
8
8
|
readPath
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6P5AJ2ZS.js";
|
|
10
10
|
import {
|
|
11
11
|
applyI18nLocale
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-BASCPHNM.js";
|
|
13
13
|
import {
|
|
14
14
|
CrossJoinSourceUnknownError,
|
|
15
15
|
CrossJoinTooLargeError,
|
|
16
16
|
DanglingReferenceError,
|
|
17
17
|
JoinTooLargeError
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
19
19
|
|
|
20
20
|
// src/kernel/query/join.ts
|
|
21
21
|
var DEFAULT_JOIN_MAX_ROWS = 5e4;
|
|
@@ -1653,4 +1653,4 @@ export {
|
|
|
1653
1653
|
executePlan,
|
|
1654
1654
|
ScanBuilder
|
|
1655
1655
|
};
|
|
1656
|
-
//# sourceMappingURL=chunk-
|
|
1656
|
+
//# sourceMappingURL=chunk-6Z435B6N.js.map
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./chunk-LN22XH4B.js";
|
|
7
7
|
import {
|
|
8
8
|
decrypt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5HZULLHE.js";
|
|
10
10
|
import {
|
|
11
11
|
ReadOnlyAtInstantError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
13
13
|
|
|
14
14
|
// src/with-commit/history/history.ts
|
|
15
15
|
var HISTORY_COLLECTION = "_history";
|
|
@@ -277,4 +277,4 @@ export {
|
|
|
277
277
|
VaultInstant,
|
|
278
278
|
CollectionInstant
|
|
279
279
|
};
|
|
280
|
-
//# sourceMappingURL=chunk-
|
|
280
|
+
//# sourceMappingURL=chunk-73C4RPMX.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertTierAccess,
|
|
3
3
|
dekKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-26FSVNBL.js";
|
|
5
5
|
import {
|
|
6
6
|
rewrapBodyToDek
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-7AGLCOYE.js";
|
|
8
8
|
import {
|
|
9
9
|
NOYDB_FORMAT_VERSION
|
|
10
10
|
} from "./chunk-LN22XH4B.js";
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
decrypt,
|
|
13
13
|
encrypt,
|
|
14
14
|
unwrapCek
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-5HZULLHE.js";
|
|
16
16
|
import {
|
|
17
17
|
TierDemoteDeniedError,
|
|
18
18
|
TiersNotEnabledError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
20
20
|
|
|
21
21
|
// src/with-audit/tiers/active.ts
|
|
22
22
|
function withTiers() {
|
|
@@ -272,4 +272,4 @@ export {
|
|
|
272
272
|
demote,
|
|
273
273
|
classifySealedShred
|
|
274
274
|
};
|
|
275
|
-
//# sourceMappingURL=chunk-
|
|
275
|
+
//# sourceMappingURL=chunk-7A7LTSJR.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
isTombstone
|
|
3
3
|
} from "./chunk-QKVILR7N.js";
|
|
4
|
-
import {
|
|
5
|
-
NOYDB_FORMAT_VERSION,
|
|
6
|
-
SealedHandle
|
|
7
|
-
} from "./chunk-LN22XH4B.js";
|
|
8
4
|
import {
|
|
9
5
|
blindedEqual,
|
|
10
6
|
openVdigPayload,
|
|
11
7
|
sealVdigPayload
|
|
12
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5UOPIPZC.js";
|
|
13
9
|
import {
|
|
14
10
|
dualReadSealedSlot,
|
|
15
11
|
parseSealedSlot
|
|
16
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UWZ7O4NR.js";
|
|
13
|
+
import {
|
|
14
|
+
NOYDB_FORMAT_VERSION,
|
|
15
|
+
SealedHandle
|
|
16
|
+
} from "./chunk-LN22XH4B.js";
|
|
17
17
|
import {
|
|
18
18
|
mintBidxTag
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-VFQOE76I.js";
|
|
20
20
|
import {
|
|
21
21
|
VDIG_ITERATIONS,
|
|
22
22
|
normalizeForVerify,
|
|
@@ -35,7 +35,7 @@ import {
|
|
|
35
35
|
generateSalt,
|
|
36
36
|
unwrapCek,
|
|
37
37
|
wrapCek
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-5HZULLHE.js";
|
|
39
39
|
import {
|
|
40
40
|
ClassifiedConfigError,
|
|
41
41
|
ClassifiedRotationError,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
SchemaValidationError,
|
|
45
45
|
TamperedError,
|
|
46
46
|
ValidationError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
48
48
|
|
|
49
49
|
// src/kernel/enclave/record-keys/lifecycle.ts
|
|
50
50
|
async function resolveStableCek(deps, id) {
|
|
@@ -762,4 +762,4 @@ export {
|
|
|
762
762
|
hasPerRecordKey,
|
|
763
763
|
envelopeBodyForHash
|
|
764
764
|
};
|
|
765
|
-
//# sourceMappingURL=chunk-
|
|
765
|
+
//# sourceMappingURL=chunk-7AGLCOYE.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DerivationCapExceededError,
|
|
3
3
|
DerivationOutputShapeError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
5
5
|
|
|
6
6
|
// src/with-formula/derivations/executor.ts
|
|
7
7
|
var DerivationExecutor = {
|
|
@@ -121,4 +121,4 @@ var DerivationExecutor = {
|
|
|
121
121
|
export {
|
|
122
122
|
DerivationExecutor
|
|
123
123
|
};
|
|
124
|
-
//# sourceMappingURL=chunk-
|
|
124
|
+
//# sourceMappingURL=chunk-7CZ6YXMO.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
sha256Hex
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-5HZULLHE.js";
|
|
4
4
|
import {
|
|
5
5
|
DerivationCycleError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
7
7
|
|
|
8
8
|
// src/with-formula/derivations/strategy-hash.ts
|
|
9
9
|
async function computeStrategyHash(source, outputKeys, derive, sources) {
|
|
@@ -117,4 +117,4 @@ var DerivationRegistry = class {
|
|
|
117
117
|
export {
|
|
118
118
|
DerivationRegistry
|
|
119
119
|
};
|
|
120
|
-
//# sourceMappingURL=chunk-
|
|
120
|
+
//# sourceMappingURL=chunk-7KTL4RHZ.js.map
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
LocaleNotSpecifiedError,
|
|
3
3
|
MissingTranslationError,
|
|
4
4
|
ScriptViolationError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
6
6
|
|
|
7
7
|
// src/with-shape/i18n/policy.ts
|
|
8
8
|
function resolvePolicy(onMissing, layer) {
|
|
@@ -377,4 +377,4 @@ export {
|
|
|
377
377
|
applyI18nLocale,
|
|
378
378
|
stripI18nFilled
|
|
379
379
|
};
|
|
380
|
-
//# sourceMappingURL=chunk-
|
|
380
|
+
//# sourceMappingURL=chunk-BASCPHNM.js.map
|
|
@@ -1,44 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openEnvelopeJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7AGLCOYE.js";
|
|
4
4
|
import {
|
|
5
5
|
NOYDB_FORMAT_VERSION
|
|
6
6
|
} from "./chunk-LN22XH4B.js";
|
|
7
7
|
import {
|
|
8
8
|
encrypt
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-5HZULLHE.js";
|
|
10
10
|
|
|
11
11
|
// src/with-shape/persisted-schemas/storage.ts
|
|
12
12
|
var SCHEMAS_COLLECTION = "_schemas";
|
|
13
|
-
async function
|
|
13
|
+
async function loadPersistedSchemaEntry(store, vault, collection, dek) {
|
|
14
14
|
const envelope = await store.get(vault, SCHEMAS_COLLECTION, collection);
|
|
15
|
-
if (!envelope) return void 0;
|
|
15
|
+
if (!envelope) return { version: 0, payload: void 0 };
|
|
16
|
+
const version = envelope._v;
|
|
16
17
|
try {
|
|
17
18
|
const plaintext = await openEnvelopeJson(envelope, dek);
|
|
18
19
|
const parsed = JSON.parse(plaintext);
|
|
19
|
-
if (parsed._noydb_schema !== 1) return void 0;
|
|
20
|
-
return parsed;
|
|
20
|
+
if (parsed._noydb_schema !== 1) return { version, payload: void 0 };
|
|
21
|
+
return { version, payload: parsed };
|
|
21
22
|
} catch {
|
|
22
|
-
return void 0;
|
|
23
|
+
return { version, payload: void 0 };
|
|
23
24
|
}
|
|
24
25
|
}
|
|
25
|
-
async function
|
|
26
|
+
async function loadPersistedSchema(store, vault, collection, dek) {
|
|
27
|
+
return (await loadPersistedSchemaEntry(store, vault, collection, dek)).payload;
|
|
28
|
+
}
|
|
29
|
+
async function savePersistedSchema(store, vault, collection, dek, payload, expectedVersion) {
|
|
26
30
|
const json = JSON.stringify(payload);
|
|
27
31
|
const { iv, data } = await encrypt(json, dek);
|
|
28
|
-
const
|
|
32
|
+
const baseVersion = expectedVersion ?? (await store.get(vault, SCHEMAS_COLLECTION, collection))?._v ?? 0;
|
|
29
33
|
const env = {
|
|
30
34
|
_noydb: NOYDB_FORMAT_VERSION,
|
|
31
|
-
_v:
|
|
35
|
+
_v: baseVersion + 1,
|
|
32
36
|
_ts: (/* @__PURE__ */ new Date()).toISOString(),
|
|
33
37
|
_iv: iv,
|
|
34
38
|
_data: data
|
|
35
39
|
};
|
|
36
|
-
await store.put(vault, SCHEMAS_COLLECTION, collection, env);
|
|
40
|
+
await store.put(vault, SCHEMAS_COLLECTION, collection, env, expectedVersion);
|
|
37
41
|
}
|
|
38
42
|
|
|
39
43
|
export {
|
|
40
44
|
SCHEMAS_COLLECTION,
|
|
45
|
+
loadPersistedSchemaEntry,
|
|
41
46
|
loadPersistedSchema,
|
|
42
47
|
savePersistedSchema
|
|
43
48
|
};
|
|
44
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-BYS45GOJ.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-shape/persisted-schemas/storage.ts"],"sourcesContent":["/**\n * Read / write the per-collection persisted-schema envelope. Mirrors the\n * standard noy-db record envelope shape and is **AES-GCM encrypted with\n * the collection's DEK** — the schema body (field names, enum values,\n * constraints) is sensitive metadata, so it gets the same encryption\n * envelope as the records it describes.\n *\n * Storage layout:\n *\n * <vault>/_schemas/<collection> → EncryptedEnvelope\n *\n * The DEK passed to {@link savePersistedSchema} / {@link loadPersistedSchema}\n * is the same key the collection uses for its records.\n *\n * @module\n */\n\nimport { encrypt, openEnvelopeJson, type EnclaveKey } from '../../kernel/enclave/index.js'\nimport { NOYDB_FORMAT_VERSION } from '../../kernel/types.js'\nimport type { NoydbStore, EncryptedEnvelope } from '../../kernel/types.js'\nimport type { PersistedSchemaEnvelope } from './types.js'\n\n/** Reserved collection name where persisted schemas live. */\nexport const SCHEMAS_COLLECTION = '_schemas' as const\n\n/**\n * A decrypted persisted-schema read paired with the wrapping envelope's\n * `_v`. The version is the optimistic-concurrency token: pass it back to\n * {@link savePersistedSchema} as `expectedVersion` to make the write a CAS\n * that rejects a stale put (see #583 — the `_schemas` record is shared by\n * the JSON-Schema writer and the classified-marker writer).\n */\nexport interface PersistedSchemaEntry {\n /** Wrapping envelope `_v` (0 when no record exists yet). */\n readonly version: number\n /** Decrypted payload, or `undefined` when absent/corrupt/wrong-DEK. */\n readonly payload: PersistedSchemaEnvelope | undefined\n}\n\n/**\n * Read the persisted-schema envelope for one collection together with its\n * wrapping `_v`. The version reflects the raw stored envelope even when the\n * payload cannot be decrypted/parsed (so a CAS still guards a corrupt record\n * rather than silently clobbering it).\n */\nexport async function loadPersistedSchemaEntry(\n store: NoydbStore,\n vault: string,\n collection: string,\n dek: EnclaveKey,\n): Promise<PersistedSchemaEntry> {\n const envelope = await store.get(vault, SCHEMAS_COLLECTION, collection)\n if (!envelope) return { version: 0, payload: undefined }\n const version = envelope._v\n try {\n const plaintext = await openEnvelopeJson(envelope, dek)\n const parsed = JSON.parse(plaintext) as PersistedSchemaEnvelope\n if (parsed._noydb_schema !== 1) return { version, payload: undefined }\n return { version, payload: parsed }\n } catch {\n return { version, payload: undefined }\n }\n}\n\n/**\n * Read and decrypt the persisted-schema envelope for one collection.\n * Returns `undefined` when no envelope has been written or when decryption\n * fails (e.g. wrong DEK passed). Tolerates corrupted records — JSON parse\n * failures surface as `undefined`, mirroring `_meta/handle`'s contract.\n */\nexport async function loadPersistedSchema(\n store: NoydbStore,\n vault: string,\n collection: string,\n dek: EnclaveKey,\n): Promise<PersistedSchemaEnvelope | undefined> {\n return (await loadPersistedSchemaEntry(store, vault, collection, dek)).payload\n}\n\n/**\n * Encrypt and persist a schema envelope for one collection. Always\n * overwrites any prior write (callers gate on hash equality before calling\n * to avoid no-op writes).\n *\n * Pass `expectedVersion` — the `version` from {@link loadPersistedSchemaEntry}\n * captured at load time — to make the write an optimistic CAS: on a store with\n * `casAtomic`, `store.put` throws {@link ConflictError} when the record was\n * bumped concurrently, so a lost update on the shared `_schemas` record is\n * rejected instead of silently clobbering the other writer's field (#583).\n * When omitted, keeps the legacy unconditional last-writer-wins behaviour.\n */\nexport async function savePersistedSchema(\n store: NoydbStore,\n vault: string,\n collection: string,\n dek: EnclaveKey,\n payload: PersistedSchemaEnvelope,\n expectedVersion?: number,\n): Promise<void> {\n const json = JSON.stringify(payload)\n const { iv, data } = await encrypt(json, dek)\n const baseVersion = expectedVersion ?? (await store.get(vault, SCHEMAS_COLLECTION, collection))?._v ?? 0\n const env: EncryptedEnvelope = {\n _noydb: NOYDB_FORMAT_VERSION,\n _v: baseVersion + 1,\n _ts: new Date().toISOString(),\n _iv: iv,\n _data: data,\n }\n await store.put(vault, SCHEMAS_COLLECTION, collection, env, expectedVersion)\n}\n"],"mappings":";;;;;;;;;;;AAuBO,IAAM,qBAAqB;AAsBlC,eAAsB,yBACpB,OACA,OACA,YACA,KAC+B;AAC/B,QAAM,WAAW,MAAM,MAAM,IAAI,OAAO,oBAAoB,UAAU;AACtE,MAAI,CAAC,SAAU,QAAO,EAAE,SAAS,GAAG,SAAS,OAAU;AACvD,QAAM,UAAU,SAAS;AACzB,MAAI;AACF,UAAM,YAAY,MAAM,iBAAiB,UAAU,GAAG;AACtD,UAAM,SAAS,KAAK,MAAM,SAAS;AACnC,QAAI,OAAO,kBAAkB,EAAG,QAAO,EAAE,SAAS,SAAS,OAAU;AACrE,WAAO,EAAE,SAAS,SAAS,OAAO;AAAA,EACpC,QAAQ;AACN,WAAO,EAAE,SAAS,SAAS,OAAU;AAAA,EACvC;AACF;AAQA,eAAsB,oBACpB,OACA,OACA,YACA,KAC8C;AAC9C,UAAQ,MAAM,yBAAyB,OAAO,OAAO,YAAY,GAAG,GAAG;AACzE;AAcA,eAAsB,oBACpB,OACA,OACA,YACA,KACA,SACA,iBACe;AACf,QAAM,OAAO,KAAK,UAAU,OAAO;AACnC,QAAM,EAAE,IAAI,KAAK,IAAI,MAAM,QAAQ,MAAM,GAAG;AAC5C,QAAM,cAAc,oBAAoB,MAAM,MAAM,IAAI,OAAO,oBAAoB,UAAU,IAAI,MAAM;AACvG,QAAM,MAAyB;AAAA,IAC7B,QAAQ;AAAA,IACR,IAAI,cAAc;AAAA,IAClB,MAAK,oBAAI,KAAK,GAAE,YAAY;AAAA,IAC5B,KAAK;AAAA,IACL,OAAO;AAAA,EACT;AACA,QAAM,MAAM,IAAI,OAAO,oBAAoB,YAAY,KAAK,eAAe;AAC7E;","names":[]}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
writePod
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-C57J6AWN.js";
|
|
4
4
|
|
|
5
5
|
// src/with-audit/portability/export-accessible.ts
|
|
6
6
|
function resolveAccessibleCollections(keyring, scope, writableOnly = false) {
|
|
@@ -42,4 +42,4 @@ export {
|
|
|
42
42
|
buildAccessibleBundle,
|
|
43
43
|
exportAccessibleData
|
|
44
44
|
};
|
|
45
|
-
//# sourceMappingURL=chunk-
|
|
45
|
+
//# sourceMappingURL=chunk-C2ZKWL37.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
readPath
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-6P5AJ2ZS.js";
|
|
4
4
|
|
|
5
5
|
// src/with-lookup/indexing/eager-indexes.ts
|
|
6
6
|
var CollectionIndexes = class {
|
|
@@ -129,4 +129,4 @@ function removeFromIndex(idx, id, record) {
|
|
|
129
129
|
export {
|
|
130
130
|
CollectionIndexes
|
|
131
131
|
};
|
|
132
|
-
//# sourceMappingURL=chunk-
|
|
132
|
+
//# sourceMappingURL=chunk-C4NOLA5X.js.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickLocale
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-I7GTYPWF.js";
|
|
4
4
|
import {
|
|
5
5
|
sha256Hex
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5HZULLHE.js";
|
|
7
7
|
import {
|
|
8
8
|
BundleIntegrityError,
|
|
9
9
|
BundleSealMismatchError,
|
|
10
10
|
ValidationError
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-OJ64XMPJ.js";
|
|
12
12
|
|
|
13
13
|
// src/with-pod/format.ts
|
|
14
14
|
var NOYDB_BUNDLE_MAGIC = new Uint8Array([78, 68, 66, 49]);
|
|
@@ -608,6 +608,30 @@ function applySliceFilters(dumpJson, opts) {
|
|
|
608
608
|
}
|
|
609
609
|
return JSON.stringify(backup);
|
|
610
610
|
}
|
|
611
|
+
async function applySatelliteLivenessFilter(vault, dumpJson) {
|
|
612
|
+
const backup = JSON.parse(dumpJson);
|
|
613
|
+
if (!backup.collections || typeof backup.collections !== "object") return dumpJson;
|
|
614
|
+
if (typeof vault._introspectState !== "function") return dumpJson;
|
|
615
|
+
const { adapter, name, getDEK } = vault._introspectState();
|
|
616
|
+
const { liveBaseIdSetsForBundle } = await import("./dead-filter-MGWMNRO2.js");
|
|
617
|
+
const satLive = await liveBaseIdSetsForBundle(adapter, name, Object.keys(backup.collections), getDEK);
|
|
618
|
+
if (satLive.size === 0) return dumpJson;
|
|
619
|
+
const next = {};
|
|
620
|
+
for (const [collName, records] of Object.entries(backup.collections)) {
|
|
621
|
+
const live = satLive.get(collName);
|
|
622
|
+
if (!live) {
|
|
623
|
+
next[collName] = records;
|
|
624
|
+
continue;
|
|
625
|
+
}
|
|
626
|
+
const kept = {};
|
|
627
|
+
for (const [id, env] of Object.entries(records)) {
|
|
628
|
+
if (live.has(id)) kept[id] = env;
|
|
629
|
+
}
|
|
630
|
+
next[collName] = kept;
|
|
631
|
+
}
|
|
632
|
+
backup.collections = next;
|
|
633
|
+
return JSON.stringify(backup);
|
|
634
|
+
}
|
|
611
635
|
async function applyPlaintextFilters(vault, dumpJson, opts) {
|
|
612
636
|
if (opts.where === void 0 && opts.tierAtMost === void 0) {
|
|
613
637
|
return dumpJson;
|
|
@@ -674,7 +698,8 @@ async function writePod(vault, opts = {}) {
|
|
|
674
698
|
const autoUnlockMode = validateAutoUnlockOptions(opts, normalizedAutoUnlock);
|
|
675
699
|
const handle = await vault.getBundleHandle();
|
|
676
700
|
const dumpJson = await vault.dump();
|
|
677
|
-
const
|
|
701
|
+
const satelliteFiltered = await applySatelliteLivenessFilter(vault, dumpJson);
|
|
702
|
+
const rekeyed = await applyRecipientRewrap(vault, satelliteFiltered, opts);
|
|
678
703
|
const plainFiltered = await applyPlaintextFilters(vault, rekeyed, opts);
|
|
679
704
|
const filtered = applySliceFilters(plainFiltered, opts);
|
|
680
705
|
const bodyJsonStr = normalizedAutoUnlock === null ? filtered : JSON.stringify(await buildAutoUnlockWrapper(filtered, normalizedAutoUnlock));
|
|
@@ -795,4 +820,4 @@ export {
|
|
|
795
820
|
readPod,
|
|
796
821
|
readNoydbBundle
|
|
797
822
|
};
|
|
798
|
-
//# sourceMappingURL=chunk-
|
|
823
|
+
//# sourceMappingURL=chunk-C57J6AWN.js.map
|