@noy-db/hub 0.2.0-pre.1 → 0.2.0-pre.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/aggregate/index.cjs +9 -0
- package/dist/aggregate/index.cjs.map +1 -1
- package/dist/aggregate/index.d.cts +2 -2
- package/dist/aggregate/index.d.ts +2 -2
- package/dist/aggregate/index.js +4 -4
- package/dist/attestation/index.cjs +305 -0
- package/dist/attestation/index.cjs.map +1 -0
- package/dist/attestation/index.d.cts +52 -0
- package/dist/attestation/index.d.ts +52 -0
- package/dist/attestation/index.js +36 -0
- package/dist/attestation/index.js.map +1 -0
- package/dist/blobs/index.cjs.map +1 -1
- package/dist/blobs/index.d.cts +7 -6
- package/dist/blobs/index.d.ts +7 -6
- package/dist/blobs/index.js +10 -8
- package/dist/blobs/index.js.map +1 -1
- package/dist/bundle/index.cjs +18899 -129
- package/dist/bundle/index.cjs.map +1 -1
- package/dist/bundle/index.d.cts +175 -6
- package/dist/bundle/index.d.ts +175 -6
- package/dist/bundle/index.js +533 -5
- package/dist/bundle/index.js.map +1 -1
- package/dist/{chunk-6HPZY4ON.js → chunk-26NK23DZ.js} +9 -4
- package/dist/chunk-26NK23DZ.js.map +1 -0
- package/dist/{chunk-XGSOTWYX.js → chunk-2LPPNWF6.js} +3 -3
- package/dist/{chunk-5SCJ5UEF.js → chunk-2N62W5YP.js} +3 -3
- package/dist/{chunk-537VFZTR.js → chunk-3LPV6BXR.js} +4 -4
- package/dist/{chunk-UA4RI7OT.js → chunk-4CLICFEY.js} +5 -5
- package/dist/chunk-4CLICFEY.js.map +1 -0
- package/dist/chunk-4USCAEDT.js +10529 -0
- package/dist/chunk-4USCAEDT.js.map +1 -0
- package/dist/chunk-5IXJGFF2.js +83 -0
- package/dist/chunk-5IXJGFF2.js.map +1 -0
- package/dist/{chunk-HB3Z2GCR.js → chunk-5OEJ6GOT.js} +2 -2
- package/dist/chunk-5OEJ6GOT.js.map +1 -0
- package/dist/chunk-5OX6XVNS.js +79 -0
- package/dist/chunk-5OX6XVNS.js.map +1 -0
- package/dist/{chunk-VMIO4IXG.js → chunk-6EOXTJS2.js} +6 -229
- package/dist/chunk-6EOXTJS2.js.map +1 -0
- package/dist/{chunk-UZXLQCHP.js → chunk-6T2UDBKG.js} +2 -2
- package/dist/chunk-6T2UDBKG.js.map +1 -0
- package/dist/{chunk-23TTQXVO.js → chunk-6YLPHBKR.js} +214 -9
- package/dist/chunk-6YLPHBKR.js.map +1 -0
- package/dist/{chunk-Z72JH4KG.js → chunk-7CEGU63S.js} +5 -35
- package/dist/chunk-7CEGU63S.js.map +1 -0
- package/dist/{chunk-PEULZC6M.js → chunk-A3JMGXPG.js} +8 -1
- package/dist/chunk-A3JMGXPG.js.map +1 -0
- package/dist/{chunk-7H6DOO3E.js → chunk-BB27JMWB.js} +211 -36
- package/dist/chunk-BB27JMWB.js.map +1 -0
- package/dist/{chunk-I6MX32UC.js → chunk-BDV7INMP.js} +4 -4
- package/dist/{chunk-MKSA2V7A.js → chunk-C3WE6UJY.js} +2 -2
- package/dist/{chunk-FCXOFQAJ.js → chunk-CH22FZHT.js} +19 -2
- package/dist/chunk-CH22FZHT.js.map +1 -0
- package/dist/{chunk-DYBQG5PQ.js → chunk-CXFOITNS.js} +2 -2
- package/dist/{chunk-5ZGZ6HIZ.js → chunk-CXJG63MA.js} +11 -2
- package/dist/chunk-CXJG63MA.js.map +1 -0
- package/dist/{chunk-EGQYGYIU.js → chunk-DAP2XL7Q.js} +3 -3
- package/dist/chunk-DAP2XL7Q.js.map +1 -0
- package/dist/{chunk-4TFSM22V.js → chunk-DJRWA3Q5.js} +4 -4
- package/dist/chunk-DRXIZOFV.js +233 -0
- package/dist/chunk-DRXIZOFV.js.map +1 -0
- package/dist/{chunk-DPMFBCV6.js → chunk-FO3UEG4S.js} +20 -3
- package/dist/chunk-FO3UEG4S.js.map +1 -0
- package/dist/{chunk-SIZWEV2Y.js → chunk-GAUEWM7D.js} +7 -5
- package/dist/chunk-GAUEWM7D.js.map +1 -0
- package/dist/{chunk-NIOHFJPJ.js → chunk-GNHAC43Q.js} +218 -119
- package/dist/chunk-GNHAC43Q.js.map +1 -0
- package/dist/chunk-HHOO7HGH.js +57 -0
- package/dist/chunk-HHOO7HGH.js.map +1 -0
- package/dist/{chunk-PA6R5ZCI.js → chunk-HQSQC2XL.js} +5 -5
- package/dist/chunk-HQSQC2XL.js.map +1 -0
- package/dist/chunk-IMYKDWB4.js +139 -0
- package/dist/chunk-IMYKDWB4.js.map +1 -0
- package/dist/{chunk-5DWL3JBF.js → chunk-LSTBFLL2.js} +2 -2
- package/dist/{chunk-ADQ5MQ54.js → chunk-O6EJ6WTI.js} +163 -2
- package/dist/chunk-O6EJ6WTI.js.map +1 -0
- package/dist/{chunk-OMLIZL2P.js → chunk-PC6ZEDRL.js} +12 -2
- package/dist/{chunk-OMLIZL2P.js.map → chunk-PC6ZEDRL.js.map} +1 -1
- package/dist/chunk-PM3QYWUU.js +251 -0
- package/dist/chunk-PM3QYWUU.js.map +1 -0
- package/dist/{chunk-34YSDCDP.js → chunk-PVUUIWHY.js} +2 -2
- package/dist/{chunk-CBAHB2BF.js → chunk-PXTQPZO4.js} +7 -70
- package/dist/chunk-PXTQPZO4.js.map +1 -0
- package/dist/{chunk-DYECX3IX.js → chunk-QSOYKKMD.js} +4 -4
- package/dist/chunk-QSOYKKMD.js.map +1 -0
- package/dist/{chunk-WCA2NROQ.js → chunk-R233SLY3.js} +2 -2
- package/dist/chunk-RC6SU5NO.js +36 -0
- package/dist/chunk-RC6SU5NO.js.map +1 -0
- package/dist/{chunk-P7EQ2S5O.js → chunk-RRNA5GKT.js} +2 -2
- package/dist/{chunk-ZNOEIM6Y.js → chunk-RYIL3PI2.js} +2 -2
- package/dist/chunk-STNPB3UM.js +9 -0
- package/dist/chunk-STNPB3UM.js.map +1 -0
- package/dist/{chunk-MRIBLZL3.js → chunk-TV3YZ35S.js} +5 -1
- package/dist/chunk-TV3YZ35S.js.map +1 -0
- package/dist/chunk-TY32C732.js +59 -0
- package/dist/chunk-TY32C732.js.map +1 -0
- package/dist/{chunk-YMYK7US4.js → chunk-WIBHRONM.js} +2 -2
- package/dist/chunk-WIBHRONM.js.map +1 -0
- package/dist/{chunk-YS3POABP.js → chunk-WIRRPTFH.js} +1 -1
- package/dist/chunk-WIRRPTFH.js.map +1 -0
- package/dist/{chunk-KESP7GOK.js → chunk-Y26YV5R3.js} +3 -3
- package/dist/{chunk-MIQHZESA.js → chunk-YM7LFCG7.js} +5 -5
- package/dist/{chunk-MIQHZESA.js.map → chunk-YM7LFCG7.js.map} +1 -1
- package/dist/{chunk-2AXFIYHT.js → chunk-Z6FNBOTC.js} +1 -1
- package/dist/chunk-Z6FNBOTC.js.map +1 -0
- package/dist/{chunk-RD5LYKD6.js → chunk-ZROPXHJY.js} +2 -2
- package/dist/chunk-ZROPXHJY.js.map +1 -0
- package/dist/consent/index.cjs.map +1 -1
- package/dist/consent/index.d.cts +7 -6
- package/dist/consent/index.d.ts +7 -6
- package/dist/consent/index.js +3 -3
- package/dist/{crypto-A7FRXYHC.js → crypto-2CRLG4F4.js} +3 -3
- package/dist/{delegation-YBA4X4JN.js → delegation-ZTRT2PRV.js} +5 -5
- package/dist/derivations/index.cjs +18 -1
- package/dist/derivations/index.cjs.map +1 -1
- package/dist/derivations/index.d.cts +10 -9
- package/dist/derivations/index.d.ts +10 -9
- package/dist/derivations/index.js +4 -4
- package/dist/{dev-unlock-DRwVSy2S.d.cts → dev-unlock-AglVnkPY.d.cts} +1 -1
- package/dist/{dev-unlock-D9s-loPr.d.ts → dev-unlock-BOEYl1xl.d.ts} +1 -1
- package/dist/discriminant-BN9REW3o.d.cts +60 -0
- package/dist/discriminant-BN9REW3o.d.ts +60 -0
- package/dist/executor-S76VN45G.js +8 -0
- package/dist/executor-UCXLIGLW.js +11 -0
- package/dist/executor-ZCNZJMGR.js +8 -0
- package/dist/{fanout-sidecar-VJ52RIEY.js → fanout-sidecar-OKPMMPLG.js} +2 -2
- package/dist/fanout-sidecar-OKPMMPLG.js.map +1 -0
- package/dist/guards/index.cjs +7 -0
- package/dist/guards/index.cjs.map +1 -1
- package/dist/guards/index.d.cts +8 -7
- package/dist/guards/index.d.ts +8 -7
- package/dist/guards/index.js +4 -4
- package/dist/{hash-DXXXusyk.d.ts → hash-B9m3_fhj.d.ts} +1 -1
- package/dist/{hash-DtRih9MQ.d.cts → hash-RVqz2zi8.d.cts} +1 -1
- package/dist/history/index.cjs +2 -2
- package/dist/history/index.cjs.map +1 -1
- package/dist/history/index.d.cts +8 -7
- package/dist/history/index.d.ts +8 -7
- package/dist/history/index.js +6 -6
- package/dist/i18n/index.cjs +287 -27
- package/dist/i18n/index.cjs.map +1 -1
- package/dist/i18n/index.d.cts +7 -6
- package/dist/i18n/index.d.ts +7 -6
- package/dist/i18n/index.js +21 -6
- package/dist/i18n/index.js.map +1 -1
- package/dist/{index-CmVgTkqk.d.cts → index-B8bjExET.d.cts} +214 -18
- package/dist/{index-CNwA-B6-.d.ts → index-DfUbNad8.d.ts} +214 -18
- package/dist/index.cjs +3329 -446
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +43 -22
- package/dist/index.d.ts +43 -22
- package/dist/index.js +179 -8799
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.cjs +5 -1
- package/dist/indexing/index.cjs.map +1 -1
- package/dist/indexing/index.d.cts +3 -3
- package/dist/indexing/index.d.ts +3 -3
- package/dist/indexing/index.js +4 -4
- package/dist/issue-3W6IVLKH.js +12 -0
- package/dist/{lazy-builder-Rpd-V3jP.d.ts → lazy-builder-Ci5_YG73.d.cts} +2 -2
- package/dist/{lazy-builder-C-rPfWG0.d.cts → lazy-builder-D5GU14TS.d.ts} +2 -2
- package/dist/{ledger-3TXNP47J.js → ledger-O7FXOG3D.js} +6 -6
- package/dist/materialized-views/index.cjs +21 -2
- package/dist/materialized-views/index.cjs.map +1 -1
- package/dist/materialized-views/index.d.cts +23 -20
- package/dist/materialized-views/index.d.ts +23 -20
- package/dist/materialized-views/index.js +12 -12
- package/dist/noydb-YAZNH5TI.js +34 -0
- package/dist/overlay-views/index.cjs +11 -1
- package/dist/overlay-views/index.cjs.map +1 -1
- package/dist/overlay-views/index.d.cts +10 -9
- package/dist/overlay-views/index.d.ts +10 -9
- package/dist/overlay-views/index.js +6 -4
- package/dist/periods/index.cjs.map +1 -1
- package/dist/periods/index.d.cts +7 -6
- package/dist/periods/index.d.ts +7 -6
- package/dist/periods/index.js +6 -6
- package/dist/{predicate-Dnu81tsS.d.cts → predicate-Bt5ft-9c.d.cts} +28 -3
- package/dist/{predicate-Dnu81tsS.d.ts → predicate-Bt5ft-9c.d.ts} +28 -3
- package/dist/{public-envelope-PY6NKFLI.js → public-envelope-HMYHZIRH.js} +4 -4
- package/dist/query/index.cjs +255 -6
- package/dist/query/index.cjs.map +1 -1
- package/dist/query/index.d.cts +3 -3
- package/dist/query/index.d.ts +3 -3
- package/dist/query/index.js +12 -6
- package/dist/registry-DKEXOJVO.js +7 -0
- package/dist/{registry-3L3N3PTG.js → registry-ST2VNFZC.js} +3 -3
- package/dist/registry-UFIK7CSR.js +8 -0
- package/dist/registry-ZGYYSM5I.js +8 -0
- package/dist/registry-ZGYYSM5I.js.map +1 -0
- package/dist/revoke-S6JMSLUN.js +17 -0
- package/dist/revoke-S6JMSLUN.js.map +1 -0
- package/dist/session/index.cjs.map +1 -1
- package/dist/session/index.d.cts +8 -7
- package/dist/session/index.d.ts +8 -7
- package/dist/session/index.js +3 -3
- package/dist/shadow/index.cjs.map +1 -1
- package/dist/shadow/index.d.cts +7 -6
- package/dist/shadow/index.d.ts +7 -6
- package/dist/shadow/index.js +2 -2
- package/dist/signer-7NPTB3SQ.js +18 -0
- package/dist/signer-7NPTB3SQ.js.map +1 -0
- package/dist/snapshots/index.cjs +937 -0
- package/dist/snapshots/index.cjs.map +1 -0
- package/dist/snapshots/index.d.cts +28 -0
- package/dist/snapshots/index.d.ts +28 -0
- package/dist/snapshots/index.js +152 -0
- package/dist/snapshots/index.js.map +1 -0
- package/dist/{stale-HSC5YO2O.js → stale-VKXSXJF4.js} +2 -2
- package/dist/stale-VKXSXJF4.js.map +1 -0
- package/dist/store/index.cjs.map +1 -1
- package/dist/store/index.d.cts +7 -6
- package/dist/store/index.d.ts +7 -6
- package/dist/store/index.js +2 -2
- package/dist/{strategy-DSTrsZ8t.d.cts → strategy-CT2LCKAX.d.cts} +12 -0
- package/dist/{strategy-DSTrsZ8t.d.ts → strategy-CT2LCKAX.d.ts} +12 -0
- package/dist/sync/index.cjs.map +1 -1
- package/dist/sync/index.d.cts +6 -5
- package/dist/sync/index.d.ts +6 -5
- package/dist/sync/index.js +4 -4
- package/dist/team/index.cjs +1 -1
- package/dist/team/index.cjs.map +1 -1
- package/dist/team/index.d.cts +7 -6
- package/dist/team/index.d.ts +7 -6
- package/dist/team/index.js +13 -11
- package/dist/tx/index.cjs +82 -2
- package/dist/tx/index.cjs.map +1 -1
- package/dist/tx/index.d.cts +8 -7
- package/dist/tx/index.d.ts +8 -7
- package/dist/tx/index.js +56 -3
- package/dist/tx/index.js.map +1 -1
- package/dist/{types-DW9RGSSs.d.ts → types-CaNQm4i8.d.ts} +1270 -259
- package/dist/{types-C4lwMKKF.d.cts → types-n2_IfwlQ.d.cts} +1270 -259
- package/dist/{index-4agOpzqd.d.ts → ulid-B9SMWj5i.d.ts} +64 -46
- package/dist/{index-hdFvZkBP.d.cts → ulid-CLMjmyhG.d.cts} +64 -46
- package/dist/util/index.cjs +7 -0
- package/dist/util/index.cjs.map +1 -1
- package/dist/util/index.d.cts +2 -0
- package/dist/util/index.d.ts +2 -0
- package/dist/util/index.js +5 -1
- package/dist/util/index.js.map +1 -1
- package/dist/{with-derivation-g-pGoMzL.d.ts → with-derivation-CVIOPTUf.d.ts} +1 -1
- package/dist/{with-derivation-C8LDlV7t.d.cts → with-derivation-aKrtS7Jj.d.cts} +1 -1
- package/dist/{with-guard-jI1x9Z3k.d.cts → with-guard-DZQbPzoP.d.cts} +1 -1
- package/dist/{with-guard-DWOCK4Ca.d.ts → with-guard-DseETUrF.d.ts} +1 -1
- package/dist/{with-materialized-view-DaKR-N6J.d.ts → with-materialized-view-C1eA1_T_.d.cts} +2 -2
- package/dist/{with-materialized-view-DcTx4H3j.d.cts → with-materialized-view-DaYaE8-Q.d.ts} +2 -2
- package/dist/{with-overlayed-view-N7jYuNOS.d.ts → with-overlayed-view-DQsh2p8H.d.ts} +2 -2
- package/dist/{with-overlayed-view-D-6oWAgM.d.cts → with-overlayed-view-DleJfKcV.d.cts} +2 -2
- package/package.json +27 -4
- package/dist/chunk-23TTQXVO.js.map +0 -1
- package/dist/chunk-2AXFIYHT.js.map +0 -1
- package/dist/chunk-5ZGZ6HIZ.js.map +0 -1
- package/dist/chunk-6HPZY4ON.js.map +0 -1
- package/dist/chunk-7H6DOO3E.js.map +0 -1
- package/dist/chunk-ADQ5MQ54.js.map +0 -1
- package/dist/chunk-CBAHB2BF.js.map +0 -1
- package/dist/chunk-DPMFBCV6.js.map +0 -1
- package/dist/chunk-DYECX3IX.js.map +0 -1
- package/dist/chunk-EGQYGYIU.js.map +0 -1
- package/dist/chunk-FCXOFQAJ.js.map +0 -1
- package/dist/chunk-HB3Z2GCR.js.map +0 -1
- package/dist/chunk-MRIBLZL3.js.map +0 -1
- package/dist/chunk-NIOHFJPJ.js.map +0 -1
- package/dist/chunk-PA6R5ZCI.js.map +0 -1
- package/dist/chunk-PEULZC6M.js.map +0 -1
- package/dist/chunk-RD5LYKD6.js.map +0 -1
- package/dist/chunk-SIZWEV2Y.js.map +0 -1
- package/dist/chunk-UA4RI7OT.js.map +0 -1
- package/dist/chunk-UZXLQCHP.js.map +0 -1
- package/dist/chunk-VMIO4IXG.js.map +0 -1
- package/dist/chunk-YMYK7US4.js.map +0 -1
- package/dist/chunk-YS3POABP.js.map +0 -1
- package/dist/chunk-Z72JH4KG.js.map +0 -1
- package/dist/executor-7E3VFGW7.js +0 -11
- package/dist/executor-CEWX2FQI.js +0 -8
- package/dist/executor-X4SQ3ZLC.js +0 -8
- package/dist/fanout-sidecar-VJ52RIEY.js.map +0 -1
- package/dist/registry-O47PUPSY.js +0 -8
- package/dist/registry-RFGGMVNJ.js +0 -7
- package/dist/registry-WLLMODKN.js +0 -8
- /package/dist/{chunk-XGSOTWYX.js.map → chunk-2LPPNWF6.js.map} +0 -0
- /package/dist/{chunk-5SCJ5UEF.js.map → chunk-2N62W5YP.js.map} +0 -0
- /package/dist/{chunk-537VFZTR.js.map → chunk-3LPV6BXR.js.map} +0 -0
- /package/dist/{chunk-I6MX32UC.js.map → chunk-BDV7INMP.js.map} +0 -0
- /package/dist/{chunk-MKSA2V7A.js.map → chunk-C3WE6UJY.js.map} +0 -0
- /package/dist/{chunk-DYBQG5PQ.js.map → chunk-CXFOITNS.js.map} +0 -0
- /package/dist/{chunk-4TFSM22V.js.map → chunk-DJRWA3Q5.js.map} +0 -0
- /package/dist/{chunk-5DWL3JBF.js.map → chunk-LSTBFLL2.js.map} +0 -0
- /package/dist/{chunk-34YSDCDP.js.map → chunk-PVUUIWHY.js.map} +0 -0
- /package/dist/{chunk-WCA2NROQ.js.map → chunk-R233SLY3.js.map} +0 -0
- /package/dist/{chunk-P7EQ2S5O.js.map → chunk-RRNA5GKT.js.map} +0 -0
- /package/dist/{chunk-ZNOEIM6Y.js.map → chunk-RYIL3PI2.js.map} +0 -0
- /package/dist/{chunk-KESP7GOK.js.map → chunk-Y26YV5R3.js.map} +0 -0
- /package/dist/{crypto-A7FRXYHC.js.map → crypto-2CRLG4F4.js.map} +0 -0
- /package/dist/{delegation-YBA4X4JN.js.map → delegation-ZTRT2PRV.js.map} +0 -0
- /package/dist/{executor-7E3VFGW7.js.map → executor-S76VN45G.js.map} +0 -0
- /package/dist/{executor-CEWX2FQI.js.map → executor-UCXLIGLW.js.map} +0 -0
- /package/dist/{executor-X4SQ3ZLC.js.map → executor-ZCNZJMGR.js.map} +0 -0
- /package/dist/{ledger-3TXNP47J.js.map → issue-3W6IVLKH.js.map} +0 -0
- /package/dist/{public-envelope-PY6NKFLI.js.map → ledger-O7FXOG3D.js.map} +0 -0
- /package/dist/{registry-3L3N3PTG.js.map → noydb-YAZNH5TI.js.map} +0 -0
- /package/dist/{registry-O47PUPSY.js.map → public-envelope-HMYHZIRH.js.map} +0 -0
- /package/dist/{registry-RFGGMVNJ.js.map → registry-DKEXOJVO.js.map} +0 -0
- /package/dist/{registry-WLLMODKN.js.map → registry-ST2VNFZC.js.map} +0 -0
- /package/dist/{stale-HSC5YO2O.js.map → registry-UFIK7CSR.js.map} +0 -0
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { w as withMaterializedView } from '../with-materialized-view-
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import { Q as Query } from '../index-
|
|
5
|
-
export {
|
|
6
|
-
import '../lazy-builder-
|
|
7
|
-
import '../predicate-
|
|
8
|
-
import '../strategy-
|
|
1
|
+
export { w as withMaterializedView } from '../with-materialized-view-C1eA1_T_.cjs';
|
|
2
|
+
import { aY as Collection, aK as TxContext, bz as MVQueryContext, bA as RegisteredMV, bB as MaterializedViewRegistry } from '../types-n2_IfwlQ.cjs';
|
|
3
|
+
export { bC as MaterializedFromMeta, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, bE as UnionSource } from '../types-n2_IfwlQ.cjs';
|
|
4
|
+
import { Q as Query } from '../index-B8bjExET.cjs';
|
|
5
|
+
export { v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError } from '../index-B8bjExET.cjs';
|
|
6
|
+
import '../lazy-builder-Ci5_YG73.cjs';
|
|
7
|
+
import '../predicate-Bt5ft-9c.cjs';
|
|
8
|
+
import '../strategy-CT2LCKAX.cjs';
|
|
9
9
|
import '../strategy-BSxFXGzb.cjs';
|
|
10
|
+
import '@noy-db/attestation';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Accessor shape passed in from the owning Vault. Mirrors v1's
|
|
13
14
|
* `DerivationStaleAccessor` — provides the per-collection resolver
|
|
14
15
|
* and the active TxContext so refresh writes/tombstones register on
|
|
15
|
-
* `_executed` for
|
|
16
|
+
* `_executed` for rollback symmetry.
|
|
16
17
|
*/
|
|
17
18
|
interface MVExecutorAccessor {
|
|
18
19
|
getCollection(name: string): Collection<any>;
|
|
@@ -43,22 +44,22 @@ interface RefreshResult {
|
|
|
43
44
|
*
|
|
44
45
|
* Stamps `_materializedFrom` onto every emitted row.
|
|
45
46
|
*
|
|
46
|
-
* **Tombstoning
|
|
47
|
+
* **Tombstoning:** when `spec.onEmpty: 'delete'` (default), rows
|
|
47
48
|
* that existed in a prior refresh but no longer appear in the new
|
|
48
49
|
* materialized result are deleted via `Collection._internalDelete` —
|
|
49
|
-
* the housekeeping bypass primitive
|
|
50
|
+
* the housekeeping bypass primitive prevents user
|
|
50
51
|
* `onDelete` guards on the output collection from firing on these
|
|
51
52
|
* system-internal deletes. `onEmpty: 'keep'` opts out (rows from
|
|
52
53
|
* prior refreshes linger even when the new result lacks them).
|
|
53
54
|
*
|
|
54
|
-
* **Cost ceiling
|
|
55
|
+
* **Cost ceiling:** if the materialized row count exceeds
|
|
55
56
|
* `spec.maxRows` (default 100k), throws `MaterializedViewTooLargeError`
|
|
56
57
|
* before any writes hit the store — so strict-mode rollback is
|
|
57
58
|
* clean.
|
|
58
59
|
*
|
|
59
|
-
* **Strict mode
|
|
60
|
+
* **Strict mode:** `spec.strict === true` re-throws on any
|
|
60
61
|
* row-write failure; the active TxContext registration means the
|
|
61
|
-
* source-write rolls back atomically via `revertExecuted
|
|
62
|
+
* source-write rolls back atomically via `revertExecuted`.
|
|
62
63
|
*
|
|
63
64
|
* @internal
|
|
64
65
|
*/
|
|
@@ -70,14 +71,16 @@ declare const MaterializedViewExecutor: {
|
|
|
70
71
|
* Walks a `Query<T>` plan and returns the set of source collection
|
|
71
72
|
* names that any source-write should trigger a refresh on.
|
|
72
73
|
*
|
|
73
|
-
*
|
|
74
|
+
* Handles:
|
|
74
75
|
* - root collection (the one the query was built from)
|
|
75
76
|
* - FK join targets (`.join(field, { as })`)
|
|
76
77
|
*
|
|
77
|
-
*
|
|
78
|
-
* - `.crossJoin()` — v3
|
|
79
|
-
*
|
|
80
|
-
*
|
|
78
|
+
* Also handles:
|
|
79
|
+
* - cross-join targets (`.crossJoin(target, { as })`) — v3
|
|
80
|
+
*
|
|
81
|
+
* Deferred:
|
|
82
|
+
* - `.wherePredicate(name)` — v2 predicate primitive
|
|
83
|
+
* - Overlay-name expansion to {base, overlay}
|
|
81
84
|
*
|
|
82
85
|
* The set is materialized at MV registration time. The MV registry
|
|
83
86
|
* uses it to (a) dispatch `onSourceWrite` only to MVs that actually
|
|
@@ -166,7 +169,7 @@ declare function isMVStale(registry: MaterializedViewRegistry, mvName: string):
|
|
|
166
169
|
*
|
|
167
170
|
* Dynamic-imports the executor only when a stale flag actually fires
|
|
168
171
|
* (the floor-bundle isolation pattern v1 derivations established in
|
|
169
|
-
*
|
|
172
|
+
* floor-bundle isolation pattern).
|
|
170
173
|
*/
|
|
171
174
|
declare function resolveStaleMVOnRead(accessor: MVStaleAccessor, outputCollection: string): Promise<void>;
|
|
172
175
|
/**
|
|
@@ -1,18 +1,19 @@
|
|
|
1
|
-
export { w as withMaterializedView } from '../with-materialized-view-
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import { Q as Query } from '../index-
|
|
5
|
-
export {
|
|
6
|
-
import '../lazy-builder-
|
|
7
|
-
import '../predicate-
|
|
8
|
-
import '../strategy-
|
|
1
|
+
export { w as withMaterializedView } from '../with-materialized-view-DaYaE8-Q.js';
|
|
2
|
+
import { aY as Collection, aK as TxContext, bz as MVQueryContext, bA as RegisteredMV, bB as MaterializedViewRegistry } from '../types-CaNQm4i8.js';
|
|
3
|
+
export { bC as MaterializedFromMeta, bD as MaterializedViewOutput, aV as MaterializedViewStrategy, aW as MaterializedViewStrategyHandle, bE as UnionSource } from '../types-CaNQm4i8.js';
|
|
4
|
+
import { Q as Query } from '../index-DfUbNad8.js';
|
|
5
|
+
export { v as MaterializedViewConfigError, w as MaterializedViewCycleError, x as MaterializedViewSourceUnknownError, y as MaterializedViewTooLargeError } from '../index-DfUbNad8.js';
|
|
6
|
+
import '../lazy-builder-D5GU14TS.js';
|
|
7
|
+
import '../predicate-Bt5ft-9c.js';
|
|
8
|
+
import '../strategy-CT2LCKAX.js';
|
|
9
9
|
import '../strategy-BSxFXGzb.js';
|
|
10
|
+
import '@noy-db/attestation';
|
|
10
11
|
|
|
11
12
|
/**
|
|
12
13
|
* Accessor shape passed in from the owning Vault. Mirrors v1's
|
|
13
14
|
* `DerivationStaleAccessor` — provides the per-collection resolver
|
|
14
15
|
* and the active TxContext so refresh writes/tombstones register on
|
|
15
|
-
* `_executed` for
|
|
16
|
+
* `_executed` for rollback symmetry.
|
|
16
17
|
*/
|
|
17
18
|
interface MVExecutorAccessor {
|
|
18
19
|
getCollection(name: string): Collection<any>;
|
|
@@ -43,22 +44,22 @@ interface RefreshResult {
|
|
|
43
44
|
*
|
|
44
45
|
* Stamps `_materializedFrom` onto every emitted row.
|
|
45
46
|
*
|
|
46
|
-
* **Tombstoning
|
|
47
|
+
* **Tombstoning:** when `spec.onEmpty: 'delete'` (default), rows
|
|
47
48
|
* that existed in a prior refresh but no longer appear in the new
|
|
48
49
|
* materialized result are deleted via `Collection._internalDelete` —
|
|
49
|
-
* the housekeeping bypass primitive
|
|
50
|
+
* the housekeeping bypass primitive prevents user
|
|
50
51
|
* `onDelete` guards on the output collection from firing on these
|
|
51
52
|
* system-internal deletes. `onEmpty: 'keep'` opts out (rows from
|
|
52
53
|
* prior refreshes linger even when the new result lacks them).
|
|
53
54
|
*
|
|
54
|
-
* **Cost ceiling
|
|
55
|
+
* **Cost ceiling:** if the materialized row count exceeds
|
|
55
56
|
* `spec.maxRows` (default 100k), throws `MaterializedViewTooLargeError`
|
|
56
57
|
* before any writes hit the store — so strict-mode rollback is
|
|
57
58
|
* clean.
|
|
58
59
|
*
|
|
59
|
-
* **Strict mode
|
|
60
|
+
* **Strict mode:** `spec.strict === true` re-throws on any
|
|
60
61
|
* row-write failure; the active TxContext registration means the
|
|
61
|
-
* source-write rolls back atomically via `revertExecuted
|
|
62
|
+
* source-write rolls back atomically via `revertExecuted`.
|
|
62
63
|
*
|
|
63
64
|
* @internal
|
|
64
65
|
*/
|
|
@@ -70,14 +71,16 @@ declare const MaterializedViewExecutor: {
|
|
|
70
71
|
* Walks a `Query<T>` plan and returns the set of source collection
|
|
71
72
|
* names that any source-write should trigger a refresh on.
|
|
72
73
|
*
|
|
73
|
-
*
|
|
74
|
+
* Handles:
|
|
74
75
|
* - root collection (the one the query was built from)
|
|
75
76
|
* - FK join targets (`.join(field, { as })`)
|
|
76
77
|
*
|
|
77
|
-
*
|
|
78
|
-
* - `.crossJoin()` — v3
|
|
79
|
-
*
|
|
80
|
-
*
|
|
78
|
+
* Also handles:
|
|
79
|
+
* - cross-join targets (`.crossJoin(target, { as })`) — v3
|
|
80
|
+
*
|
|
81
|
+
* Deferred:
|
|
82
|
+
* - `.wherePredicate(name)` — v2 predicate primitive
|
|
83
|
+
* - Overlay-name expansion to {base, overlay}
|
|
81
84
|
*
|
|
82
85
|
* The set is materialized at MV registration time. The MV registry
|
|
83
86
|
* uses it to (a) dispatch `onSourceWrite` only to MVs that actually
|
|
@@ -166,7 +169,7 @@ declare function isMVStale(registry: MaterializedViewRegistry, mvName: string):
|
|
|
166
169
|
*
|
|
167
170
|
* Dynamic-imports the executor only when a stale flag actually fires
|
|
168
171
|
* (the floor-bundle isolation pattern v1 derivations established in
|
|
169
|
-
*
|
|
172
|
+
* floor-bundle isolation pattern).
|
|
170
173
|
*/
|
|
171
174
|
declare function resolveStaleMVOnRead(accessor: MVStaleAccessor, outputCollection: string): Promise<void>;
|
|
172
175
|
/**
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withMaterializedView
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ZROPXHJY.js";
|
|
4
|
+
import {
|
|
5
|
+
clearMVStale,
|
|
6
|
+
isMVStale,
|
|
7
|
+
markMVStale,
|
|
8
|
+
resolveStaleMVOnRead
|
|
9
|
+
} from "../chunk-6T2UDBKG.js";
|
|
4
10
|
import {
|
|
5
11
|
MaterializedViewExecutor
|
|
6
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-GAUEWM7D.js";
|
|
7
13
|
import {
|
|
8
14
|
MaterializedViewRegistry,
|
|
9
15
|
analyzeDependencies,
|
|
10
16
|
canonicalizeQueryPlan,
|
|
11
17
|
computeQueryHash,
|
|
12
18
|
summarizeQueryPlan
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import
|
|
15
|
-
|
|
16
|
-
isMVStale,
|
|
17
|
-
markMVStale,
|
|
18
|
-
resolveStaleMVOnRead
|
|
19
|
-
} from "../chunk-UZXLQCHP.js";
|
|
20
|
-
import "../chunk-XGSOTWYX.js";
|
|
21
|
-
import "../chunk-MRIBLZL3.js";
|
|
19
|
+
} from "../chunk-FO3UEG4S.js";
|
|
20
|
+
import "../chunk-2LPPNWF6.js";
|
|
21
|
+
import "../chunk-TV3YZ35S.js";
|
|
22
22
|
import {
|
|
23
23
|
MaterializedViewConfigError,
|
|
24
24
|
MaterializedViewCycleError,
|
|
25
25
|
MaterializedViewSourceUnknownError,
|
|
26
26
|
MaterializedViewTooLargeError
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-O6EJ6WTI.js";
|
|
28
28
|
export {
|
|
29
29
|
MaterializedViewConfigError,
|
|
30
30
|
MaterializedViewCycleError,
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Noydb,
|
|
3
|
+
createNoydb
|
|
4
|
+
} from "./chunk-4USCAEDT.js";
|
|
5
|
+
import "./chunk-EMIGCR7X.js";
|
|
6
|
+
import "./chunk-26NK23DZ.js";
|
|
7
|
+
import "./chunk-7CEGU63S.js";
|
|
8
|
+
import "./chunk-QSOYKKMD.js";
|
|
9
|
+
import "./chunk-PM3QYWUU.js";
|
|
10
|
+
import "./chunk-2N62W5YP.js";
|
|
11
|
+
import "./chunk-3LPV6BXR.js";
|
|
12
|
+
import "./chunk-UF3BUNQZ.js";
|
|
13
|
+
import "./chunk-GNHAC43Q.js";
|
|
14
|
+
import "./chunk-PXTQPZO4.js";
|
|
15
|
+
import "./chunk-CXFOITNS.js";
|
|
16
|
+
import "./chunk-HQSQC2XL.js";
|
|
17
|
+
import "./chunk-2QR2PQTT.js";
|
|
18
|
+
import "./chunk-FZU343FL.js";
|
|
19
|
+
import "./chunk-4CLICFEY.js";
|
|
20
|
+
import "./chunk-Z6FNBOTC.js";
|
|
21
|
+
import "./chunk-6YLPHBKR.js";
|
|
22
|
+
import "./chunk-WIBHRONM.js";
|
|
23
|
+
import "./chunk-CXJG63MA.js";
|
|
24
|
+
import "./chunk-2LPPNWF6.js";
|
|
25
|
+
import "./chunk-TV3YZ35S.js";
|
|
26
|
+
import "./chunk-DRXIZOFV.js";
|
|
27
|
+
import "./chunk-WIRRPTFH.js";
|
|
28
|
+
import "./chunk-R233SLY3.js";
|
|
29
|
+
import "./chunk-O6EJ6WTI.js";
|
|
30
|
+
export {
|
|
31
|
+
Noydb,
|
|
32
|
+
createNoydb
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=noydb-YAZNH5TI.js.map
|
|
@@ -158,6 +158,16 @@ var OverlayedViewRegistry = class {
|
|
|
158
158
|
isOverlay(name) {
|
|
159
159
|
return this._byName.has(name);
|
|
160
160
|
}
|
|
161
|
+
/**
|
|
162
|
+
* All registered overlay strategies as a flat array.
|
|
163
|
+
* Each strategy carries `name`, `base`, and `overlay` fields that
|
|
164
|
+
* `describeOverlays()` in the introspection walker reads directly.
|
|
165
|
+
*
|
|
166
|
+
* Used by `dumpSchema()` to populate the `overlayViews` map.
|
|
167
|
+
*/
|
|
168
|
+
all() {
|
|
169
|
+
return [...this._byName.values()];
|
|
170
|
+
}
|
|
161
171
|
/**
|
|
162
172
|
* Resolve the `rowKey` function for an overlay's base MV. Returns
|
|
163
173
|
* `undefined` if the base isn't an MV (raw source collection) or
|
|
@@ -290,7 +300,7 @@ var OverlayedCollection = class {
|
|
|
290
300
|
// error pointing at the relevant issue — so consumers don't hit a
|
|
291
301
|
// cryptic `undefined is not a function` runtime crash.
|
|
292
302
|
//
|
|
293
|
-
//
|
|
303
|
+
// Throw-stubs so consumers get actionable errors rather than cryptic crashes.
|
|
294
304
|
/** @throws — chainable Query<T> over a virtual collection is deferred. */
|
|
295
305
|
query() {
|
|
296
306
|
throw new Error(
|