@noy-db/hub 0.8.0 → 0.9.0-pre.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/README.md +8 -8
- package/codemods/0.4.0-pre.json +1 -1
- package/codemods/0.8.0-pre.json +1 -1
- package/dist/api-MSJXVYQG.js +18 -0
- package/dist/as/index.js +33 -23
- package/dist/as/index.js.map +1 -1
- package/dist/at/index.js +8 -8
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-YE2VQ26S.js → backup-7RKNZMQO.js} +11 -11
- package/dist/blobs/index.js +12 -12
- package/dist/broker/index.js +19 -11
- package/dist/broker/index.js.map +1 -1
- package/dist/by/index.js +2 -2
- package/dist/capsule/contract.d.ts +1 -1
- package/dist/capsule/contract.js +6 -6
- package/dist/capsule/enclave-aes/broker/proof.d.ts +12 -3
- package/dist/capsule/enclave-aes/index.d.ts +1 -1
- package/dist/capsule/enclave-aes/index.js +40 -14
- package/dist/capsule/enclave-aes/index.js.map +1 -1
- package/dist/capsule/index.d.ts +1 -1
- package/dist/capsule/plumbing/record-codec.d.ts +7 -0
- package/dist/{capsule-VOLX3QRQ.js → capsule-57BDK7LG.js} +8 -8
- package/dist/cargo/index.js +32 -32
- package/dist/{chunk-A4XMIZT3.js → chunk-226V6XXJ.js} +41 -6
- package/dist/chunk-226V6XXJ.js.map +1 -0
- package/dist/{chunk-LNSVGRHO.js → chunk-2A56DSRI.js} +2 -2
- package/dist/chunk-2DX4JCRI.js +1 -0
- package/dist/{chunk-SV2PM2OY.js → chunk-2ELOCEXE.js} +1 -1
- package/dist/chunk-2ELOCEXE.js.map +1 -0
- package/dist/{chunk-6QVKPHBF.js → chunk-2WJKJZSO.js} +2 -2
- package/dist/{chunk-TKVUE4JF.js → chunk-2ZFD2UJC.js} +9 -9
- package/dist/{chunk-2AFX33YA.js → chunk-3V6LZHUO.js} +3 -3
- package/dist/chunk-3V6LZHUO.js.map +1 -0
- package/dist/{chunk-4JPMZTJY.js → chunk-3Y5JLSXS.js} +2 -2
- package/dist/{chunk-XSPFDUDG.js → chunk-45VHWE4C.js} +51 -16
- package/dist/chunk-45VHWE4C.js.map +1 -0
- package/dist/{chunk-LGNDFRYC.js → chunk-4CFHL5RY.js} +1 -1
- package/dist/chunk-4CFHL5RY.js.map +1 -0
- package/dist/{chunk-EZGV6F47.js → chunk-4J3MNVVX.js} +1 -1
- package/dist/{chunk-EZGV6F47.js.map → chunk-4J3MNVVX.js.map} +1 -1
- package/dist/{chunk-O2IMQSNA.js → chunk-4UIP3QNW.js} +2 -2
- package/dist/{chunk-EJLV62NI.js → chunk-55P6OBB7.js} +2 -2
- package/dist/{chunk-Y3LPTBG7.js → chunk-5HNW4ZTA.js} +6 -9
- package/dist/chunk-5HNW4ZTA.js.map +1 -0
- package/dist/{chunk-TEHHROZL.js → chunk-5LMCVBMY.js} +5 -5
- package/dist/{chunk-4V3Q35WG.js → chunk-5UUJE4FP.js} +3 -3
- package/dist/{chunk-JWWYRR4Q.js → chunk-5XONHAFD.js} +2 -2
- package/dist/{chunk-PD64727P.js → chunk-6QLCS7ET.js} +2 -2
- package/dist/chunk-6QLCS7ET.js.map +1 -0
- package/dist/{chunk-QBLT6POL.js → chunk-6WS35E6X.js} +2 -2
- package/dist/{chunk-IUBMZPHM.js → chunk-6Y5E4SJU.js} +5 -6
- package/dist/chunk-6Y5E4SJU.js.map +1 -0
- package/dist/{chunk-GZT3NQRA.js → chunk-72XBVN4J.js} +8 -2
- package/dist/{chunk-GZT3NQRA.js.map → chunk-72XBVN4J.js.map} +1 -1
- package/dist/{chunk-EYG2CY2X.js → chunk-7BMOS4JQ.js} +11 -11
- package/dist/chunk-7BMOS4JQ.js.map +1 -0
- package/dist/{chunk-UA372JHH.js → chunk-7CT6SX4M.js} +3 -3
- package/dist/chunk-7CT6SX4M.js.map +1 -0
- package/dist/{chunk-EZOAKKTB.js → chunk-ABU6A4Z5.js} +2 -2
- package/dist/{chunk-VKI2EB3N.js → chunk-AJFPAHMW.js} +3 -3
- package/dist/{chunk-DQESF6RP.js → chunk-APFFJN5T.js} +29 -16
- package/dist/chunk-APFFJN5T.js.map +1 -0
- package/dist/{chunk-2ODVB6LZ.js → chunk-B65CC6Z6.js} +2 -2
- package/dist/{chunk-MBMTND6D.js → chunk-BJH77UY2.js} +2 -2
- package/dist/{chunk-VAORSCSU.js → chunk-BMHQHH7Q.js} +2 -2
- package/dist/chunk-BMHQHH7Q.js.map +1 -0
- package/dist/{chunk-FFJFE4T7.js → chunk-BNFNQNEP.js} +2 -2
- package/dist/chunk-BU2ABHFW.js +74 -0
- package/dist/chunk-BU2ABHFW.js.map +1 -0
- package/dist/{chunk-5WWDGFOS.js → chunk-BUE7R3B5.js} +2 -2
- package/dist/{chunk-5FE75J4S.js → chunk-BVF3SXD7.js} +5 -5
- package/dist/{chunk-VFHCKG5M.js → chunk-BYHCKX73.js} +3 -3
- package/dist/{chunk-BVCUTXE3.js → chunk-C53ER7AG.js} +2 -2
- package/dist/{chunk-MILI22XQ.js → chunk-CAD7N6HQ.js} +3 -3
- package/dist/{chunk-5KC7QYEC.js → chunk-CB4467G3.js} +5 -5
- package/dist/{chunk-JIBUPZHA.js → chunk-D4V5JJAK.js} +4 -4
- package/dist/{chunk-DLD5LGDS.js → chunk-D5A3GCZ4.js} +3 -3
- package/dist/{chunk-FOEDQATO.js → chunk-DHU2AQ6T.js} +2 -2
- package/dist/{chunk-VHBKYN2J.js → chunk-DL6BZKP3.js} +2 -2
- package/dist/{chunk-NBQ3KK6X.js → chunk-EA4VDI5D.js} +4 -4
- package/dist/chunk-EA4VDI5D.js.map +1 -0
- package/dist/{chunk-E2N2T5ZO.js → chunk-ECGXA4LT.js} +2 -2
- package/dist/{chunk-PP3K67AJ.js → chunk-EMAWOGVH.js} +3 -3
- package/dist/{chunk-WXE4W2U6.js → chunk-EUD3HQM4.js} +4 -4
- package/dist/{chunk-MXOQ5JCG.js → chunk-FSQNGPHH.js} +171 -124
- package/dist/chunk-FSQNGPHH.js.map +1 -0
- package/dist/{chunk-LIOVX5TJ.js → chunk-FZXRLNJO.js} +3 -3
- package/dist/{chunk-WPOYWFSE.js → chunk-G46JSSVX.js} +7 -7
- package/dist/{chunk-JSMTXZR3.js → chunk-G5EDYVSE.js} +8 -6
- package/dist/chunk-G5EDYVSE.js.map +1 -0
- package/dist/chunk-G66YXUTY.js +60 -0
- package/dist/chunk-G66YXUTY.js.map +1 -0
- package/dist/{chunk-FFWI7UH7.js → chunk-GAGT3YZN.js} +1 -1
- package/dist/chunk-GAGT3YZN.js.map +1 -0
- package/dist/{chunk-AEQGFRU4.js → chunk-GCUMOKTN.js} +3 -3
- package/dist/{chunk-244QBK7Z.js → chunk-GETUTTZU.js} +4 -4
- package/dist/{chunk-244QBK7Z.js.map → chunk-GETUTTZU.js.map} +1 -1
- package/dist/{chunk-V3RWOOSO.js → chunk-GOJQ5DZA.js} +4 -4
- package/dist/{chunk-UEFOQH74.js → chunk-GRS2HIV6.js} +2 -2
- package/dist/{chunk-3L2NBKDR.js → chunk-H3YM66EI.js} +2 -2
- package/dist/{chunk-3A5DUZ56.js → chunk-IVMFIKNA.js} +6 -6
- package/dist/{chunk-3A5DUZ56.js.map → chunk-IVMFIKNA.js.map} +1 -1
- package/dist/{chunk-747G6CT3.js → chunk-J4KAPKBJ.js} +2 -2
- package/dist/{chunk-H23XHRTT.js → chunk-JA25QG5M.js} +211 -6
- package/dist/chunk-JA25QG5M.js.map +1 -0
- package/dist/{chunk-T7IR4N2S.js → chunk-JBMMWYOH.js} +3 -1
- package/dist/{chunk-T7IR4N2S.js.map → chunk-JBMMWYOH.js.map} +1 -1
- package/dist/{chunk-MXKI4ABF.js → chunk-JPSL5GIZ.js} +3 -3
- package/dist/{chunk-2GHDLTPE.js → chunk-JSWKVZCR.js} +2 -2
- package/dist/{chunk-BNWA3WG5.js → chunk-JZ4EDEIP.js} +3 -3
- package/dist/{chunk-GUZET4SG.js → chunk-K673OO6B.js} +4 -4
- package/dist/chunk-K673OO6B.js.map +1 -0
- package/dist/{chunk-5UMK7GRI.js → chunk-K7RW7FI4.js} +5 -5
- package/dist/{chunk-N7EVQD5S.js → chunk-L2F3CFCH.js} +4 -4
- package/dist/{chunk-2PVXF5CS.js → chunk-L5A3KR7R.js} +3 -3
- package/dist/{chunk-O46CHQT7.js → chunk-LGGIFKJP.js} +4 -4
- package/dist/{chunk-Y2RKVFKR.js → chunk-MQ7YWBQ5.js} +2 -2
- package/dist/{chunk-4CIQDWRB.js → chunk-MRJDLXI3.js} +14 -8
- package/dist/{chunk-4CIQDWRB.js.map → chunk-MRJDLXI3.js.map} +1 -1
- package/dist/{chunk-YRXFFWG4.js → chunk-NIXRB5BP.js} +2 -2
- package/dist/{chunk-RHVMZSUU.js → chunk-NV4OESHC.js} +1 -1
- package/dist/chunk-NV4OESHC.js.map +1 -0
- package/dist/{chunk-V7ADQF5O.js → chunk-NYJBYVBG.js} +4 -4
- package/dist/{chunk-23D6M6VM.js → chunk-NZULV7LK.js} +4 -4
- package/dist/{chunk-HW7CMKUG.js → chunk-OFD2HD6F.js} +1 -1
- package/dist/{chunk-HW7CMKUG.js.map → chunk-OFD2HD6F.js.map} +1 -1
- package/dist/{chunk-BPWYQ25R.js → chunk-OJU67C23.js} +4 -4
- package/dist/{chunk-BPWYQ25R.js.map → chunk-OJU67C23.js.map} +1 -1
- package/dist/{chunk-AUKKUPVB.js → chunk-OK57EATL.js} +2 -2
- package/dist/{chunk-42ALPZ2B.js → chunk-OM3SEDI4.js} +4 -4
- package/dist/{chunk-42ALPZ2B.js.map → chunk-OM3SEDI4.js.map} +1 -1
- package/dist/{chunk-OYW3I5M4.js → chunk-PCYPXLEX.js} +6 -6
- package/dist/{chunk-2MG3SW7Q.js → chunk-PFCTSXHU.js} +2 -2
- package/dist/{chunk-FVH5QYY2.js → chunk-PGC35KXE.js} +2 -2
- package/dist/{chunk-NCO25JZO.js → chunk-PT2YCQVK.js} +4 -4
- package/dist/{chunk-SYNY3VB5.js → chunk-PTJY5R3O.js} +2 -2
- package/dist/{chunk-QMWY2FDS.js → chunk-PUBI455O.js} +2 -2
- package/dist/{chunk-VMV5SBE4.js → chunk-QDHHHI5Q.js} +5 -5
- package/dist/{chunk-JQYKPKG6.js → chunk-QGFEBNHO.js} +4 -4
- package/dist/{chunk-52MGURXO.js → chunk-QGSNJD3B.js} +2 -2
- package/dist/chunk-QJNAHPVT.js +91 -0
- package/dist/chunk-QJNAHPVT.js.map +1 -0
- package/dist/{chunk-VVOLDVIR.js → chunk-QSHATAXJ.js} +2 -2
- package/dist/{chunk-G2MVBDFP.js → chunk-QXJXG7DN.js} +39 -9
- package/dist/chunk-QXJXG7DN.js.map +1 -0
- package/dist/{chunk-KZXDLBY6.js → chunk-RDOEOPOI.js} +5 -5
- package/dist/{chunk-FLPCETP6.js → chunk-RIZTZJX6.js} +2 -2
- package/dist/{chunk-H427H63K.js → chunk-RNACRT5H.js} +2 -2
- package/dist/chunk-RWFQVNXR.js +24 -0
- package/dist/chunk-RWFQVNXR.js.map +1 -0
- package/dist/{chunk-JOSPH3E5.js → chunk-SFCD6OU7.js} +2 -2
- package/dist/{chunk-IMQKWR46.js → chunk-SNM7LSYG.js} +4 -5
- package/dist/chunk-SNM7LSYG.js.map +1 -0
- package/dist/{chunk-Q2XRFWOI.js → chunk-SPPOUJLN.js} +2 -2
- package/dist/{chunk-EGVJ7TM4.js → chunk-SWXLZ4HX.js} +8 -9
- package/dist/chunk-SWXLZ4HX.js.map +1 -0
- package/dist/{chunk-H7JBY4P7.js → chunk-TFWFPZRU.js} +13 -13
- package/dist/chunk-TFWFPZRU.js.map +1 -0
- package/dist/{chunk-VQDZYB2B.js → chunk-TMIJAR2X.js} +3 -3
- package/dist/{chunk-VQDZYB2B.js.map → chunk-TMIJAR2X.js.map} +1 -1
- package/dist/{chunk-RB4DOPGZ.js → chunk-TZYTMZZY.js} +10 -10
- package/dist/{chunk-Q4UHJ5SN.js → chunk-UAKY6E4N.js} +2 -2
- package/dist/chunk-UHFGK6YA.js +40 -0
- package/dist/chunk-UHFGK6YA.js.map +1 -0
- package/dist/{chunk-DIZLQVAA.js → chunk-UNSQZSZP.js} +2 -2
- package/dist/{chunk-4T3SE27M.js → chunk-UOZOWN73.js} +2 -2
- package/dist/{chunk-OKSTSITU.js → chunk-V55JASXO.js} +3 -3
- package/dist/{chunk-37EPTBBR.js → chunk-VSUQI5Q6.js} +32 -4
- package/dist/chunk-VSUQI5Q6.js.map +1 -0
- package/dist/{chunk-XQRFSKYM.js → chunk-WFWFXDNS.js} +2 -2
- package/dist/{chunk-N7UDP5VU.js → chunk-WHOKGHJ3.js} +7 -7
- package/dist/{chunk-7R2Q7CPL.js → chunk-X2RP4TO5.js} +7 -7
- package/dist/{chunk-U2FZNEWJ.js → chunk-XA34THLF.js} +8 -6
- package/dist/{chunk-U2FZNEWJ.js.map → chunk-XA34THLF.js.map} +1 -1
- package/dist/{chunk-UIYESRD6.js → chunk-XITHENBI.js} +9 -9
- package/dist/{chunk-UIYESRD6.js.map → chunk-XITHENBI.js.map} +1 -1
- package/dist/{chunk-3XJQBBZD.js → chunk-XKBTJGFP.js} +2 -2
- package/dist/{chunk-SMV2HRDU.js → chunk-XXNWU5QZ.js} +2 -2
- package/dist/{chunk-TZZBXPZK.js → chunk-XXQ5XIYY.js} +2 -2
- package/dist/{chunk-3EWS67C7.js → chunk-YFFMPZPY.js} +2 -2
- package/dist/{chunk-M5B2W6YY.js → chunk-YKGJ44Z7.js} +3 -3
- package/dist/{chunk-5A4345TG.js → chunk-YQFBH5ZJ.js} +3 -3
- package/dist/{chunk-DHHGL42E.js → chunk-Z3ZXVB2Y.js} +22 -6
- package/dist/chunk-Z3ZXVB2Y.js.map +1 -0
- package/dist/{chunk-OIEO4WDL.js → chunk-ZBUAX4EF.js} +2 -2
- package/dist/chunk-ZBUAX4EF.js.map +1 -0
- package/dist/{chunk-HS554XAF.js → chunk-ZHQJAV6D.js} +2 -2
- package/dist/{chunk-IUT3GWP3.js → chunk-ZMVSKYTJ.js} +17 -93
- package/dist/chunk-ZMVSKYTJ.js.map +1 -0
- package/dist/{chunk-AL6ML4LA.js → chunk-ZVSKSUGI.js} +5 -5
- package/dist/{chunk-JDEYF3PJ.js → chunk-ZWF3EWZA.js} +2 -2
- package/dist/chunk-ZWF3EWZA.js.map +1 -0
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-SIYKUU5L.js → classified-marker-KHDOYIJB.js} +3 -3
- package/dist/collection-facade-LZIF7GWD.js +41 -0
- package/dist/{computed-FAD7SED4.js → computed-XMFTHAXV.js} +3 -3
- package/dist/consent/index.js +8 -8
- package/dist/cover/index.js +8 -8
- package/dist/coverage/index.js +1 -1
- package/dist/custody/index.js +12 -11
- package/dist/{dead-filter-4F3LWYKH.js → dead-filter-CXV5NS67.js} +10 -10
- package/dist/debug/index.js +7 -7
- package/dist/{delegation-NANZDG4N.js → delegation-ONLM4JFI.js} +49 -25
- package/dist/delegation-ONLM4JFI.js.map +1 -0
- package/dist/derivations/index.js +24 -23
- package/dist/derive-3YSIS36W.js +20 -0
- package/dist/directory/index.js +9 -9
- package/dist/{dispatch-JDZNGEB3.js → dispatch-2MQFMEGY.js} +20 -20
- package/dist/{dispatch-H4HV32AM.js → dispatch-OFDA4WQV.js} +5 -5
- package/dist/executor-E6YDJ7YA.js +8 -0
- package/dist/executor-NJX3YQQ4.js +35 -0
- package/dist/executor-WWM3DD4P.js +8 -0
- package/dist/export-accessible-RLHU5G4W.js +22 -0
- package/dist/extract-partition-QII2EDCS.js +35 -0
- package/dist/{fanout-sidecar-L7NHPIOC.js → fanout-sidecar-BO67PCPO.js} +8 -8
- package/dist/find-6M7GYDUZ.js +10 -0
- package/dist/forget/index.js +25 -8
- package/dist/forget/index.js.map +1 -1
- package/dist/guards/index.js +4 -4
- package/dist/history/index.js +12 -12
- package/dist/i18n/index.js +13 -13
- package/dist/index.d.ts +8 -6
- package/dist/index.js +122 -110
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +6 -6
- package/dist/introspection/index.js +15 -11
- package/dist/issue-LPEEEMPP.js +19 -0
- package/dist/kernel/cache/index.d.ts +1 -1
- package/dist/kernel/collection.d.ts +1 -0
- package/dist/kernel/errors.d.ts +33 -4
- package/dist/kernel/export-scope.d.ts +40 -0
- package/dist/kernel/noydb.d.ts +3 -1
- package/dist/kernel/put-many-atomic.d.ts +1 -1
- package/dist/kernel/query/live/live.d.ts +2 -1
- package/dist/kernel/query/sort-key.d.ts +0 -2
- package/dist/kernel/tx-write-gate.d.ts +2 -4
- package/dist/kernel/types.d.ts +93 -6
- package/dist/kernel/validation.d.ts +0 -10
- package/dist/kernel/vault.d.ts +4 -0
- package/dist/kernel/via/reconcile.d.ts +1 -42
- package/dist/{ledger-5ZMGE44K.js → ledger-MSJGWKGW.js} +10 -10
- package/dist/liberate-LEKDYKTC.js +25 -0
- package/dist/{link-set-MFXC24VK.js → link-set-QXXSPPHL.js} +10 -10
- package/dist/{managed-secret-MFTFT22X.js → managed-secret-VSK7ANQI.js} +9 -9
- package/dist/materialized-views/index.js +26 -26
- package/dist/{migrate-cek-DZRFFOHW.js → migrate-cek-GEBFYBDC.js} +2 -2
- package/dist/money/index.js +5 -5
- package/dist/noydb-F2AUF6KL.js +98 -0
- package/dist/on/index.js +25 -0
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +11 -11
- package/dist/pod/index.js +69 -67
- package/dist/{pod-handle-A3LET7NO.js → pod-handle-YE7CT66T.js} +8 -8
- package/dist/policy/index.js +9 -9
- package/dist/port/as/active.d.ts +4 -0
- package/dist/port/as/index.d.ts +1 -0
- package/dist/port/by/index.d.ts +14 -5
- package/dist/port/on/index.d.ts +26 -0
- package/dist/port/to/index.d.ts +1 -1
- package/dist/port/with/broker-strategy.d.ts +14 -0
- package/dist/port/with/coverage-strategy.d.ts +17 -1
- package/dist/port/with/formats-strategy.d.ts +34 -1
- package/dist/port/with/lookup-strategy.d.ts +85 -4
- package/dist/port/with/service-bus.d.ts +2 -1
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-7ND27CF2.js → post-register-QC5TEAW3.js} +6 -6
- package/dist/query/all/index.js +16 -16
- package/dist/query/index.js +8 -8
- package/dist/query/live/index.js +7 -7
- package/dist/query/reduce/index.js +10 -10
- package/dist/query/relate/index.js +10 -10
- package/dist/reduce/index.js +8 -8
- package/dist/register-SN72QALV.js +30 -0
- package/dist/registry-253FF7C6.js +35 -0
- package/dist/registry-3AZWQTDT.js +23 -0
- package/dist/registry-7UEBTHWG.js +8 -0
- package/dist/registry-IVJ67NFQ.js +8 -0
- package/dist/request-withdrawal-UKVJZKX2.js +28 -0
- package/dist/{reveal-B2TLP4JQ.js → reveal-YQTRNQFH.js} +7 -7
- package/dist/revoke-G2KXJQA5.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/schema-update/index.js +2 -2
- package/dist/sealed-record/index.js +11 -11
- package/dist/search/index.js +4 -4
- package/dist/{seed-XNSE4U3S.js → seed-JMQTRKRE.js} +121 -27
- package/dist/seed-JMQTRKRE.js.map +1 -0
- package/dist/sequence/index.js +8 -8
- package/dist/session/index.js +8 -8
- package/dist/shadow/index.js +2 -2
- package/dist/signer-IUIYR3CX.js +23 -0
- package/dist/snapshots/index.js +9 -9
- package/dist/{stale-6GCFMOOR.js → stale-SKV33PBU.js} +9 -9
- package/dist/storage-NPBYP2SM.js +21 -0
- package/dist/{store-coordination-provider-C4BPT5XF.js → store-coordination-provider-Z6HKPOGM.js} +9 -9
- package/dist/sync/index.js +17 -11
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.js +17 -15
- package/dist/tiers/index.js +10 -10
- package/dist/to/index.js +2 -2
- package/dist/transactions/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/vault-head/index.js +8 -8
- package/dist/{verify-UKALW7C2.js → verify-KWQIWLGH.js} +7 -7
- package/dist/via/classified/presets.d.ts +29 -0
- package/dist/via/classified/resolve.d.ts +7 -0
- package/dist/via/geo/binding.d.ts +0 -4
- package/dist/via/lookup/index.d.ts +32 -0
- package/dist/via/money/binding.d.ts +0 -9
- package/dist/walk-F4OLXI5H.js +20 -0
- package/dist/with-audit/attestation/strategy.d.ts +2 -1
- package/dist/with-audit/attestation/vault-facade.d.ts +7 -0
- package/dist/with-audit/forget/completeness.d.ts +66 -0
- package/dist/with-audit/forget/index.d.ts +2 -0
- package/dist/with-audit/forget/strategy.d.ts +65 -0
- package/dist/with-audit/periods/periods.d.ts +0 -9
- package/dist/with-audit/periods/reserved-collections.d.ts +7 -0
- package/dist/with-audit/portability/request-withdrawal.d.ts +0 -1
- package/dist/with-audit/portability/withdraw-accessible.d.ts +0 -1
- package/dist/with-audit/tiers/index.d.ts +1 -1
- package/dist/with-audit/tiers/strategy.d.ts +19 -0
- package/dist/with-cargo/extract-partition.d.ts +0 -46
- package/dist/with-commit/numbering/index.d.ts +0 -2
- package/dist/with-commit/tx/transaction.d.ts +2 -24
- package/dist/with-commit/vault-head/strategy.d.ts +7 -0
- package/dist/with-fork/snapshots/noydb-facade.d.ts +7 -0
- package/dist/with-formula/derivations/trigger-match.d.ts +8 -5
- package/dist/with-formula/materialized-views/emit-memo.d.ts +0 -2
- package/dist/with-lookup/embeddings/index.d.ts +1 -2
- package/dist/with-lookup/indexing/collection-facade.d.ts +1 -15
- package/dist/with-lookup/indexing/eager-indexes.d.ts +2 -1
- package/dist/with-lookup/search/collection-facade.d.ts +0 -12
- package/dist/with-party/broker/index.d.ts +2 -2
- package/dist/with-party/broker/seed.d.ts +25 -10
- package/dist/with-party/policy/noydb-facade.d.ts +1 -31
- package/dist/with-party/team/delegation.d.ts +58 -2
- package/dist/with-party/team/echo-secret.d.ts +0 -2
- package/dist/with-party/team/keyring.d.ts +1 -21
- package/dist/with-party/team/magic-link-grant.d.ts +11 -1
- package/dist/with-party/team/noydb-facade.d.ts +5 -0
- package/dist/with-party/team/reserved-secret-collections.d.ts +10 -8
- package/dist/with-party/team/roster-tag.d.ts +42 -1
- package/dist/with-party/team/tiers.d.ts +36 -5
- package/dist/with-shape/blobs/blob-set.d.ts +23 -0
- package/dist/with-shape/blobs/legacy-sweep.d.ts +16 -0
- package/dist/with-shape/introspection/describe.d.ts +1 -2
- package/dist/with-shape/introspection/index.d.ts +1 -0
- package/dist/with-shape/introspection/types.d.ts +2 -1
- package/dist/with-shape/schema-update/fence.d.ts +7 -0
- package/dist/with-sync/engine.d.ts +30 -1
- package/dist/with-sync/reserved-mirror.d.ts +89 -0
- package/dist/with-sync/strategy.d.ts +7 -0
- package/dist/with-sync/tab-write-relay.d.ts +0 -10
- package/dist/withdraw-accessible-ZKPLZ66E.js +25 -0
- package/package.json +3 -3
- package/dist/api-OS747DS4.js +0 -18
- package/dist/chunk-2AFX33YA.js.map +0 -1
- package/dist/chunk-2RH777HH.js +0 -126
- package/dist/chunk-2RH777HH.js.map +0 -1
- package/dist/chunk-37EPTBBR.js.map +0 -1
- package/dist/chunk-7XMHMVTS.js +0 -20
- package/dist/chunk-7XMHMVTS.js.map +0 -1
- package/dist/chunk-A4XMIZT3.js.map +0 -1
- package/dist/chunk-DHHGL42E.js.map +0 -1
- package/dist/chunk-DQESF6RP.js.map +0 -1
- package/dist/chunk-EGVJ7TM4.js.map +0 -1
- package/dist/chunk-EYG2CY2X.js.map +0 -1
- package/dist/chunk-FFWI7UH7.js.map +0 -1
- package/dist/chunk-G2MVBDFP.js.map +0 -1
- package/dist/chunk-GUZET4SG.js.map +0 -1
- package/dist/chunk-H23XHRTT.js.map +0 -1
- package/dist/chunk-H7JBY4P7.js.map +0 -1
- package/dist/chunk-IMQKWR46.js.map +0 -1
- package/dist/chunk-IUBMZPHM.js.map +0 -1
- package/dist/chunk-IUT3GWP3.js.map +0 -1
- package/dist/chunk-JDEYF3PJ.js.map +0 -1
- package/dist/chunk-JSMTXZR3.js.map +0 -1
- package/dist/chunk-LGNDFRYC.js.map +0 -1
- package/dist/chunk-MXOQ5JCG.js.map +0 -1
- package/dist/chunk-NBQ3KK6X.js.map +0 -1
- package/dist/chunk-OIEO4WDL.js.map +0 -1
- package/dist/chunk-PD64727P.js.map +0 -1
- package/dist/chunk-RHVMZSUU.js.map +0 -1
- package/dist/chunk-SV2PM2OY.js.map +0 -1
- package/dist/chunk-UA372JHH.js.map +0 -1
- package/dist/chunk-UBSFPGVJ.js +0 -1
- package/dist/chunk-VAORSCSU.js.map +0 -1
- package/dist/chunk-XSPFDUDG.js.map +0 -1
- package/dist/chunk-Y3LPTBG7.js.map +0 -1
- package/dist/collection-facade-CS7CA2XO.js +0 -47
- package/dist/delegation-NANZDG4N.js.map +0 -1
- package/dist/derive-XLOJVXPU.js +0 -20
- package/dist/executor-FMPVN6DT.js +0 -35
- package/dist/executor-LBBBRTN5.js +0 -8
- package/dist/executor-OSRZST2U.js +0 -8
- package/dist/export-accessible-RAOJAAU5.js +0 -22
- package/dist/extract-partition-JD5CUSTG.js +0 -37
- package/dist/find-JRN4RNQ5.js +0 -10
- package/dist/issue-YIVBZUTH.js +0 -19
- package/dist/liberate-WZSZM2W6.js +0 -24
- package/dist/noydb-ITIGNKUF.js +0 -96
- package/dist/register-DT5HZ2LZ.js +0 -30
- package/dist/registry-BHRZGZHF.js +0 -8
- package/dist/registry-ET6ZFFWA.js +0 -34
- package/dist/registry-HXFGLGTG.js +0 -8
- package/dist/registry-THCPDEOD.js +0 -23
- package/dist/request-withdrawal-AV2MJJKY.js +0 -30
- package/dist/revoke-6DWIEOCV.js +0 -24
- package/dist/seed-XNSE4U3S.js.map +0 -1
- package/dist/signer-MHGW3OIL.js +0 -23
- package/dist/storage-BYN5LO6Z.js +0 -21
- package/dist/walk-4VPK7AS4.js +0 -20
- package/dist/withdraw-accessible-HL7GACUE.js +0 -27
- /package/dist/{api-OS747DS4.js.map → api-MSJXVYQG.js.map} +0 -0
- /package/dist/{backup-YE2VQ26S.js.map → backup-7RKNZMQO.js.map} +0 -0
- /package/dist/{capsule-VOLX3QRQ.js.map → capsule-57BDK7LG.js.map} +0 -0
- /package/dist/{chunk-LNSVGRHO.js.map → chunk-2A56DSRI.js.map} +0 -0
- /package/dist/{chunk-UBSFPGVJ.js.map → chunk-2DX4JCRI.js.map} +0 -0
- /package/dist/{chunk-6QVKPHBF.js.map → chunk-2WJKJZSO.js.map} +0 -0
- /package/dist/{chunk-TKVUE4JF.js.map → chunk-2ZFD2UJC.js.map} +0 -0
- /package/dist/{chunk-4JPMZTJY.js.map → chunk-3Y5JLSXS.js.map} +0 -0
- /package/dist/{chunk-O2IMQSNA.js.map → chunk-4UIP3QNW.js.map} +0 -0
- /package/dist/{chunk-EJLV62NI.js.map → chunk-55P6OBB7.js.map} +0 -0
- /package/dist/{chunk-TEHHROZL.js.map → chunk-5LMCVBMY.js.map} +0 -0
- /package/dist/{chunk-4V3Q35WG.js.map → chunk-5UUJE4FP.js.map} +0 -0
- /package/dist/{chunk-JWWYRR4Q.js.map → chunk-5XONHAFD.js.map} +0 -0
- /package/dist/{chunk-QBLT6POL.js.map → chunk-6WS35E6X.js.map} +0 -0
- /package/dist/{chunk-EZOAKKTB.js.map → chunk-ABU6A4Z5.js.map} +0 -0
- /package/dist/{chunk-VKI2EB3N.js.map → chunk-AJFPAHMW.js.map} +0 -0
- /package/dist/{chunk-2ODVB6LZ.js.map → chunk-B65CC6Z6.js.map} +0 -0
- /package/dist/{chunk-MBMTND6D.js.map → chunk-BJH77UY2.js.map} +0 -0
- /package/dist/{chunk-FFJFE4T7.js.map → chunk-BNFNQNEP.js.map} +0 -0
- /package/dist/{chunk-5WWDGFOS.js.map → chunk-BUE7R3B5.js.map} +0 -0
- /package/dist/{chunk-5FE75J4S.js.map → chunk-BVF3SXD7.js.map} +0 -0
- /package/dist/{chunk-VFHCKG5M.js.map → chunk-BYHCKX73.js.map} +0 -0
- /package/dist/{chunk-BVCUTXE3.js.map → chunk-C53ER7AG.js.map} +0 -0
- /package/dist/{chunk-MILI22XQ.js.map → chunk-CAD7N6HQ.js.map} +0 -0
- /package/dist/{chunk-5KC7QYEC.js.map → chunk-CB4467G3.js.map} +0 -0
- /package/dist/{chunk-JIBUPZHA.js.map → chunk-D4V5JJAK.js.map} +0 -0
- /package/dist/{chunk-DLD5LGDS.js.map → chunk-D5A3GCZ4.js.map} +0 -0
- /package/dist/{chunk-FOEDQATO.js.map → chunk-DHU2AQ6T.js.map} +0 -0
- /package/dist/{chunk-VHBKYN2J.js.map → chunk-DL6BZKP3.js.map} +0 -0
- /package/dist/{chunk-E2N2T5ZO.js.map → chunk-ECGXA4LT.js.map} +0 -0
- /package/dist/{chunk-PP3K67AJ.js.map → chunk-EMAWOGVH.js.map} +0 -0
- /package/dist/{chunk-WXE4W2U6.js.map → chunk-EUD3HQM4.js.map} +0 -0
- /package/dist/{chunk-LIOVX5TJ.js.map → chunk-FZXRLNJO.js.map} +0 -0
- /package/dist/{chunk-WPOYWFSE.js.map → chunk-G46JSSVX.js.map} +0 -0
- /package/dist/{chunk-AEQGFRU4.js.map → chunk-GCUMOKTN.js.map} +0 -0
- /package/dist/{chunk-V3RWOOSO.js.map → chunk-GOJQ5DZA.js.map} +0 -0
- /package/dist/{chunk-UEFOQH74.js.map → chunk-GRS2HIV6.js.map} +0 -0
- /package/dist/{chunk-3L2NBKDR.js.map → chunk-H3YM66EI.js.map} +0 -0
- /package/dist/{chunk-747G6CT3.js.map → chunk-J4KAPKBJ.js.map} +0 -0
- /package/dist/{chunk-MXKI4ABF.js.map → chunk-JPSL5GIZ.js.map} +0 -0
- /package/dist/{chunk-2GHDLTPE.js.map → chunk-JSWKVZCR.js.map} +0 -0
- /package/dist/{chunk-BNWA3WG5.js.map → chunk-JZ4EDEIP.js.map} +0 -0
- /package/dist/{chunk-5UMK7GRI.js.map → chunk-K7RW7FI4.js.map} +0 -0
- /package/dist/{chunk-N7EVQD5S.js.map → chunk-L2F3CFCH.js.map} +0 -0
- /package/dist/{chunk-2PVXF5CS.js.map → chunk-L5A3KR7R.js.map} +0 -0
- /package/dist/{chunk-O46CHQT7.js.map → chunk-LGGIFKJP.js.map} +0 -0
- /package/dist/{chunk-Y2RKVFKR.js.map → chunk-MQ7YWBQ5.js.map} +0 -0
- /package/dist/{chunk-YRXFFWG4.js.map → chunk-NIXRB5BP.js.map} +0 -0
- /package/dist/{chunk-V7ADQF5O.js.map → chunk-NYJBYVBG.js.map} +0 -0
- /package/dist/{chunk-23D6M6VM.js.map → chunk-NZULV7LK.js.map} +0 -0
- /package/dist/{chunk-AUKKUPVB.js.map → chunk-OK57EATL.js.map} +0 -0
- /package/dist/{chunk-OYW3I5M4.js.map → chunk-PCYPXLEX.js.map} +0 -0
- /package/dist/{chunk-2MG3SW7Q.js.map → chunk-PFCTSXHU.js.map} +0 -0
- /package/dist/{chunk-FVH5QYY2.js.map → chunk-PGC35KXE.js.map} +0 -0
- /package/dist/{chunk-NCO25JZO.js.map → chunk-PT2YCQVK.js.map} +0 -0
- /package/dist/{chunk-SYNY3VB5.js.map → chunk-PTJY5R3O.js.map} +0 -0
- /package/dist/{chunk-QMWY2FDS.js.map → chunk-PUBI455O.js.map} +0 -0
- /package/dist/{chunk-VMV5SBE4.js.map → chunk-QDHHHI5Q.js.map} +0 -0
- /package/dist/{chunk-JQYKPKG6.js.map → chunk-QGFEBNHO.js.map} +0 -0
- /package/dist/{chunk-52MGURXO.js.map → chunk-QGSNJD3B.js.map} +0 -0
- /package/dist/{chunk-VVOLDVIR.js.map → chunk-QSHATAXJ.js.map} +0 -0
- /package/dist/{chunk-KZXDLBY6.js.map → chunk-RDOEOPOI.js.map} +0 -0
- /package/dist/{chunk-FLPCETP6.js.map → chunk-RIZTZJX6.js.map} +0 -0
- /package/dist/{chunk-H427H63K.js.map → chunk-RNACRT5H.js.map} +0 -0
- /package/dist/{chunk-JOSPH3E5.js.map → chunk-SFCD6OU7.js.map} +0 -0
- /package/dist/{chunk-Q2XRFWOI.js.map → chunk-SPPOUJLN.js.map} +0 -0
- /package/dist/{chunk-RB4DOPGZ.js.map → chunk-TZYTMZZY.js.map} +0 -0
- /package/dist/{chunk-Q4UHJ5SN.js.map → chunk-UAKY6E4N.js.map} +0 -0
- /package/dist/{chunk-DIZLQVAA.js.map → chunk-UNSQZSZP.js.map} +0 -0
- /package/dist/{chunk-4T3SE27M.js.map → chunk-UOZOWN73.js.map} +0 -0
- /package/dist/{chunk-OKSTSITU.js.map → chunk-V55JASXO.js.map} +0 -0
- /package/dist/{chunk-XQRFSKYM.js.map → chunk-WFWFXDNS.js.map} +0 -0
- /package/dist/{chunk-N7UDP5VU.js.map → chunk-WHOKGHJ3.js.map} +0 -0
- /package/dist/{chunk-7R2Q7CPL.js.map → chunk-X2RP4TO5.js.map} +0 -0
- /package/dist/{chunk-3XJQBBZD.js.map → chunk-XKBTJGFP.js.map} +0 -0
- /package/dist/{chunk-SMV2HRDU.js.map → chunk-XXNWU5QZ.js.map} +0 -0
- /package/dist/{chunk-TZZBXPZK.js.map → chunk-XXQ5XIYY.js.map} +0 -0
- /package/dist/{chunk-3EWS67C7.js.map → chunk-YFFMPZPY.js.map} +0 -0
- /package/dist/{chunk-M5B2W6YY.js.map → chunk-YKGJ44Z7.js.map} +0 -0
- /package/dist/{chunk-5A4345TG.js.map → chunk-YQFBH5ZJ.js.map} +0 -0
- /package/dist/{chunk-HS554XAF.js.map → chunk-ZHQJAV6D.js.map} +0 -0
- /package/dist/{chunk-AL6ML4LA.js.map → chunk-ZVSKSUGI.js.map} +0 -0
- /package/dist/{classified-marker-SIYKUU5L.js.map → classified-marker-KHDOYIJB.js.map} +0 -0
- /package/dist/{collection-facade-CS7CA2XO.js.map → collection-facade-LZIF7GWD.js.map} +0 -0
- /package/dist/{computed-FAD7SED4.js.map → computed-XMFTHAXV.js.map} +0 -0
- /package/dist/{dead-filter-4F3LWYKH.js.map → dead-filter-CXV5NS67.js.map} +0 -0
- /package/dist/{derive-XLOJVXPU.js.map → derive-3YSIS36W.js.map} +0 -0
- /package/dist/{dispatch-JDZNGEB3.js.map → dispatch-2MQFMEGY.js.map} +0 -0
- /package/dist/{dispatch-H4HV32AM.js.map → dispatch-OFDA4WQV.js.map} +0 -0
- /package/dist/{executor-FMPVN6DT.js.map → executor-E6YDJ7YA.js.map} +0 -0
- /package/dist/{executor-LBBBRTN5.js.map → executor-NJX3YQQ4.js.map} +0 -0
- /package/dist/{executor-OSRZST2U.js.map → executor-WWM3DD4P.js.map} +0 -0
- /package/dist/{export-accessible-RAOJAAU5.js.map → export-accessible-RLHU5G4W.js.map} +0 -0
- /package/dist/{extract-partition-JD5CUSTG.js.map → extract-partition-QII2EDCS.js.map} +0 -0
- /package/dist/{fanout-sidecar-L7NHPIOC.js.map → fanout-sidecar-BO67PCPO.js.map} +0 -0
- /package/dist/{find-JRN4RNQ5.js.map → find-6M7GYDUZ.js.map} +0 -0
- /package/dist/{issue-YIVBZUTH.js.map → issue-LPEEEMPP.js.map} +0 -0
- /package/dist/{ledger-5ZMGE44K.js.map → ledger-MSJGWKGW.js.map} +0 -0
- /package/dist/{liberate-WZSZM2W6.js.map → liberate-LEKDYKTC.js.map} +0 -0
- /package/dist/{link-set-MFXC24VK.js.map → link-set-QXXSPPHL.js.map} +0 -0
- /package/dist/{managed-secret-MFTFT22X.js.map → managed-secret-VSK7ANQI.js.map} +0 -0
- /package/dist/{migrate-cek-DZRFFOHW.js.map → migrate-cek-GEBFYBDC.js.map} +0 -0
- /package/dist/{noydb-ITIGNKUF.js.map → noydb-F2AUF6KL.js.map} +0 -0
- /package/dist/{pod-handle-A3LET7NO.js.map → pod-handle-YE7CT66T.js.map} +0 -0
- /package/dist/{post-register-7ND27CF2.js.map → post-register-QC5TEAW3.js.map} +0 -0
- /package/dist/{register-DT5HZ2LZ.js.map → register-SN72QALV.js.map} +0 -0
- /package/dist/{registry-BHRZGZHF.js.map → registry-253FF7C6.js.map} +0 -0
- /package/dist/{registry-ET6ZFFWA.js.map → registry-3AZWQTDT.js.map} +0 -0
- /package/dist/{registry-HXFGLGTG.js.map → registry-7UEBTHWG.js.map} +0 -0
- /package/dist/{registry-THCPDEOD.js.map → registry-IVJ67NFQ.js.map} +0 -0
- /package/dist/{request-withdrawal-AV2MJJKY.js.map → request-withdrawal-UKVJZKX2.js.map} +0 -0
- /package/dist/{reveal-B2TLP4JQ.js.map → reveal-YQTRNQFH.js.map} +0 -0
- /package/dist/{revoke-6DWIEOCV.js.map → revoke-G2KXJQA5.js.map} +0 -0
- /package/dist/{signer-MHGW3OIL.js.map → signer-IUIYR3CX.js.map} +0 -0
- /package/dist/{stale-6GCFMOOR.js.map → stale-SKV33PBU.js.map} +0 -0
- /package/dist/{storage-BYN5LO6Z.js.map → storage-NPBYP2SM.js.map} +0 -0
- /package/dist/{store-coordination-provider-C4BPT5XF.js.map → store-coordination-provider-Z6HKPOGM.js.map} +0 -0
- /package/dist/{verify-UKALW7C2.js.map → verify-KWQIWLGH.js.map} +0 -0
- /package/dist/{walk-4VPK7AS4.js.map → walk-F4OLXI5H.js.map} +0 -0
- /package/dist/{withdraw-accessible-HL7GACUE.js.map → withdraw-accessible-ZKPLZ66E.js.map} +0 -0
package/dist/indexing/index.js
CHANGED
|
@@ -8,15 +8,15 @@ import {
|
|
|
8
8
|
decodeIdxId,
|
|
9
9
|
encodeIdxId,
|
|
10
10
|
isIdxId
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-NYJBYVBG.js";
|
|
12
12
|
import {
|
|
13
13
|
CollectionIndexes
|
|
14
|
-
} from "../chunk-
|
|
14
|
+
} from "../chunk-3V6LZHUO.js";
|
|
15
15
|
import "../chunk-SUZKW6UR.js";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
16
|
+
import "../chunk-4CFHL5RY.js";
|
|
17
|
+
import "../chunk-BUE7R3B5.js";
|
|
18
|
+
import "../chunk-PTJY5R3O.js";
|
|
19
|
+
import "../chunk-VSUQI5Q6.js";
|
|
20
20
|
|
|
21
21
|
// src/with-lookup/indexing/active.ts
|
|
22
22
|
function withIndexing() {
|
|
@@ -1,26 +1,30 @@
|
|
|
1
|
-
import "../chunk-
|
|
1
|
+
import "../chunk-2DX4JCRI.js";
|
|
2
2
|
import {
|
|
3
3
|
dumpVaultSchema
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-EMAWOGVH.js";
|
|
5
5
|
import {
|
|
6
6
|
applyListProjection
|
|
7
7
|
} from "../chunk-VG2ZSFYD.js";
|
|
8
8
|
import "../chunk-RXLYKVTF.js";
|
|
9
|
+
import {
|
|
10
|
+
FieldMetaUnknownFieldError
|
|
11
|
+
} from "../chunk-QJNAHPVT.js";
|
|
9
12
|
import {
|
|
10
13
|
jsonSchemaToFields
|
|
11
14
|
} from "../chunk-VYYM3MEN.js";
|
|
12
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-J4KAPKBJ.js";
|
|
13
16
|
import "../chunk-Y2NBBT6K.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
17
|
+
import "../chunk-H3YM66EI.js";
|
|
18
|
+
import "../chunk-4J3MNVVX.js";
|
|
19
|
+
import "../chunk-ZBUAX4EF.js";
|
|
20
|
+
import "../chunk-SPPOUJLN.js";
|
|
18
21
|
import "../chunk-NH2UOV3B.js";
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
21
|
-
import "../chunk-
|
|
22
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-OM3SEDI4.js";
|
|
23
|
+
import "../chunk-PUBI455O.js";
|
|
24
|
+
import "../chunk-2ELOCEXE.js";
|
|
25
|
+
import "../chunk-VSUQI5Q6.js";
|
|
23
26
|
export {
|
|
27
|
+
FieldMetaUnknownFieldError,
|
|
24
28
|
applyListProjection,
|
|
25
29
|
dumpVaultSchema,
|
|
26
30
|
jsonSchemaToFields
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import {
|
|
2
|
+
issueAttestationCore
|
|
3
|
+
} from "./chunk-QDHHHI5Q.js";
|
|
4
|
+
import "./chunk-5XONHAFD.js";
|
|
5
|
+
import "./chunk-D5A3GCZ4.js";
|
|
6
|
+
import "./chunk-GMKGGY7V.js";
|
|
7
|
+
import "./chunk-4AOERLTV.js";
|
|
8
|
+
import "./chunk-4J3MNVVX.js";
|
|
9
|
+
import "./chunk-ZBUAX4EF.js";
|
|
10
|
+
import "./chunk-SPPOUJLN.js";
|
|
11
|
+
import "./chunk-NH2UOV3B.js";
|
|
12
|
+
import "./chunk-OM3SEDI4.js";
|
|
13
|
+
import "./chunk-PUBI455O.js";
|
|
14
|
+
import "./chunk-2ELOCEXE.js";
|
|
15
|
+
import "./chunk-VSUQI5Q6.js";
|
|
16
|
+
export {
|
|
17
|
+
issueAttestationCore
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=issue-LPEEEMPP.js.map
|
|
@@ -799,6 +799,7 @@ export declare class Collection<T, S extends keyof T = never, Q extends keyof T
|
|
|
799
799
|
/**
|
|
800
800
|
* Delete a record by ID. Runs inside the hub's write-queue tracker
|
|
801
801
|
* so `hub.writeQueue.pending` reflects this write.
|
|
802
|
+
* ⚠️ Blobs are released (#1451) but a legacy collection defers the erase — a `null` blob read is NOT proof the bytes are gone; see {@link BlobSet.releaseAll} (noy-db/core#28).
|
|
802
803
|
*/
|
|
803
804
|
delete(id: string): Promise<void>;
|
|
804
805
|
/**
|
package/dist/kernel/errors.d.ts
CHANGED
|
@@ -92,6 +92,7 @@
|
|
|
92
92
|
* @module
|
|
93
93
|
*/
|
|
94
94
|
import type { GateName, GatePolicy } from './types.js';
|
|
95
|
+
import type { CapsuleGroup } from '../capsule/contract.js';
|
|
95
96
|
/**
|
|
96
97
|
* Base class for all NOYDB errors.
|
|
97
98
|
*
|
|
@@ -890,7 +891,19 @@ export declare class TierDemoteDeniedError extends NoydbError {
|
|
|
890
891
|
*/
|
|
891
892
|
export declare class DelegationTargetMissingError extends NoydbError {
|
|
892
893
|
readonly toUser: string;
|
|
893
|
-
|
|
894
|
+
/**
|
|
895
|
+
* ⚠️ `reason` exists because two call sites were passing a SENTENCE as
|
|
896
|
+
* `toUser` (core#56), rendering as:
|
|
897
|
+
*
|
|
898
|
+
* Delegation target user "grantor cannot find tier 1 DEK for (any)"
|
|
899
|
+
* has no keyring in this vault
|
|
900
|
+
*
|
|
901
|
+
* — which names a target user that is not a user, and states a cause that is
|
|
902
|
+
* not the cause. A grantor-side failure is not a missing target; the class is
|
|
903
|
+
* kept for both only because it is PUBLISHED and consumers catch it. Pass the
|
|
904
|
+
* real `toUser` and put the explanation in `reason`.
|
|
905
|
+
*/
|
|
906
|
+
constructor(toUser: string, reason?: string);
|
|
894
907
|
}
|
|
895
908
|
/**
|
|
896
909
|
* Thrown when a `put()` detects an optimistic concurrency conflict.
|
|
@@ -2411,9 +2424,25 @@ export declare class RecoveryProfileNotImplementedError extends NoydbError {
|
|
|
2411
2424
|
* stable, catchable code instead of an ad hoc throw.
|
|
2412
2425
|
*/
|
|
2413
2426
|
export declare class EnclaveNotSupportedError extends NoydbError {
|
|
2414
|
-
/**
|
|
2415
|
-
|
|
2416
|
-
|
|
2427
|
+
/**
|
|
2428
|
+
* The group that is not supported by this enclave.
|
|
2429
|
+
*
|
|
2430
|
+
* ⭐ WIDENED to the full {@link CapsuleGroup} 2026-09-16 (core#42). It used
|
|
2431
|
+
* to be `'sealing' | 'deterministic' | 'per-record-keys'` — three of ten,
|
|
2432
|
+
* and not a subset: it could not name `classify`, which `capsule/contract.ts`
|
|
2433
|
+
* explicitly documents a capsule refusing, nor the six core groups.
|
|
2434
|
+
*
|
|
2435
|
+
* ⚠️ The narrowness was invisible because **hub never constructs this error**
|
|
2436
|
+
* — it exists for a fork to throw (see the note above), so the union is a
|
|
2437
|
+
* contract for THIRD-PARTY capsule authors, and hub's own test only ever
|
|
2438
|
+
* built it with `'sealing'`. Found only when the conformance kit's tests
|
|
2439
|
+
* were finally typechecked against hub's source.
|
|
2440
|
+
*
|
|
2441
|
+
* ⛔ This is a widened published READ: a consumer switching exhaustively on
|
|
2442
|
+
* `err.group` gains cases. Release-noted by name for that reason.
|
|
2443
|
+
*/
|
|
2444
|
+
readonly group: CapsuleGroup;
|
|
2445
|
+
constructor(group: CapsuleGroup, detail?: string);
|
|
2417
2446
|
}
|
|
2418
2447
|
/**
|
|
2419
2448
|
* Raised when a collection's `classifiedFields` configuration is invalid
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* How `Vault.exportStream()` decides WHAT to read (core#45b).
|
|
3
|
+
*
|
|
4
|
+
* Extracted from `vault.ts` rather than inlined there: the kernel-surface
|
|
5
|
+
* ratchet had that file at its exact ceiling, and this is the kind of thing
|
|
6
|
+
* the ceiling exists to push out — a self-contained decision with its own
|
|
7
|
+
* reasoning, reachable from one call site.
|
|
8
|
+
*
|
|
9
|
+
* ## The property this file owns
|
|
10
|
+
*
|
|
11
|
+
* A scoped export must not FETCH or DECRYPT the collections it excludes.
|
|
12
|
+
* Until 0.8 the scope was a filter applied to chunks after `exportStream` had
|
|
13
|
+
* already decrypted the whole vault, so a caller narrowing an export to limit
|
|
14
|
+
* what a compromised process could observe got no such limit. Choosing the
|
|
15
|
+
* enumeration strategy — bulk snapshot vs per-collection `list` — is what
|
|
16
|
+
* makes the difference real, and it is invisible to every chunk-level
|
|
17
|
+
* assertion (`__tests__/45-export-scope-narrows-read.test.ts` observes the
|
|
18
|
+
* store instead, which is the only layer that can tell them apart).
|
|
19
|
+
*
|
|
20
|
+
* @module
|
|
21
|
+
*/
|
|
22
|
+
import type { NoydbStore, ExportStreamOptions } from './types.js';
|
|
23
|
+
/** Where an export's collection names and record ids come from. */
|
|
24
|
+
export interface ExportSource {
|
|
25
|
+
/** Collection names to export, sorted. */
|
|
26
|
+
readonly collections: readonly string[];
|
|
27
|
+
/** True when the caller supplied a scope. */
|
|
28
|
+
readonly scoped: boolean;
|
|
29
|
+
/** Record ids in one collection. */
|
|
30
|
+
ids(collection: string): Promise<readonly string[]>;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Resolve the read strategy for one export.
|
|
34
|
+
*
|
|
35
|
+
* ⛔ THE UNDERSCORE FILTER IS APPLIED ON BOTH PATHS. `loadAll` drops
|
|
36
|
+
* underscore-prefixed internal collections for free; `list` does not, so a
|
|
37
|
+
* caller naming `_keyring` would export the keyring. A rule that holds only on
|
|
38
|
+
* the route that happens to be taken is a rule waiting to be lost.
|
|
39
|
+
*/
|
|
40
|
+
export declare function resolveExportSource(adapter: NoydbStore, vault: string, opts: ExportStreamOptions): Promise<ExportSource>;
|
package/dist/kernel/noydb.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { RotateResult, RosterVerifyResult, QuarantineResult } from '../with-party/team/keyring.js';
|
|
2
|
-
import type { NoydbOptions, NoydbEventMap, GrantOptions, RevokeOptions, UpdateUserOptions, UserInfo, PushResult, PullResult, PushOptions, PullOptions, SyncStatus, SyncTargetInfo, SyncTargetStatus, NoydbStore, AccessibleVault, ListAccessibleVaultsOptions, QueryAcrossOptions, QueryAcrossResult, TranslatorAuditEntry, WriteConflict, UserApiFactory, ActiveTier, FactorProofBundle, GateName, VaultPolicy } from './types.js';
|
|
2
|
+
import type { NoydbOptions, NoydbEventMap, GrantOptions, RevokeOptions, UpdateUserOptions, UserInfo, PushResult, PullResult, RealignResult, PushOptions, PullOptions, SyncStatus, SyncTargetInfo, SyncTargetStatus, NoydbStore, AccessibleVault, ListAccessibleVaultsOptions, QueryAcrossOptions, QueryAcrossResult, TranslatorAuditEntry, WriteConflict, UserApiFactory, ActiveTier, FactorProofBundle, GateName, VaultPolicy } from './types.js';
|
|
3
3
|
import type { SecretPolicy } from './validation.js';
|
|
4
4
|
import { type NoydbMesh } from '../port/by/default-provider.js';
|
|
5
5
|
import type { Cover } from '../with-party/directory/cover/types.js';
|
|
@@ -458,6 +458,8 @@ export declare class Noydb {
|
|
|
458
458
|
* push-only sink and is never pulled from (#616) — returns an empty result.
|
|
459
459
|
*/
|
|
460
460
|
pull(vault: string, options?: PullOptions): Promise<PullResult>;
|
|
461
|
+
/** core#82 — replace every local envelope that fails to authenticate with the primary target's healthy copy; see `SyncEngine.realign`. */
|
|
462
|
+
realign(vault: string): Promise<RealignResult>;
|
|
461
463
|
/**
|
|
462
464
|
* Bidirectional sync: pull then push for all targets.
|
|
463
465
|
* `sync-peer` targets do pull+push; `backup`/`archive` targets do push-only.
|
|
@@ -15,7 +15,7 @@ interface BulkTxContext {
|
|
|
15
15
|
readonly _executed: BulkExecutedOp[];
|
|
16
16
|
}
|
|
17
17
|
/** @internal The slice of `Collection` both branches drive. */
|
|
18
|
-
|
|
18
|
+
interface PutManyAtomicHost<T> {
|
|
19
19
|
put(id: string, record: T): Promise<void>;
|
|
20
20
|
_preparePut(id: string, record: T): Promise<PreparedPut<T>>;
|
|
21
21
|
_finalizePut(prepared: PreparedPut<T>): Promise<void>;
|
|
@@ -7,7 +7,8 @@
|
|
|
7
7
|
* mutates.
|
|
8
8
|
*
|
|
9
9
|
* Framework-agnostic by design — core never depends on a UI
|
|
10
|
-
* framework. The
|
|
10
|
+
* framework. The framework bindings live in the `noy-db/in` repo
|
|
11
|
+
* (extracted 2026-09-21). The one that wraps a `LiveQuery` is
|
|
11
12
|
* `@noy-db/in-vue`'s `useLiveQuery(live)`: it subscribes once,
|
|
12
13
|
* mirrors `value` into a `ShallowRef`, re-reads `error` on every
|
|
13
14
|
* notification, and disposes via `onScopeDispose`.
|
|
@@ -33,9 +33,7 @@
|
|
|
33
33
|
* against its own kind.
|
|
34
34
|
*/
|
|
35
35
|
export type KeyKind = 0 | 1 | 2;
|
|
36
|
-
export declare const KIND_NUMBER: KeyKind;
|
|
37
36
|
export declare const KIND_STRING: KeyKind;
|
|
38
|
-
export declare const KIND_DATE: KeyKind;
|
|
39
37
|
export interface SortKey {
|
|
40
38
|
readonly kind: KeyKind;
|
|
41
39
|
/** `number` for {@link KIND_NUMBER} and {@link KIND_DATE}, `string` otherwise. */
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
* base (two writes, one version bump).
|
|
16
16
|
*
|
|
17
17
|
* Neither raised an error on either side, and the loss was **store-capability
|
|
18
|
-
* dependent** — `
|
|
19
|
-
* path, `to-browser-idb` does not and takes the per-op replay — so an app
|
|
18
|
+
* dependent** — `memoryStore({ full: true })` declares `txAtomic` and takes the
|
|
19
|
+
* atomic commit path, `to-browser-idb` does not and takes the per-op replay — so an app
|
|
20
20
|
* tested on a memory store could ship lossy on IndexedDB.
|
|
21
21
|
*
|
|
22
22
|
* ## The remedy: make the pre-flight's read honest
|
|
@@ -56,8 +56,6 @@
|
|
|
56
56
|
*
|
|
57
57
|
* @internal
|
|
58
58
|
*/
|
|
59
|
-
/** The shared `(vault, collection, id)` key shape. @internal */
|
|
60
|
-
export declare function writeGateKey(vault: string, collection: string, id: string): string;
|
|
61
59
|
/**
|
|
62
60
|
* Run one logical write registered against `(vault, collection, id)` so a
|
|
63
61
|
* concurrent commit can drain it. Returns / throws exactly what `fn` does —
|
package/dist/kernel/types.d.ts
CHANGED
|
@@ -182,6 +182,29 @@ export type Permissions = Record<string, Permission>;
|
|
|
182
182
|
* does not move. What changed is that every READER must now cope with absence
|
|
183
183
|
* — which is the whole point, since the store contract at `@noy-db/hub/to` is
|
|
184
184
|
* what an exclave's rows travel through.
|
|
185
|
+
*
|
|
186
|
+
* ⛔⛔ THERE ARE TWO KINDS OF BODY, AND CONFLATING THEM IS A REAL BUG. This
|
|
187
|
+
* cost a downstream package real time in 0.8.0, so it is written here rather
|
|
188
|
+
* than left to be rediscovered:
|
|
189
|
+
*
|
|
190
|
+
* - **A SEALED body** — `_iv` is a real IV and `_data` is ciphertext. Ask
|
|
191
|
+
* {@link hasSealedBody}, which tests `_iv`.
|
|
192
|
+
* - **A PLAINTEXT body** — `_data` holds readable JSON and `_iv` is `''`.
|
|
193
|
+
* Reserved collections (`_keyring`, `_meta`) and any collection opened
|
|
194
|
+
* with `encrypt: false` are this shape, by a convention that predates the
|
|
195
|
+
* widening.
|
|
196
|
+
*
|
|
197
|
+
* ⛔ So a record can HAVE a body while having NO SEALED body, and
|
|
198
|
+
* `hasSealedBody` returns **false** for it. Guarding a `_data` read with
|
|
199
|
+
* `hasSealedBody` therefore rejects every valid record on those collections —
|
|
200
|
+
* measured: it would reject every enrolled user of a password unlock. To ask
|
|
201
|
+
* "is there a body to read as text", test `_data` itself (`if (!env._data)`),
|
|
202
|
+
* which is exactly what the optional type is for.
|
|
203
|
+
*
|
|
204
|
+
* ⚠️ And `_iv === ''` is NOT a safe hand-rolled substitute for
|
|
205
|
+
* `hasSealedBody`. The comparison stays well-typed when `_iv` is absent and
|
|
206
|
+
* silently answers `false` — four sites inside hub were wrong that way before
|
|
207
|
+
* the widening landed.
|
|
185
208
|
*/
|
|
186
209
|
export interface Envelope {
|
|
187
210
|
readonly _noydb: typeof NOYDB_FORMAT_VERSION;
|
|
@@ -229,7 +252,7 @@ export interface Envelope {
|
|
|
229
252
|
* value)`) without decrypting every record. Leaks equality as a known
|
|
230
253
|
* side channel.
|
|
231
254
|
*/
|
|
232
|
-
readonly _det?: Record<string,
|
|
255
|
+
readonly _det?: Record<string, DeterministicCipher>;
|
|
233
256
|
/**
|
|
234
257
|
* Structural group-encryption. Map of sensitive field name →
|
|
235
258
|
* per-field sealed ciphertext in `iv:data` form (same shape as a `_det`
|
|
@@ -598,7 +621,7 @@ export interface CrossTierAccessEvent {
|
|
|
598
621
|
* as `iv:data` (both base64, colon-separated) so a single string per
|
|
599
622
|
* field keeps the envelope compact.
|
|
600
623
|
*/
|
|
601
|
-
|
|
624
|
+
type DeterministicCipher = string;
|
|
602
625
|
/** All records across all collections for a compartment. */
|
|
603
626
|
export type VaultSnapshot = Record<string, Record<string, EncryptedEnvelope>>;
|
|
604
627
|
/**
|
|
@@ -762,9 +785,9 @@ export interface NoydbStore {
|
|
|
762
785
|
* hub also falls back when the staged batch isn't statically safe
|
|
763
786
|
* to submit as one write set — see `canCommitAtomically`.
|
|
764
787
|
*
|
|
765
|
-
* Native implementations today: `
|
|
766
|
-
* Map mutations) and the SQL-backed stores in the
|
|
767
|
-
* repo. `to-dynamo` (`TransactWriteItems`) and `to-browser-idb` (one
|
|
788
|
+
* Native implementations today: hub's own `memoryStore({ full: true })` (one
|
|
789
|
+
* synchronous burst of Map mutations) and the SQL-backed stores in the
|
|
790
|
+
* sibling `noy-db-to` repo — `to-memory` among them, since it moved there. `to-dynamo` (`TransactWriteItems`) and `to-browser-idb` (one
|
|
768
791
|
* `readwrite` transaction) CAN implement it but do not yet. File / S3
|
|
769
792
|
* cannot implement it atomically and should omit the method.
|
|
770
793
|
*/
|
|
@@ -864,7 +887,7 @@ export type VaultPolicyOnDisk = Record<string, unknown>;
|
|
|
864
887
|
* `db.recoverSecret` against these throws
|
|
865
888
|
* {@link RecoveryProfileNotImplementedError}.
|
|
866
889
|
*/
|
|
867
|
-
|
|
890
|
+
type RecoveryEnrollment = {
|
|
868
891
|
readonly profile: 'paper';
|
|
869
892
|
/** Number of single-use codes to print at enrollment. */
|
|
870
893
|
readonly codes: number;
|
|
@@ -1207,6 +1230,28 @@ export interface ExportStreamOptions {
|
|
|
1207
1230
|
* (a full, all-locale backup; format packages apply their own locale strategy).
|
|
1208
1231
|
*/
|
|
1209
1232
|
readonly resolveLabels?: string;
|
|
1233
|
+
/**
|
|
1234
|
+
* Export only these collections. Omitted (the default) exports every
|
|
1235
|
+
* collection the caller can read.
|
|
1236
|
+
*
|
|
1237
|
+
* ⭐ This NARROWS THE READ — the excluded collections are neither fetched
|
|
1238
|
+
* nor decrypted (core#45b). That is the whole point of the option living
|
|
1239
|
+
* here rather than in a caller's filter: until 0.8 `vault.export`'s
|
|
1240
|
+
* `collections` filtered the chunks AFTER `exportStream` had decrypted the
|
|
1241
|
+
* entire vault, so a caller scoping an export to limit what a compromised
|
|
1242
|
+
* process could observe got no such limit. The published JSDoc said so
|
|
1243
|
+
* honestly; this makes the caveat false instead of merely known.
|
|
1244
|
+
*
|
|
1245
|
+
* ⚠️ A name that does not exist yields nothing rather than throwing — a
|
|
1246
|
+
* caller exporting "these, if present" is an ordinary call, and refusing it
|
|
1247
|
+
* would push a pre-check onto every caller.
|
|
1248
|
+
*
|
|
1249
|
+
* ⛔ Internal, underscore-prefixed collections stay unexportable even when
|
|
1250
|
+
* named explicitly. The unscoped path gets that filter free from `loadAll`;
|
|
1251
|
+
* the scoped path applies it itself, because a filter that depends on which
|
|
1252
|
+
* route reached the data is a filter waiting to be lost.
|
|
1253
|
+
*/
|
|
1254
|
+
readonly collections?: readonly string[];
|
|
1210
1255
|
}
|
|
1211
1256
|
/**
|
|
1212
1257
|
* One chunk yielded by `Vault.exportStream()`.
|
|
@@ -1407,6 +1452,35 @@ export interface PushResult {
|
|
|
1407
1452
|
/** #590: tombstone enforcements applied during this run (never resolver-visible). */
|
|
1408
1453
|
readonly erasures?: ErasureEnforcement[];
|
|
1409
1454
|
}
|
|
1455
|
+
/**
|
|
1456
|
+
* core#81 — a progress sample during a pull or push. Emitted as
|
|
1457
|
+
* `sync:progress`, throttled (every 25 records or ~250 ms, whichever first),
|
|
1458
|
+
* and mirrored on `SyncTargetStatus.inFlight` for a UI that polls. `total`
|
|
1459
|
+
* is present once the engine knows it: for a pull, after the remote snapshot
|
|
1460
|
+
* has been downloaded (progress then measures the APPLY phase, which is the
|
|
1461
|
+
* long one on an indexed store); for a push, from the first sample (the
|
|
1462
|
+
* dirty log is local). `bytes` approximates ciphertext payload size.
|
|
1463
|
+
*/
|
|
1464
|
+
export interface SyncProgress {
|
|
1465
|
+
readonly direction: 'pull' | 'push';
|
|
1466
|
+
readonly phase: 'reserved' | 'summaries' | 'records';
|
|
1467
|
+
readonly records: number;
|
|
1468
|
+
readonly bytes: number;
|
|
1469
|
+
readonly total?: {
|
|
1470
|
+
readonly records: number;
|
|
1471
|
+
readonly bytes?: number;
|
|
1472
|
+
};
|
|
1473
|
+
}
|
|
1474
|
+
/** core#82 — result of `db.realign(vault)`. */
|
|
1475
|
+
export interface RealignResult {
|
|
1476
|
+
/** Local user-collection envelopes examined. */
|
|
1477
|
+
readonly checked: number;
|
|
1478
|
+
/** Envelopes that failed to authenticate locally and were replaced from the target. */
|
|
1479
|
+
readonly replaced: number;
|
|
1480
|
+
/** Envelopes that failed locally AND the target's copy failed or was absent — left as they were, listed in `errors`. */
|
|
1481
|
+
readonly unrecoverable: number;
|
|
1482
|
+
readonly errors: Error[];
|
|
1483
|
+
}
|
|
1410
1484
|
export interface PullResult {
|
|
1411
1485
|
readonly pulled: number;
|
|
1412
1486
|
readonly conflicts: Conflict[];
|
|
@@ -1450,6 +1524,8 @@ export interface SyncStatus {
|
|
|
1450
1524
|
readonly lastPush: string | null;
|
|
1451
1525
|
/** As {@link SyncStatus.lastPush}, for pulls: last pull that had no errors. */
|
|
1452
1526
|
readonly lastPull: string | null;
|
|
1527
|
+
/** core#81 — the running sync's latest progress sample, or absent when idle. */
|
|
1528
|
+
readonly inFlight?: SyncProgress;
|
|
1453
1529
|
/**
|
|
1454
1530
|
* Whether the **browser** reports network connectivity — driven solely by the
|
|
1455
1531
|
* global `online`/`offline` events (#1034). It is NOT target reachability: an
|
|
@@ -1549,6 +1625,8 @@ export interface SyncTargetStatus {
|
|
|
1549
1625
|
* not pulled.
|
|
1550
1626
|
*/
|
|
1551
1627
|
readonly caughtUp: boolean;
|
|
1628
|
+
/** core#81 — the running sync's latest progress sample, or absent when nothing is in flight. */
|
|
1629
|
+
readonly inFlight?: SyncProgress;
|
|
1552
1630
|
}
|
|
1553
1631
|
export interface SyncTargetInfo {
|
|
1554
1632
|
readonly label: string | undefined;
|
|
@@ -1591,6 +1669,8 @@ export interface NoydbEventMap {
|
|
|
1591
1669
|
};
|
|
1592
1670
|
'sync:push': PushResult;
|
|
1593
1671
|
'sync:pull': PullResult;
|
|
1672
|
+
/** core#81 — emitted while a pull/push runs (throttled); `sync:push`/`sync:pull` stay the terminal events. */
|
|
1673
|
+
'sync:progress': SyncProgress;
|
|
1594
1674
|
'sync:erasure': ErasureEnforcement;
|
|
1595
1675
|
'sync:conflict': Conflict;
|
|
1596
1676
|
'write:conflict': WriteConflict;
|
|
@@ -3664,6 +3744,13 @@ export type ActiveTier = 1 | 2 | 3;
|
|
|
3664
3744
|
* duplicated here (rather than imported) because the kernel spine may not
|
|
3665
3745
|
* statically import a with-* service; see {@link PolicyCheckGateFn}.
|
|
3666
3746
|
*/
|
|
3747
|
+
/**
|
|
3748
|
+
* `PolicyCheckGateContext` — PUBLISHED API, reachable from @noy-db/hub, @noy-db/hub/policy. Flagged as unused because
|
|
3749
|
+
* nothing inside hub imports it from this module; a consumer does. Do not narrow
|
|
3750
|
+
* or delete without a seam change (#55).
|
|
3751
|
+
*
|
|
3752
|
+
* @public
|
|
3753
|
+
*/
|
|
3667
3754
|
export interface PolicyCheckGateContext {
|
|
3668
3755
|
/** Tier the active session currently holds. */
|
|
3669
3756
|
readonly activeTier: ActiveTier;
|
|
@@ -135,16 +135,6 @@ export declare function assertStrongSecret(s: string, opts?: SecretPolicy & {
|
|
|
135
135
|
* weak inputs visible in any UI that displays an entropy meter.
|
|
136
136
|
*/
|
|
137
137
|
export declare function estimateEntropy(secret: string): number;
|
|
138
|
-
/**
|
|
139
|
-
* Internal compatibility shim. Older code paths used the throwing
|
|
140
|
-
* `validateSecret(s)` directly; some still do via re-exports. Routes
|
|
141
|
-
* to the new `assertStrongSecret` so the contract holds for both
|
|
142
|
-
* shapes during the transition. New code should call
|
|
143
|
-
* {@link assertStrongSecret} directly.
|
|
144
|
-
*
|
|
145
|
-
* @internal
|
|
146
|
-
*/
|
|
147
|
-
export declare function legacyAssertSecret(s: string): void;
|
|
148
138
|
/** Dedicated floors for the echo mode's three parts (spec resolved Q1/Q5). */
|
|
149
139
|
export interface EchoSecretPolicy {
|
|
150
140
|
/** Floor for the typed prompt — the brute-forceable-in-isolation part. */
|
package/dist/kernel/vault.d.ts
CHANGED
|
@@ -1152,6 +1152,8 @@ export declare class Vault {
|
|
|
1152
1152
|
* collection.
|
|
1153
1153
|
*/
|
|
1154
1154
|
delegate(opts: IssueDelegationOptions): Promise<DelegationToken>;
|
|
1155
|
+
/** Merge live delegations into the keyring — core#56's read half. Explicit, not automatic; cross-user delegation does not work yet. Both reasons: `with-party/team/delegation.ts`. */
|
|
1156
|
+
refreshDelegations(now?: Date): Promise<DelegationToken[]>;
|
|
1155
1157
|
/**
|
|
1156
1158
|
* revoke an issued delegation by id. Safe to call even
|
|
1157
1159
|
* if the id does not exist.
|
|
@@ -1389,6 +1391,8 @@ export declare class Vault {
|
|
|
1389
1391
|
* collection-cache clear, ledger-store reset) that `load()` performs on this
|
|
1390
1392
|
* Vault's private state.
|
|
1391
1393
|
*/
|
|
1394
|
+
/** core#82 — sync pulled a newer copy of THIS user's keyring file: reload it in place, rebuild the DEK resolver, drop cached collections. */
|
|
1395
|
+
_reloadKeyringAfterSync(): Promise<void>;
|
|
1392
1396
|
private backupContext;
|
|
1393
1397
|
/**
|
|
1394
1398
|
* Restore a vault from a verifiable backup.
|
|
@@ -39,8 +39,7 @@ import { type HasWritableViaPipeline } from './pipeline.js';
|
|
|
39
39
|
import { type MergedViaFields } from './compose.js';
|
|
40
40
|
import type { ViaGraph } from './graph.js';
|
|
41
41
|
import type { RefDescriptor } from '../refs.js';
|
|
42
|
-
import { type I18nStrategy, type I18nTextDescriptor, type
|
|
43
|
-
import { type LookupDescriptor } from '../../port/with/lookup-strategy.js';
|
|
42
|
+
import { type I18nStrategy, type I18nTextDescriptor, type StaticDictDescriptor, type DictionaryHandle } from '../../port/with/i18n-strategy.js';
|
|
44
43
|
type AnyCollection = Collection<Record<string, unknown>>;
|
|
45
44
|
/**
|
|
46
45
|
* Structural reconcile-capable collection handle: `_via`/`_setVia` (#666's writer seam) plus the
|
|
@@ -98,46 +97,6 @@ export interface ViaReconcileVaultCtx {
|
|
|
98
97
|
* gate has already confirmed it is open — never the door that opens it. */
|
|
99
98
|
getCollection(name: string): AnyCollection;
|
|
100
99
|
}
|
|
101
|
-
/**
|
|
102
|
-
* #664 Part 2 — late-attach i18nText fields. First-wins (mirrors `_applyMoneyFields`'s own
|
|
103
|
-
* first-wins convention): a no-op once the collection already has an 'i18n' binding, whether
|
|
104
|
-
* that binding came from fresh construction or an earlier reconcile call. `dictKeyFields` is an
|
|
105
|
-
* optional SECOND family arriving in the SAME `vault.collection()` call (`mergeViaFields` already
|
|
106
|
-
* combined them for this one call) — passed through so ONE binding rebuild covers both, exactly
|
|
107
|
-
* like `compileVias` builds ONE 'i18n' binding from both maps at fresh construction.
|
|
108
|
-
*/
|
|
109
|
-
export declare function reconcileI18nFields(coll: ReconcilableCollection, vaultCtx: ViaReconcileVaultCtx, name: string, i18nFields: Record<string, I18nTextDescriptor> | undefined, dictKeyFields?: Record<string, DictKeyDescriptor | StaticDictDescriptor>): void;
|
|
110
|
-
/**
|
|
111
|
-
* #664 Part 2 — late-attach dictKeyFields (dictKey()/staticDict()) with NO i18nFields in the same
|
|
112
|
-
* call — the dictKey-only late-attach door. First-wins, same convention as
|
|
113
|
-
* {@link reconcileI18nFields} (and, transitively, a no-op if that sibling function already
|
|
114
|
-
* handled a combined i18nFields+dictKeyFields call for this collection).
|
|
115
|
-
*/
|
|
116
|
-
export declare function reconcileDictKeyFields(coll: ReconcilableCollection, vaultCtx: ViaReconcileVaultCtx, name: string, dictKeyFields: Record<string, DictKeyDescriptor | StaticDictDescriptor> | undefined): void;
|
|
117
|
-
/**
|
|
118
|
-
* #664 Part 2b — late-attach lookup()/enumOf()/dict() fields, tier-scoped (issue #664, spec-
|
|
119
|
-
* ratified tier policy):
|
|
120
|
-
*
|
|
121
|
-
* - **enum** (`backing:'static'`, no `table`) / **static** (`+table`) — self-contained:
|
|
122
|
-
* membership/labels come from the declared `keys`/`table` alone, no vault registry touch, no
|
|
123
|
-
* cross-collection read. Clean attach, same shape as i18n/dictKey's own reconcile door.
|
|
124
|
-
* - **reserved** (`dict()` / `lookup(dim, { backing:'reserved' })`) — additionally registers into
|
|
125
|
-
* the SAME vault registries the fresh path populates (`vault.ts`'s dictKeyFields/lookupFields
|
|
126
|
-
* registry-population loop) — `dictKeyFieldRegistry`/`reservedLookupCollections` for a bare
|
|
127
|
-
* dict field; `staticDescriptorByField`/`staticByName`/`staticDictNames` for a table-bearing
|
|
128
|
-
* static field — via `collectLookupDictCompat` (#650 Task 2's alias-equivalence bridge, the
|
|
129
|
-
* SAME helper the fresh path already calls), reused verbatim, not duplicated.
|
|
130
|
-
* - **matrix** (`backing:'collection'`) — gated by {@link refuseUnattachableMatrixLookupFields}.
|
|
131
|
-
*
|
|
132
|
-
* First-wins (mirrors {@link reconcileI18nFields}): a no-op once the collection already has a
|
|
133
|
-
* 'lookup' binding, whether from fresh construction or an earlier reconcile call.
|
|
134
|
-
*
|
|
135
|
-
* Post-attach, registers the SAME cross-collection `'ref'` graph edges the fresh path does
|
|
136
|
-
* (`registerLookupRefEdges` — internally skips the static tier, which has no backing collection to
|
|
137
|
-
* reference-check) — `ViaGraph.referencingEdgesOf` sees them immediately, so delete-time
|
|
138
|
-
* restrict/cascade/nullify semantics are live post-attach too, same as a fresh declaration.
|
|
139
|
-
*/
|
|
140
|
-
export declare function reconcileLookupFields(coll: ReconcilableCollection, vaultCtx: ViaReconcileVaultCtx, graph: ViaGraph, name: string, lookupFields: Record<string, LookupDescriptor> | undefined): void;
|
|
141
100
|
/** The late-attach reconcile call's field-declaring options — the slice of `vault.collection()`'s
|
|
142
101
|
* `options` a reconcile call may carry, plus the `mergeViaFields` output that feeds both the
|
|
143
102
|
* guard and the money/i18n/dictKey/lookup reconciles. `blobFields` has no `_apply*` door (guard
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
LedgerStore,
|
|
4
4
|
applyPatch,
|
|
5
5
|
computePatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-L2F3CFCH.js";
|
|
7
7
|
import {
|
|
8
8
|
LEDGER_COLLECTION,
|
|
9
9
|
LEDGER_DELTAS_COLLECTION
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
paddedIndex,
|
|
16
16
|
parseIndex,
|
|
17
17
|
sha256Hex
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-2WJKJZSO.js";
|
|
19
|
+
import "./chunk-4J3MNVVX.js";
|
|
20
|
+
import "./chunk-ZBUAX4EF.js";
|
|
21
|
+
import "./chunk-SPPOUJLN.js";
|
|
22
22
|
import "./chunk-NH2UOV3B.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-OM3SEDI4.js";
|
|
24
|
+
import "./chunk-PUBI455O.js";
|
|
25
|
+
import "./chunk-2ELOCEXE.js";
|
|
26
|
+
import "./chunk-VSUQI5Q6.js";
|
|
27
27
|
export {
|
|
28
28
|
LEDGER_COLLECTION,
|
|
29
29
|
LEDGER_DELTAS_COLLECTION,
|
|
@@ -37,4 +37,4 @@ export {
|
|
|
37
37
|
parseIndex,
|
|
38
38
|
sha256Hex
|
|
39
39
|
};
|
|
40
|
-
//# sourceMappingURL=ledger-
|
|
40
|
+
//# sourceMappingURL=ledger-MSJGWKGW.js.map
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import {
|
|
2
|
+
liberateVault
|
|
3
|
+
} from "./chunk-XITHENBI.js";
|
|
4
|
+
import "./chunk-SNM7LSYG.js";
|
|
5
|
+
import "./chunk-55P6OBB7.js";
|
|
6
|
+
import "./chunk-XKBTJGFP.js";
|
|
7
|
+
import "./chunk-RDOEOPOI.js";
|
|
8
|
+
import "./chunk-YQFBH5ZJ.js";
|
|
9
|
+
import "./chunk-GMKGGY7V.js";
|
|
10
|
+
import "./chunk-45VHWE4C.js";
|
|
11
|
+
import "./chunk-FZXRLNJO.js";
|
|
12
|
+
import "./chunk-UHFGK6YA.js";
|
|
13
|
+
import "./chunk-RIZTZJX6.js";
|
|
14
|
+
import "./chunk-4J3MNVVX.js";
|
|
15
|
+
import "./chunk-ZBUAX4EF.js";
|
|
16
|
+
import "./chunk-SPPOUJLN.js";
|
|
17
|
+
import "./chunk-NH2UOV3B.js";
|
|
18
|
+
import "./chunk-OM3SEDI4.js";
|
|
19
|
+
import "./chunk-PUBI455O.js";
|
|
20
|
+
import "./chunk-2ELOCEXE.js";
|
|
21
|
+
import "./chunk-VSUQI5Q6.js";
|
|
22
|
+
export {
|
|
23
|
+
liberateVault
|
|
24
|
+
};
|
|
25
|
+
//# sourceMappingURL=liberate-LEKDYKTC.js.map
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LinkEndpointError,
|
|
3
3
|
LinkSet
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-EUD3HQM4.js";
|
|
5
5
|
import {
|
|
6
6
|
LINK_COLLECTION_PREFIX,
|
|
7
7
|
LinkIntegrityError,
|
|
8
8
|
isLinkCollectionName,
|
|
9
9
|
linkCollectionName,
|
|
10
10
|
linkRowKey
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-UAKY6E4N.js";
|
|
12
|
+
import "./chunk-4J3MNVVX.js";
|
|
13
|
+
import "./chunk-ZBUAX4EF.js";
|
|
14
|
+
import "./chunk-SPPOUJLN.js";
|
|
15
15
|
import "./chunk-NH2UOV3B.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-OM3SEDI4.js";
|
|
17
|
+
import "./chunk-PUBI455O.js";
|
|
18
|
+
import "./chunk-2ELOCEXE.js";
|
|
19
|
+
import "./chunk-VSUQI5Q6.js";
|
|
20
20
|
export {
|
|
21
21
|
LINK_COLLECTION_PREFIX,
|
|
22
22
|
LinkEndpointError,
|
|
@@ -26,4 +26,4 @@ export {
|
|
|
26
26
|
linkCollectionName,
|
|
27
27
|
linkRowKey
|
|
28
28
|
};
|
|
29
|
-
//# sourceMappingURL=link-set-
|
|
29
|
+
//# sourceMappingURL=link-set-QXXSPPHL.js.map
|