@noy-db/hub 0.2.0-pre.9 → 0.3.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/README.md +129 -3
- package/dist/aggregate/index.d.ts +5 -2
- package/dist/aggregate/index.js +25 -16
- package/dist/aggregate/index.js.map +1 -1
- package/dist/api-TX2EX2FX.js +20 -0
- package/dist/as/index.d.ts +6 -0
- package/dist/as/index.js +30 -0
- package/dist/at/index.d.ts +4 -0
- package/dist/at/index.js +1 -0
- package/dist/attestation/index.d.ts +14 -47
- package/dist/attestation/index.js +60 -10
- package/dist/attestation/index.js.map +1 -1
- package/dist/backup-R7NTDFKY.js +225 -0
- package/dist/backup-R7NTDFKY.js.map +1 -0
- package/dist/blobs/index.d.ts +5 -8
- package/dist/blobs/index.js +25 -12
- package/dist/blobs/index.js.map +1 -1
- package/dist/bundle/index.d.ts +15 -70
- package/dist/bundle/index.js +45 -476
- package/dist/bundle/index.js.map +1 -1
- package/dist/{ulid-CJ8RzRrm.d.ts → bundle-D6GxiUfq.d.ts} +31 -86
- package/dist/by/index.d.ts +1 -0
- package/dist/by/index.js +11 -0
- package/dist/cargo/index.d.ts +7 -0
- package/dist/cargo/index.js +95 -0
- package/dist/chunk-2OV5NVE7.js +95 -0
- package/dist/chunk-2OV5NVE7.js.map +1 -0
- package/dist/chunk-2OZXVKVP.js +367 -0
- package/dist/chunk-2OZXVKVP.js.map +1 -0
- package/dist/{chunk-HNRHLRDC.js → chunk-2REPHKET.js} +6 -5
- package/dist/chunk-2REPHKET.js.map +1 -0
- package/dist/{chunk-PE2FR4J3.js → chunk-3JXPAHOZ.js} +17 -17
- package/dist/chunk-3JXPAHOZ.js.map +1 -0
- package/dist/{chunk-H2X3ISXG.js → chunk-3MATJ6O4.js} +7 -7
- package/dist/chunk-3MATJ6O4.js.map +1 -0
- package/dist/{chunk-PP6W64Y3.js → chunk-3OPY6MK2.js} +132 -3
- package/dist/chunk-3OPY6MK2.js.map +1 -0
- package/dist/{chunk-T7JEBOGN.js → chunk-3QSIU3UT.js} +49 -71
- package/dist/chunk-3QSIU3UT.js.map +1 -0
- package/dist/{chunk-ZYWZWG6G.js → chunk-4OMCIY6F.js} +32 -12
- package/dist/chunk-4OMCIY6F.js.map +1 -0
- package/dist/chunk-4Q6HSHHL.js +90 -0
- package/dist/chunk-4Q6HSHHL.js.map +1 -0
- package/dist/chunk-5I35DOHK.js +94 -0
- package/dist/chunk-5I35DOHK.js.map +1 -0
- package/dist/chunk-5VG4IJR7.js +235 -0
- package/dist/chunk-5VG4IJR7.js.map +1 -0
- package/dist/chunk-5YESYH2C.js +155 -0
- package/dist/chunk-5YESYH2C.js.map +1 -0
- package/dist/chunk-6G5ORS5D.js +202 -0
- package/dist/chunk-6G5ORS5D.js.map +1 -0
- package/dist/{chunk-VTKGMEPP.js → chunk-6P5XCKSD.js} +13 -3
- package/dist/chunk-6P5XCKSD.js.map +1 -0
- package/dist/{chunk-J66GRPNH.js → chunk-6S7T6WC4.js} +2 -2
- package/dist/chunk-6S7T6WC4.js.map +1 -0
- package/dist/{chunk-U26HQ6KJ.js → chunk-7BWJHO2A.js} +4 -4
- package/dist/chunk-7BWJHO2A.js.map +1 -0
- package/dist/chunk-7P2SDJG3.js +279 -0
- package/dist/chunk-7P2SDJG3.js.map +1 -0
- package/dist/chunk-ANB77BVV.js +150 -0
- package/dist/chunk-ANB77BVV.js.map +1 -0
- package/dist/chunk-AURFOK3D.js +35 -0
- package/dist/chunk-AURFOK3D.js.map +1 -0
- package/dist/chunk-BKARNZJN.js +382 -0
- package/dist/chunk-BKARNZJN.js.map +1 -0
- package/dist/{chunk-3BFJOWSU.js → chunk-BQISD5ZV.js} +35 -7
- package/dist/chunk-BQISD5ZV.js.map +1 -0
- package/dist/{chunk-2GLDA55J.js → chunk-BUAQ7YI3.js} +260 -135
- package/dist/chunk-BUAQ7YI3.js.map +1 -0
- package/dist/{chunk-2WUSG3IT.js → chunk-CB7CWSKW.js} +5 -5
- package/dist/chunk-CB7CWSKW.js.map +1 -0
- package/dist/chunk-CHFZDSE4.js +1 -0
- package/dist/{aggregate/index.cjs → chunk-DFVUTGT2.js} +206 -222
- package/dist/chunk-DFVUTGT2.js.map +1 -0
- package/dist/chunk-DJ7KIPLV.js +23 -0
- package/dist/chunk-DJ7KIPLV.js.map +1 -0
- package/dist/chunk-DSKDQP3G.js +14066 -0
- package/dist/chunk-DSKDQP3G.js.map +1 -0
- package/dist/{chunk-5T22KDPN.js → chunk-DV4HUP5G.js} +10 -8
- package/dist/chunk-DV4HUP5G.js.map +1 -0
- package/dist/chunk-EOXAAJTY.js +621 -0
- package/dist/chunk-EOXAAJTY.js.map +1 -0
- package/dist/chunk-ET67AY6B.js +74 -0
- package/dist/chunk-ET67AY6B.js.map +1 -0
- package/dist/chunk-F4CEK5YM.js +123 -0
- package/dist/chunk-F4CEK5YM.js.map +1 -0
- package/dist/chunk-FORYWFN6.js +130 -0
- package/dist/chunk-FORYWFN6.js.map +1 -0
- package/dist/{chunk-JWRVQKRZ.js → chunk-FRP6D2DM.js} +21 -20
- package/dist/chunk-FRP6D2DM.js.map +1 -0
- package/dist/chunk-FUOE7UUV.js +341 -0
- package/dist/chunk-FUOE7UUV.js.map +1 -0
- package/dist/chunk-G4JYND6L.js +42 -0
- package/dist/chunk-G4JYND6L.js.map +1 -0
- package/dist/{chunk-53XBRIRT.js → chunk-G6XV4H65.js} +9 -9
- package/dist/chunk-G6XV4H65.js.map +1 -0
- package/dist/chunk-GHVIKOHT.js +1 -0
- package/dist/{chunk-PX35GA7L.js → chunk-GNMXXTMN.js} +11 -9
- package/dist/chunk-GNMXXTMN.js.map +1 -0
- package/dist/chunk-GYGLAVCX.js +19 -0
- package/dist/chunk-GYGLAVCX.js.map +1 -0
- package/dist/chunk-HPWKV3YB.js +21 -0
- package/dist/chunk-HPWKV3YB.js.map +1 -0
- package/dist/chunk-HY3AUMFI.js +41 -0
- package/dist/chunk-HY3AUMFI.js.map +1 -0
- package/dist/chunk-HYR4WZZ3.js +69 -0
- package/dist/chunk-HYR4WZZ3.js.map +1 -0
- package/dist/chunk-I7FD46FF.js +9 -0
- package/dist/chunk-I7FD46FF.js.map +1 -0
- package/dist/{chunk-TFBP23BX.js → chunk-ICXIFFYZ.js} +66 -7
- package/dist/chunk-ICXIFFYZ.js.map +1 -0
- package/dist/{chunk-TV3YZ35S.js → chunk-IGJCYUT5.js} +17 -8
- package/dist/chunk-IGJCYUT5.js.map +1 -0
- package/dist/{chunk-F3GDRNUT.js → chunk-IVLTXX4W.js} +36 -68
- package/dist/chunk-IVLTXX4W.js.map +1 -0
- package/dist/{chunk-DONMZAD2.js → chunk-J4LPNIGK.js} +62 -169
- package/dist/chunk-J4LPNIGK.js.map +1 -0
- package/dist/chunk-JJZ2LW6T.js +36 -0
- package/dist/chunk-JJZ2LW6T.js.map +1 -0
- package/dist/chunk-JK733I5V.js +23 -0
- package/dist/chunk-JK733I5V.js.map +1 -0
- package/dist/{chunk-3YPCK6JX.js → chunk-KJ2BCBTL.js} +181 -422
- package/dist/chunk-KJ2BCBTL.js.map +1 -0
- package/dist/chunk-KNZB6JMR.js +129 -0
- package/dist/chunk-KNZB6JMR.js.map +1 -0
- package/dist/{chunk-OIF6LZUR.js → chunk-KPZS5QAQ.js} +30 -11
- package/dist/chunk-KPZS5QAQ.js.map +1 -0
- package/dist/chunk-LB7FD65R.js +163 -0
- package/dist/chunk-LB7FD65R.js.map +1 -0
- package/dist/{chunk-DO7C2TOG.js → chunk-LEJIKBBB.js} +3 -3
- package/dist/{chunk-DO7C2TOG.js.map → chunk-LEJIKBBB.js.map} +1 -1
- package/dist/{chunk-O3VZPBZG.js → chunk-LL2NIVUR.js} +56 -13
- package/dist/chunk-LL2NIVUR.js.map +1 -0
- package/dist/chunk-LP7BEXCT.js +32 -0
- package/dist/chunk-LP7BEXCT.js.map +1 -0
- package/dist/chunk-MCHVVJIA.js +968 -0
- package/dist/chunk-MCHVVJIA.js.map +1 -0
- package/dist/chunk-NO272T7Q.js +194 -0
- package/dist/chunk-NO272T7Q.js.map +1 -0
- package/dist/{chunk-22DWZL57.js → chunk-NUEQU36L.js} +70 -267
- package/dist/chunk-NUEQU36L.js.map +1 -0
- package/dist/chunk-O45M6LDB.js +38 -0
- package/dist/chunk-O45M6LDB.js.map +1 -0
- package/dist/chunk-OBKWYKYC.js +117 -0
- package/dist/chunk-OBKWYKYC.js.map +1 -0
- package/dist/{chunk-DJHHA6XH.js → chunk-OHHKHSJP.js} +50 -20
- package/dist/chunk-OHHKHSJP.js.map +1 -0
- package/dist/chunk-OT76OZL6.js +45 -0
- package/dist/chunk-OT76OZL6.js.map +1 -0
- package/dist/chunk-OVYRLHPE.js +150 -0
- package/dist/chunk-OVYRLHPE.js.map +1 -0
- package/dist/{chunk-ML236QKC.js → chunk-OXCSVM3B.js} +5 -5
- package/dist/chunk-OXCSVM3B.js.map +1 -0
- package/dist/chunk-P33LUIML.js +205 -0
- package/dist/chunk-P33LUIML.js.map +1 -0
- package/dist/{chunk-DL3HWOQ5.js → chunk-PLS64NCS.js} +10 -8
- package/dist/chunk-PLS64NCS.js.map +1 -0
- package/dist/{chunk-SYMWGEET.js → chunk-PS2NEWEX.js} +3 -3
- package/dist/chunk-PS2NEWEX.js.map +1 -0
- package/dist/chunk-PY4KJPYU.js +9 -0
- package/dist/chunk-PY4KJPYU.js.map +1 -0
- package/dist/chunk-PZ5AY32C.js +10 -0
- package/dist/chunk-QA2KUPCP.js +45 -0
- package/dist/chunk-QA2KUPCP.js.map +1 -0
- package/dist/chunk-QOC3VYL2.js +30 -0
- package/dist/chunk-QOC3VYL2.js.map +1 -0
- package/dist/{chunk-BVRYKATC.js → chunk-QSFOZUYL.js} +62 -34
- package/dist/chunk-QSFOZUYL.js.map +1 -0
- package/dist/chunk-RHK32N73.js +30 -0
- package/dist/chunk-RHK32N73.js.map +1 -0
- package/dist/{chunk-K3DK3NU5.js → chunk-RW3Y22MW.js} +20 -5
- package/dist/chunk-RW3Y22MW.js.map +1 -0
- package/dist/{chunk-B6PB7JLN.js → chunk-S7VFUQM2.js} +541 -6
- package/dist/chunk-S7VFUQM2.js.map +1 -0
- package/dist/chunk-SVLR4POP.js +64 -0
- package/dist/chunk-SVLR4POP.js.map +1 -0
- package/dist/chunk-T7WSLRAU.js +49 -0
- package/dist/chunk-T7WSLRAU.js.map +1 -0
- package/dist/{chunk-WPLVTJ5D.js → chunk-TAKWLZZX.js} +285 -63
- package/dist/chunk-TAKWLZZX.js.map +1 -0
- package/dist/chunk-THNJ3IKU.js +17 -0
- package/dist/chunk-THNJ3IKU.js.map +1 -0
- package/dist/{chunk-XJFLDA7A.js → chunk-TMBXVJKT.js} +9 -6
- package/dist/chunk-TMBXVJKT.js.map +1 -0
- package/dist/chunk-TWKKOM55.js +54 -0
- package/dist/chunk-TWKKOM55.js.map +1 -0
- package/dist/chunk-U3WZCU7E.js +14 -0
- package/dist/chunk-U3WZCU7E.js.map +1 -0
- package/dist/{chunk-Z6FNBOTC.js → chunk-UF362QVH.js} +15 -17
- package/dist/chunk-UF362QVH.js.map +1 -0
- package/dist/chunk-UN4FVIBH.js +135 -0
- package/dist/chunk-UN4FVIBH.js.map +1 -0
- package/dist/chunk-VEAVKDDB.js +29 -0
- package/dist/chunk-VEAVKDDB.js.map +1 -0
- package/dist/chunk-VEPTFUJY.js +29 -0
- package/dist/chunk-VEPTFUJY.js.map +1 -0
- package/dist/chunk-VJV7GKQK.js +662 -0
- package/dist/chunk-VJV7GKQK.js.map +1 -0
- package/dist/{chunk-2QR2PQTT.js → chunk-VQNJ7UZL.js} +5 -3
- package/dist/chunk-VQNJ7UZL.js.map +1 -0
- package/dist/chunk-VQRAIPYF.js +50 -0
- package/dist/chunk-VQRAIPYF.js.map +1 -0
- package/dist/{chunk-DFMLEQZB.js → chunk-VRIYFLBA.js} +5 -10
- package/dist/chunk-VRIYFLBA.js.map +1 -0
- package/dist/chunk-VWM3DAVB.js +265 -0
- package/dist/chunk-VWM3DAVB.js.map +1 -0
- package/dist/{chunk-NONAAENK.js → chunk-VWRRVE6D.js} +11 -4
- package/dist/chunk-VWRRVE6D.js.map +1 -0
- package/dist/chunk-VYYM3MEN.js +98 -0
- package/dist/chunk-VYYM3MEN.js.map +1 -0
- package/dist/chunk-WBJIQSLL.js +167 -0
- package/dist/chunk-WBJIQSLL.js.map +1 -0
- package/dist/chunk-WIGQB62E.js +164 -0
- package/dist/chunk-WIGQB62E.js.map +1 -0
- package/dist/{chunk-EMIGCR7X.js → chunk-WXSYDNBT.js} +2 -2
- package/dist/chunk-WXSYDNBT.js.map +1 -0
- package/dist/chunk-WZSCE6RM.js +466 -0
- package/dist/chunk-WZSCE6RM.js.map +1 -0
- package/dist/chunk-XGDAPN6M.js +255 -0
- package/dist/chunk-XGDAPN6M.js.map +1 -0
- package/dist/{chunk-QODLLGQ7.js → chunk-XH7XP3OL.js} +372 -37
- package/dist/chunk-XH7XP3OL.js.map +1 -0
- package/dist/chunk-XREOISSI.js +40 -0
- package/dist/chunk-XREOISSI.js.map +1 -0
- package/dist/chunk-XUBPSPKD.js +164 -0
- package/dist/chunk-XUBPSPKD.js.map +1 -0
- package/dist/chunk-Y3A5CB5G.js +247 -0
- package/dist/chunk-Y3A5CB5G.js.map +1 -0
- package/dist/{chunk-I5FOWO4J.js → chunk-YCXCR7VG.js} +52 -73
- package/dist/chunk-YCXCR7VG.js.map +1 -0
- package/dist/{chunk-A3JMGXPG.js → chunk-YMUGBZN2.js} +2 -2
- package/dist/chunk-YMUGBZN2.js.map +1 -0
- package/dist/chunk-YMVQD5Q5.js +453 -0
- package/dist/chunk-YMVQD5Q5.js.map +1 -0
- package/dist/chunk-YN5IAHN6.js +32 -0
- package/dist/chunk-YN5IAHN6.js.map +1 -0
- package/dist/{chunk-FZU343FL.js → chunk-ZJADGNYF.js} +2 -2
- package/dist/chunk-ZJADGNYF.js.map +1 -0
- package/dist/chunk-ZYJ55N7N.js +86 -0
- package/dist/chunk-ZYJ55N7N.js.map +1 -0
- package/dist/classified/index.d.ts +16 -0
- package/dist/classified/index.js +40 -0
- package/dist/classified-marker-H6YSHYNK.js +24 -0
- package/dist/classified-marker-H6YSHYNK.js.map +1 -0
- package/dist/collection-facade-LVD22JLM.js +39 -0
- package/dist/computed-EXDMQODG.js +11 -0
- package/dist/consent/index.d.ts +4 -7
- package/dist/consent/index.js +13 -5
- package/dist/consent/index.js.map +1 -1
- package/dist/crdt/index.d.ts +5 -2
- package/dist/crdt/index.js +3 -2
- package/dist/crdt/index.js.map +1 -1
- package/dist/dead-filter-HQIE2YG7.js +28 -0
- package/dist/dead-filter-HQIE2YG7.js.map +1 -0
- package/dist/decrypt-partition-IHtxEnTi.d.ts +21 -0
- package/dist/delegation-BJP73GAP.js +25 -0
- package/dist/derivations/index.d.ts +6 -9
- package/dist/derivations/index.js +18 -6
- package/dist/derive-BME7HDWO.js +21 -0
- package/dist/{dev-unlock-B4kDxep_.d.ts → dev-unlock-Bmm2pgJ0.d.ts} +1 -1
- package/dist/discriminant-BN9REW3o.d.ts +60 -0
- package/dist/enclave-NHORSWSF.js +125 -0
- package/dist/executor-FE6X4LFX.js +9 -0
- package/dist/executor-KSHKRJXP.js +25 -0
- package/dist/executor-ZHTJJICG.js +9 -0
- package/dist/export-accessible-DACHM5VT.js +23 -0
- package/dist/extract-partition-RNENZZ4T.js +36 -0
- package/dist/fanout-sidecar-OFWN3NM7.js +74 -0
- package/dist/fanout-sidecar-OFWN3NM7.js.map +1 -0
- package/dist/fence-watcher-DHQ775JB.js +69 -0
- package/dist/fence-watcher-DHQ775JB.js.map +1 -0
- package/dist/find-BNGBJNKP.js +11 -0
- package/dist/forget/index.d.ts +36 -0
- package/dist/forget/index.js +25 -0
- package/dist/forget/index.js.map +1 -0
- package/dist/guards/index.d.ts +12 -9
- package/dist/guards/index.js +12 -5
- package/dist/{hash-DdpVypUp.d.cts → hash-DAJjMsCE.d.ts} +10 -1
- package/dist/history/index.d.ts +5 -8
- package/dist/history/index.js +25 -12
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.d.ts +25 -8
- package/dist/i18n/index.js +137 -29
- package/dist/i18n/index.js.map +1 -1
- package/dist/in/index.d.ts +4 -0
- package/dist/in/index.js +1 -0
- package/dist/in/index.js.map +1 -0
- package/dist/index-B9QdHytu.d.ts +123 -0
- package/dist/index-DjWbxsjb.d.ts +23579 -0
- package/dist/index-qwuNvO2B.d.ts +144 -0
- package/dist/index.d.ts +1179 -449
- package/dist/index.js +2524 -312
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.d.ts +5 -3
- package/dist/indexing/index.js +6 -5
- package/dist/indexing/index.js.map +1 -1
- package/dist/issue-NDI4CVZU.js +19 -0
- package/dist/issue-NDI4CVZU.js.map +1 -0
- package/dist/json-schema-I22JCYCG.js +44 -0
- package/dist/json-schema-I22JCYCG.js.map +1 -0
- package/dist/lazy/index.d.ts +20 -0
- package/dist/lazy/index.js +12 -0
- package/dist/lazy/index.js.map +1 -0
- package/dist/ledger-6NDS2EO4.js +42 -0
- package/dist/ledger-6NDS2EO4.js.map +1 -0
- package/dist/liberate-HN3RIGIP.js +24 -0
- package/dist/liberate-HN3RIGIP.js.map +1 -0
- package/dist/link-set-SJB2MVJV.js +31 -0
- package/dist/link-set-SJB2MVJV.js.map +1 -0
- package/dist/materialized-views/index.d.ts +23 -20
- package/dist/materialized-views/index.js +26 -12
- package/dist/mime-magic-bBj5OgUC.d.ts +103 -0
- package/dist/noydb-BWF6EPIR.js +66 -0
- package/dist/noydb-BWF6EPIR.js.map +1 -0
- package/dist/on/index.d.ts +4 -0
- package/dist/on/index.js +17 -0
- package/dist/on/index.js.map +1 -0
- package/dist/overlay-views/index.d.ts +26 -11
- package/dist/overlay-views/index.js +7 -6
- package/dist/periods/index.d.ts +4 -7
- package/dist/periods/index.js +27 -9
- package/dist/pod/index.d.ts +62 -0
- package/dist/pod/index.js +67 -0
- package/dist/pod/index.js.map +1 -0
- package/dist/policy-WGNAG5H6.js +41 -0
- package/dist/policy-WGNAG5H6.js.map +1 -0
- package/dist/portability/index.d.ts +19 -0
- package/dist/portability/index.js +43 -0
- package/dist/portability/index.js.map +1 -0
- package/dist/post-register-CWKBQRC7.js +55 -0
- package/dist/post-register-CWKBQRC7.js.map +1 -0
- package/dist/{public-envelope-BW6OXORV.js → public-envelope-EJLVIFX7.js} +6 -5
- package/dist/public-envelope-EJLVIFX7.js.map +1 -0
- package/dist/query/index.d.ts +4 -3
- package/dist/query/index.js +24 -13
- package/dist/read-only-facade-CHCKSEPD.js +8 -0
- package/dist/read-only-facade-CHCKSEPD.js.map +1 -0
- package/dist/register-SBIX7TVV.js +23 -0
- package/dist/register-SBIX7TVV.js.map +1 -0
- package/dist/registry-3EQG6OOE.js +18 -0
- package/dist/registry-3EQG6OOE.js.map +1 -0
- package/dist/registry-CA327ACV.js +9 -0
- package/dist/registry-CA327ACV.js.map +1 -0
- package/dist/registry-E7OXOTSV.js +19 -0
- package/dist/registry-E7OXOTSV.js.map +1 -0
- package/dist/registry-VW6P6A3J.js +8 -0
- package/dist/registry-VW6P6A3J.js.map +1 -0
- package/dist/request-withdrawal-KAH2AAXC.js +31 -0
- package/dist/request-withdrawal-KAH2AAXC.js.map +1 -0
- package/dist/reveal-R3JLHMUF.js +38 -0
- package/dist/reveal-R3JLHMUF.js.map +1 -0
- package/dist/revoke-IXLOJ3IH.js +24 -0
- package/dist/revoke-IXLOJ3IH.js.map +1 -0
- package/dist/satellites/index.d.ts +4 -0
- package/dist/satellites/index.js +8 -0
- package/dist/satellites/index.js.map +1 -0
- package/dist/sealed-record/index.d.ts +68 -0
- package/dist/sealed-record/index.js +71 -0
- package/dist/sealed-record/index.js.map +1 -0
- package/dist/session/index.d.ts +5 -8
- package/dist/session/index.js +13 -5
- package/dist/session/index.js.map +1 -1
- package/dist/shadow/index.d.ts +4 -7
- package/dist/shadow/index.js +4 -3
- package/dist/shadow/index.js.map +1 -1
- package/dist/signer-Y46N2GJ3.js +25 -0
- package/dist/signer-Y46N2GJ3.js.map +1 -0
- package/dist/snapshots/index.d.ts +5 -8
- package/dist/snapshots/index.js +19 -11
- package/dist/snapshots/index.js.map +1 -1
- package/dist/{stale-6ZDBTQT7.js → stale-Z7IW6RIL.js} +3 -2
- package/dist/stale-Z7IW6RIL.js.map +1 -0
- package/dist/storage-ADNP2UWI.js +23 -0
- package/dist/storage-ADNP2UWI.js.map +1 -0
- package/dist/store-coordination-provider-DTDMI6VL.js +142 -0
- package/dist/store-coordination-provider-DTDMI6VL.js.map +1 -0
- package/dist/subject-index-CyOgGMJL.d.ts +380 -0
- package/dist/sync/index.d.ts +3 -6
- package/dist/sync/index.js +13 -6
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.d.ts +46 -10
- package/dist/team/index.js +35 -18
- package/dist/tiers/index.d.ts +4 -0
- package/dist/tiers/index.js +39 -0
- package/dist/tiers/index.js.map +1 -0
- package/dist/to/index.d.ts +4 -0
- package/dist/to/index.js +16 -0
- package/dist/to/index.js.map +1 -0
- package/dist/transition-guard-DI-krBsZ.d.ts +165 -0
- package/dist/tx/index.d.ts +22 -9
- package/dist/tx/index.js +13 -8
- package/dist/tx/index.js.map +1 -1
- package/dist/ui/index.d.ts +4 -0
- package/dist/ui/index.js +1 -0
- package/dist/ui/index.js.map +1 -0
- package/dist/ulid-DRH25k3y.d.ts +66 -0
- package/dist/ulid-PTAIMDG4.js +10 -0
- package/dist/ulid-PTAIMDG4.js.map +1 -0
- package/dist/util/index.d.ts +2 -0
- package/dist/util/index.js +7 -2
- package/dist/util/index.js.map +1 -1
- package/dist/validators-BUcli5Nh.d.ts +101 -0
- package/dist/vault-diff-Z2DUayMe.d.ts +147 -0
- package/dist/verify-JPF2YR5E.js +139 -0
- package/dist/verify-JPF2YR5E.js.map +1 -0
- package/dist/walk-XYA2O3LW.js +241 -0
- package/dist/walk-XYA2O3LW.js.map +1 -0
- package/dist/with/index.d.ts +37 -0
- package/dist/with/index.js +31 -0
- package/dist/with/index.js.map +1 -0
- package/dist/{with-materialized-view-BLkQxoQN.d.ts → with-materialized-view-BUmzlXue.d.ts} +1 -1
- package/dist/{with-overlayed-view-CRsSEwHR.d.ts → with-overlayed-view-m4FaXXTO.d.ts} +2 -3
- package/dist/with-rollup-DEKGI9vb.d.ts +47 -0
- package/dist/withdraw-accessible-WLV4MTEN.js +28 -0
- package/dist/withdraw-accessible-WLV4MTEN.js.map +1 -0
- package/dist/zod-HAJM7LMS.js +14763 -0
- package/dist/zod-HAJM7LMS.js.map +1 -0
- package/package.json +122 -202
- package/dist/aggregate/index.cjs.map +0 -1
- package/dist/aggregate/index.d.cts +0 -38
- package/dist/attestation/index.cjs +0 -305
- package/dist/attestation/index.cjs.map +0 -1
- package/dist/attestation/index.d.cts +0 -52
- package/dist/blobs/index.cjs +0 -1480
- package/dist/blobs/index.cjs.map +0 -1
- package/dist/blobs/index.d.cts +0 -46
- package/dist/bundle/index.cjs +0 -19264
- package/dist/bundle/index.cjs.map +0 -1
- package/dist/bundle/index.d.cts +0 -176
- package/dist/chunk-22DWZL57.js.map +0 -1
- package/dist/chunk-2GLDA55J.js.map +0 -1
- package/dist/chunk-2QR2PQTT.js.map +0 -1
- package/dist/chunk-2WUSG3IT.js.map +0 -1
- package/dist/chunk-3BFJOWSU.js.map +0 -1
- package/dist/chunk-3YPCK6JX.js.map +0 -1
- package/dist/chunk-53XBRIRT.js.map +0 -1
- package/dist/chunk-5T22KDPN.js.map +0 -1
- package/dist/chunk-5XHKQ56N.js +0 -340
- package/dist/chunk-5XHKQ56N.js.map +0 -1
- package/dist/chunk-6CME4UEK.js +0 -10329
- package/dist/chunk-6CME4UEK.js.map +0 -1
- package/dist/chunk-6STK5TQP.js +0 -139
- package/dist/chunk-6STK5TQP.js.map +0 -1
- package/dist/chunk-A3JMGXPG.js.map +0 -1
- package/dist/chunk-B6PB7JLN.js.map +0 -1
- package/dist/chunk-BVRYKATC.js.map +0 -1
- package/dist/chunk-DE6GKS6G.js +0 -79
- package/dist/chunk-DE6GKS6G.js.map +0 -1
- package/dist/chunk-DFMLEQZB.js.map +0 -1
- package/dist/chunk-DJHHA6XH.js.map +0 -1
- package/dist/chunk-DL3HWOQ5.js.map +0 -1
- package/dist/chunk-DONMZAD2.js.map +0 -1
- package/dist/chunk-EMIGCR7X.js.map +0 -1
- package/dist/chunk-F3GDRNUT.js.map +0 -1
- package/dist/chunk-FZU343FL.js.map +0 -1
- package/dist/chunk-H2X3ISXG.js.map +0 -1
- package/dist/chunk-HNRHLRDC.js.map +0 -1
- package/dist/chunk-I5FOWO4J.js.map +0 -1
- package/dist/chunk-J66GRPNH.js.map +0 -1
- package/dist/chunk-JWRVQKRZ.js.map +0 -1
- package/dist/chunk-K3DK3NU5.js.map +0 -1
- package/dist/chunk-ML236QKC.js.map +0 -1
- package/dist/chunk-NONAAENK.js.map +0 -1
- package/dist/chunk-O3VZPBZG.js.map +0 -1
- package/dist/chunk-OIF6LZUR.js.map +0 -1
- package/dist/chunk-OQ6PIGHA.js +0 -19
- package/dist/chunk-OQ6PIGHA.js.map +0 -1
- package/dist/chunk-PE2FR4J3.js.map +0 -1
- package/dist/chunk-PP6W64Y3.js.map +0 -1
- package/dist/chunk-PX35GA7L.js.map +0 -1
- package/dist/chunk-QEILDE6R.js +0 -793
- package/dist/chunk-QEILDE6R.js.map +0 -1
- package/dist/chunk-QODLLGQ7.js.map +0 -1
- package/dist/chunk-RAZ4OVLL.js +0 -51
- package/dist/chunk-RAZ4OVLL.js.map +0 -1
- package/dist/chunk-SYMWGEET.js.map +0 -1
- package/dist/chunk-T7JEBOGN.js.map +0 -1
- package/dist/chunk-TFBP23BX.js.map +0 -1
- package/dist/chunk-TV3YZ35S.js.map +0 -1
- package/dist/chunk-U26HQ6KJ.js.map +0 -1
- package/dist/chunk-UF3BUNQZ.js +0 -1
- package/dist/chunk-UMLVJTYV.js +0 -20
- package/dist/chunk-UMLVJTYV.js.map +0 -1
- package/dist/chunk-VTKGMEPP.js.map +0 -1
- package/dist/chunk-W6EQLGMB.js +0 -100
- package/dist/chunk-W6EQLGMB.js.map +0 -1
- package/dist/chunk-WIRRPTFH.js +0 -17
- package/dist/chunk-WIRRPTFH.js.map +0 -1
- package/dist/chunk-WPLVTJ5D.js.map +0 -1
- package/dist/chunk-XJFLDA7A.js.map +0 -1
- package/dist/chunk-Z6FNBOTC.js.map +0 -1
- package/dist/chunk-ZYWZWG6G.js.map +0 -1
- package/dist/consent/index.cjs +0 -204
- package/dist/consent/index.cjs.map +0 -1
- package/dist/consent/index.d.cts +0 -25
- package/dist/crdt/index.cjs +0 -152
- package/dist/crdt/index.cjs.map +0 -1
- package/dist/crdt/index.d.cts +0 -30
- package/dist/crypto-HTZ4FJOP.js +0 -44
- package/dist/delegation-RI54P6I5.js +0 -17
- package/dist/derivations/index.cjs +0 -351
- package/dist/derivations/index.cjs.map +0 -1
- package/dist/derivations/index.d.cts +0 -72
- package/dist/dev-unlock-BIoEFbwm.d.cts +0 -263
- package/dist/executor-5PNY7LGW.js +0 -8
- package/dist/executor-B4QIYGZX.js +0 -8
- package/dist/executor-BWXXDQ7K.js +0 -11
- package/dist/fanout-sidecar-OKPMMPLG.js +0 -51
- package/dist/fanout-sidecar-OKPMMPLG.js.map +0 -1
- package/dist/guards/index.cjs +0 -322
- package/dist/guards/index.cjs.map +0 -1
- package/dist/guards/index.d.cts +0 -31
- package/dist/hash-HJqD14vS.d.ts +0 -63
- package/dist/history/index.cjs +0 -1222
- package/dist/history/index.cjs.map +0 -1
- package/dist/history/index.d.cts +0 -63
- package/dist/i18n/index.cjs +0 -1100
- package/dist/i18n/index.cjs.map +0 -1
- package/dist/i18n/index.d.cts +0 -39
- package/dist/index-4fBVt8j9.d.cts +0 -2387
- package/dist/index-D8I_pyJD.d.ts +0 -2387
- package/dist/index.cjs +0 -24487
- package/dist/index.cjs.map +0 -1
- package/dist/index.d.cts +0 -776
- package/dist/indexing/index.cjs +0 -742
- package/dist/indexing/index.cjs.map +0 -1
- package/dist/indexing/index.d.cts +0 -36
- package/dist/issue-VGDPP4B5.js +0 -12
- package/dist/lazy-builder-7tIpFyWN.d.ts +0 -304
- package/dist/lazy-builder-wY4pMCEe.d.cts +0 -304
- package/dist/ledger-TMRZYNVJ.js +0 -33
- package/dist/materialized-views/index.cjs +0 -854
- package/dist/materialized-views/index.cjs.map +0 -1
- package/dist/materialized-views/index.d.cts +0 -186
- package/dist/mime-magic-CBBSOkjm.d.cts +0 -50
- package/dist/mime-magic-CBBSOkjm.d.ts +0 -50
- package/dist/noydb-G725ZSZG.js +0 -34
- package/dist/overlay-views/index.cjs +0 -359
- package/dist/overlay-views/index.cjs.map +0 -1
- package/dist/overlay-views/index.d.cts +0 -82
- package/dist/periods/index.cjs +0 -1041
- package/dist/periods/index.cjs.map +0 -1
- package/dist/periods/index.d.cts +0 -22
- package/dist/predicate-BSAGEyu5.d.cts +0 -209
- package/dist/predicate-BSAGEyu5.d.ts +0 -209
- package/dist/query/index.cjs +0 -2375
- package/dist/query/index.cjs.map +0 -1
- package/dist/query/index.d.cts +0 -3
- package/dist/read-only-facade-ITU6L7BL.js +0 -7
- package/dist/registry-3QP3YKQS.js +0 -8
- package/dist/registry-DKEXOJVO.js +0 -7
- package/dist/registry-OJIOSBV6.js +0 -10
- package/dist/registry-USRVT6YF.js +0 -8
- package/dist/revoke-JCC7N56X.js +0 -17
- package/dist/session/index.cjs +0 -495
- package/dist/session/index.cjs.map +0 -1
- package/dist/session/index.d.cts +0 -46
- package/dist/shadow/index.cjs +0 -133
- package/dist/shadow/index.cjs.map +0 -1
- package/dist/shadow/index.d.cts +0 -17
- package/dist/signer-72QAUSVW.js +0 -18
- package/dist/snapshots/index.cjs +0 -937
- package/dist/snapshots/index.cjs.map +0 -1
- package/dist/snapshots/index.d.cts +0 -28
- package/dist/store/index.cjs +0 -1083
- package/dist/store/index.cjs.map +0 -1
- package/dist/store/index.d.cts +0 -492
- package/dist/store/index.d.ts +0 -492
- package/dist/store/index.js +0 -37
- package/dist/strategy-BSxFXGzb.d.cts +0 -110
- package/dist/strategy-BSxFXGzb.d.ts +0 -110
- package/dist/strategy-DSTrsZ8t.d.cts +0 -601
- package/dist/strategy-DSTrsZ8t.d.ts +0 -601
- package/dist/sync/index.cjs +0 -1062
- package/dist/sync/index.cjs.map +0 -1
- package/dist/sync/index.d.cts +0 -43
- package/dist/team/index.cjs +0 -2798
- package/dist/team/index.cjs.map +0 -1
- package/dist/team/index.d.cts +0 -118
- package/dist/tx/index.cjs +0 -544
- package/dist/tx/index.cjs.map +0 -1
- package/dist/tx/index.d.cts +0 -21
- package/dist/types-Df28QFKb.d.ts +0 -12818
- package/dist/types-DyXYr8rE.d.cts +0 -12818
- package/dist/ulid-COREQ2RQ.js +0 -9
- package/dist/ulid-Drr7ykr6.d.cts +0 -603
- package/dist/util/index.cjs +0 -230
- package/dist/util/index.cjs.map +0 -1
- package/dist/util/index.d.cts +0 -77
- package/dist/with-derivation-DFnFByiQ.d.ts +0 -13
- package/dist/with-derivation-DU3Sjazm.d.cts +0 -13
- package/dist/with-guard-ByyxmEe7.d.cts +0 -18
- package/dist/with-guard-qube6BMI.d.ts +0 -18
- package/dist/with-materialized-view-BmEToIR1.d.cts +0 -27
- package/dist/with-overlayed-view-BMsQQbWm.d.cts +0 -13
- /package/dist/{chunk-UF3BUNQZ.js.map → api-TX2EX2FX.js.map} +0 -0
- /package/dist/{store → as}/index.js.map +0 -0
- /package/dist/{crypto-HTZ4FJOP.js.map → at/index.js.map} +0 -0
- /package/dist/{delegation-RI54P6I5.js.map → by/index.js.map} +0 -0
- /package/dist/{executor-5PNY7LGW.js.map → cargo/index.js.map} +0 -0
- /package/dist/{executor-B4QIYGZX.js.map → chunk-CHFZDSE4.js.map} +0 -0
- /package/dist/{executor-BWXXDQ7K.js.map → chunk-GHVIKOHT.js.map} +0 -0
- /package/dist/{issue-VGDPP4B5.js.map → chunk-PZ5AY32C.js.map} +0 -0
- /package/dist/{ledger-TMRZYNVJ.js.map → classified/index.js.map} +0 -0
- /package/dist/{noydb-G725ZSZG.js.map → collection-facade-LVD22JLM.js.map} +0 -0
- /package/dist/{public-envelope-BW6OXORV.js.map → computed-EXDMQODG.js.map} +0 -0
- /package/dist/{read-only-facade-ITU6L7BL.js.map → delegation-BJP73GAP.js.map} +0 -0
- /package/dist/{registry-3QP3YKQS.js.map → derive-BME7HDWO.js.map} +0 -0
- /package/dist/{registry-DKEXOJVO.js.map → enclave-NHORSWSF.js.map} +0 -0
- /package/dist/{registry-OJIOSBV6.js.map → executor-FE6X4LFX.js.map} +0 -0
- /package/dist/{registry-USRVT6YF.js.map → executor-KSHKRJXP.js.map} +0 -0
- /package/dist/{revoke-JCC7N56X.js.map → executor-ZHTJJICG.js.map} +0 -0
- /package/dist/{signer-72QAUSVW.js.map → export-accessible-DACHM5VT.js.map} +0 -0
- /package/dist/{stale-6ZDBTQT7.js.map → extract-partition-RNENZZ4T.js.map} +0 -0
- /package/dist/{ulid-COREQ2RQ.js.map → find-BNGBJNKP.js.map} +0 -0
package/dist/indexing/index.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export {
|
|
3
|
-
|
|
1
|
+
import { R as IndexStrategy } from '../index-DjWbxsjb.js';
|
|
2
|
+
export { T as COMPOSITE_DELIMITER, U as CollectionIndexes, W as HashIndex, X as IDX_PREFIX, Y as IndexDef, Z as IndexState, _ as IngestRow, $ as LazyOrderBy, a0 as LazyQuery, a1 as LazyQuerySource, a2 as OrderedEntry, a3 as PersistedCollectionIndex, a4 as PersistedIndexDef, a5 as compositeKey, a6 as decodeIdxId, a7 as encodeIdxId, a8 as isIdxId } from '../index-DjWbxsjb.js';
|
|
3
|
+
import '../subject-index-CyOgGMJL.js';
|
|
4
|
+
import '../index-B9QdHytu.js';
|
|
5
|
+
import '@noy-db/attestation';
|
|
4
6
|
|
|
5
7
|
/**
|
|
6
8
|
* Active indexing strategy factory. Calling `withIndexing()` returns
|
package/dist/indexing/index.js
CHANGED
|
@@ -7,14 +7,15 @@ import {
|
|
|
7
7
|
decodeIdxId,
|
|
8
8
|
encodeIdxId,
|
|
9
9
|
isIdxId
|
|
10
|
-
} from "../chunk-
|
|
10
|
+
} from "../chunk-CB7CWSKW.js";
|
|
11
11
|
import {
|
|
12
12
|
CollectionIndexes
|
|
13
|
-
} from "../chunk-
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
13
|
+
} from "../chunk-KPZS5QAQ.js";
|
|
14
|
+
import "../chunk-IGJCYUT5.js";
|
|
15
|
+
import "../chunk-S7VFUQM2.js";
|
|
16
|
+
import "../chunk-PZ5AY32C.js";
|
|
16
17
|
|
|
17
|
-
// src/indexing/active.ts
|
|
18
|
+
// src/with-lookup/indexing/active.ts
|
|
18
19
|
function withIndexing() {
|
|
19
20
|
return {
|
|
20
21
|
createState({ defs, lazy }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/indexing/active.ts"],"sourcesContent":["/**\n * Active indexing strategy factory. Calling `withIndexing()` returns\n * an `IndexStrategy` whose `createState` constructs a real\n * `CollectionIndexes` (eager) or `PersistedCollectionIndex` (lazy)\n * per Collection, depending on the collection's `prefetch` mode and\n * its declared `IndexDef[]`.\n *\n * This module is only reachable through the `@noy-db/hub/indexing`\n * subpath — a consumer that never imports the subpath ships none of\n * this (ESM tree-shaking + hub's `\"sideEffects\": false`).\n */\n\nimport { CollectionIndexes } from './eager-indexes.js'\nimport type { IndexDef } from './eager-indexes.js'\nimport { PersistedCollectionIndex } from './persisted-indexes.js'\nimport type { IndexStrategy, IndexState } from './strategy.js'\n\n/**\n * Build the default indexing strategy. Pass into\n * `createNoydb({ indexStrategy: withIndexing() })` to light up the\n * eager-mode `==/in` fast-path on `.query()` and the full lazy-mode\n * `.lazyQuery()` + rebuild / reconcile / auto-reconcile surface.\n *\n * @example\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withIndexing } from '@noy-db/hub/indexing'\n *\n * const db = await createNoydb({\n * store, user, secret,\n * indexStrategy: withIndexing(),\n * })\n * ```\n */\nexport function withIndexing(): IndexStrategy {\n return {\n createState({ defs, lazy }) {\n if (lazy) {\n const persisted = new PersistedCollectionIndex()\n declareAll(persisted, defs)\n return makeLazyState(persisted)\n }\n const eager = new CollectionIndexes()\n for (const def of defs) {\n if (typeof def === 'string') {\n eager.declare(def)\n } else if (Array.isArray(def)) {\n for (const f of def as readonly string[]) eager.declare(f)\n } else {\n for (const f of (def as { fields: readonly string[] }).fields) eager.declare(f)\n }\n }\n return makeEagerState(eager)\n },\n }\n}\n\nfunction declareAll(persisted: PersistedCollectionIndex, defs: readonly IndexDef[]): void {\n for (const def of defs) {\n if (typeof def === 'string') {\n persisted.declare(def)\n } else if (Array.isArray(def)) {\n persisted.declareComposite(def as readonly string[])\n } else {\n persisted.declareComposite((def as { fields: readonly string[] }).fields)\n }\n }\n}\n\nfunction makeEagerState(eager: CollectionIndexes): IndexState {\n return {\n isEnabled: true,\n getEagerIndexes: () => eager,\n getPersistedIndexes: () => null,\n }\n}\n\nfunction makeLazyState(persisted: PersistedCollectionIndex): IndexState {\n return {\n isEnabled: true,\n getEagerIndexes: () => null,\n getPersistedIndexes: () => persisted,\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/with-lookup/indexing/active.ts"],"sourcesContent":["/**\n * Active indexing strategy factory. Calling `withIndexing()` returns\n * an `IndexStrategy` whose `createState` constructs a real\n * `CollectionIndexes` (eager) or `PersistedCollectionIndex` (lazy)\n * per Collection, depending on the collection's `prefetch` mode and\n * its declared `IndexDef[]`.\n *\n * This module is only reachable through the `@noy-db/hub/indexing`\n * subpath — a consumer that never imports the subpath ships none of\n * this (ESM tree-shaking + hub's `\"sideEffects\": false`).\n */\n\nimport { CollectionIndexes } from './eager-indexes.js'\nimport type { IndexDef } from './eager-indexes.js'\nimport { PersistedCollectionIndex } from './persisted-indexes.js'\nimport type { IndexStrategy, IndexState } from './strategy.js'\n\n/**\n * Build the default indexing strategy. Pass into\n * `createNoydb({ indexStrategy: withIndexing() })` to light up the\n * eager-mode `==/in` fast-path on `.query()` and the full lazy-mode\n * `.lazyQuery()` + rebuild / reconcile / auto-reconcile surface.\n *\n * @example\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withIndexing } from '@noy-db/hub/indexing'\n *\n * const db = await createNoydb({\n * store, user, secret,\n * indexStrategy: withIndexing(),\n * })\n * ```\n */\nexport function withIndexing(): IndexStrategy {\n return {\n createState({ defs, lazy }) {\n if (lazy) {\n const persisted = new PersistedCollectionIndex()\n declareAll(persisted, defs)\n return makeLazyState(persisted)\n }\n const eager = new CollectionIndexes()\n for (const def of defs) {\n if (typeof def === 'string') {\n eager.declare(def)\n } else if (Array.isArray(def)) {\n for (const f of def as readonly string[]) eager.declare(f)\n } else {\n for (const f of (def as { fields: readonly string[] }).fields) eager.declare(f)\n }\n }\n return makeEagerState(eager)\n },\n }\n}\n\nfunction declareAll(persisted: PersistedCollectionIndex, defs: readonly IndexDef[]): void {\n for (const def of defs) {\n if (typeof def === 'string') {\n persisted.declare(def)\n } else if (Array.isArray(def)) {\n persisted.declareComposite(def as readonly string[])\n } else {\n persisted.declareComposite((def as { fields: readonly string[] }).fields)\n }\n }\n}\n\nfunction makeEagerState(eager: CollectionIndexes): IndexState {\n return {\n isEnabled: true,\n getEagerIndexes: () => eager,\n getPersistedIndexes: () => null,\n }\n}\n\nfunction makeLazyState(persisted: PersistedCollectionIndex): IndexState {\n return {\n isEnabled: true,\n getEagerIndexes: () => null,\n getPersistedIndexes: () => persisted,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAkCO,SAAS,eAA8B;AAC5C,SAAO;AAAA,IACL,YAAY,EAAE,MAAM,KAAK,GAAG;AAC1B,UAAI,MAAM;AACR,cAAM,YAAY,IAAI,yBAAyB;AAC/C,mBAAW,WAAW,IAAI;AAC1B,eAAO,cAAc,SAAS;AAAA,MAChC;AACA,YAAM,QAAQ,IAAI,kBAAkB;AACpC,iBAAW,OAAO,MAAM;AACtB,YAAI,OAAO,QAAQ,UAAU;AAC3B,gBAAM,QAAQ,GAAG;AAAA,QACnB,WAAW,MAAM,QAAQ,GAAG,GAAG;AAC7B,qBAAW,KAAK,IAA0B,OAAM,QAAQ,CAAC;AAAA,QAC3D,OAAO;AACL,qBAAW,KAAM,IAAsC,OAAQ,OAAM,QAAQ,CAAC;AAAA,QAChF;AAAA,MACF;AACA,aAAO,eAAe,KAAK;AAAA,IAC7B;AAAA,EACF;AACF;AAEA,SAAS,WAAW,WAAqC,MAAiC;AACxF,aAAW,OAAO,MAAM;AACtB,QAAI,OAAO,QAAQ,UAAU;AAC3B,gBAAU,QAAQ,GAAG;AAAA,IACvB,WAAW,MAAM,QAAQ,GAAG,GAAG;AAC7B,gBAAU,iBAAiB,GAAwB;AAAA,IACrD,OAAO;AACL,gBAAU,iBAAkB,IAAsC,MAAM;AAAA,IAC1E;AAAA,EACF;AACF;AAEA,SAAS,eAAe,OAAsC;AAC5D,SAAO;AAAA,IACL,WAAW;AAAA,IACX,iBAAiB,MAAM;AAAA,IACvB,qBAAqB,MAAM;AAAA,EAC7B;AACF;AAEA,SAAS,cAAc,WAAiD;AACtE,SAAO;AAAA,IACL,WAAW;AAAA,IACX,iBAAiB,MAAM;AAAA,IACvB,qBAAqB,MAAM;AAAA,EAC7B;AACF;","names":[]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
issueAttestationCore
|
|
3
|
+
} from "./chunk-G6XV4H65.js";
|
|
4
|
+
import "./chunk-PLS64NCS.js";
|
|
5
|
+
import "./chunk-ZJADGNYF.js";
|
|
6
|
+
import "./chunk-MCHVVJIA.js";
|
|
7
|
+
import "./chunk-QA2KUPCP.js";
|
|
8
|
+
import "./chunk-2OV5NVE7.js";
|
|
9
|
+
import "./chunk-VEPTFUJY.js";
|
|
10
|
+
import "./chunk-HYR4WZZ3.js";
|
|
11
|
+
import "./chunk-LP7BEXCT.js";
|
|
12
|
+
import "./chunk-3OPY6MK2.js";
|
|
13
|
+
import "./chunk-YN5IAHN6.js";
|
|
14
|
+
import "./chunk-S7VFUQM2.js";
|
|
15
|
+
import "./chunk-PZ5AY32C.js";
|
|
16
|
+
export {
|
|
17
|
+
issueAttestationCore
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=issue-NDI4CVZU.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import "./chunk-PZ5AY32C.js";
|
|
2
|
+
|
|
3
|
+
// src/with-shape/introspection/json-schema.ts
|
|
4
|
+
function jsonType(t) {
|
|
5
|
+
switch (t) {
|
|
6
|
+
case "number":
|
|
7
|
+
return "number";
|
|
8
|
+
case "boolean":
|
|
9
|
+
return "boolean";
|
|
10
|
+
case "array":
|
|
11
|
+
return "array";
|
|
12
|
+
case "object":
|
|
13
|
+
return "object";
|
|
14
|
+
default:
|
|
15
|
+
return "string";
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
function buildJsonSchema(desc, base) {
|
|
19
|
+
const baseProps = base?.["properties"] ?? {};
|
|
20
|
+
const properties = {};
|
|
21
|
+
for (const f of desc.fields) {
|
|
22
|
+
const prop = { ...baseProps[f.key] ?? { type: jsonType(f.type) } };
|
|
23
|
+
prop["x-label"] = f.label;
|
|
24
|
+
if (f.unit !== void 0) prop["x-unit"] = f.unit;
|
|
25
|
+
if (f.semanticType !== void 0) prop["x-semanticType"] = f.semanticType;
|
|
26
|
+
if (f.sensitivity !== void 0) prop["x-sensitivity"] = f.sensitivity;
|
|
27
|
+
if (f.widget !== void 0) prop["x-widget"] = f.widget;
|
|
28
|
+
if (f.editable === false) prop["x-readonly"] = true;
|
|
29
|
+
if (f.money !== void 0) prop["x-money"] = f.money;
|
|
30
|
+
if (f.ref !== void 0) prop["x-ref"] = f.ref.target;
|
|
31
|
+
if (f.dict?.values) {
|
|
32
|
+
const labels = {};
|
|
33
|
+
for (const v of f.dict.values) if (v.label !== void 0) labels[v.value] = v.label;
|
|
34
|
+
if (Object.keys(labels).length) prop["x-enumLabels"] = labels;
|
|
35
|
+
}
|
|
36
|
+
if (f.classified !== void 0) prop["x-classified"] = f.classified;
|
|
37
|
+
properties[f.key] = prop;
|
|
38
|
+
}
|
|
39
|
+
return base != null && typeof base === "object" ? { ...base, properties } : { type: "object", properties };
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
buildJsonSchema
|
|
43
|
+
};
|
|
44
|
+
//# sourceMappingURL=json-schema-I22JCYCG.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/with-shape/introspection/json-schema.ts"],"sourcesContent":["/**\n * `buildJsonSchema` — pure overlay that merges describe() metadata onto a\n * base JSON Schema (from derivePersistedSchema) as `x-` extension keys.\n *\n * When no base JSON Schema is available (non-zod / unknown validator),\n * builds a minimal `{ type:'object', properties }` from describe()'s field\n * type tags. No static `import 'zod'` — validator derivation stays lazy.\n *\n * @module\n */\n\nimport type { CollectionDescription } from './describe.js'\n\n/** Map a DescribedField's type tag to a JSON-Schema `type`. */\nfunction jsonType(t: string): string {\n switch (t) {\n case 'number': return 'number'\n case 'boolean': return 'boolean'\n case 'array': return 'array'\n case 'object': return 'object'\n default: return 'string'\n }\n}\n\n/** Overlay describe() metadata onto a base JSON Schema (or build a minimal one). */\nexport function buildJsonSchema(desc: CollectionDescription, base?: Record<string, unknown> | null): object {\n const baseProps = (base?.['properties'] as Record<string, Record<string, unknown>> | undefined) ?? {}\n const properties: Record<string, Record<string, unknown>> = {}\n for (const f of desc.fields) {\n const prop: Record<string, unknown> = { ...(baseProps[f.key] ?? { type: jsonType(f.type) }) }\n prop['x-label'] = f.label\n if (f.unit !== undefined) prop['x-unit'] = f.unit\n if (f.semanticType !== undefined) prop['x-semanticType'] = f.semanticType\n if (f.sensitivity !== undefined) prop['x-sensitivity'] = f.sensitivity\n if (f.widget !== undefined) prop['x-widget'] = f.widget\n if (f.editable === false) prop['x-readonly'] = true\n if (f.money !== undefined) prop['x-money'] = f.money\n if (f.ref !== undefined) prop['x-ref'] = f.ref.target\n if (f.dict?.values) {\n const labels: Record<string, string> = {}\n for (const v of f.dict.values) if (v.label !== undefined) labels[v.value] = v.label\n if (Object.keys(labels).length) prop['x-enumLabels'] = labels\n }\n // `x-classified` carries the whole classified block, incl. `equatable` when\n // set — emitted ungated (boundary note on DescribedField.classified): a\n // deployment wanting it gated can gate this behind its value-bearing door.\n if (f.classified !== undefined) prop['x-classified'] = f.classified\n properties[f.key] = prop\n }\n return base != null && typeof base === 'object'\n ? { ...base, properties }\n : { type: 'object', properties }\n}\n"],"mappings":";;;AAcA,SAAS,SAAS,GAAmB;AACnC,UAAQ,GAAG;AAAA,IACT,KAAK;AAAU,aAAO;AAAA,IACtB,KAAK;AAAW,aAAO;AAAA,IACvB,KAAK;AAAS,aAAO;AAAA,IACrB,KAAK;AAAU,aAAO;AAAA,IACtB;AAAS,aAAO;AAAA,EAClB;AACF;AAGO,SAAS,gBAAgB,MAA6B,MAA+C;AAC1G,QAAM,YAAa,OAAO,YAAY,KAA6D,CAAC;AACpG,QAAM,aAAsD,CAAC;AAC7D,aAAW,KAAK,KAAK,QAAQ;AAC3B,UAAM,OAAgC,EAAE,GAAI,UAAU,EAAE,GAAG,KAAK,EAAE,MAAM,SAAS,EAAE,IAAI,EAAE,EAAG;AAC5F,SAAK,SAAS,IAAI,EAAE;AACpB,QAAI,EAAE,SAAS,OAAW,MAAK,QAAQ,IAAI,EAAE;AAC7C,QAAI,EAAE,iBAAiB,OAAW,MAAK,gBAAgB,IAAI,EAAE;AAC7D,QAAI,EAAE,gBAAgB,OAAW,MAAK,eAAe,IAAI,EAAE;AAC3D,QAAI,EAAE,WAAW,OAAW,MAAK,UAAU,IAAI,EAAE;AACjD,QAAI,EAAE,aAAa,MAAO,MAAK,YAAY,IAAI;AAC/C,QAAI,EAAE,UAAU,OAAW,MAAK,SAAS,IAAI,EAAE;AAC/C,QAAI,EAAE,QAAQ,OAAW,MAAK,OAAO,IAAI,EAAE,IAAI;AAC/C,QAAI,EAAE,MAAM,QAAQ;AAClB,YAAM,SAAiC,CAAC;AACxC,iBAAW,KAAK,EAAE,KAAK,OAAQ,KAAI,EAAE,UAAU,OAAW,QAAO,EAAE,KAAK,IAAI,EAAE;AAC9E,UAAI,OAAO,KAAK,MAAM,EAAE,OAAQ,MAAK,cAAc,IAAI;AAAA,IACzD;AAIA,QAAI,EAAE,eAAe,OAAW,MAAK,cAAc,IAAI,EAAE;AACzD,eAAW,EAAE,GAAG,IAAI;AAAA,EACtB;AACA,SAAO,QAAQ,QAAQ,OAAO,SAAS,WACnC,EAAE,GAAG,MAAM,WAAW,IACtB,EAAE,MAAM,UAAU,WAAW;AACnC;","names":[]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { gF as LazyStrategy } from '../index-DjWbxsjb.js';
|
|
2
|
+
export { eW as CacheOptions, eX as CacheStats, lM as IMPLICIT_LAZY } from '../index-DjWbxsjb.js';
|
|
3
|
+
import '../subject-index-CyOgGMJL.js';
|
|
4
|
+
import '../index-B9QdHytu.js';
|
|
5
|
+
import '@noy-db/attestation';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Enable the lazy service (#267 Track A tail — lazy-mode promoted out of
|
|
9
|
+
* `routing` into its own opt-in service).
|
|
10
|
+
*
|
|
11
|
+
* Pass to `createNoydb({ lazyStrategy: withLazy() })` to explicitly opt
|
|
12
|
+
* into lazy mode's bounded-LRU working set for collections declared with
|
|
13
|
+
* `prefetch: false` + a `cache` budget. Behavior is identical to the
|
|
14
|
+
* deprecated implicit path (which warns once and will be removed at 1.0) —
|
|
15
|
+
* opting in is the forward-stable spelling and the catalog's contract.
|
|
16
|
+
*/
|
|
17
|
+
|
|
18
|
+
declare function withLazy(): LazyStrategy;
|
|
19
|
+
|
|
20
|
+
export { LazyStrategy, withLazy };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import "./chunk-GHVIKOHT.js";
|
|
2
|
+
import {
|
|
3
|
+
LedgerStore,
|
|
4
|
+
applyPatch,
|
|
5
|
+
computePatch
|
|
6
|
+
} from "./chunk-3JXPAHOZ.js";
|
|
7
|
+
import {
|
|
8
|
+
LEDGER_COLLECTION,
|
|
9
|
+
LEDGER_DELTAS_COLLECTION
|
|
10
|
+
} from "./chunk-I7FD46FF.js";
|
|
11
|
+
import {
|
|
12
|
+
canonicalJson,
|
|
13
|
+
envelopePayloadHash,
|
|
14
|
+
hashEntry,
|
|
15
|
+
paddedIndex,
|
|
16
|
+
parseIndex,
|
|
17
|
+
sha256Hex
|
|
18
|
+
} from "./chunk-UF362QVH.js";
|
|
19
|
+
import "./chunk-MCHVVJIA.js";
|
|
20
|
+
import "./chunk-QA2KUPCP.js";
|
|
21
|
+
import "./chunk-2OV5NVE7.js";
|
|
22
|
+
import "./chunk-VEPTFUJY.js";
|
|
23
|
+
import "./chunk-HYR4WZZ3.js";
|
|
24
|
+
import "./chunk-LP7BEXCT.js";
|
|
25
|
+
import "./chunk-3OPY6MK2.js";
|
|
26
|
+
import "./chunk-YN5IAHN6.js";
|
|
27
|
+
import "./chunk-S7VFUQM2.js";
|
|
28
|
+
import "./chunk-PZ5AY32C.js";
|
|
29
|
+
export {
|
|
30
|
+
LEDGER_COLLECTION,
|
|
31
|
+
LEDGER_DELTAS_COLLECTION,
|
|
32
|
+
LedgerStore,
|
|
33
|
+
applyPatch,
|
|
34
|
+
canonicalJson,
|
|
35
|
+
computePatch,
|
|
36
|
+
envelopePayloadHash,
|
|
37
|
+
hashEntry,
|
|
38
|
+
paddedIndex,
|
|
39
|
+
parseIndex,
|
|
40
|
+
sha256Hex
|
|
41
|
+
};
|
|
42
|
+
//# sourceMappingURL=ledger-6NDS2EO4.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
liberateVault
|
|
3
|
+
} from "./chunk-UN4FVIBH.js";
|
|
4
|
+
import "./chunk-OBKWYKYC.js";
|
|
5
|
+
import "./chunk-OT76OZL6.js";
|
|
6
|
+
import "./chunk-YCXCR7VG.js";
|
|
7
|
+
import "./chunk-QSFOZUYL.js";
|
|
8
|
+
import "./chunk-OXCSVM3B.js";
|
|
9
|
+
import "./chunk-J4LPNIGK.js";
|
|
10
|
+
import "./chunk-OVYRLHPE.js";
|
|
11
|
+
import "./chunk-MCHVVJIA.js";
|
|
12
|
+
import "./chunk-QA2KUPCP.js";
|
|
13
|
+
import "./chunk-2OV5NVE7.js";
|
|
14
|
+
import "./chunk-VEPTFUJY.js";
|
|
15
|
+
import "./chunk-HYR4WZZ3.js";
|
|
16
|
+
import "./chunk-LP7BEXCT.js";
|
|
17
|
+
import "./chunk-3OPY6MK2.js";
|
|
18
|
+
import "./chunk-YN5IAHN6.js";
|
|
19
|
+
import "./chunk-S7VFUQM2.js";
|
|
20
|
+
import "./chunk-PZ5AY32C.js";
|
|
21
|
+
export {
|
|
22
|
+
liberateVault
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=liberate-HN3RIGIP.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import {
|
|
2
|
+
LinkEndpointError,
|
|
3
|
+
LinkSet
|
|
4
|
+
} from "./chunk-FORYWFN6.js";
|
|
5
|
+
import {
|
|
6
|
+
LINK_COLLECTION_PREFIX,
|
|
7
|
+
LinkIntegrityError,
|
|
8
|
+
isLinkCollectionName,
|
|
9
|
+
linkCollectionName,
|
|
10
|
+
linkRowKey
|
|
11
|
+
} from "./chunk-HY3AUMFI.js";
|
|
12
|
+
import "./chunk-MCHVVJIA.js";
|
|
13
|
+
import "./chunk-QA2KUPCP.js";
|
|
14
|
+
import "./chunk-2OV5NVE7.js";
|
|
15
|
+
import "./chunk-VEPTFUJY.js";
|
|
16
|
+
import "./chunk-HYR4WZZ3.js";
|
|
17
|
+
import "./chunk-LP7BEXCT.js";
|
|
18
|
+
import "./chunk-3OPY6MK2.js";
|
|
19
|
+
import "./chunk-YN5IAHN6.js";
|
|
20
|
+
import "./chunk-S7VFUQM2.js";
|
|
21
|
+
import "./chunk-PZ5AY32C.js";
|
|
22
|
+
export {
|
|
23
|
+
LINK_COLLECTION_PREFIX,
|
|
24
|
+
LinkEndpointError,
|
|
25
|
+
LinkIntegrityError,
|
|
26
|
+
LinkSet,
|
|
27
|
+
isLinkCollectionName,
|
|
28
|
+
linkCollectionName,
|
|
29
|
+
linkRowKey
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=link-set-SJB2MVJV.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
export { w as withMaterializedView } from '../with-materialized-view-
|
|
2
|
-
import {
|
|
3
|
-
export {
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
import '../lazy-builder-7tIpFyWN.js';
|
|
7
|
-
import '../predicate-BSAGEyu5.js';
|
|
8
|
-
import '../strategy-DSTrsZ8t.js';
|
|
9
|
-
import '../strategy-BSxFXGzb.js';
|
|
1
|
+
export { w as withMaterializedView } from '../with-materialized-view-BUmzlXue.js';
|
|
2
|
+
import { bN as Collection, eb as TxContext, ec as MVQueryContext, ed as PutDerivedOutputCtx, ee as RegisteredMV, ef as Query, eg as MaterializedViewRegistry } from '../index-DjWbxsjb.js';
|
|
3
|
+
export { eh as MaterializedFromMeta, ei as MaterializedViewConfigError, ej as MaterializedViewCycleError, ek as MaterializedViewOutput, el as MaterializedViewSourceUnknownError, bK as MaterializedViewStrategy, bL as MaterializedViewStrategyHandle, em as MaterializedViewTooLargeError, en as UnionArmJoin, eo as UnionSource } from '../index-DjWbxsjb.js';
|
|
4
|
+
import '../subject-index-CyOgGMJL.js';
|
|
5
|
+
import '../index-B9QdHytu.js';
|
|
10
6
|
import '@noy-db/attestation';
|
|
11
7
|
|
|
12
8
|
/**
|
|
@@ -25,6 +21,15 @@ interface MVExecutorAccessor {
|
|
|
25
21
|
* re-evaluate the closure against the live vault state.
|
|
26
22
|
*/
|
|
27
23
|
getQueryContext(): MVQueryContext;
|
|
24
|
+
/**
|
|
25
|
+
* #638 Task 5 — ctx for `putDerivedOutput`'s frozen-period skip+audit. #641: the lazy
|
|
26
|
+
* resolve-on-read caller (`stale.ts#resolveStaleMVOnRead`) now supplies one too — built at
|
|
27
|
+
* the `Collection.get()`/`list()` entry point with a `'resolve-on-read'` sentinel id (no
|
|
28
|
+
* real "reacting write" for a read-triggered materialize, mirroring `refreshView()`'s
|
|
29
|
+
* `'refreshView'` sentinel). Still declared optional here since `MVExecutorAccessor` is a
|
|
30
|
+
* general shape and a future caller could reasonably omit it.
|
|
31
|
+
*/
|
|
32
|
+
dispatchCtx?: PutDerivedOutputCtx;
|
|
28
33
|
}
|
|
29
34
|
interface RefreshResult {
|
|
30
35
|
/** Rows newly written / overwritten. */
|
|
@@ -99,16 +104,6 @@ declare function analyzeDependencies(query: Query<any>): Set<string>;
|
|
|
99
104
|
*/
|
|
100
105
|
declare function summarizeQueryPlan(query: Query<any>): string;
|
|
101
106
|
|
|
102
|
-
/**
|
|
103
|
-
* Deterministic hash of a materialized view strategy's "shape": MV
|
|
104
|
-
* name + canonical query-plan summary + sorted dependency-set.
|
|
105
|
-
*
|
|
106
|
-
* Used to detect strategy drift: a row whose `_materializedFrom.queryHash`
|
|
107
|
-
* doesn't match the current strategy is considered stale.
|
|
108
|
-
*
|
|
109
|
-
* Web Crypto SHA-256 — no extra deps. Mirrors the v1
|
|
110
|
-
* `computeStrategyHash` pattern.
|
|
111
|
-
*/
|
|
112
107
|
declare function computeQueryHash(mvName: string,
|
|
113
108
|
/**
|
|
114
109
|
* Source-collection set the query depends on. Sorted before
|
|
@@ -167,11 +162,19 @@ declare function isMVStale(registry: MaterializedViewRegistry, mvName: string):
|
|
|
167
162
|
* before returning. No-op when there is no pending work — keeps the
|
|
168
163
|
* read fast path negligible.
|
|
169
164
|
*
|
|
165
|
+
* `dispatchCtx` (#641): threaded from the calling `Collection`'s
|
|
166
|
+
* `#dispatchCtx({ collection: outputCollection, id: 'resolve-on-read' })` — a read has no
|
|
167
|
+
* real "reacting write" record, so `'resolve-on-read'` is the sentinel id, mirroring
|
|
168
|
+
* `Vault.refreshView()`'s `'refreshView'` sentinel for the same reason. Passed straight
|
|
169
|
+
* through to the executor so a stale row whose output lands in a closed period follows the
|
|
170
|
+
* frozen-output rule (skip + `derivation:skipped-frozen`, #637) instead of throwing
|
|
171
|
+
* `PeriodClosedError` out of a read.
|
|
172
|
+
*
|
|
170
173
|
* Dynamic-imports the executor only when a stale flag actually fires
|
|
171
174
|
* (the floor-bundle isolation pattern v1 derivations established in
|
|
172
175
|
* floor-bundle isolation pattern).
|
|
173
176
|
*/
|
|
174
|
-
declare function resolveStaleMVOnRead(accessor: MVStaleAccessor, outputCollection: string): Promise<void>;
|
|
177
|
+
declare function resolveStaleMVOnRead(accessor: MVStaleAccessor, outputCollection: string, dispatchCtx?: PutDerivedOutputCtx): Promise<void>;
|
|
175
178
|
/**
|
|
176
179
|
* Drop every stale flag for a registry. Used after a manual
|
|
177
180
|
* `vault.refreshView(name)` runs the executor explicitly — the
|
|
@@ -1,30 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withMaterializedView
|
|
3
|
-
} from "../chunk-
|
|
4
|
-
import {
|
|
5
|
-
clearMVStale,
|
|
6
|
-
isMVStale,
|
|
7
|
-
markMVStale,
|
|
8
|
-
resolveStaleMVOnRead
|
|
9
|
-
} from "../chunk-HNRHLRDC.js";
|
|
3
|
+
} from "../chunk-RW3Y22MW.js";
|
|
10
4
|
import {
|
|
11
5
|
MaterializedViewExecutor
|
|
12
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-LL2NIVUR.js";
|
|
7
|
+
import "../chunk-WZSCE6RM.js";
|
|
13
8
|
import {
|
|
14
9
|
MaterializedViewRegistry,
|
|
15
10
|
analyzeDependencies,
|
|
16
11
|
canonicalizeQueryPlan,
|
|
17
12
|
computeQueryHash,
|
|
18
13
|
summarizeQueryPlan
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import
|
|
21
|
-
|
|
14
|
+
} from "../chunk-3QSIU3UT.js";
|
|
15
|
+
import {
|
|
16
|
+
clearMVStale,
|
|
17
|
+
isMVStale,
|
|
18
|
+
markMVStale,
|
|
19
|
+
resolveStaleMVOnRead
|
|
20
|
+
} from "../chunk-2REPHKET.js";
|
|
21
|
+
import "../chunk-NUEQU36L.js";
|
|
22
|
+
import "../chunk-UF362QVH.js";
|
|
23
|
+
import "../chunk-MCHVVJIA.js";
|
|
24
|
+
import "../chunk-QA2KUPCP.js";
|
|
25
|
+
import "../chunk-2OV5NVE7.js";
|
|
26
|
+
import "../chunk-VEPTFUJY.js";
|
|
27
|
+
import "../chunk-HYR4WZZ3.js";
|
|
28
|
+
import "../chunk-LP7BEXCT.js";
|
|
29
|
+
import "../chunk-3OPY6MK2.js";
|
|
30
|
+
import "../chunk-YN5IAHN6.js";
|
|
31
|
+
import "../chunk-DFVUTGT2.js";
|
|
32
|
+
import "../chunk-IGJCYUT5.js";
|
|
33
|
+
import "../chunk-EOXAAJTY.js";
|
|
34
|
+
import "../chunk-VEAVKDDB.js";
|
|
22
35
|
import {
|
|
23
36
|
MaterializedViewConfigError,
|
|
24
37
|
MaterializedViewCycleError,
|
|
25
38
|
MaterializedViewSourceUnknownError,
|
|
26
39
|
MaterializedViewTooLargeError
|
|
27
|
-
} from "../chunk-
|
|
40
|
+
} from "../chunk-S7VFUQM2.js";
|
|
41
|
+
import "../chunk-PZ5AY32C.js";
|
|
28
42
|
export {
|
|
29
43
|
MaterializedViewConfigError,
|
|
30
44
|
MaterializedViewCycleError,
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { F as ObjectProjection } from './index-DjWbxsjb.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* Import / bootstrap (reverse projection) — walk an existing bucket/prefix in an
|
|
5
|
+
* {@link ObjectProjection} and build a master collection where each record
|
|
6
|
+
* anchors one object, restoring the record-anchoring invariant for objects that
|
|
7
|
+
* pre-date noy-db (or were written by another system). See as-aws-s3 §3.8.
|
|
8
|
+
*
|
|
9
|
+
* Idempotent: re-running re-adopts the same objects under the same record ids.
|
|
10
|
+
*/
|
|
11
|
+
|
|
12
|
+
/** Minimal collection surface this utility needs (avoids importing the kernel). */
|
|
13
|
+
interface ImportableCollection {
|
|
14
|
+
get(id: string): Promise<unknown>;
|
|
15
|
+
put(id: string, record: unknown): Promise<unknown>;
|
|
16
|
+
blob(id: string): {
|
|
17
|
+
adoptExternal(slot: string, ref: {
|
|
18
|
+
key: string;
|
|
19
|
+
size?: number;
|
|
20
|
+
contentType?: string;
|
|
21
|
+
public?: boolean;
|
|
22
|
+
backlink?: string;
|
|
23
|
+
}): Promise<void>;
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
interface ImportExternalOptions {
|
|
27
|
+
/** Only consider objects under this key prefix. Default `''` (all). */
|
|
28
|
+
prefix?: string;
|
|
29
|
+
/**
|
|
30
|
+
* Derive the record id for an object key. Default: the path segment before
|
|
31
|
+
* the last — i.e. `{collection}/{recordId}/{field}` → `recordId`. Return
|
|
32
|
+
* `null` to skip the object.
|
|
33
|
+
*/
|
|
34
|
+
deriveRecordId?: (key: string) => string | null;
|
|
35
|
+
/** Build the anchor record for a new id. Default `{ id }`. */
|
|
36
|
+
makeRecord?: (id: string) => unknown;
|
|
37
|
+
}
|
|
38
|
+
interface ImportExternalResult {
|
|
39
|
+
imported: number;
|
|
40
|
+
skipped: number;
|
|
41
|
+
recordIds: string[];
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Build/extend `collection` from the objects under `prefix` in `objectStore`,
|
|
45
|
+
* adopting each as the `field` blob on its derived record.
|
|
46
|
+
*/
|
|
47
|
+
declare function importExternalObjects(args: {
|
|
48
|
+
collection: ImportableCollection;
|
|
49
|
+
objectStore: ObjectProjection;
|
|
50
|
+
field: string;
|
|
51
|
+
options?: ImportExternalOptions;
|
|
52
|
+
}): Promise<ImportExternalResult>;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Lightweight MIME type detection from magic bytes (file signatures).
|
|
56
|
+
*
|
|
57
|
+
* Designed for the blob store's auto-detection feature. Operates on the first 16 bytes of
|
|
58
|
+
* plaintext — no filesystem access, no filename guessing.
|
|
59
|
+
*
|
|
60
|
+
* ## Detection strategies
|
|
61
|
+
*
|
|
62
|
+
* 1. **Prefix match** — magic bytes at offset 0 (most formats).
|
|
63
|
+
* 2. **Offset match** — magic bytes at a fixed offset > 0 (ISOBMFF: offset 4).
|
|
64
|
+
* 3. **Compound match** — two separate byte sequences at different offsets
|
|
65
|
+
* (RIFF-based: bytes 0-3 + bytes 8-11).
|
|
66
|
+
*
|
|
67
|
+
* ## Formats excluded (require offset > 16 bytes)
|
|
68
|
+
*
|
|
69
|
+
* - TAR (`ustar` at offset 257)
|
|
70
|
+
* - ISO 9660 (`CD001` at offset 32769)
|
|
71
|
+
*
|
|
72
|
+
* @module
|
|
73
|
+
*/
|
|
74
|
+
/**
|
|
75
|
+
* Detect MIME type from the first bytes of a file.
|
|
76
|
+
*
|
|
77
|
+
* @param header - The first 16 bytes (or more) of the plaintext. Passing
|
|
78
|
+
* fewer than 16 bytes may miss compound and offset-based matches.
|
|
79
|
+
* @returns Detected MIME type, or `'application/octet-stream'` if unknown.
|
|
80
|
+
*/
|
|
81
|
+
declare function detectMimeType(header: Uint8Array): string;
|
|
82
|
+
/**
|
|
83
|
+
* Detect MIME type and whether the format is already compressed.
|
|
84
|
+
*
|
|
85
|
+
* Used by `BlobSet.put()` to decide whether to skip gzip compression.
|
|
86
|
+
*
|
|
87
|
+
* @param header - The first 16 bytes (or more) of the plaintext.
|
|
88
|
+
* @returns `{ mime, preCompressed }` or `null` if no match.
|
|
89
|
+
*/
|
|
90
|
+
declare function detectMagic(header: Uint8Array): {
|
|
91
|
+
mime: string;
|
|
92
|
+
format: string;
|
|
93
|
+
preCompressed: boolean;
|
|
94
|
+
} | null;
|
|
95
|
+
/**
|
|
96
|
+
* Check whether a format is already compressed (should skip gzip).
|
|
97
|
+
*
|
|
98
|
+
* @param mimeType - A MIME type string.
|
|
99
|
+
* @returns `true` if the format is known to be pre-compressed.
|
|
100
|
+
*/
|
|
101
|
+
declare function isPreCompressed(mimeType: string): boolean;
|
|
102
|
+
|
|
103
|
+
export { type ImportExternalOptions as I, type ImportExternalResult as a, type ImportableCollection as b, detectMimeType as c, detectMagic as d, isPreCompressed as e, importExternalObjects as i };
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Noydb,
|
|
3
|
+
createNoydb
|
|
4
|
+
} from "./chunk-DSKDQP3G.js";
|
|
5
|
+
import "./chunk-VYYM3MEN.js";
|
|
6
|
+
import "./chunk-6G5ORS5D.js";
|
|
7
|
+
import "./chunk-G4JYND6L.js";
|
|
8
|
+
import "./chunk-HY3AUMFI.js";
|
|
9
|
+
import "./chunk-VQRAIPYF.js";
|
|
10
|
+
import "./chunk-XREOISSI.js";
|
|
11
|
+
import "./chunk-VJV7GKQK.js";
|
|
12
|
+
import "./chunk-5I35DOHK.js";
|
|
13
|
+
import "./chunk-GYGLAVCX.js";
|
|
14
|
+
import "./chunk-XGDAPN6M.js";
|
|
15
|
+
import "./chunk-QOC3VYL2.js";
|
|
16
|
+
import "./chunk-VWM3DAVB.js";
|
|
17
|
+
import "./chunk-7P2SDJG3.js";
|
|
18
|
+
import "./chunk-RHK32N73.js";
|
|
19
|
+
import "./chunk-ZYJ55N7N.js";
|
|
20
|
+
import "./chunk-AURFOK3D.js";
|
|
21
|
+
import "./chunk-TWKKOM55.js";
|
|
22
|
+
import "./chunk-FRP6D2DM.js";
|
|
23
|
+
import "./chunk-GHVIKOHT.js";
|
|
24
|
+
import "./chunk-ICXIFFYZ.js";
|
|
25
|
+
import "./chunk-FUOE7UUV.js";
|
|
26
|
+
import "./chunk-WZSCE6RM.js";
|
|
27
|
+
import "./chunk-OHHKHSJP.js";
|
|
28
|
+
import "./chunk-BQISD5ZV.js";
|
|
29
|
+
import "./chunk-CB7CWSKW.js";
|
|
30
|
+
import "./chunk-NO272T7Q.js";
|
|
31
|
+
import "./chunk-YCXCR7VG.js";
|
|
32
|
+
import "./chunk-ET67AY6B.js";
|
|
33
|
+
import "./chunk-NUEQU36L.js";
|
|
34
|
+
import "./chunk-KJ2BCBTL.js";
|
|
35
|
+
import "./chunk-P33LUIML.js";
|
|
36
|
+
import "./chunk-VQNJ7UZL.js";
|
|
37
|
+
import "./chunk-7BWJHO2A.js";
|
|
38
|
+
import "./chunk-J4LPNIGK.js";
|
|
39
|
+
import "./chunk-OVYRLHPE.js";
|
|
40
|
+
import "./chunk-ZJADGNYF.js";
|
|
41
|
+
import "./chunk-3JXPAHOZ.js";
|
|
42
|
+
import "./chunk-I7FD46FF.js";
|
|
43
|
+
import "./chunk-UF362QVH.js";
|
|
44
|
+
import "./chunk-ANB77BVV.js";
|
|
45
|
+
import "./chunk-HPWKV3YB.js";
|
|
46
|
+
import "./chunk-MCHVVJIA.js";
|
|
47
|
+
import "./chunk-QA2KUPCP.js";
|
|
48
|
+
import "./chunk-2OV5NVE7.js";
|
|
49
|
+
import "./chunk-VEPTFUJY.js";
|
|
50
|
+
import "./chunk-HYR4WZZ3.js";
|
|
51
|
+
import "./chunk-LP7BEXCT.js";
|
|
52
|
+
import "./chunk-3OPY6MK2.js";
|
|
53
|
+
import "./chunk-YN5IAHN6.js";
|
|
54
|
+
import "./chunk-BUAQ7YI3.js";
|
|
55
|
+
import "./chunk-KPZS5QAQ.js";
|
|
56
|
+
import "./chunk-DFVUTGT2.js";
|
|
57
|
+
import "./chunk-IGJCYUT5.js";
|
|
58
|
+
import "./chunk-EOXAAJTY.js";
|
|
59
|
+
import "./chunk-VEAVKDDB.js";
|
|
60
|
+
import "./chunk-S7VFUQM2.js";
|
|
61
|
+
import "./chunk-PZ5AY32C.js";
|
|
62
|
+
export {
|
|
63
|
+
Noydb,
|
|
64
|
+
createNoydb
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=noydb-BWF6EPIR.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { fO as EnrollAuthenticatorOptions, hF as PaperRecoveryEntry, hM as Permissions, cY as Role, ja as SlotRewrapContext, c8 as UnlockedKeyring, l1 as mintPaperRecoveryEntry } from '../index-DjWbxsjb.js';
|
|
2
|
+
import '../subject-index-CyOgGMJL.js';
|
|
3
|
+
import '../index-B9QdHytu.js';
|
|
4
|
+
import '@noy-db/attestation';
|
package/dist/on/index.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import {
|
|
2
|
+
mintPaperRecoveryEntry
|
|
3
|
+
} from "../chunk-P33LUIML.js";
|
|
4
|
+
import "../chunk-MCHVVJIA.js";
|
|
5
|
+
import "../chunk-QA2KUPCP.js";
|
|
6
|
+
import "../chunk-2OV5NVE7.js";
|
|
7
|
+
import "../chunk-VEPTFUJY.js";
|
|
8
|
+
import "../chunk-HYR4WZZ3.js";
|
|
9
|
+
import "../chunk-LP7BEXCT.js";
|
|
10
|
+
import "../chunk-3OPY6MK2.js";
|
|
11
|
+
import "../chunk-YN5IAHN6.js";
|
|
12
|
+
import "../chunk-S7VFUQM2.js";
|
|
13
|
+
import "../chunk-PZ5AY32C.js";
|
|
14
|
+
export {
|
|
15
|
+
mintPaperRecoveryEntry
|
|
16
|
+
};
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"sourcesContent":[],"mappings":"","names":[]}
|