@noy-db/hub 0.6.0-pre.21 → 0.6.0-pre.22
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/CHANGELOG.md +203 -0
- package/dist/api-D6DBNTOS.js +20 -0
- package/dist/attestation/index.js +16 -16
- package/dist/{backup-FSC36VWC.js → backup-4PZAH67W.js} +10 -10
- package/dist/blobs/index.js +11 -11
- package/dist/broker/index.js +10 -10
- package/dist/cargo/index.js +28 -28
- package/dist/{chunk-ICDHUUMQ.js → chunk-23XKHFNT.js} +4 -4
- package/dist/{chunk-6KTVJ5ZZ.js → chunk-2DFE4TUE.js} +3 -3
- package/dist/{chunk-QSIEL6TL.js → chunk-2VMCJUK6.js} +5 -5
- package/dist/{chunk-EKEIEJL6.js → chunk-3TWEXEKX.js} +3 -3
- package/dist/{chunk-ZLHHE5XZ.js → chunk-47F6AI2K.js} +3 -3
- package/dist/{chunk-KRVS7YWY.js → chunk-4BYZIQ5T.js} +2 -2
- package/dist/{chunk-GWO2IDAB.js → chunk-4IPP2P74.js} +2 -2
- package/dist/{chunk-7PJ3BKHS.js → chunk-4O52JH3C.js} +5 -5
- package/dist/{chunk-6JPGVL7X.js → chunk-4RZTW5JH.js} +2 -2
- package/dist/{chunk-3PMFMUFX.js → chunk-6QMOJTC6.js} +2 -2
- package/dist/{chunk-CLAHBPOI.js → chunk-6ZGDIN2D.js} +3 -3
- package/dist/{chunk-JNMTN5D5.js → chunk-7JOXCSDU.js} +2 -2
- package/dist/{chunk-45YHJ3GV.js → chunk-7LJA7T4W.js} +3 -3
- package/dist/{chunk-4RAS6HN6.js → chunk-A5YEUQOY.js} +2 -2
- package/dist/{chunk-3O72ZD2E.js → chunk-A66LJYFG.js} +7 -4
- package/dist/chunk-A66LJYFG.js.map +1 -0
- package/dist/{chunk-KV6JM2IA.js → chunk-AELW6OJZ.js} +2 -2
- package/dist/{chunk-LN7P6MZB.js → chunk-AGETRKC5.js} +2 -2
- package/dist/{chunk-32B7VCKU.js → chunk-ANYVM4SX.js} +2 -2
- package/dist/{chunk-CADUYBQD.js → chunk-ATL3ZVXT.js} +2 -2
- package/dist/{chunk-ZZXLB6AS.js → chunk-BFNBYT62.js} +2 -2
- package/dist/{chunk-ONVD6GBY.js → chunk-BPLSGN4X.js} +2 -2
- package/dist/{chunk-GBBDFE6C.js → chunk-BXHG26KN.js} +2 -2
- package/dist/{chunk-WVE6YKMX.js → chunk-CW3VJARJ.js} +3 -3
- package/dist/{chunk-DIZ6HM7Q.js → chunk-D5EXZVQC.js} +5 -5
- package/dist/{chunk-OHOKBMTM.js → chunk-DIVPOJPV.js} +6 -6
- package/dist/{chunk-YALD3SST.js → chunk-DIYI32MG.js} +4 -4
- package/dist/{chunk-TMBSPLUG.js → chunk-DUUARUZI.js} +2 -2
- package/dist/{chunk-O742QBZZ.js → chunk-ESXVNASI.js} +5 -5
- package/dist/{chunk-H3G4I3PN.js → chunk-F3BICEMK.js} +2 -2
- package/dist/{chunk-NCCEDL2K.js → chunk-F5IFR56V.js} +6 -6
- package/dist/{chunk-CAGI4LLJ.js → chunk-FFESJQ5A.js} +5 -5
- package/dist/chunk-FFESJQ5A.js.map +1 -0
- package/dist/{chunk-2LFOMUEA.js → chunk-FGZ7GJXO.js} +3 -3
- package/dist/{chunk-YKXZHUOW.js → chunk-FHEVZQQY.js} +4 -4
- package/dist/{chunk-RFO4UXKQ.js → chunk-FKZI4NSG.js} +5 -5
- package/dist/{chunk-U27Y4DJZ.js → chunk-FUIG7QSS.js} +3 -3
- package/dist/{chunk-ESKIAXO2.js → chunk-GWJJ5CK3.js} +4 -4
- package/dist/{chunk-4A34KWOU.js → chunk-H27DIXOV.js} +5 -5
- package/dist/{chunk-JWMBG5S3.js → chunk-H3SEW5HB.js} +6 -6
- package/dist/{chunk-DVRZYAGT.js → chunk-H6K24KLL.js} +4 -4
- package/dist/{chunk-S56VYR4Q.js → chunk-HRSEAGLI.js} +2 -2
- package/dist/{chunk-LGFTOU27.js → chunk-HUEG3YP4.js} +77 -77
- package/dist/{chunk-AUPSEJ7O.js → chunk-HZIIDYJV.js} +4 -4
- package/dist/{chunk-GQ3BX5EA.js → chunk-I3ISCYT7.js} +2 -2
- package/dist/{chunk-OMYCSTXL.js → chunk-IPA6ODWG.js} +3 -3
- package/dist/{chunk-GQXFOAYZ.js → chunk-IUQPNAGR.js} +3 -3
- package/dist/{chunk-6WO62AJW.js → chunk-JPVJTTHU.js} +3 -3
- package/dist/{chunk-P2MR5UNE.js → chunk-JSTQGUE5.js} +43 -9
- package/dist/chunk-JSTQGUE5.js.map +1 -0
- package/dist/{chunk-LX46B56Q.js → chunk-KMGAFLCK.js} +4 -4
- package/dist/{chunk-TQPASLY4.js → chunk-KYUKZIW5.js} +2 -2
- package/dist/{chunk-I6QKB7MT.js → chunk-L2YYIQYR.js} +2 -2
- package/dist/{chunk-HQSPF5IY.js → chunk-L3AM6EGU.js} +5 -5
- package/dist/{chunk-OIBEJN5H.js → chunk-LLLSK7UQ.js} +2 -2
- package/dist/{chunk-TX5MKAHA.js → chunk-M3FKPVOU.js} +2 -2
- package/dist/{chunk-BAHOV5I5.js → chunk-M7VSXBUL.js} +8 -8
- package/dist/{chunk-LXECF2ZR.js → chunk-MBZFAJKM.js} +2 -2
- package/dist/{chunk-DXKLLKME.js → chunk-MQFKH3ZJ.js} +3 -3
- package/dist/{chunk-HR5R5JOM.js → chunk-NB2CKJ27.js} +2 -2
- package/dist/{chunk-A4TOGAUW.js → chunk-NCAMIRFB.js} +2 -2
- package/dist/{chunk-MSLPDFK2.js → chunk-NHXIFF4Y.js} +6 -6
- package/dist/{chunk-IGJCYUT5.js → chunk-NSITFOCJ.js} +1 -1
- package/dist/chunk-NSITFOCJ.js.map +1 -0
- package/dist/{chunk-AU3AUJIZ.js → chunk-O5QXH7U7.js} +2 -2
- package/dist/{chunk-4OQZNXQG.js → chunk-OBPL43F3.js} +5 -5
- package/dist/{chunk-NW4TY6VC.js → chunk-OCW3IM2F.js} +3 -3
- package/dist/{chunk-BEZDLIDG.js → chunk-OIW75CLW.js} +4 -4
- package/dist/{chunk-7LNE2N2V.js → chunk-OZ5QBLEL.js} +5 -5
- package/dist/{chunk-RKCRPPNB.js → chunk-PGHSH4TY.js} +3 -3
- package/dist/{chunk-CWM4GQD2.js → chunk-PKUJ3JLQ.js} +15 -5
- package/dist/chunk-PKUJ3JLQ.js.map +1 -0
- package/dist/{chunk-JLYQQNY4.js → chunk-PNXJV4OS.js} +78 -22
- package/dist/chunk-PNXJV4OS.js.map +1 -0
- package/dist/{chunk-B6IYATME.js → chunk-PWK3SSNB.js} +6 -6
- package/dist/{chunk-GTHVPVAR.js → chunk-QK2QAMF7.js} +10 -10
- package/dist/{chunk-3B6S6RSI.js → chunk-QMJI5VHV.js} +2 -2
- package/dist/{chunk-E5SC6ENM.js → chunk-QTWWZ25B.js} +10 -10
- package/dist/{chunk-RSXQNFGO.js → chunk-REKDM67V.js} +2 -2
- package/dist/{chunk-HYYVT2KZ.js → chunk-REQJLII3.js} +2 -2
- package/dist/{chunk-5Q7AJ7DN.js → chunk-RJYPFCID.js} +4 -4
- package/dist/{chunk-KX57HODD.js → chunk-RT7CWTUG.js} +6 -6
- package/dist/{chunk-4YL2LMXK.js → chunk-SRR22EW2.js} +6 -6
- package/dist/{chunk-D3R7Q4QK.js → chunk-TKLQWOTY.js} +2 -2
- package/dist/{chunk-TDSN2O2V.js → chunk-UQUWSM33.js} +5 -5
- package/dist/{chunk-NR2SUJ3H.js → chunk-VKYEEJJ2.js} +2 -2
- package/dist/{chunk-SYS46BL7.js → chunk-VMYXYFPX.js} +2 -2
- package/dist/{chunk-FW7NGYLT.js → chunk-VWPJX5B3.js} +4 -4
- package/dist/{chunk-7KAE7CQ2.js → chunk-VYLC5KAT.js} +2 -2
- package/dist/{chunk-EES37S2V.js → chunk-WFC2GHJG.js} +3 -3
- package/dist/{chunk-MZTUTEHP.js → chunk-WKT7NNNR.js} +3 -3
- package/dist/{chunk-IJ46VCWD.js → chunk-WRGNEAUZ.js} +2 -2
- package/dist/{chunk-PPCOKVFA.js → chunk-WUNRUSBJ.js} +2 -2
- package/dist/{chunk-VVSOPRUE.js → chunk-XPTYXXMD.js} +3 -3
- package/dist/{chunk-T7JGWTES.js → chunk-XZZIZ544.js} +8 -8
- package/dist/{chunk-6YD5SYQS.js → chunk-YF3CIA6E.js} +2 -2
- package/dist/{chunk-INMHEMXX.js → chunk-YOMI3ZCA.js} +2 -2
- package/dist/{chunk-FS7NTGCJ.js → chunk-ZAZW5LLF.js} +2 -2
- package/dist/{chunk-4N5Q23KV.js → chunk-ZUDIY7YP.js} +5 -5
- package/dist/classified/index.js +4 -4
- package/dist/{classified-marker-NA6HUV33.js → classified-marker-EPL2NX3H.js} +3 -3
- package/dist/{collection-facade-VBM35WAH.js → collection-facade-3DN4ETEP.js} +15 -15
- package/dist/{computed-GSTLWSY5.js → computed-UXN4AMI5.js} +3 -3
- package/dist/consent/index.js +7 -7
- package/dist/cover/index.js +7 -7
- package/dist/custody/index.js +9 -9
- package/dist/{dead-filter-UALP5DJX.js → dead-filter-56AYTNAO.js} +2 -2
- package/dist/debug/index.js +1 -1
- package/dist/{delegation-JLNXM7KH.js → delegation-MCCWCFZA.js} +9 -9
- package/dist/derivations/index.js +10 -10
- package/dist/{derive-YUO3TQYN.js → derive-BSAF6N5X.js} +8 -8
- package/dist/directory/index.js +8 -8
- package/dist/{dispatch-4ZHLSFZQ.js → dispatch-JM7X5BLP.js} +5 -5
- package/dist/{dispatch-77CB75KB.js → dispatch-UPZW4MAO.js} +16 -16
- package/dist/{enclave-O4NOROCJ.js → enclave-CCXI3WEU.js} +7 -7
- package/dist/executor-6YQYFGHK.js +9 -0
- package/dist/executor-GLKPMISJ.js +9 -0
- package/dist/executor-ZEIX7Y7I.js +29 -0
- package/dist/export-accessible-SDIQEFHQ.js +23 -0
- package/dist/extract-partition-K232SO2V.js +38 -0
- package/dist/{fanout-sidecar-NLQ7QAYW.js → fanout-sidecar-2EHAV6UP.js} +7 -7
- package/dist/find-GKFC5753.js +11 -0
- package/dist/forget/index.js +7 -7
- package/dist/guards/index.js +4 -4
- package/dist/history/index.js +11 -11
- package/dist/i18n/index.js +12 -12
- package/dist/index.js +89 -89
- package/dist/indexing/index.js +4 -4
- package/dist/introspection/index.js +9 -9
- package/dist/issue-QTQYQJCB.js +19 -0
- package/dist/kernel/query/builder.d.ts +36 -2
- package/dist/kernel/query/live.d.ts +31 -9
- package/dist/kernel/query/predicate.d.ts +9 -0
- package/dist/{ledger-MVPNG5OS.js → ledger-TZIDVW22.js} +9 -9
- package/dist/liberate-FOK7RFYQ.js +24 -0
- package/dist/{link-set-3POMQR3I.js → link-set-VOMRQB2H.js} +9 -9
- package/dist/{managed-secret-IARIJJ7Q.js → managed-secret-N6FWB5LX.js} +7 -7
- package/dist/materialized-views/index.js +20 -20
- package/dist/{migrate-cek-XM2ETTZW.js → migrate-cek-UEO2EUWI.js} +2 -2
- package/dist/money/index.js +5 -5
- package/dist/noydb-3BBLBSHI.js +84 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +10 -10
- package/dist/pod/index.js +53 -53
- package/dist/{pod-handle-MELERCKU.js → pod-handle-D6ZRTO4N.js} +7 -7
- package/dist/policy/index.js +7 -7
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-Z5T7FY45.js → post-register-XVGHYYSB.js} +6 -6
- package/dist/query/index.js +6 -6
- package/dist/reduce/index.js +6 -6
- package/dist/{register-UZ37QPDB.js → register-FVUE46K4.js} +13 -13
- package/dist/registry-7PBVHSD5.js +19 -0
- package/dist/registry-CCXD57GV.js +18 -0
- package/dist/registry-K75FRKSU.js +9 -0
- package/dist/registry-KZYPKIOF.js +9 -0
- package/dist/{request-withdrawal-PVFEYX57.js → request-withdrawal-WS7PXD7B.js} +12 -12
- package/dist/{reveal-DQ2E3QAZ.js → reveal-Z62PLVJT.js} +4 -4
- package/dist/{revoke-YXY6SHUH.js → revoke-JH4VQTJ3.js} +9 -9
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +10 -10
- package/dist/search/index.js +4 -4
- package/dist/{seed-DZ4ORU5N.js → seed-R2JK2YQK.js} +9 -9
- package/dist/sequence/index.js +7 -7
- package/dist/session/index.js +7 -7
- package/dist/shadow/index.js +2 -2
- package/dist/{signer-Q7XQBMPA.js → signer-AFV6AXSN.js} +8 -8
- package/dist/snapshots/index.js +8 -8
- package/dist/{stale-NI7SAXAZ.js → stale-FVK3WRMM.js} +8 -8
- package/dist/{storage-3VNGSHXS.js → storage-EIM5HO2O.js} +8 -8
- package/dist/{store-coordination-provider-TYKNR3OU.js → store-coordination-provider-HIPOZMC2.js} +7 -7
- package/dist/sync/index.js +8 -8
- package/dist/team/index.js +12 -12
- package/dist/tiers/index.js +9 -9
- package/dist/to/index.js +1 -1
- package/dist/transactions/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/vault-head/index.js +6 -6
- package/dist/{verify-6J2YLKSO.js → verify-KYICK5IW.js} +5 -5
- package/dist/walk-FV6JFWXV.js +21 -0
- package/dist/with-shape/blobs/blob-set.d.ts +59 -7
- package/dist/{withdraw-accessible-4JTDFRFZ.js → withdraw-accessible-JYX3SPVY.js} +11 -11
- package/package.json +3 -3
- package/dist/api-EYNT6KGS.js +0 -20
- package/dist/chunk-3O72ZD2E.js.map +0 -1
- package/dist/chunk-CAGI4LLJ.js.map +0 -1
- package/dist/chunk-CWM4GQD2.js.map +0 -1
- package/dist/chunk-IGJCYUT5.js.map +0 -1
- package/dist/chunk-JLYQQNY4.js.map +0 -1
- package/dist/chunk-P2MR5UNE.js.map +0 -1
- package/dist/executor-CZDXBXKE.js +0 -29
- package/dist/executor-DVJAWN3B.js +0 -9
- package/dist/executor-VRLG4TQJ.js +0 -9
- package/dist/export-accessible-UXSMG7AB.js +0 -23
- package/dist/extract-partition-TVY7AMKH.js +0 -38
- package/dist/find-WSARMJBW.js +0 -11
- package/dist/issue-3JNJNPT3.js +0 -19
- package/dist/liberate-4LOJOLDT.js +0 -24
- package/dist/noydb-IRILUDED.js +0 -84
- package/dist/registry-ETJNA7PO.js +0 -9
- package/dist/registry-F7U6KSLX.js +0 -9
- package/dist/registry-L4ELKX6C.js +0 -18
- package/dist/registry-SDT5LIGO.js +0 -19
- package/dist/walk-WRA7RAPY.js +0 -21
- /package/dist/{api-EYNT6KGS.js.map → api-D6DBNTOS.js.map} +0 -0
- /package/dist/{backup-FSC36VWC.js.map → backup-4PZAH67W.js.map} +0 -0
- /package/dist/{chunk-ICDHUUMQ.js.map → chunk-23XKHFNT.js.map} +0 -0
- /package/dist/{chunk-6KTVJ5ZZ.js.map → chunk-2DFE4TUE.js.map} +0 -0
- /package/dist/{chunk-QSIEL6TL.js.map → chunk-2VMCJUK6.js.map} +0 -0
- /package/dist/{chunk-EKEIEJL6.js.map → chunk-3TWEXEKX.js.map} +0 -0
- /package/dist/{chunk-ZLHHE5XZ.js.map → chunk-47F6AI2K.js.map} +0 -0
- /package/dist/{chunk-KRVS7YWY.js.map → chunk-4BYZIQ5T.js.map} +0 -0
- /package/dist/{chunk-GWO2IDAB.js.map → chunk-4IPP2P74.js.map} +0 -0
- /package/dist/{chunk-7PJ3BKHS.js.map → chunk-4O52JH3C.js.map} +0 -0
- /package/dist/{chunk-6JPGVL7X.js.map → chunk-4RZTW5JH.js.map} +0 -0
- /package/dist/{chunk-3PMFMUFX.js.map → chunk-6QMOJTC6.js.map} +0 -0
- /package/dist/{chunk-CLAHBPOI.js.map → chunk-6ZGDIN2D.js.map} +0 -0
- /package/dist/{chunk-JNMTN5D5.js.map → chunk-7JOXCSDU.js.map} +0 -0
- /package/dist/{chunk-45YHJ3GV.js.map → chunk-7LJA7T4W.js.map} +0 -0
- /package/dist/{chunk-4RAS6HN6.js.map → chunk-A5YEUQOY.js.map} +0 -0
- /package/dist/{chunk-KV6JM2IA.js.map → chunk-AELW6OJZ.js.map} +0 -0
- /package/dist/{chunk-LN7P6MZB.js.map → chunk-AGETRKC5.js.map} +0 -0
- /package/dist/{chunk-32B7VCKU.js.map → chunk-ANYVM4SX.js.map} +0 -0
- /package/dist/{chunk-CADUYBQD.js.map → chunk-ATL3ZVXT.js.map} +0 -0
- /package/dist/{chunk-ZZXLB6AS.js.map → chunk-BFNBYT62.js.map} +0 -0
- /package/dist/{chunk-ONVD6GBY.js.map → chunk-BPLSGN4X.js.map} +0 -0
- /package/dist/{chunk-GBBDFE6C.js.map → chunk-BXHG26KN.js.map} +0 -0
- /package/dist/{chunk-WVE6YKMX.js.map → chunk-CW3VJARJ.js.map} +0 -0
- /package/dist/{chunk-DIZ6HM7Q.js.map → chunk-D5EXZVQC.js.map} +0 -0
- /package/dist/{chunk-OHOKBMTM.js.map → chunk-DIVPOJPV.js.map} +0 -0
- /package/dist/{chunk-YALD3SST.js.map → chunk-DIYI32MG.js.map} +0 -0
- /package/dist/{chunk-TMBSPLUG.js.map → chunk-DUUARUZI.js.map} +0 -0
- /package/dist/{chunk-O742QBZZ.js.map → chunk-ESXVNASI.js.map} +0 -0
- /package/dist/{chunk-H3G4I3PN.js.map → chunk-F3BICEMK.js.map} +0 -0
- /package/dist/{chunk-NCCEDL2K.js.map → chunk-F5IFR56V.js.map} +0 -0
- /package/dist/{chunk-2LFOMUEA.js.map → chunk-FGZ7GJXO.js.map} +0 -0
- /package/dist/{chunk-YKXZHUOW.js.map → chunk-FHEVZQQY.js.map} +0 -0
- /package/dist/{chunk-RFO4UXKQ.js.map → chunk-FKZI4NSG.js.map} +0 -0
- /package/dist/{chunk-U27Y4DJZ.js.map → chunk-FUIG7QSS.js.map} +0 -0
- /package/dist/{chunk-ESKIAXO2.js.map → chunk-GWJJ5CK3.js.map} +0 -0
- /package/dist/{chunk-4A34KWOU.js.map → chunk-H27DIXOV.js.map} +0 -0
- /package/dist/{chunk-JWMBG5S3.js.map → chunk-H3SEW5HB.js.map} +0 -0
- /package/dist/{chunk-DVRZYAGT.js.map → chunk-H6K24KLL.js.map} +0 -0
- /package/dist/{chunk-S56VYR4Q.js.map → chunk-HRSEAGLI.js.map} +0 -0
- /package/dist/{chunk-LGFTOU27.js.map → chunk-HUEG3YP4.js.map} +0 -0
- /package/dist/{chunk-AUPSEJ7O.js.map → chunk-HZIIDYJV.js.map} +0 -0
- /package/dist/{chunk-GQ3BX5EA.js.map → chunk-I3ISCYT7.js.map} +0 -0
- /package/dist/{chunk-OMYCSTXL.js.map → chunk-IPA6ODWG.js.map} +0 -0
- /package/dist/{chunk-GQXFOAYZ.js.map → chunk-IUQPNAGR.js.map} +0 -0
- /package/dist/{chunk-6WO62AJW.js.map → chunk-JPVJTTHU.js.map} +0 -0
- /package/dist/{chunk-LX46B56Q.js.map → chunk-KMGAFLCK.js.map} +0 -0
- /package/dist/{chunk-TQPASLY4.js.map → chunk-KYUKZIW5.js.map} +0 -0
- /package/dist/{chunk-I6QKB7MT.js.map → chunk-L2YYIQYR.js.map} +0 -0
- /package/dist/{chunk-HQSPF5IY.js.map → chunk-L3AM6EGU.js.map} +0 -0
- /package/dist/{chunk-OIBEJN5H.js.map → chunk-LLLSK7UQ.js.map} +0 -0
- /package/dist/{chunk-TX5MKAHA.js.map → chunk-M3FKPVOU.js.map} +0 -0
- /package/dist/{chunk-BAHOV5I5.js.map → chunk-M7VSXBUL.js.map} +0 -0
- /package/dist/{chunk-LXECF2ZR.js.map → chunk-MBZFAJKM.js.map} +0 -0
- /package/dist/{chunk-DXKLLKME.js.map → chunk-MQFKH3ZJ.js.map} +0 -0
- /package/dist/{chunk-HR5R5JOM.js.map → chunk-NB2CKJ27.js.map} +0 -0
- /package/dist/{chunk-A4TOGAUW.js.map → chunk-NCAMIRFB.js.map} +0 -0
- /package/dist/{chunk-MSLPDFK2.js.map → chunk-NHXIFF4Y.js.map} +0 -0
- /package/dist/{chunk-AU3AUJIZ.js.map → chunk-O5QXH7U7.js.map} +0 -0
- /package/dist/{chunk-4OQZNXQG.js.map → chunk-OBPL43F3.js.map} +0 -0
- /package/dist/{chunk-NW4TY6VC.js.map → chunk-OCW3IM2F.js.map} +0 -0
- /package/dist/{chunk-BEZDLIDG.js.map → chunk-OIW75CLW.js.map} +0 -0
- /package/dist/{chunk-7LNE2N2V.js.map → chunk-OZ5QBLEL.js.map} +0 -0
- /package/dist/{chunk-RKCRPPNB.js.map → chunk-PGHSH4TY.js.map} +0 -0
- /package/dist/{chunk-B6IYATME.js.map → chunk-PWK3SSNB.js.map} +0 -0
- /package/dist/{chunk-GTHVPVAR.js.map → chunk-QK2QAMF7.js.map} +0 -0
- /package/dist/{chunk-3B6S6RSI.js.map → chunk-QMJI5VHV.js.map} +0 -0
- /package/dist/{chunk-E5SC6ENM.js.map → chunk-QTWWZ25B.js.map} +0 -0
- /package/dist/{chunk-RSXQNFGO.js.map → chunk-REKDM67V.js.map} +0 -0
- /package/dist/{chunk-HYYVT2KZ.js.map → chunk-REQJLII3.js.map} +0 -0
- /package/dist/{chunk-5Q7AJ7DN.js.map → chunk-RJYPFCID.js.map} +0 -0
- /package/dist/{chunk-KX57HODD.js.map → chunk-RT7CWTUG.js.map} +0 -0
- /package/dist/{chunk-4YL2LMXK.js.map → chunk-SRR22EW2.js.map} +0 -0
- /package/dist/{chunk-D3R7Q4QK.js.map → chunk-TKLQWOTY.js.map} +0 -0
- /package/dist/{chunk-TDSN2O2V.js.map → chunk-UQUWSM33.js.map} +0 -0
- /package/dist/{chunk-NR2SUJ3H.js.map → chunk-VKYEEJJ2.js.map} +0 -0
- /package/dist/{chunk-SYS46BL7.js.map → chunk-VMYXYFPX.js.map} +0 -0
- /package/dist/{chunk-FW7NGYLT.js.map → chunk-VWPJX5B3.js.map} +0 -0
- /package/dist/{chunk-7KAE7CQ2.js.map → chunk-VYLC5KAT.js.map} +0 -0
- /package/dist/{chunk-EES37S2V.js.map → chunk-WFC2GHJG.js.map} +0 -0
- /package/dist/{chunk-MZTUTEHP.js.map → chunk-WKT7NNNR.js.map} +0 -0
- /package/dist/{chunk-IJ46VCWD.js.map → chunk-WRGNEAUZ.js.map} +0 -0
- /package/dist/{chunk-PPCOKVFA.js.map → chunk-WUNRUSBJ.js.map} +0 -0
- /package/dist/{chunk-VVSOPRUE.js.map → chunk-XPTYXXMD.js.map} +0 -0
- /package/dist/{chunk-T7JGWTES.js.map → chunk-XZZIZ544.js.map} +0 -0
- /package/dist/{chunk-6YD5SYQS.js.map → chunk-YF3CIA6E.js.map} +0 -0
- /package/dist/{chunk-INMHEMXX.js.map → chunk-YOMI3ZCA.js.map} +0 -0
- /package/dist/{chunk-FS7NTGCJ.js.map → chunk-ZAZW5LLF.js.map} +0 -0
- /package/dist/{chunk-4N5Q23KV.js.map → chunk-ZUDIY7YP.js.map} +0 -0
- /package/dist/{classified-marker-NA6HUV33.js.map → classified-marker-EPL2NX3H.js.map} +0 -0
- /package/dist/{collection-facade-VBM35WAH.js.map → collection-facade-3DN4ETEP.js.map} +0 -0
- /package/dist/{computed-GSTLWSY5.js.map → computed-UXN4AMI5.js.map} +0 -0
- /package/dist/{dead-filter-UALP5DJX.js.map → dead-filter-56AYTNAO.js.map} +0 -0
- /package/dist/{delegation-JLNXM7KH.js.map → delegation-MCCWCFZA.js.map} +0 -0
- /package/dist/{derive-YUO3TQYN.js.map → derive-BSAF6N5X.js.map} +0 -0
- /package/dist/{dispatch-4ZHLSFZQ.js.map → dispatch-JM7X5BLP.js.map} +0 -0
- /package/dist/{dispatch-77CB75KB.js.map → dispatch-UPZW4MAO.js.map} +0 -0
- /package/dist/{enclave-O4NOROCJ.js.map → enclave-CCXI3WEU.js.map} +0 -0
- /package/dist/{executor-CZDXBXKE.js.map → executor-6YQYFGHK.js.map} +0 -0
- /package/dist/{executor-DVJAWN3B.js.map → executor-GLKPMISJ.js.map} +0 -0
- /package/dist/{executor-VRLG4TQJ.js.map → executor-ZEIX7Y7I.js.map} +0 -0
- /package/dist/{export-accessible-UXSMG7AB.js.map → export-accessible-SDIQEFHQ.js.map} +0 -0
- /package/dist/{extract-partition-TVY7AMKH.js.map → extract-partition-K232SO2V.js.map} +0 -0
- /package/dist/{fanout-sidecar-NLQ7QAYW.js.map → fanout-sidecar-2EHAV6UP.js.map} +0 -0
- /package/dist/{find-WSARMJBW.js.map → find-GKFC5753.js.map} +0 -0
- /package/dist/{issue-3JNJNPT3.js.map → issue-QTQYQJCB.js.map} +0 -0
- /package/dist/{ledger-MVPNG5OS.js.map → ledger-TZIDVW22.js.map} +0 -0
- /package/dist/{liberate-4LOJOLDT.js.map → liberate-FOK7RFYQ.js.map} +0 -0
- /package/dist/{link-set-3POMQR3I.js.map → link-set-VOMRQB2H.js.map} +0 -0
- /package/dist/{managed-secret-IARIJJ7Q.js.map → managed-secret-N6FWB5LX.js.map} +0 -0
- /package/dist/{migrate-cek-XM2ETTZW.js.map → migrate-cek-UEO2EUWI.js.map} +0 -0
- /package/dist/{noydb-IRILUDED.js.map → noydb-3BBLBSHI.js.map} +0 -0
- /package/dist/{pod-handle-MELERCKU.js.map → pod-handle-D6ZRTO4N.js.map} +0 -0
- /package/dist/{post-register-Z5T7FY45.js.map → post-register-XVGHYYSB.js.map} +0 -0
- /package/dist/{register-UZ37QPDB.js.map → register-FVUE46K4.js.map} +0 -0
- /package/dist/{registry-ETJNA7PO.js.map → registry-7PBVHSD5.js.map} +0 -0
- /package/dist/{registry-F7U6KSLX.js.map → registry-CCXD57GV.js.map} +0 -0
- /package/dist/{registry-L4ELKX6C.js.map → registry-K75FRKSU.js.map} +0 -0
- /package/dist/{registry-SDT5LIGO.js.map → registry-KZYPKIOF.js.map} +0 -0
- /package/dist/{request-withdrawal-PVFEYX57.js.map → request-withdrawal-WS7PXD7B.js.map} +0 -0
- /package/dist/{reveal-DQ2E3QAZ.js.map → reveal-Z62PLVJT.js.map} +0 -0
- /package/dist/{revoke-YXY6SHUH.js.map → revoke-JH4VQTJ3.js.map} +0 -0
- /package/dist/{seed-DZ4ORU5N.js.map → seed-R2JK2YQK.js.map} +0 -0
- /package/dist/{signer-Q7XQBMPA.js.map → signer-AFV6AXSN.js.map} +0 -0
- /package/dist/{stale-NI7SAXAZ.js.map → stale-FVK3WRMM.js.map} +0 -0
- /package/dist/{storage-3VNGSHXS.js.map → storage-EIM5HO2O.js.map} +0 -0
- /package/dist/{store-coordination-provider-TYKNR3OU.js.map → store-coordination-provider-HIPOZMC2.js.map} +0 -0
- /package/dist/{verify-6J2YLKSO.js.map → verify-KYICK5IW.js.map} +0 -0
- /package/dist/{walk-WRA7RAPY.js.map → walk-FV6JFWXV.js.map} +0 -0
- /package/dist/{withdraw-accessible-4JTDFRFZ.js.map → withdraw-accessible-JYX3SPVY.js.map} +0 -0
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SCHEMAS_COLLECTION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JPVJTTHU.js";
|
|
4
4
|
import {
|
|
5
5
|
assemblePodContainer,
|
|
6
6
|
buildExtractedPartitionWrapper
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2VMCJUK6.js";
|
|
8
8
|
import {
|
|
9
9
|
BLOB_CHUNKS_COLLECTION,
|
|
10
10
|
BLOB_COLLECTION,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
BLOB_INTENT_COLLECTION,
|
|
13
13
|
BLOB_SLOTS_PREFIX,
|
|
14
14
|
BLOB_VERSIONS_PREFIX
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PNXJV4OS.js";
|
|
16
16
|
import {
|
|
17
17
|
generateULID
|
|
18
18
|
} from "./chunk-4AOERLTV.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
canonicalJson,
|
|
24
24
|
envelopePayloadHash,
|
|
25
25
|
hashEntry
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-47F6AI2K.js";
|
|
27
27
|
import {
|
|
28
28
|
buildRecordAad,
|
|
29
29
|
openEnvelopeJson,
|
|
30
30
|
recordAadFor,
|
|
31
31
|
writeEnvelopeBody
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-DIVPOJPV.js";
|
|
33
33
|
import {
|
|
34
34
|
buildRecordEnvelope
|
|
35
35
|
} from "./chunk-PENPHA45.js";
|
|
@@ -42,13 +42,13 @@ import {
|
|
|
42
42
|
generateDEK,
|
|
43
43
|
unwrapCek,
|
|
44
44
|
wrapCek
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-O5QXH7U7.js";
|
|
46
46
|
import {
|
|
47
47
|
NOYDB_BACKUP_VERSION
|
|
48
48
|
} from "./chunk-IGNJOJEP.js";
|
|
49
49
|
import {
|
|
50
50
|
PartitionExtractionError
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
52
52
|
|
|
53
53
|
// src/with-cargo/walk-closure.ts
|
|
54
54
|
async function walkClosure(vault, opts) {
|
|
@@ -494,4 +494,4 @@ export {
|
|
|
494
494
|
extractPartition,
|
|
495
495
|
extractPartitionCore
|
|
496
496
|
};
|
|
497
|
-
//# sourceMappingURL=chunk-
|
|
497
|
+
//# sourceMappingURL=chunk-M7VSXBUL.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MaterializedViewConfigError,
|
|
3
3
|
ValidationError
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
5
5
|
|
|
6
6
|
// src/with-formula/materialized-views/with-materialized-view.ts
|
|
7
7
|
function withMaterializedView(spec) {
|
|
@@ -177,4 +177,4 @@ function withMaterializedView(spec) {
|
|
|
177
177
|
export {
|
|
178
178
|
withMaterializedView
|
|
179
179
|
};
|
|
180
|
-
//# sourceMappingURL=chunk-
|
|
180
|
+
//# sourceMappingURL=chunk-MBZFAJKM.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
} from "./chunk-KHKKD62N.js";
|
|
5
5
|
import {
|
|
6
6
|
derivePersistedSchema
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BPLSGN4X.js";
|
|
8
8
|
import {
|
|
9
9
|
loadPersistedSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JPVJTTHU.js";
|
|
11
11
|
|
|
12
12
|
// src/with-shape/introspection/walk.ts
|
|
13
13
|
var INTERNAL_PREFIX = "_";
|
|
@@ -238,4 +238,4 @@ function summariseAggregateOp(value) {
|
|
|
238
238
|
export {
|
|
239
239
|
dumpVaultSchema
|
|
240
240
|
};
|
|
241
|
-
//# sourceMappingURL=chunk-
|
|
241
|
+
//# sourceMappingURL=chunk-MQFKH3ZJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AttestationNotEnabledError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
4
4
|
|
|
5
5
|
// src/with-audit/attestation/strategy.ts
|
|
6
6
|
var NO_ATTESTATION = {
|
|
@@ -27,4 +27,4 @@ var NO_ATTESTATION = {
|
|
|
27
27
|
export {
|
|
28
28
|
NO_ATTESTATION
|
|
29
29
|
};
|
|
30
|
-
//# sourceMappingURL=chunk-
|
|
30
|
+
//# sourceMappingURL=chunk-NB2CKJ27.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ValidationError
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
4
4
|
|
|
5
5
|
// src/with-audit/periods/window.ts
|
|
6
6
|
var PERIODS_COLLECTION = "_periods";
|
|
@@ -23,4 +23,4 @@ export {
|
|
|
23
23
|
PERIOD_REOPENS_COLLECTION,
|
|
24
24
|
periodExclusiveUpperBound
|
|
25
25
|
};
|
|
26
|
-
//# sourceMappingURL=chunk-
|
|
26
|
+
//# sourceMappingURL=chunk-NCAMIRFB.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
deriveSchemaManifest,
|
|
8
8
|
loadSchemaManifestEntry,
|
|
9
9
|
saveSchemaManifest
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OIW75CLW.js";
|
|
11
11
|
import {
|
|
12
12
|
MANIFEST_COLLECTION
|
|
13
13
|
} from "./chunk-EPFF7LOX.js";
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
} from "./chunk-FFSQFH6D.js";
|
|
18
18
|
import {
|
|
19
19
|
derivePersistedSchema
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-BPLSGN4X.js";
|
|
21
21
|
import {
|
|
22
22
|
loadPersistedSchemaEntry,
|
|
23
23
|
savePersistedSchema
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-JPVJTTHU.js";
|
|
25
25
|
import {
|
|
26
26
|
envelopePayloadHash
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-47F6AI2K.js";
|
|
28
28
|
import {
|
|
29
29
|
ManifestConflictError,
|
|
30
30
|
isConflictError
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
32
32
|
|
|
33
33
|
// src/with-shape/persisted-schemas/field-ids.ts
|
|
34
34
|
var BASE32URL_ALPHABET = "abcdefghijklmnopqrstuvwxyz234567";
|
|
@@ -257,4 +257,4 @@ export {
|
|
|
257
257
|
persistClassifiedMarker,
|
|
258
258
|
persistSatelliteMarker
|
|
259
259
|
};
|
|
260
|
-
//# sourceMappingURL=chunk-
|
|
260
|
+
//# sourceMappingURL=chunk-NHXIFF4Y.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/kernel/query/predicate.ts"],"sourcesContent":["/**\n * Operator implementations for the query DSL.\n *\n * All predicates run client-side, AFTER decryption — they never see ciphertext.\n * Field clauses over a Via-covered field (e.g. money) carry their own\n * evaluator closure (see {@link FieldClause.via}), so this module has no\n * dependency on any Via feature's implementation — still tree-shakeable.\n */\n\n/** Comparison operators supported by the where() builder. */\nexport type Operator =\n | '=='\n | '!='\n | '<'\n | '<='\n | '>'\n | '>='\n | 'in'\n | 'contains'\n | 'startsWith'\n | 'between'\n\n/**\n * A single field comparison clause inside a query plan.\n * Plans are JSON-serializable, so this type uses primitives only.\n */\nexport interface FieldClause {\n readonly type: 'field'\n readonly field: string\n readonly op: Operator\n readonly value: unknown\n /**\n * Present when `field` is covered by a Via feature binding (e.g. a\n * declared money field): the opaque payload built by the binding's\n * `buildClause` at query BUILD time, plus a closure that evaluates it\n * per record via the binding's `evaluateClause`. Attached by\n * `Query.where()` / `ScanBuilder.where()` when `source.via` covers the\n * field. The closure keeps this module free of any dependency on a\n * Via feature's implementation — clauses are in-memory only, never\n * serialized, so carrying a function here is safe.\n */\n readonly via?: {\n readonly brand: string\n readonly payload: unknown\n readonly evaluate: (actual: unknown, op: string) => boolean\n /**\n * The binding's `indexProbe` result for this clause's op/payload\n * (#625) — the STORED-form operand `candidateRecords()` (`kernel/\n * query/builder.ts`) can hand to `CollectionIndexes.lookupEqual`/\n * `lookupIn` for a fast path. `undefined` (no `indexProbe` hook, or\n * the binding declined to probe this op) means the field must fall\n * back to a linear scan via `evaluate` above.\n */\n readonly indexValue?: unknown\n }\n}\n\n/**\n * A user-supplied predicate function escape hatch. Not serializable.\n *\n * The predicate accepts `unknown` at the type level so the surrounding\n * Clause type can stay non-parametric — this keeps Collection<T> covariant\n * in T at the public API surface. Builder methods cast user predicates\n * (typed `(record: T) => boolean`) into this shape on the way in.\n */\nexport interface FilterClause {\n readonly type: 'filter'\n readonly fn: (record: unknown) => boolean\n}\n\n/**\n * A declared deterministic predicate reference. The query\n * builder produces this via `.wherePredicate(name, ctx?)` when a\n * Query has been augmented with a predicates map (typically by the\n * materialized-view registry).\n *\n * `predicateHash` is the consumer-supplied stable hash for the\n * function body; `ctxHash` is the canonical-JSON SHA-256 of `ctx`.\n * Both fold into the MV's `queryHash` so a function or ctx change\n * forces refresh on next visit.\n *\n * `fn` is resolved at builder time from the predicates map and\n * embedded directly — so `evaluateClause` can fire it without a\n * runtime lookup.\n */\nexport interface WherePredicateClause {\n readonly type: 'wherePredicate'\n readonly name: string\n readonly ctx: unknown\n readonly predicateHash: string\n readonly ctxHash: string\n readonly fn: (record: unknown, ctx?: unknown) => boolean\n}\n\n/** A logical group of clauses combined by AND or OR. */\nexport interface GroupClause {\n readonly type: 'group'\n readonly op: 'and' | 'or'\n readonly clauses: readonly Clause[]\n}\n\n/**\n * Cartesian-product expansion clause. Appended to `QueryPlan.clauses`\n * by `Query.crossJoin()`. Processed in declaration order by\n * `executeClausePipeline` — NOT by `evaluateClause` (which is a\n * per-record predicate and throws on this type).\n */\nexport interface CrossJoinClause {\n readonly type: 'crossJoin'\n /** Target collection name to cross-join against. */\n readonly target: string\n /** Alias under which the right-side record is exposed on each result row. */\n readonly as: string\n /**\n * Lateral filter callback. `undefined` → full cartesian product.\n * Two call shapes:\n * - Subset: `(left) => TTarget[]` — returns the right rows for this left row\n * - Predicate: `(left) => (right) => boolean` — executor materializes then filters\n */\n readonly on?: (left: unknown) => unknown[] | ((right: unknown) => boolean)\n /** When `on:` was supplied as `{ predicate: name }`, the name is stored here for queryHash. */\n readonly onPredicateName?: string\n /** Per-clause row ceiling override. `undefined` → `DEFAULT_CROSS_JOIN_MAX_ROWS`. */\n readonly maxRows?: number\n /**\n * Left-outer mode (#1130). When the `on:` subset for a left row is empty,\n * emit that row once with `null` under `as` instead of dropping it.\n *\n * Applies to both call shapes. With `on:` the empty thing is that left\n * row's subset; without it, an empty TARGET collection is what would\n * otherwise drop every left row.\n */\n readonly outer?: boolean\n}\n\nexport type Clause = FieldClause | FilterClause | WherePredicateClause | GroupClause | CrossJoinClause\n\n/**\n * Read a possibly nested field path like \"address.city\" from a record.\n * Returns undefined if any segment is missing.\n */\nexport function readPath(record: unknown, path: string): unknown {\n if (record === null || record === undefined) return undefined\n if (!path.includes('.')) {\n return (record as Record<string, unknown>)[path]\n }\n const segments = path.split('.')\n let cursor: unknown = record\n for (const segment of segments) {\n if (cursor === null || cursor === undefined) return undefined\n cursor = (cursor as Record<string, unknown>)[segment]\n }\n return cursor\n}\n\n/**\n * Evaluate a single field clause against a record.\n * Returns false on type mismatches rather than throwing — query results\n * exclude non-matching records by definition.\n */\nexport function evaluateFieldClause(record: unknown, clause: FieldClause): boolean {\n const actual = readPath(record, clause.field)\n const { op, value } = clause\n\n // A Via-covered field (e.g. money) may store a transformed\n // representation (money: BigInt-exact in scaled-integer space) that the\n // generic paths below can't compare correctly — the operand was\n // pre-built at query BUILD time and the binding's own evaluator knows\n // how to compare it against the raw stored value.\n if (clause.via) return clause.via.evaluate(actual, op)\n\n switch (op) {\n case '==':\n return actual === value\n case '!=':\n return actual !== value\n case '<':\n return isComparable(actual, value) && (actual as number) < (value as number)\n case '<=':\n return isComparable(actual, value) && (actual as number) <= (value as number)\n case '>':\n return isComparable(actual, value) && (actual as number) > (value as number)\n case '>=':\n return isComparable(actual, value) && (actual as number) >= (value as number)\n case 'in':\n return Array.isArray(value) && value.includes(actual)\n case 'contains':\n if (typeof actual === 'string') return typeof value === 'string' && actual.includes(value)\n if (Array.isArray(actual)) return actual.includes(value)\n return false\n case 'startsWith':\n return typeof actual === 'string' && typeof value === 'string' && actual.startsWith(value)\n case 'between': {\n if (!Array.isArray(value) || value.length !== 2) return false\n const [lo, hi] = value\n if (!isComparable(actual, lo) || !isComparable(actual, hi)) return false\n return (actual as number) >= (lo as number) && (actual as number) <= (hi as number)\n }\n default: {\n // Exhaustiveness — TS will error if a new operator is added without a case.\n const _exhaustive: never = op\n void _exhaustive\n return false\n }\n }\n}\n\n/**\n * Two values are \"comparable\" if they share an order-defined runtime type.\n * Strings compare lexicographically; numbers and Dates numerically; otherwise false.\n */\nfunction isComparable(a: unknown, b: unknown): boolean {\n if (typeof a === 'number' && typeof b === 'number') return true\n if (typeof a === 'string' && typeof b === 'string') return true\n if (a instanceof Date && b instanceof Date) return true\n return false\n}\n\n/**\n * Evaluate any clause (field / filter / group) against a record.\n * The recursion depth is bounded by the user's query expression — no risk of\n * blowing the stack on a 50K-record collection.\n *\n * `fnRecord`, when provided, is the view handed to USER CALLBACK clauses\n * (`filter` / `wherePredicate`) instead of `record` — the executor passes\n * the money-decoded view there so user code never sees the stored\n * scaled-int form, while field clauses keep evaluating against the raw\n * record (their money operands are pre-quantized to that space).\n */\nexport function evaluateClause(record: unknown, clause: Clause, fnRecord?: unknown): boolean {\n switch (clause.type) {\n case 'field':\n return evaluateFieldClause(record, clause)\n case 'filter':\n return clause.fn(fnRecord !== undefined ? fnRecord : record)\n case 'wherePredicate':\n return clause.fn(fnRecord !== undefined ? fnRecord : record, clause.ctx)\n case 'crossJoin':\n throw new Error(\n `evaluateClause: 'crossJoin' clauses are expansion primitives and are not ` +\n `evaluated per-record. This is a query planner routing error — ` +\n `crossJoin clauses must be extracted from the clause list before calling ` +\n `evaluateClause or filterRecords.`,\n )\n case 'group':\n if (clause.op === 'and') {\n for (const child of clause.clauses) {\n if (!evaluateClause(record, child, fnRecord)) return false\n }\n return true\n } else {\n for (const child of clause.clauses) {\n if (evaluateClause(record, child, fnRecord)) return true\n }\n return false\n }\n }\n}\n\n/**\n * Does the clause list contain any user-callback clause (filter /\n * wherePredicate), at any group nesting depth? Used by executors to\n * decide whether the per-record decoded view needs materializing.\n */\nexport function hasFnClause(clauses: readonly Clause[]): boolean {\n for (const c of clauses) {\n if (c.type === 'filter' || c.type === 'wherePredicate') return true\n if (c.type === 'group' && hasFnClause(c.clauses)) return true\n }\n return false\n}\n"],"mappings":";AA6IO,SAAS,SAAS,QAAiB,MAAuB;AAC/D,MAAI,WAAW,QAAQ,WAAW,OAAW,QAAO;AACpD,MAAI,CAAC,KAAK,SAAS,GAAG,GAAG;AACvB,WAAQ,OAAmC,IAAI;AAAA,EACjD;AACA,QAAM,WAAW,KAAK,MAAM,GAAG;AAC/B,MAAI,SAAkB;AACtB,aAAW,WAAW,UAAU;AAC9B,QAAI,WAAW,QAAQ,WAAW,OAAW,QAAO;AACpD,aAAU,OAAmC,OAAO;AAAA,EACtD;AACA,SAAO;AACT;AAOO,SAAS,oBAAoB,QAAiB,QAA8B;AACjF,QAAM,SAAS,SAAS,QAAQ,OAAO,KAAK;AAC5C,QAAM,EAAE,IAAI,MAAM,IAAI;AAOtB,MAAI,OAAO,IAAK,QAAO,OAAO,IAAI,SAAS,QAAQ,EAAE;AAErD,UAAQ,IAAI;AAAA,IACV,KAAK;AACH,aAAO,WAAW;AAAA,IACpB,KAAK;AACH,aAAO,WAAW;AAAA,IACpB,KAAK;AACH,aAAO,aAAa,QAAQ,KAAK,KAAM,SAAqB;AAAA,IAC9D,KAAK;AACH,aAAO,aAAa,QAAQ,KAAK,KAAM,UAAsB;AAAA,IAC/D,KAAK;AACH,aAAO,aAAa,QAAQ,KAAK,KAAM,SAAqB;AAAA,IAC9D,KAAK;AACH,aAAO,aAAa,QAAQ,KAAK,KAAM,UAAsB;AAAA,IAC/D,KAAK;AACH,aAAO,MAAM,QAAQ,KAAK,KAAK,MAAM,SAAS,MAAM;AAAA,IACtD,KAAK;AACH,UAAI,OAAO,WAAW,SAAU,QAAO,OAAO,UAAU,YAAY,OAAO,SAAS,KAAK;AACzF,UAAI,MAAM,QAAQ,MAAM,EAAG,QAAO,OAAO,SAAS,KAAK;AACvD,aAAO;AAAA,IACT,KAAK;AACH,aAAO,OAAO,WAAW,YAAY,OAAO,UAAU,YAAY,OAAO,WAAW,KAAK;AAAA,IAC3F,KAAK,WAAW;AACd,UAAI,CAAC,MAAM,QAAQ,KAAK,KAAK,MAAM,WAAW,EAAG,QAAO;AACxD,YAAM,CAAC,IAAI,EAAE,IAAI;AACjB,UAAI,CAAC,aAAa,QAAQ,EAAE,KAAK,CAAC,aAAa,QAAQ,EAAE,EAAG,QAAO;AACnE,aAAQ,UAAsB,MAAkB,UAAsB;AAAA,IACxE;AAAA,IACA,SAAS;AAEP,YAAM,cAAqB;AAC3B,WAAK;AACL,aAAO;AAAA,IACT;AAAA,EACF;AACF;AAMA,SAAS,aAAa,GAAY,GAAqB;AACrD,MAAI,OAAO,MAAM,YAAY,OAAO,MAAM,SAAU,QAAO;AAC3D,MAAI,OAAO,MAAM,YAAY,OAAO,MAAM,SAAU,QAAO;AAC3D,MAAI,aAAa,QAAQ,aAAa,KAAM,QAAO;AACnD,SAAO;AACT;AAaO,SAAS,eAAe,QAAiB,QAAgB,UAA6B;AAC3F,UAAQ,OAAO,MAAM;AAAA,IACnB,KAAK;AACH,aAAO,oBAAoB,QAAQ,MAAM;AAAA,IAC3C,KAAK;AACH,aAAO,OAAO,GAAG,aAAa,SAAY,WAAW,MAAM;AAAA,IAC7D,KAAK;AACH,aAAO,OAAO,GAAG,aAAa,SAAY,WAAW,QAAQ,OAAO,GAAG;AAAA,IACzE,KAAK;AACH,YAAM,IAAI;AAAA,QACR;AAAA,MAIF;AAAA,IACF,KAAK;AACH,UAAI,OAAO,OAAO,OAAO;AACvB,mBAAW,SAAS,OAAO,SAAS;AAClC,cAAI,CAAC,eAAe,QAAQ,OAAO,QAAQ,EAAG,QAAO;AAAA,QACvD;AACA,eAAO;AAAA,MACT,OAAO;AACL,mBAAW,SAAS,OAAO,SAAS;AAClC,cAAI,eAAe,QAAQ,OAAO,QAAQ,EAAG,QAAO;AAAA,QACtD;AACA,eAAO;AAAA,MACT;AAAA,EACJ;AACF;AAOO,SAAS,YAAY,SAAqC;AAC/D,aAAW,KAAK,SAAS;AACvB,QAAI,EAAE,SAAS,YAAY,EAAE,SAAS,iBAAkB,QAAO;AAC/D,QAAI,EAAE,SAAS,WAAW,YAAY,EAAE,OAAO,EAAG,QAAO;AAAA,EAC3D;AACA,SAAO;AACT;","names":[]}
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
InvalidKeyError,
|
|
4
4
|
TamperedError,
|
|
5
5
|
ValidationError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
7
7
|
|
|
8
8
|
// src/kernel/enclave/crypto.ts
|
|
9
9
|
var PBKDF2_ITERATIONS = 6e5;
|
|
@@ -439,4 +439,4 @@ export {
|
|
|
439
439
|
bufferToBase64,
|
|
440
440
|
base64ToBuffer
|
|
441
441
|
};
|
|
442
|
-
//# sourceMappingURL=chunk-
|
|
442
|
+
//# sourceMappingURL=chunk-O5QXH7U7.js.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
installViaBinder
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-7JOXCSDU.js";
|
|
4
4
|
import {
|
|
5
5
|
buildRecordAad
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-DIVPOJPV.js";
|
|
7
7
|
import {
|
|
8
8
|
buildRecordEnvelope
|
|
9
9
|
} from "./chunk-PENPHA45.js";
|
|
10
10
|
import {
|
|
11
11
|
encrypt
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-O5QXH7U7.js";
|
|
13
13
|
import {
|
|
14
14
|
ValidationError
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
16
16
|
|
|
17
17
|
// src/via/blob/binding.ts
|
|
18
18
|
async function eraseBlobs(ctx, cfg) {
|
|
@@ -391,4 +391,4 @@ export {
|
|
|
391
391
|
BLOB_EVICTION_AUDIT_COLLECTION,
|
|
392
392
|
runCompaction
|
|
393
393
|
};
|
|
394
|
-
//# sourceMappingURL=chunk-
|
|
394
|
+
//# sourceMappingURL=chunk-OBPL43F3.js.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
dekKey
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-WUNRUSBJ.js";
|
|
4
4
|
import {
|
|
5
5
|
TierNotGrantedError
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
7
7
|
|
|
8
8
|
// src/with-party/team/tiers.ts
|
|
9
9
|
function assertTierAccess(keyring, collection, tier) {
|
|
@@ -17,4 +17,4 @@ function assertTierAccess(keyring, collection, tier) {
|
|
|
17
17
|
export {
|
|
18
18
|
assertTierAccess
|
|
19
19
|
};
|
|
20
|
-
//# sourceMappingURL=chunk-
|
|
20
|
+
//# sourceMappingURL=chunk-OCW3IM2F.js.map
|
|
@@ -7,15 +7,15 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
SCHEMAS_COLLECTION,
|
|
9
9
|
loadPersistedSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-JPVJTTHU.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalJson,
|
|
13
13
|
sha256Hex
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-47F6AI2K.js";
|
|
15
15
|
import {
|
|
16
16
|
openEnvelopeJson,
|
|
17
17
|
writeEnvelopeBody
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-DIVPOJPV.js";
|
|
19
19
|
import {
|
|
20
20
|
buildSealedRecordEnvelope
|
|
21
21
|
} from "./chunk-PENPHA45.js";
|
|
@@ -86,4 +86,4 @@ export {
|
|
|
86
86
|
saveSchemaManifest,
|
|
87
87
|
deriveSchemaManifest
|
|
88
88
|
};
|
|
89
|
-
//# sourceMappingURL=chunk-
|
|
89
|
+
//# sourceMappingURL=chunk-OIW75CLW.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ATTESTATIONS_COLLECTION,
|
|
3
3
|
loadOrCreateSigner
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-GWJJ5CK3.js";
|
|
5
5
|
import {
|
|
6
6
|
generateULID
|
|
7
7
|
} from "./chunk-4AOERLTV.js";
|
|
8
8
|
import {
|
|
9
9
|
buildRecordAad
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DIVPOJPV.js";
|
|
11
11
|
import {
|
|
12
12
|
buildRecordEnvelope
|
|
13
13
|
} from "./chunk-PENPHA45.js";
|
|
14
14
|
import {
|
|
15
15
|
encrypt
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-O5QXH7U7.js";
|
|
17
17
|
import {
|
|
18
18
|
AttestationError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
20
20
|
|
|
21
21
|
// src/with-audit/attestation/issue.ts
|
|
22
22
|
import {
|
|
@@ -63,4 +63,4 @@ async function issueAttestationCore(ctx, args) {
|
|
|
63
63
|
export {
|
|
64
64
|
issueAttestationCore
|
|
65
65
|
};
|
|
66
|
-
//# sourceMappingURL=chunk-
|
|
66
|
+
//# sourceMappingURL=chunk-OZ5QBLEL.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
persistUserVisibility,
|
|
5
5
|
readUserVisibility,
|
|
6
6
|
saveUserEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-KMGAFLCK.js";
|
|
8
8
|
import {
|
|
9
9
|
PolicyDeniedError
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PKUJ3JLQ.js";
|
|
11
11
|
|
|
12
12
|
// src/with-party/directory/user-envelope/api.ts
|
|
13
13
|
var UserApi = class {
|
|
@@ -379,4 +379,4 @@ export {
|
|
|
379
379
|
UserApi,
|
|
380
380
|
createUserApi
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-PGHSH4TY.js.map
|
|
@@ -77,13 +77,23 @@ var KeyringCorruptError = class extends NoydbError {
|
|
|
77
77
|
this.intactCount = opts.intactCount;
|
|
78
78
|
}
|
|
79
79
|
};
|
|
80
|
+
function keyringTamperedMessage(userId, reason) {
|
|
81
|
+
const head = `Keyring for "${userId}" failed roster authentication (${reason}). `;
|
|
82
|
+
switch (reason) {
|
|
83
|
+
case "canary-missing":
|
|
84
|
+
case "roster-key-missing":
|
|
85
|
+
case "roster-tag-missing":
|
|
86
|
+
return head + "This vault was most likely written before 0.6.0-pre.21, which is when the roster became authenticated \u2014 that format change ships without a migration, so an existing vault must be re-seeded. The same state is what an untrusted store would produce by deleting the field to escape verification, and the two are indistinguishable from here, so access is refused either way. If this vault has been opened by 0.6.0-pre.21 or later before, treat it as the second case.";
|
|
87
|
+
case "unparseable":
|
|
88
|
+
return head + "The file did not parse \u2014 truncation or corruption in transit or at rest is the likeliest cause, and a store serving deliberate garbage is indistinguishable from it. `verifyRoster()` reports which members are affected; `quarantineKeyring()` removes one.";
|
|
89
|
+
case "roster-tag-mismatch":
|
|
90
|
+
return head + "The roster tag is present but does not match the authority fields it protects, so those fields were altered after they were signed. Unlike a missing tag this is not a format-transition state \u2014 no released version wrote a mismatched tag \u2014 so the store serving this vault, or something between you and it, has changed a member's role, permissions or expiry.";
|
|
91
|
+
}
|
|
92
|
+
}
|
|
80
93
|
var KeyringTamperedError = class extends NoydbError {
|
|
81
94
|
details;
|
|
82
95
|
constructor(details) {
|
|
83
|
-
super(
|
|
84
|
-
"KEYRING_TAMPERED",
|
|
85
|
-
`Keyring for "${details.userId}" failed roster authentication (${details.reason}). The store serving this vault may have altered the roster.`
|
|
86
|
-
);
|
|
96
|
+
super("KEYRING_TAMPERED", keyringTamperedMessage(details.userId, details.reason));
|
|
87
97
|
this.name = "KeyringTamperedError";
|
|
88
98
|
this.details = details;
|
|
89
99
|
}
|
|
@@ -1729,4 +1739,4 @@ export {
|
|
|
1729
1739
|
ClassifiedRotationError,
|
|
1730
1740
|
SatelliteConfigError
|
|
1731
1741
|
};
|
|
1732
|
-
//# sourceMappingURL=chunk-
|
|
1742
|
+
//# sourceMappingURL=chunk-PKUJ3JLQ.js.map
|