@noy-db/hub 0.3.0 → 0.4.0-pre.0
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.js +4 -4
- package/dist/api-3A3S4SHH.js +20 -0
- package/dist/as/index.js +11 -11
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-BJ57IKAO.js → backup-YPUEKIJC.js} +11 -11
- package/dist/blobs/index.js +12 -12
- package/dist/broker/index.js +12 -12
- package/dist/bundle/index.js +22 -22
- package/dist/by/index.js +2 -2
- package/dist/cargo/index.js +22 -22
- package/dist/{chunk-ZAJAVEXY.js → chunk-2PCAVW2I.js} +2 -2
- package/dist/{chunk-HTJQYHZP.js → chunk-3ELCWU56.js} +2 -2
- package/dist/{chunk-J2ZX2XUV.js → chunk-554KLAAN.js} +5 -5
- package/dist/{chunk-NR5LT5RY.js → chunk-5PFOMHTB.js} +7 -7
- package/dist/{chunk-B3HJYUOF.js → chunk-5WZXVULX.js} +2 -2
- package/dist/{chunk-ZJ2AK4V7.js → chunk-6HPG2YNX.js} +2 -2
- package/dist/{chunk-5M5DVGV7.js → chunk-6HY2X62D.js} +2 -2
- package/dist/{chunk-QRB7NAOJ.js → chunk-6NQMXTYC.js} +2 -2
- package/dist/{chunk-RIX4V2TB.js → chunk-6XE5TMPR.js} +3 -3
- package/dist/{chunk-7DSTRQIJ.js → chunk-A4FXFAKF.js} +2 -2
- package/dist/{chunk-454JXE57.js → chunk-A5BDDEXK.js} +10 -170
- package/dist/chunk-A5BDDEXK.js.map +1 -0
- package/dist/{chunk-EVVGJDRQ.js → chunk-ANATMTOA.js} +3 -3
- package/dist/{chunk-W22IKJE2.js → chunk-BOKIKJJB.js} +2 -2
- package/dist/{chunk-VZRODIM3.js → chunk-CJ5KKU6X.js} +4 -4
- package/dist/{chunk-CDUQTA3Z.js → chunk-CZTLE22N.js} +7 -7
- package/dist/{chunk-RCVJZMFE.js → chunk-DDHM2TLX.js} +4 -4
- package/dist/{chunk-PN2XMATY.js → chunk-DRWBEDYO.js} +2 -2
- package/dist/{chunk-EYZ6IQ6X.js → chunk-DSBQODMZ.js} +5 -5
- package/dist/{chunk-LASZKVMO.js → chunk-EO43ANYJ.js} +3 -3
- package/dist/{chunk-6QTNZJBS.js → chunk-EWPOHMN2.js} +3 -3
- package/dist/chunk-FH52K7EG.js +50 -0
- package/dist/chunk-FH52K7EG.js.map +1 -0
- package/dist/{chunk-FHS2HQSH.js → chunk-FXZDAV62.js} +11 -8
- package/dist/chunk-FXZDAV62.js.map +1 -0
- package/dist/{chunk-2NVOWNI3.js → chunk-GDG5VVYG.js} +4 -4
- package/dist/{chunk-6JTIAGHD.js → chunk-GULTLPFB.js} +3 -3
- package/dist/chunk-GULTLPFB.js.map +1 -0
- package/dist/{chunk-3B5VVCNY.js → chunk-GWKAVKHI.js} +2 -2
- package/dist/{chunk-BDVFPG6Y.js → chunk-H2KSZMIX.js} +5 -5
- package/dist/{chunk-CIE2BASH.js → chunk-HOONYZY2.js} +2 -2
- package/dist/{chunk-HDMEGAQE.js → chunk-HQBM64EE.js} +5 -5
- package/dist/{chunk-VFUPHI2Z.js → chunk-IAO54J4R.js} +6 -6
- package/dist/{chunk-5O3XF4DV.js → chunk-IFJTPAQQ.js} +4 -4
- package/dist/{chunk-OSDB5WW3.js → chunk-IK43HLDQ.js} +11 -11
- package/dist/{chunk-3QCRBHCY.js → chunk-ISMV2QVG.js} +2 -2
- package/dist/{chunk-HB3RFQSC.js → chunk-IY23KFNZ.js} +3 -3
- package/dist/{chunk-6CRIV7DE.js → chunk-JBBSYJHP.js} +2 -2
- package/dist/{chunk-IU6SNYX6.js → chunk-JFCV5QIK.js} +5 -5
- package/dist/{chunk-MEFJPTZ4.js → chunk-JRBNCUNT.js} +3 -3
- package/dist/{chunk-4VNQOLML.js → chunk-JVBO4SZL.js} +2 -2
- package/dist/{chunk-EQO2UVP4.js → chunk-KS6SAVCZ.js} +6 -6
- package/dist/{chunk-4CTHCN4J.js → chunk-LVGTA624.js} +4 -4
- package/dist/{chunk-K5IMOGHB.js → chunk-M75ZZHSR.js} +2 -2
- package/dist/{chunk-NJ4EOKMB.js → chunk-MT62YSPZ.js} +4 -4
- package/dist/{chunk-JKJOGPZN.js → chunk-N6WF5PKC.js} +2 -2
- package/dist/{chunk-4JBYV75E.js → chunk-NCCBLYEB.js} +5 -5
- package/dist/{chunk-SLFHQTTW.js → chunk-OCVM6KDH.js} +5 -5
- package/dist/{chunk-GKEWXIV5.js → chunk-ONTBCHCP.js} +2 -2
- package/dist/{chunk-X7QBD67R.js → chunk-PK6JIDQ4.js} +124 -104
- package/dist/{chunk-X7QBD67R.js.map → chunk-PK6JIDQ4.js.map} +1 -1
- package/dist/{chunk-EVX47VBM.js → chunk-QDPZWTN2.js} +2 -2
- package/dist/{chunk-IL6POWCW.js → chunk-R3BLCFD2.js} +6 -6
- package/dist/chunk-RA5VTXXG.js +173 -0
- package/dist/chunk-RA5VTXXG.js.map +1 -0
- package/dist/{chunk-QLWMEXCT.js → chunk-RDXW3OBQ.js} +2 -2
- package/dist/{chunk-3LQ2YKO4.js → chunk-RFI7GGFO.js} +2 -2
- package/dist/{chunk-FUG4SFN3.js → chunk-RJ6K6K5M.js} +2 -2
- package/dist/{chunk-T2FFWNPK.js → chunk-RNG4VRP4.js} +3 -3
- package/dist/{chunk-JZUV47FZ.js → chunk-RTEK4C4I.js} +2 -2
- package/dist/{chunk-KSKBRKGJ.js → chunk-S3BFKGET.js} +84 -6
- package/dist/chunk-S3BFKGET.js.map +1 -0
- package/dist/{chunk-5YOLBEQ6.js → chunk-S6Q37VGE.js} +2 -2
- package/dist/{chunk-E5ZQT5KX.js → chunk-SMIRGMS7.js} +2 -2
- package/dist/{chunk-6T2SCQRU.js → chunk-SV6EAJEP.js} +4 -4
- package/dist/chunk-T36RFODW.js +180 -0
- package/dist/chunk-T36RFODW.js.map +1 -0
- package/dist/{chunk-ERJ7FU55.js → chunk-T3GY65MA.js} +3 -3
- package/dist/{chunk-LXEXBTKL.js → chunk-TAGR72IR.js} +4 -4
- package/dist/{chunk-JIF24JPM.js → chunk-THVIPWRF.js} +9 -9
- package/dist/{chunk-ZUODRVHY.js → chunk-TIGPQDYP.js} +2 -2
- package/dist/{chunk-NWSGI5C7.js → chunk-U6JMEH2P.js} +3 -3
- package/dist/{chunk-ZICD77GM.js → chunk-UC2ETWF3.js} +2 -2
- package/dist/{chunk-VLFCJYTL.js → chunk-UDSR4X4L.js} +9 -9
- package/dist/{chunk-SNZ6URZZ.js → chunk-UHNGNKLV.js} +7 -7
- package/dist/{chunk-R4ROFEYC.js → chunk-VAIS3SOM.js} +2 -2
- package/dist/{chunk-VN3DBQAU.js → chunk-VCBHAE4R.js} +2 -2
- package/dist/{chunk-JNAI2HN2.js → chunk-VCTXU4AT.js} +1 -1
- package/dist/chunk-VCTXU4AT.js.map +1 -0
- package/dist/{chunk-M4CV6BRT.js → chunk-VEALDPHW.js} +2 -2
- package/dist/{chunk-AUSTCW2X.js → chunk-VKCADNMR.js} +8 -8
- package/dist/{chunk-XWZVFISC.js → chunk-VRBTNCM4.js} +6 -6
- package/dist/{chunk-BIOUI4HL.js → chunk-W2OG6JOL.js} +1 -1
- package/dist/{chunk-BIOUI4HL.js.map → chunk-W2OG6JOL.js.map} +1 -1
- package/dist/{chunk-XDYREZWE.js → chunk-W4TCUGQR.js} +8 -8
- package/dist/{chunk-FM3G3NOY.js → chunk-WG4QBZDN.js} +83 -6
- package/dist/chunk-WG4QBZDN.js.map +1 -0
- package/dist/{chunk-HDQIIUPH.js → chunk-WHXXI3W5.js} +3 -3
- package/dist/{chunk-F64IRYG3.js → chunk-WKGF2TJR.js} +2 -2
- package/dist/{chunk-CAF6WOK7.js → chunk-WNGGJWF7.js} +2 -2
- package/dist/{chunk-EXK7QRWF.js → chunk-WOM2HTML.js} +5 -5
- package/dist/{chunk-Q5VNKNE5.js → chunk-WQIYTNJV.js} +3 -3
- package/dist/{chunk-GTGPO5KW.js → chunk-WZSHL6DQ.js} +5 -5
- package/dist/{chunk-CRI4OUV4.js → chunk-XDIAFPUM.js} +2 -2
- package/dist/{chunk-RYCTDFUX.js → chunk-XJMBYYQK.js} +2 -2
- package/dist/{chunk-DLG74CNB.js → chunk-XTHCN77N.js} +4 -4
- package/dist/chunk-XUW3PXHU.js +248 -0
- package/dist/chunk-XUW3PXHU.js.map +1 -0
- package/dist/{chunk-I6GALP6E.js → chunk-YCH5GBN6.js} +6 -6
- package/dist/{chunk-RZ5SVOYR.js → chunk-YTGDPCPW.js} +2 -2
- package/dist/{chunk-UNFPPVNI.js → chunk-YZQOGE2L.js} +2 -2
- package/dist/{chunk-MV43JSJF.js → chunk-Z4PD65VQ.js} +4 -4
- package/dist/{chunk-YFXZEAYK.js → chunk-ZXEZCY6F.js} +6 -6
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-CZKA6ITE.js → classified-marker-QWMASIT7.js} +3 -3
- package/dist/collection-facade-KMBWNCYP.js +44 -0
- package/dist/{computed-ZIQTYTDI.js → computed-DSMPXG2Y.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/{public-envelope-B4KNWVUA.js → cover-QJRXINN5.js} +25 -5
- package/dist/{dead-filter-ESOBZZP5.js → dead-filter-66VGI6JV.js} +2 -2
- package/dist/delegation-SU6CV3W7.js +25 -0
- package/dist/derivations/index.js +12 -12
- package/dist/derive-6RWU4EOA.js +21 -0
- package/dist/{enclave-AP3I5W7O.js → enclave-TKPN2G2U.js} +9 -9
- package/dist/executor-KGNLJD6M.js +9 -0
- package/dist/executor-UX4FASYZ.js +26 -0
- package/dist/executor-XGIS6CR7.js +9 -0
- package/dist/export-accessible-LKW3QV22.js +23 -0
- package/dist/extract-partition-UP2ARO75.js +38 -0
- package/dist/{fanout-sidecar-A765THMX.js → fanout-sidecar-B5LVUMQX.js} +9 -9
- package/dist/find-YS6XWB46.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +3 -3
- package/dist/history/index.js +12 -12
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +6 -3
- package/dist/index.js +110 -89
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +2 -2
- package/dist/issue-3ACYX7LO.js +19 -0
- package/dist/kernel/errors.d.ts +10 -5
- package/dist/kernel/noydb.d.ts +21 -11
- package/dist/kernel/types.d.ts +12 -6
- package/dist/kernel/vault.d.ts +10 -6
- package/dist/{ledger-GFBKVPV4.js → ledger-PTK7XZYT.js} +11 -11
- package/dist/liberate-MQQXBUCY.js +24 -0
- package/dist/{link-set-Z7Q2ASFX.js → link-set-SLJHDNRB.js} +11 -11
- package/dist/materialized-views/index.js +19 -18
- package/dist/noydb-ANIW5FLE.js +69 -0
- package/dist/on/index.js +9 -9
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +12 -12
- package/dist/pod/index.js +13 -11
- package/dist/{policy-Z3RUAIY2.js → policy-YDLCOX4P.js} +5 -5
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-JTH76BLY.js → post-register-2YHSADFI.js} +6 -6
- package/dist/query/index.js +10 -8
- package/dist/register-PAM3ASRZ.js +23 -0
- package/dist/registry-4S2U2TR4.js +19 -0
- package/dist/registry-NPOWJHC4.js +9 -0
- package/dist/registry-VZ3CCI2R.js +18 -0
- package/dist/request-withdrawal-DI3H5WUI.js +31 -0
- package/dist/{reveal-DIBHLUZX.js → reveal-HWO4YMTJ.js} +6 -6
- package/dist/revoke-R5CZSVUT.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/sealed-record/index.js +12 -12
- package/dist/{seed-Q6M2IZFL.js → seed-3ZMF5EQA.js} +11 -11
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/signer-MBVHW4WE.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/{stale-OSQ7J3AA.js → stale-VZL4OGUB.js} +10 -10
- package/dist/storage-3MEJUENZ.js +23 -0
- package/dist/{store-coordination-provider-64OEZFGS.js → store-coordination-provider-FKX3F6TQ.js} +3 -3
- package/dist/sync/index.js +9 -9
- package/dist/team/index.js +15 -15
- package/dist/tiers/index.js +10 -10
- package/dist/to/index.js +1 -1
- package/dist/tx/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/{verify-ZASTRNPR.js → verify-26Y5GNMK.js} +5 -5
- package/dist/via/i18n/policy.d.ts +1 -1
- package/dist/{walk-SVNDIZ62.js → walk-IPLXE36W.js} +11 -11
- package/dist/with/index.js +11 -11
- package/dist/with-formula/materialized-views/dependency-analyzer.d.ts +15 -0
- package/dist/with-formula/materialized-views/index.d.ts +1 -1
- package/dist/with-formula/materialized-views/registry.d.ts +29 -0
- package/dist/with-formula/materialized-views/types.d.ts +81 -0
- package/dist/with-formula/materialized-views/with-materialized-view.d.ts +9 -5
- package/dist/with-party/directory/cover/custom.d.ts +34 -0
- package/dist/with-party/directory/cover/index.d.ts +19 -0
- package/dist/with-party/directory/cover/schema.d.ts +39 -0
- package/dist/with-party/directory/cover/storage.d.ts +71 -0
- package/dist/with-party/directory/cover/types.d.ts +149 -0
- package/dist/with-party/team/noydb-facade.d.ts +1 -1
- package/dist/with-pod/bundle.d.ts +9 -7
- package/dist/with-pod/format.d.ts +8 -4
- package/dist/with-pod/index.d.ts +2 -1
- package/dist/withdraw-accessible-TZDATQVR.js +28 -0
- package/package.json +3 -3
- package/dist/api-ZGS6LCOF.js +0 -20
- package/dist/chunk-454JXE57.js.map +0 -1
- package/dist/chunk-4NXKCLLQ.js +0 -97
- package/dist/chunk-4NXKCLLQ.js.map +0 -1
- package/dist/chunk-6JTIAGHD.js.map +0 -1
- package/dist/chunk-FHS2HQSH.js.map +0 -1
- package/dist/chunk-FM3G3NOY.js.map +0 -1
- package/dist/chunk-JNAI2HN2.js.map +0 -1
- package/dist/chunk-KSKBRKGJ.js.map +0 -1
- package/dist/chunk-WXSYDNBT.js +0 -39
- package/dist/chunk-WXSYDNBT.js.map +0 -1
- package/dist/chunk-X3YYQWOQ.js +0 -155
- package/dist/chunk-X3YYQWOQ.js.map +0 -1
- package/dist/collection-facade-TLWIPI76.js +0 -44
- package/dist/delegation-W7ZV2322.js +0 -25
- package/dist/derive-H2BJTLUI.js +0 -21
- package/dist/executor-KGWTNEQD.js +0 -9
- package/dist/executor-OVEXR6RT.js +0 -9
- package/dist/executor-UNEH5ZYH.js +0 -25
- package/dist/export-accessible-PCMXSUZS.js +0 -23
- package/dist/extract-partition-SWHFSYJO.js +0 -38
- package/dist/find-N6345CNT.js +0 -11
- package/dist/issue-5OKB6I2R.js +0 -19
- package/dist/liberate-3VDOT4KO.js +0 -24
- package/dist/noydb-ZCJOYBDI.js +0 -68
- package/dist/register-VAHONCID.js +0 -23
- package/dist/registry-7MLVD3VO.js +0 -19
- package/dist/registry-EPKPD5SM.js +0 -18
- package/dist/registry-P5T7PS2U.js +0 -9
- package/dist/request-withdrawal-TI3A5WPS.js +0 -31
- package/dist/revoke-FDRD6GRW.js +0 -24
- package/dist/signer-MUWEIUI6.js +0 -25
- package/dist/storage-MVFCGEQE.js +0 -23
- package/dist/with-party/directory/public-envelope/index.d.ts +0 -12
- package/dist/with-party/directory/public-envelope/schema.d.ts +0 -24
- package/dist/with-party/directory/public-envelope/storage.d.ts +0 -59
- package/dist/with-party/directory/public-envelope/types.d.ts +0 -80
- package/dist/withdraw-accessible-WZIEVWSR.js +0 -28
- /package/dist/{api-ZGS6LCOF.js.map → api-3A3S4SHH.js.map} +0 -0
- /package/dist/{backup-BJ57IKAO.js.map → backup-YPUEKIJC.js.map} +0 -0
- /package/dist/{chunk-ZAJAVEXY.js.map → chunk-2PCAVW2I.js.map} +0 -0
- /package/dist/{chunk-HTJQYHZP.js.map → chunk-3ELCWU56.js.map} +0 -0
- /package/dist/{chunk-J2ZX2XUV.js.map → chunk-554KLAAN.js.map} +0 -0
- /package/dist/{chunk-NR5LT5RY.js.map → chunk-5PFOMHTB.js.map} +0 -0
- /package/dist/{chunk-B3HJYUOF.js.map → chunk-5WZXVULX.js.map} +0 -0
- /package/dist/{chunk-ZJ2AK4V7.js.map → chunk-6HPG2YNX.js.map} +0 -0
- /package/dist/{chunk-5M5DVGV7.js.map → chunk-6HY2X62D.js.map} +0 -0
- /package/dist/{chunk-QRB7NAOJ.js.map → chunk-6NQMXTYC.js.map} +0 -0
- /package/dist/{chunk-RIX4V2TB.js.map → chunk-6XE5TMPR.js.map} +0 -0
- /package/dist/{chunk-7DSTRQIJ.js.map → chunk-A4FXFAKF.js.map} +0 -0
- /package/dist/{chunk-EVVGJDRQ.js.map → chunk-ANATMTOA.js.map} +0 -0
- /package/dist/{chunk-W22IKJE2.js.map → chunk-BOKIKJJB.js.map} +0 -0
- /package/dist/{chunk-VZRODIM3.js.map → chunk-CJ5KKU6X.js.map} +0 -0
- /package/dist/{chunk-CDUQTA3Z.js.map → chunk-CZTLE22N.js.map} +0 -0
- /package/dist/{chunk-RCVJZMFE.js.map → chunk-DDHM2TLX.js.map} +0 -0
- /package/dist/{chunk-PN2XMATY.js.map → chunk-DRWBEDYO.js.map} +0 -0
- /package/dist/{chunk-EYZ6IQ6X.js.map → chunk-DSBQODMZ.js.map} +0 -0
- /package/dist/{chunk-LASZKVMO.js.map → chunk-EO43ANYJ.js.map} +0 -0
- /package/dist/{chunk-6QTNZJBS.js.map → chunk-EWPOHMN2.js.map} +0 -0
- /package/dist/{chunk-2NVOWNI3.js.map → chunk-GDG5VVYG.js.map} +0 -0
- /package/dist/{chunk-3B5VVCNY.js.map → chunk-GWKAVKHI.js.map} +0 -0
- /package/dist/{chunk-BDVFPG6Y.js.map → chunk-H2KSZMIX.js.map} +0 -0
- /package/dist/{chunk-CIE2BASH.js.map → chunk-HOONYZY2.js.map} +0 -0
- /package/dist/{chunk-HDMEGAQE.js.map → chunk-HQBM64EE.js.map} +0 -0
- /package/dist/{chunk-VFUPHI2Z.js.map → chunk-IAO54J4R.js.map} +0 -0
- /package/dist/{chunk-5O3XF4DV.js.map → chunk-IFJTPAQQ.js.map} +0 -0
- /package/dist/{chunk-OSDB5WW3.js.map → chunk-IK43HLDQ.js.map} +0 -0
- /package/dist/{chunk-3QCRBHCY.js.map → chunk-ISMV2QVG.js.map} +0 -0
- /package/dist/{chunk-HB3RFQSC.js.map → chunk-IY23KFNZ.js.map} +0 -0
- /package/dist/{chunk-6CRIV7DE.js.map → chunk-JBBSYJHP.js.map} +0 -0
- /package/dist/{chunk-IU6SNYX6.js.map → chunk-JFCV5QIK.js.map} +0 -0
- /package/dist/{chunk-MEFJPTZ4.js.map → chunk-JRBNCUNT.js.map} +0 -0
- /package/dist/{chunk-4VNQOLML.js.map → chunk-JVBO4SZL.js.map} +0 -0
- /package/dist/{chunk-EQO2UVP4.js.map → chunk-KS6SAVCZ.js.map} +0 -0
- /package/dist/{chunk-4CTHCN4J.js.map → chunk-LVGTA624.js.map} +0 -0
- /package/dist/{chunk-K5IMOGHB.js.map → chunk-M75ZZHSR.js.map} +0 -0
- /package/dist/{chunk-NJ4EOKMB.js.map → chunk-MT62YSPZ.js.map} +0 -0
- /package/dist/{chunk-JKJOGPZN.js.map → chunk-N6WF5PKC.js.map} +0 -0
- /package/dist/{chunk-4JBYV75E.js.map → chunk-NCCBLYEB.js.map} +0 -0
- /package/dist/{chunk-SLFHQTTW.js.map → chunk-OCVM6KDH.js.map} +0 -0
- /package/dist/{chunk-GKEWXIV5.js.map → chunk-ONTBCHCP.js.map} +0 -0
- /package/dist/{chunk-EVX47VBM.js.map → chunk-QDPZWTN2.js.map} +0 -0
- /package/dist/{chunk-IL6POWCW.js.map → chunk-R3BLCFD2.js.map} +0 -0
- /package/dist/{chunk-QLWMEXCT.js.map → chunk-RDXW3OBQ.js.map} +0 -0
- /package/dist/{chunk-3LQ2YKO4.js.map → chunk-RFI7GGFO.js.map} +0 -0
- /package/dist/{chunk-FUG4SFN3.js.map → chunk-RJ6K6K5M.js.map} +0 -0
- /package/dist/{chunk-T2FFWNPK.js.map → chunk-RNG4VRP4.js.map} +0 -0
- /package/dist/{chunk-JZUV47FZ.js.map → chunk-RTEK4C4I.js.map} +0 -0
- /package/dist/{chunk-5YOLBEQ6.js.map → chunk-S6Q37VGE.js.map} +0 -0
- /package/dist/{chunk-E5ZQT5KX.js.map → chunk-SMIRGMS7.js.map} +0 -0
- /package/dist/{chunk-6T2SCQRU.js.map → chunk-SV6EAJEP.js.map} +0 -0
- /package/dist/{chunk-ERJ7FU55.js.map → chunk-T3GY65MA.js.map} +0 -0
- /package/dist/{chunk-LXEXBTKL.js.map → chunk-TAGR72IR.js.map} +0 -0
- /package/dist/{chunk-JIF24JPM.js.map → chunk-THVIPWRF.js.map} +0 -0
- /package/dist/{chunk-ZUODRVHY.js.map → chunk-TIGPQDYP.js.map} +0 -0
- /package/dist/{chunk-NWSGI5C7.js.map → chunk-U6JMEH2P.js.map} +0 -0
- /package/dist/{chunk-ZICD77GM.js.map → chunk-UC2ETWF3.js.map} +0 -0
- /package/dist/{chunk-VLFCJYTL.js.map → chunk-UDSR4X4L.js.map} +0 -0
- /package/dist/{chunk-SNZ6URZZ.js.map → chunk-UHNGNKLV.js.map} +0 -0
- /package/dist/{chunk-R4ROFEYC.js.map → chunk-VAIS3SOM.js.map} +0 -0
- /package/dist/{chunk-VN3DBQAU.js.map → chunk-VCBHAE4R.js.map} +0 -0
- /package/dist/{chunk-M4CV6BRT.js.map → chunk-VEALDPHW.js.map} +0 -0
- /package/dist/{chunk-AUSTCW2X.js.map → chunk-VKCADNMR.js.map} +0 -0
- /package/dist/{chunk-XWZVFISC.js.map → chunk-VRBTNCM4.js.map} +0 -0
- /package/dist/{chunk-XDYREZWE.js.map → chunk-W4TCUGQR.js.map} +0 -0
- /package/dist/{chunk-HDQIIUPH.js.map → chunk-WHXXI3W5.js.map} +0 -0
- /package/dist/{chunk-F64IRYG3.js.map → chunk-WKGF2TJR.js.map} +0 -0
- /package/dist/{chunk-CAF6WOK7.js.map → chunk-WNGGJWF7.js.map} +0 -0
- /package/dist/{chunk-EXK7QRWF.js.map → chunk-WOM2HTML.js.map} +0 -0
- /package/dist/{chunk-Q5VNKNE5.js.map → chunk-WQIYTNJV.js.map} +0 -0
- /package/dist/{chunk-GTGPO5KW.js.map → chunk-WZSHL6DQ.js.map} +0 -0
- /package/dist/{chunk-CRI4OUV4.js.map → chunk-XDIAFPUM.js.map} +0 -0
- /package/dist/{chunk-RYCTDFUX.js.map → chunk-XJMBYYQK.js.map} +0 -0
- /package/dist/{chunk-DLG74CNB.js.map → chunk-XTHCN77N.js.map} +0 -0
- /package/dist/{chunk-I6GALP6E.js.map → chunk-YCH5GBN6.js.map} +0 -0
- /package/dist/{chunk-RZ5SVOYR.js.map → chunk-YTGDPCPW.js.map} +0 -0
- /package/dist/{chunk-UNFPPVNI.js.map → chunk-YZQOGE2L.js.map} +0 -0
- /package/dist/{chunk-MV43JSJF.js.map → chunk-Z4PD65VQ.js.map} +0 -0
- /package/dist/{chunk-YFXZEAYK.js.map → chunk-ZXEZCY6F.js.map} +0 -0
- /package/dist/{classified-marker-CZKA6ITE.js.map → classified-marker-QWMASIT7.js.map} +0 -0
- /package/dist/{collection-facade-TLWIPI76.js.map → collection-facade-KMBWNCYP.js.map} +0 -0
- /package/dist/{computed-ZIQTYTDI.js.map → computed-DSMPXG2Y.js.map} +0 -0
- /package/dist/{delegation-W7ZV2322.js.map → cover-QJRXINN5.js.map} +0 -0
- /package/dist/{dead-filter-ESOBZZP5.js.map → dead-filter-66VGI6JV.js.map} +0 -0
- /package/dist/{derive-H2BJTLUI.js.map → delegation-SU6CV3W7.js.map} +0 -0
- /package/dist/{enclave-AP3I5W7O.js.map → derive-6RWU4EOA.js.map} +0 -0
- /package/dist/{executor-KGWTNEQD.js.map → enclave-TKPN2G2U.js.map} +0 -0
- /package/dist/{executor-OVEXR6RT.js.map → executor-KGNLJD6M.js.map} +0 -0
- /package/dist/{executor-UNEH5ZYH.js.map → executor-UX4FASYZ.js.map} +0 -0
- /package/dist/{export-accessible-PCMXSUZS.js.map → executor-XGIS6CR7.js.map} +0 -0
- /package/dist/{extract-partition-SWHFSYJO.js.map → export-accessible-LKW3QV22.js.map} +0 -0
- /package/dist/{find-N6345CNT.js.map → extract-partition-UP2ARO75.js.map} +0 -0
- /package/dist/{fanout-sidecar-A765THMX.js.map → fanout-sidecar-B5LVUMQX.js.map} +0 -0
- /package/dist/{issue-5OKB6I2R.js.map → find-YS6XWB46.js.map} +0 -0
- /package/dist/{ledger-GFBKVPV4.js.map → issue-3ACYX7LO.js.map} +0 -0
- /package/dist/{liberate-3VDOT4KO.js.map → ledger-PTK7XZYT.js.map} +0 -0
- /package/dist/{link-set-Z7Q2ASFX.js.map → liberate-MQQXBUCY.js.map} +0 -0
- /package/dist/{noydb-ZCJOYBDI.js.map → link-set-SLJHDNRB.js.map} +0 -0
- /package/dist/{policy-Z3RUAIY2.js.map → noydb-ANIW5FLE.js.map} +0 -0
- /package/dist/{public-envelope-B4KNWVUA.js.map → policy-YDLCOX4P.js.map} +0 -0
- /package/dist/{post-register-JTH76BLY.js.map → post-register-2YHSADFI.js.map} +0 -0
- /package/dist/{register-VAHONCID.js.map → register-PAM3ASRZ.js.map} +0 -0
- /package/dist/{registry-7MLVD3VO.js.map → registry-4S2U2TR4.js.map} +0 -0
- /package/dist/{registry-EPKPD5SM.js.map → registry-NPOWJHC4.js.map} +0 -0
- /package/dist/{registry-P5T7PS2U.js.map → registry-VZ3CCI2R.js.map} +0 -0
- /package/dist/{request-withdrawal-TI3A5WPS.js.map → request-withdrawal-DI3H5WUI.js.map} +0 -0
- /package/dist/{reveal-DIBHLUZX.js.map → reveal-HWO4YMTJ.js.map} +0 -0
- /package/dist/{revoke-FDRD6GRW.js.map → revoke-R5CZSVUT.js.map} +0 -0
- /package/dist/{seed-Q6M2IZFL.js.map → seed-3ZMF5EQA.js.map} +0 -0
- /package/dist/{signer-MUWEIUI6.js.map → signer-MBVHW4WE.js.map} +0 -0
- /package/dist/{stale-OSQ7J3AA.js.map → stale-VZL4OGUB.js.map} +0 -0
- /package/dist/{storage-MVFCGEQE.js.map → storage-3MEJUENZ.js.map} +0 -0
- /package/dist/{store-coordination-provider-64OEZFGS.js.map → store-coordination-provider-FKX3F6TQ.js.map} +0 -0
- /package/dist/{verify-ZASTRNPR.js.map → verify-26Y5GNMK.js.map} +0 -0
- /package/dist/{walk-SVNDIZ62.js.map → walk-IPLXE36W.js.map} +0 -0
- /package/dist/{withdraw-accessible-WZIEVWSR.js.map → withdraw-accessible-TZDATQVR.js.map} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
grant,
|
|
3
3
|
revoke
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-554KLAAN.js";
|
|
5
5
|
import {
|
|
6
6
|
CargoNotEnabledError,
|
|
7
7
|
CustodyNotEnabledError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2OG6JOL.js";
|
|
9
9
|
|
|
10
10
|
// src/with-cargo/strategy.ts
|
|
11
11
|
var NO_CARGO = {
|
|
@@ -24,7 +24,7 @@ function withCustody() {
|
|
|
24
24
|
return host._revokeCustodianImpl(revoke, vault, options, factors);
|
|
25
25
|
},
|
|
26
26
|
async liberate(vault, opts) {
|
|
27
|
-
const { liberateVault } = await import("./liberate-
|
|
27
|
+
const { liberateVault } = await import("./liberate-MQQXBUCY.js");
|
|
28
28
|
return liberateVault(vault, opts);
|
|
29
29
|
}
|
|
30
30
|
};
|
|
@@ -83,4 +83,4 @@ export {
|
|
|
83
83
|
NO_CUSTODY,
|
|
84
84
|
CustodyApi
|
|
85
85
|
};
|
|
86
|
-
//# sourceMappingURL=chunk-
|
|
86
|
+
//# sourceMappingURL=chunk-SV6EAJEP.js.map
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import {
|
|
2
|
+
MaterializedViewConfigError,
|
|
3
|
+
ValidationError
|
|
4
|
+
} from "./chunk-W2OG6JOL.js";
|
|
5
|
+
|
|
6
|
+
// src/with-formula/materialized-views/with-materialized-view.ts
|
|
7
|
+
function withMaterializedView(spec) {
|
|
8
|
+
if (!spec.name || spec.name.length === 0) {
|
|
9
|
+
throw new ValidationError("withMaterializedView: name is required");
|
|
10
|
+
}
|
|
11
|
+
const declaredForms = [spec.query, spec.unionSources, spec.projection].filter((f) => f !== void 0).length;
|
|
12
|
+
if (declaredForms > 1) {
|
|
13
|
+
throw new MaterializedViewConfigError(
|
|
14
|
+
"query, unionSources, and projection are mutually exclusive \u2014 pick one"
|
|
15
|
+
);
|
|
16
|
+
}
|
|
17
|
+
if (declaredForms === 0) {
|
|
18
|
+
throw new MaterializedViewConfigError(
|
|
19
|
+
"strategy must declare exactly one of query, unionSources, or projection"
|
|
20
|
+
);
|
|
21
|
+
}
|
|
22
|
+
if (spec.query !== void 0 && typeof spec.query !== "function") {
|
|
23
|
+
throw new ValidationError("withMaterializedView: query must be a function returning a Query<T>");
|
|
24
|
+
}
|
|
25
|
+
if (spec.unionSources) {
|
|
26
|
+
if (spec.unionSources.length < 1) {
|
|
27
|
+
throw new MaterializedViewConfigError(
|
|
28
|
+
"unionSources requires at least 1 source collection"
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
const seen = /* @__PURE__ */ new Set();
|
|
32
|
+
for (const s of spec.unionSources) {
|
|
33
|
+
if (typeof s?.collection !== "string" || s.collection.length === 0) {
|
|
34
|
+
throw new MaterializedViewConfigError(
|
|
35
|
+
"each unionSources entry must declare a non-empty `collection` string"
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
if (typeof s.map !== "function") {
|
|
39
|
+
throw new MaterializedViewConfigError(
|
|
40
|
+
`unionSources entry for "${s.collection}" is missing a \`map\` function`
|
|
41
|
+
);
|
|
42
|
+
}
|
|
43
|
+
if (seen.has(s.collection)) {
|
|
44
|
+
throw new MaterializedViewConfigError(
|
|
45
|
+
`unionSources must reference distinct collections (duplicate: "${s.collection}")`
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
seen.add(s.collection);
|
|
49
|
+
}
|
|
50
|
+
if (Array.isArray(spec.groupBy) && spec.groupBy.length === 0) {
|
|
51
|
+
throw new MaterializedViewConfigError(
|
|
52
|
+
`withMaterializedView "${spec.name}": groupBy must not be an empty array \u2014 omit it or provide at least one field name`
|
|
53
|
+
);
|
|
54
|
+
}
|
|
55
|
+
if (spec.aggregate && !spec.groupBy) {
|
|
56
|
+
throw new MaterializedViewConfigError(
|
|
57
|
+
`withMaterializedView "${spec.name}": UNION strategy with aggregate requires groupBy \u2014 use groupBy to declare the bucketing keys, or remove aggregate for a pure dedup MV`
|
|
58
|
+
);
|
|
59
|
+
}
|
|
60
|
+
if (spec.moneyFields && !spec.aggregate) {
|
|
61
|
+
throw new MaterializedViewConfigError(
|
|
62
|
+
`withMaterializedView "${spec.name}": moneyFields requires aggregate \u2014 moneyFields rewrites sum/min/max reducers over money output fields, so it is meaningless without an aggregate spec`
|
|
63
|
+
);
|
|
64
|
+
}
|
|
65
|
+
if (spec.unionSources.some((s) => s.join && s.join.length > 0) && (!spec.sources || spec.sources.length === 0)) {
|
|
66
|
+
throw new MaterializedViewConfigError(
|
|
67
|
+
`withMaterializedView "${spec.name}": a unionSources arm declares join(s) but no \`sources\` are listed \u2014 declare sources: [...] with the right-side (join-target) collection names so writes to them trigger MV refresh`
|
|
68
|
+
);
|
|
69
|
+
}
|
|
70
|
+
if (spec.predicates) {
|
|
71
|
+
throw new MaterializedViewConfigError(
|
|
72
|
+
`withMaterializedView "${spec.name}": predicates are not supported on UNION strategies \u2014 UNION mode does not use a Query<T> chain, so .wherePredicate() cannot fire. Use the query() form, or open an issue if per-arm predicates are needed`
|
|
73
|
+
);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
if (spec.projection) {
|
|
77
|
+
const projection = spec.projection;
|
|
78
|
+
if (typeof projection.source !== "string" || projection.source.length === 0) {
|
|
79
|
+
throw new MaterializedViewConfigError(
|
|
80
|
+
`withMaterializedView "${spec.name}": projection.source must be a non-empty collection name`
|
|
81
|
+
);
|
|
82
|
+
}
|
|
83
|
+
if (typeof projection.map !== "function") {
|
|
84
|
+
throw new MaterializedViewConfigError(
|
|
85
|
+
`withMaterializedView "${spec.name}": projection is missing a \`map\` function`
|
|
86
|
+
);
|
|
87
|
+
}
|
|
88
|
+
if (!Array.isArray(projection.joins) || projection.joins.length < 1) {
|
|
89
|
+
throw new MaterializedViewConfigError(
|
|
90
|
+
`withMaterializedView "${spec.name}": projection.joins must declare at least 1 leg \u2014 a leg-less single-source MV is the query() form's job`
|
|
91
|
+
);
|
|
92
|
+
}
|
|
93
|
+
const seenAs = /* @__PURE__ */ new Set();
|
|
94
|
+
for (const leg of projection.joins) {
|
|
95
|
+
const l = leg;
|
|
96
|
+
const isForward = l.field !== void 0;
|
|
97
|
+
const isCollect = l.collect !== void 0;
|
|
98
|
+
if (isForward && isCollect) {
|
|
99
|
+
throw new MaterializedViewConfigError(
|
|
100
|
+
`withMaterializedView "${spec.name}": a projection leg cannot declare both \`field\` (forward) and \`collect\` (reverse) \u2014 split it into two legs`
|
|
101
|
+
);
|
|
102
|
+
}
|
|
103
|
+
if (!isForward && !isCollect) {
|
|
104
|
+
throw new MaterializedViewConfigError(
|
|
105
|
+
`withMaterializedView "${spec.name}": each projection leg must declare either \`field\` (forward FK) or \`collect\` (reverse one-to-many)`
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
if (isForward && (typeof l.field !== "string" || l.field.length === 0)) {
|
|
109
|
+
throw new MaterializedViewConfigError(
|
|
110
|
+
`withMaterializedView "${spec.name}": a forward projection leg must declare a non-empty \`field\``
|
|
111
|
+
);
|
|
112
|
+
}
|
|
113
|
+
if (isCollect) {
|
|
114
|
+
if (typeof l.collect !== "string" || l.collect.length === 0) {
|
|
115
|
+
throw new MaterializedViewConfigError(
|
|
116
|
+
`withMaterializedView "${spec.name}": a collect projection leg must declare a non-empty \`collect\` collection name`
|
|
117
|
+
);
|
|
118
|
+
}
|
|
119
|
+
if (typeof l.on !== "string" || l.on.length === 0) {
|
|
120
|
+
throw new MaterializedViewConfigError(
|
|
121
|
+
`withMaterializedView "${spec.name}": collect leg for "${l.collect}" must declare a non-empty \`on\` FK field`
|
|
122
|
+
);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
if (typeof l.as !== "string" || l.as.length === 0) {
|
|
126
|
+
throw new MaterializedViewConfigError(
|
|
127
|
+
`withMaterializedView "${spec.name}": each projection leg must declare a non-empty \`as\` alias`
|
|
128
|
+
);
|
|
129
|
+
}
|
|
130
|
+
if (seenAs.has(l.as)) {
|
|
131
|
+
throw new MaterializedViewConfigError(
|
|
132
|
+
`withMaterializedView "${spec.name}": projection legs must attach under distinct \`as\` aliases (duplicate: "${l.as}")`
|
|
133
|
+
);
|
|
134
|
+
}
|
|
135
|
+
seenAs.add(l.as);
|
|
136
|
+
}
|
|
137
|
+
if (Array.isArray(spec.groupBy) && spec.groupBy.length === 0) {
|
|
138
|
+
throw new MaterializedViewConfigError(
|
|
139
|
+
`withMaterializedView "${spec.name}": groupBy must not be an empty array \u2014 omit it or provide at least one field name`
|
|
140
|
+
);
|
|
141
|
+
}
|
|
142
|
+
if (spec.aggregate && !spec.groupBy) {
|
|
143
|
+
throw new MaterializedViewConfigError(
|
|
144
|
+
`withMaterializedView "${spec.name}": projection strategy with aggregate requires groupBy \u2014 use groupBy to declare the bucketing keys, or remove aggregate for a row-per-primary-record MV`
|
|
145
|
+
);
|
|
146
|
+
}
|
|
147
|
+
if (spec.moneyFields && !spec.aggregate) {
|
|
148
|
+
throw new MaterializedViewConfigError(
|
|
149
|
+
`withMaterializedView "${spec.name}": moneyFields requires aggregate \u2014 moneyFields rewrites sum/min/max reducers over money output fields, so it is meaningless without an aggregate spec`
|
|
150
|
+
);
|
|
151
|
+
}
|
|
152
|
+
if (spec.predicates) {
|
|
153
|
+
throw new MaterializedViewConfigError(
|
|
154
|
+
`withMaterializedView "${spec.name}": predicates are not supported on projection strategies \u2014 projection mode does not use a Query<T> chain, so .wherePredicate() cannot fire. Filter inside projection.map (return null to omit) instead`
|
|
155
|
+
);
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
if (spec.i18nLocale !== void 0 && spec.i18nFields === void 0) {
|
|
159
|
+
throw new MaterializedViewConfigError(
|
|
160
|
+
`withMaterializedView "${spec.name}": i18nLocale requires i18nFields \u2014 declare the i18nText descriptors of the group-key fields so they can be resolved at the mv layer before bucketing.`
|
|
161
|
+
);
|
|
162
|
+
}
|
|
163
|
+
if (typeof spec.rowKey !== "function") {
|
|
164
|
+
throw new ValidationError("withMaterializedView: rowKey is required (no default; see spec \xA7 Type surface)");
|
|
165
|
+
}
|
|
166
|
+
if (spec.refresh !== "eager" && spec.refresh !== "lazy" && spec.refresh !== "manual") {
|
|
167
|
+
throw new ValidationError(
|
|
168
|
+
`withMaterializedView: refresh must be 'eager' | 'lazy' | 'manual', got "${String(spec.refresh)}"`
|
|
169
|
+
);
|
|
170
|
+
}
|
|
171
|
+
return {
|
|
172
|
+
__noydb_strategy: "materialized-view",
|
|
173
|
+
spec
|
|
174
|
+
};
|
|
175
|
+
}
|
|
176
|
+
|
|
177
|
+
export {
|
|
178
|
+
withMaterializedView
|
|
179
|
+
};
|
|
180
|
+
//# sourceMappingURL=chunk-T36RFODW.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-formula/materialized-views/with-materialized-view.ts"],"sourcesContent":["import { MaterializedViewConfigError, ValidationError } from '../../kernel/errors.js'\nimport type { MaterializedViewStrategy, MaterializedViewStrategyHandle } from './types.js'\n\n/**\n * Register a materialized view: a declared query whose result is\n * persisted as a queryable collection and kept fresh as sources\n * change. Writes go through the standard `Collection.put` pipeline;\n * refresh-driven deletes route through `Collection._internalDelete` so\n * user `onDelete` guards on the output collection aren't tripped by\n * housekeeping.\n *\n * Three registration modes:\n * - **single-source** — declare `query: (db) => Query<TRow>`; the\n * dependency analyzer derives source collections from the plan.\n * - **UNION** — declare `unionSources: [{ collection, map }, ...]`\n * plus optional `groupBy` + `aggregate`; the executor reads each\n * arm, maps to the unified row shape, concatenates, then groups\n * and aggregates.\n * - **projection** (#810) — declare `projection: { source, joins,\n * map }`; one output row per primary record, enriched with\n * forward FK legs and reverse \"collect\" legs before `map` runs.\n *\n * The three modes are mutually exclusive — exactly one of `query` /\n * `unionSources` / `projection` must be set at registration time.\n *\n * See docs/superpowers/specs/2026-05-20-dim14-mv-v2-design.md (single-source v2),\n * docs/superpowers/specs/2026-05-21-dim14-mv-multikey-and-union.md (UNION),\n * and docs/superpowers/specs/2026-07-25-join-projection-mv-design.md (projection).\n */\nexport function withMaterializedView<TRow extends Record<string, unknown>>(\n spec: MaterializedViewStrategy<TRow>,\n): MaterializedViewStrategyHandle {\n if (!spec.name || spec.name.length === 0) {\n throw new ValidationError('withMaterializedView: name is required')\n }\n // Mutual exclusion: exactly one of the three forms must be declared.\n const declaredForms = [spec.query, spec.unionSources, spec.projection]\n .filter((f) => f !== undefined).length\n if (declaredForms > 1) {\n throw new MaterializedViewConfigError(\n 'query, unionSources, and projection are mutually exclusive — pick one',\n )\n }\n if (declaredForms === 0) {\n throw new MaterializedViewConfigError(\n 'strategy must declare exactly one of query, unionSources, or projection',\n )\n }\n if (spec.query !== undefined && typeof spec.query !== 'function') {\n throw new ValidationError('withMaterializedView: query must be a function returning a Query<T>')\n }\n // UNION-form invariants.\n if (spec.unionSources) {\n // A single arm is a deliberate shape: map→group→aggregate over\n // ONE collection with a COMPUTED bucket key (e.g. month sliced from a\n // date field) — something the query form's stored-field groupBy cannot\n // express. The executor and dependency analyzer are arm-count-agnostic.\n if (spec.unionSources.length < 1) {\n throw new MaterializedViewConfigError(\n 'unionSources requires at least 1 source collection',\n )\n }\n const seen = new Set<string>()\n for (const s of spec.unionSources) {\n if (typeof s?.collection !== 'string' || s.collection.length === 0) {\n throw new MaterializedViewConfigError(\n 'each unionSources entry must declare a non-empty `collection` string',\n )\n }\n if (typeof s.map !== 'function') {\n throw new MaterializedViewConfigError(\n `unionSources entry for \"${s.collection}\" is missing a \\`map\\` function`,\n )\n }\n if (seen.has(s.collection)) {\n throw new MaterializedViewConfigError(\n `unionSources must reference distinct collections (duplicate: \"${s.collection}\")`,\n )\n }\n seen.add(s.collection)\n }\n if (Array.isArray(spec.groupBy) && spec.groupBy.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": groupBy must not be an empty array — omit it or provide at least one field name`,\n )\n }\n if (spec.aggregate && !spec.groupBy) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": UNION strategy with aggregate requires groupBy — `\n + `use groupBy to declare the bucketing keys, or remove aggregate for a pure dedup MV`,\n )\n }\n // `moneyFields` only has meaning when there's an aggregate to\n // money-rewrite — it keys reducer outputs, so declaring it without\n // `aggregate` is a no-op config mistake.\n if (spec.moneyFields && !spec.aggregate) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": moneyFields requires aggregate — `\n + `moneyFields rewrites sum/min/max reducers over money output fields, `\n + `so it is meaningless without an aggregate spec`,\n )\n }\n // Per-arm joins resolve right-side collections that the union\n // dependency set (built from arm `collection`s alone) does NOT\n // include. The consumer must list those right-side collections in\n // `sources` so writes to them trigger MV refresh.\n if (spec.unionSources.some(s => s.join && s.join.length > 0) && (!spec.sources || spec.sources.length === 0)) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": a unionSources arm declares join(s) but `\n + `no \\`sources\\` are listed — declare sources: [...] with the right-side `\n + `(join-target) collection names so writes to them trigger MV refresh`,\n )\n }\n if (spec.predicates) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": predicates are not supported on UNION strategies — `\n + `UNION mode does not use a Query<T> chain, so .wherePredicate() cannot fire. `\n + `Use the query() form, or open an issue if per-arm predicates are needed`,\n )\n }\n }\n // Projection-form invariants (#810). Shape checks only — the\n // semantic ref() check on collect legs (the `on` field must carry a\n // ref() targeting the projection source) runs at first\n // materialization, parity with join-time ref errors.\n if (spec.projection) {\n const projection = spec.projection\n if (typeof projection.source !== 'string' || projection.source.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": projection.source must be a non-empty collection name`,\n )\n }\n if (typeof projection.map !== 'function') {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": projection is missing a \\`map\\` function`,\n )\n }\n if (!Array.isArray(projection.joins) || projection.joins.length < 1) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": projection.joins must declare at least 1 leg — `\n + `a leg-less single-source MV is the query() form's job`,\n )\n }\n const seenAs = new Set<string>()\n for (const leg of projection.joins) {\n const l = leg as { field?: unknown; collect?: unknown; on?: unknown; as?: unknown }\n const isForward = l.field !== undefined\n const isCollect = l.collect !== undefined\n if (isForward && isCollect) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": a projection leg cannot declare both \\`field\\` `\n + `(forward) and \\`collect\\` (reverse) — split it into two legs`,\n )\n }\n if (!isForward && !isCollect) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": each projection leg must declare either \\`field\\` `\n + `(forward FK) or \\`collect\\` (reverse one-to-many)`,\n )\n }\n if (isForward && (typeof l.field !== 'string' || l.field.length === 0)) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": a forward projection leg must declare a non-empty \\`field\\``,\n )\n }\n if (isCollect) {\n if (typeof l.collect !== 'string' || l.collect.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": a collect projection leg must declare a non-empty \\`collect\\` collection name`,\n )\n }\n if (typeof l.on !== 'string' || l.on.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": collect leg for \"${l.collect}\" must declare a non-empty \\`on\\` FK field`,\n )\n }\n }\n if (typeof l.as !== 'string' || l.as.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": each projection leg must declare a non-empty \\`as\\` alias`,\n )\n }\n if (seenAs.has(l.as)) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": projection legs must attach under distinct \\`as\\` aliases (duplicate: \"${l.as}\")`,\n )\n }\n seenAs.add(l.as)\n }\n // Post-map grouping invariants — same rules as UNION (the mapped\n // stream feeds the same shared groupAndReduce tail).\n if (Array.isArray(spec.groupBy) && spec.groupBy.length === 0) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": groupBy must not be an empty array — omit it or provide at least one field name`,\n )\n }\n if (spec.aggregate && !spec.groupBy) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": projection strategy with aggregate requires groupBy — `\n + `use groupBy to declare the bucketing keys, or remove aggregate for a row-per-primary-record MV`,\n )\n }\n if (spec.moneyFields && !spec.aggregate) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": moneyFields requires aggregate — `\n + `moneyFields rewrites sum/min/max reducers over money output fields, `\n + `so it is meaningless without an aggregate spec`,\n )\n }\n if (spec.predicates) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": predicates are not supported on projection strategies — `\n + `projection mode does not use a Query<T> chain, so .wherePredicate() cannot fire. `\n + `Filter inside projection.map (return null to omit) instead`,\n )\n }\n }\n // i18nLocale + i18nFields drive compute-time i18n resolution of group-key\n // i18nText fields before bucketing — UNION mode (resolved on the unified rows)\n // AND query mode (resolved in GroupedAggregation.run before groupAndReduce).\n // i18nLocale without i18nFields cannot resolve anything, so reject it early.\n if (spec.i18nLocale !== undefined && spec.i18nFields === undefined) {\n throw new MaterializedViewConfigError(\n `withMaterializedView \"${spec.name}\": i18nLocale requires i18nFields — `\n + `declare the i18nText descriptors of the group-key fields so they can be `\n + `resolved at the mv layer before bucketing.`,\n )\n }\n if (typeof spec.rowKey !== 'function') {\n throw new ValidationError('withMaterializedView: rowKey is required (no default; see spec § Type surface)')\n }\n if (spec.refresh !== 'eager' && spec.refresh !== 'lazy' && spec.refresh !== 'manual') {\n throw new ValidationError(\n `withMaterializedView: refresh must be 'eager' | 'lazy' | 'manual', got \"${String(spec.refresh)}\"`,\n )\n }\n return {\n __noydb_strategy: 'materialized-view',\n spec,\n }\n}\n"],"mappings":"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","names":[]}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadVaultPolicy,
|
|
3
3
|
saveVaultPolicy
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-XDIAFPUM.js";
|
|
5
5
|
import {
|
|
6
6
|
PolicyDeniedError,
|
|
7
7
|
ValidationError
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W2OG6JOL.js";
|
|
9
9
|
|
|
10
10
|
// src/with-party/policy/presets.ts
|
|
11
11
|
var PERSONAL_POLICY = Object.freeze({
|
|
@@ -364,4 +364,4 @@ export {
|
|
|
364
364
|
describeGate,
|
|
365
365
|
createNoydbPolicy
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=chunk-
|
|
367
|
+
//# sourceMappingURL=chunk-T3GY65MA.js.map
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./chunk-IGJCYUT5.js";
|
|
4
4
|
import {
|
|
5
5
|
applyI18nLocale
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-GULTLPFB.js";
|
|
7
7
|
import {
|
|
8
8
|
viaBinder
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-JVBO4SZL.js";
|
|
10
10
|
import {
|
|
11
11
|
GroupCardinalityError
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W2OG6JOL.js";
|
|
13
13
|
|
|
14
14
|
// src/with-lookup/aggregate/reducers.ts
|
|
15
15
|
function count(opts) {
|
|
@@ -512,4 +512,4 @@ export {
|
|
|
512
512
|
groupAndReduce,
|
|
513
513
|
GroupedAggregation
|
|
514
514
|
};
|
|
515
|
-
//# sourceMappingURL=chunk-
|
|
515
|
+
//# sourceMappingURL=chunk-TAGR72IR.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SCHEMAS_COLLECTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-CJ5KKU6X.js";
|
|
4
4
|
import {
|
|
5
5
|
BLOB_CHUNKS_COLLECTION,
|
|
6
6
|
BLOB_COLLECTION,
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
BLOB_INTENT_COLLECTION,
|
|
9
9
|
BLOB_SLOTS_PREFIX,
|
|
10
10
|
BLOB_VERSIONS_PREFIX
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-UHNGNKLV.js";
|
|
12
12
|
import {
|
|
13
13
|
assembleBundleContainer,
|
|
14
14
|
buildExtractedPartitionWrapper
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FXZDAV62.js";
|
|
16
16
|
import {
|
|
17
17
|
generateULID
|
|
18
18
|
} from "./chunk-ZJADGNYF.js";
|
|
@@ -23,11 +23,11 @@ import {
|
|
|
23
23
|
canonicalJson,
|
|
24
24
|
envelopePayloadHash,
|
|
25
25
|
hashEntry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-WQIYTNJV.js";
|
|
27
27
|
import {
|
|
28
28
|
openEnvelopeJson,
|
|
29
29
|
writeEnvelopeBody
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-W4TCUGQR.js";
|
|
31
31
|
import {
|
|
32
32
|
bufferToBase64,
|
|
33
33
|
decrypt,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
generateDEK,
|
|
38
38
|
unwrapCek,
|
|
39
39
|
wrapCek
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-HOONYZY2.js";
|
|
41
41
|
import {
|
|
42
42
|
NOYDB_BACKUP_VERSION,
|
|
43
43
|
NOYDB_FORMAT_VERSION
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-VCTXU4AT.js";
|
|
45
45
|
import {
|
|
46
46
|
PartitionExtractionError
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-W2OG6JOL.js";
|
|
48
48
|
|
|
49
49
|
// src/with-cargo/walk-closure.ts
|
|
50
50
|
async function walkClosure(vault, opts) {
|
|
@@ -492,4 +492,4 @@ export {
|
|
|
492
492
|
extractPartition,
|
|
493
493
|
extractPartitionCore
|
|
494
494
|
};
|
|
495
|
-
//# sourceMappingURL=chunk-
|
|
495
|
+
//# sourceMappingURL=chunk-THVIPWRF.js.map
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
function withCargo() {
|
|
3
3
|
return {
|
|
4
4
|
async extractPartition(vault, opts) {
|
|
5
|
-
const { extractPartitionCore } = await import("./extract-partition-
|
|
5
|
+
const { extractPartitionCore } = await import("./extract-partition-UP2ARO75.js");
|
|
6
6
|
return extractPartitionCore(vault, opts);
|
|
7
7
|
}
|
|
8
8
|
};
|
|
@@ -11,4 +11,4 @@ function withCargo() {
|
|
|
11
11
|
export {
|
|
12
12
|
withCargo
|
|
13
13
|
};
|
|
14
|
-
//# sourceMappingURL=chunk-
|
|
14
|
+
//# sourceMappingURL=chunk-TIGPQDYP.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
encrypt
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-HOONYZY2.js";
|
|
4
4
|
import {
|
|
5
5
|
NOYDB_FORMAT_VERSION
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VCTXU4AT.js";
|
|
7
7
|
|
|
8
8
|
// src/with-shape/blobs/export-blobs.ts
|
|
9
9
|
var ExportBlobsAbortedError = class extends Error {
|
|
@@ -258,4 +258,4 @@ export {
|
|
|
258
258
|
BLOB_EVICTION_AUDIT_COLLECTION,
|
|
259
259
|
runCompaction
|
|
260
260
|
};
|
|
261
|
-
//# sourceMappingURL=chunk-
|
|
261
|
+
//# sourceMappingURL=chunk-U6JMEH2P.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TierNotGrantedError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W2OG6JOL.js";
|
|
4
4
|
|
|
5
5
|
// src/with-party/team/tiers.ts
|
|
6
6
|
function dekKey(collection, tier) {
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
effectiveClearance,
|
|
32
32
|
assertTierAccess
|
|
33
33
|
};
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-UC2ETWF3.js.map
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveManagedSecret
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-RFI7GGFO.js";
|
|
4
4
|
import {
|
|
5
5
|
parseExtractedPartitionBody,
|
|
6
6
|
readPod,
|
|
7
7
|
readPodHeader
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-FXZDAV62.js";
|
|
9
9
|
import {
|
|
10
10
|
createOwnerKeyring
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-554KLAAN.js";
|
|
12
12
|
import {
|
|
13
13
|
LedgerStore
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VRBTNCM4.js";
|
|
15
15
|
import {
|
|
16
16
|
LEDGER_COLLECTION
|
|
17
17
|
} from "./chunk-I7FD46FF.js";
|
|
18
18
|
import {
|
|
19
19
|
openEnvelopeJson
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-W4TCUGQR.js";
|
|
21
21
|
import {
|
|
22
22
|
base64ToBuffer,
|
|
23
23
|
wrapKey
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HOONYZY2.js";
|
|
25
25
|
import {
|
|
26
26
|
AdoptionStateError,
|
|
27
27
|
TransferSealError,
|
|
28
28
|
ValidationError
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-W2OG6JOL.js";
|
|
30
30
|
|
|
31
31
|
// src/with-cargo/adopt-partition.ts
|
|
32
32
|
async function unsealDeks(seal, transferKey) {
|
|
@@ -179,7 +179,7 @@ async function createOwnerOnAdoptedPartition(store, vaultName, opts) {
|
|
|
179
179
|
}
|
|
180
180
|
}
|
|
181
181
|
if (isManaged(opts)) {
|
|
182
|
-
const { createNoydb } = await import("./noydb-
|
|
182
|
+
const { createNoydb } = await import("./noydb-ANIW5FLE.js");
|
|
183
183
|
const db = await createNoydb({
|
|
184
184
|
store,
|
|
185
185
|
user: userId,
|
|
@@ -232,4 +232,4 @@ export {
|
|
|
232
232
|
createOwnerOnAdoptedPartition,
|
|
233
233
|
decryptExtractedPartition
|
|
234
234
|
};
|
|
235
|
-
//# sourceMappingURL=chunk-
|
|
235
|
+
//# sourceMappingURL=chunk-UDSR4X4L.js.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
assertTierAccess,
|
|
3
3
|
dekKey
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UC2ETWF3.js";
|
|
5
5
|
import {
|
|
6
6
|
liveRecordIsElevated,
|
|
7
7
|
liveRecordTier
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-DRWBEDYO.js";
|
|
9
9
|
import {
|
|
10
10
|
openEnvelopeJson,
|
|
11
11
|
writeEnvelopeBody
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-W4TCUGQR.js";
|
|
13
13
|
import {
|
|
14
14
|
base64ToBuffer,
|
|
15
15
|
bufferToBase64,
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
sha256Hex,
|
|
22
22
|
unwrapCek,
|
|
23
23
|
wrapCek
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-HOONYZY2.js";
|
|
25
25
|
import {
|
|
26
26
|
NOYDB_FORMAT_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-VCTXU4AT.js";
|
|
28
28
|
import {
|
|
29
29
|
BlobIntentPendingError,
|
|
30
30
|
ConflictError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
TierNotGrantedError,
|
|
34
34
|
UnsupportedTierCompositionError,
|
|
35
35
|
ValidationError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-W2OG6JOL.js";
|
|
37
37
|
|
|
38
38
|
// src/with-shape/blobs/mime-magic.ts
|
|
39
39
|
function hex(s) {
|
|
@@ -2779,4 +2779,4 @@ export {
|
|
|
2779
2779
|
DEFAULT_CHUNK_SIZE,
|
|
2780
2780
|
BlobSet
|
|
2781
2781
|
};
|
|
2782
|
-
//# sourceMappingURL=chunk-
|
|
2782
|
+
//# sourceMappingURL=chunk-UHNGNKLV.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ReadOnlyFrameError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-W2OG6JOL.js";
|
|
4
4
|
|
|
5
5
|
// src/with-fork/shadow/vault-frame.ts
|
|
6
6
|
var VaultFrame = class {
|
|
@@ -71,4 +71,4 @@ export {
|
|
|
71
71
|
VaultFrame,
|
|
72
72
|
CollectionFrame
|
|
73
73
|
};
|
|
74
|
-
//# sourceMappingURL=chunk-
|
|
74
|
+
//# sourceMappingURL=chunk-VAIS3SOM.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DerivationCapExceededError,
|
|
3
3
|
DerivationOutputShapeError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-W2OG6JOL.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-VCBHAE4R.js.map
|