@noy-db/hub 0.8.0 → 0.9.0-pre.1
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 +49 -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-6EFD43KN.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-RJBFQSHE.js} +92 -31
- package/dist/backup-RJBFQSHE.js.map +1 -0
- 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/crypto.d.ts +18 -0
- package/dist/capsule/enclave-aes/index.d.ts +3 -3
- package/dist/capsule/enclave-aes/index.js +46 -14
- package/dist/capsule/enclave-aes/index.js.map +1 -1
- package/dist/capsule/index.d.ts +2 -2
- package/dist/capsule/plumbing/record-codec.d.ts +7 -0
- package/dist/{capsule-VOLX3QRQ.js → capsule-6LJAVQNM.js} +14 -8
- package/dist/cargo/index.js +35 -35
- package/dist/{chunk-GZT3NQRA.js → chunk-25FXU6WS.js} +8 -2
- package/dist/chunk-25FXU6WS.js.map +1 -0
- package/dist/{chunk-OYW3I5M4.js → chunk-2DOCDOPL.js} +6 -6
- package/dist/chunk-2DX4JCRI.js +1 -0
- package/dist/{chunk-FLPCETP6.js → chunk-2LBS62AC.js} +2 -2
- package/dist/{chunk-WXE4W2U6.js → chunk-2ST3WA3C.js} +4 -4
- package/dist/{chunk-DQESF6RP.js → chunk-3G3GOGZZ.js} +50 -40
- package/dist/chunk-3G3GOGZZ.js.map +1 -0
- package/dist/{chunk-O2IMQSNA.js → chunk-3YBIVLTC.js} +2 -2
- package/dist/{chunk-LGNDFRYC.js → chunk-4CFHL5RY.js} +1 -1
- package/dist/chunk-4CFHL5RY.js.map +1 -0
- package/dist/{chunk-DIZLQVAA.js → chunk-4CHM2TRS.js} +2 -2
- package/dist/{chunk-V7ADQF5O.js → chunk-4CUJLEOA.js} +4 -4
- package/dist/{chunk-3EWS67C7.js → chunk-4TG2ITRW.js} +2 -2
- package/dist/{chunk-HS554XAF.js → chunk-5HQFROZS.js} +2 -2
- package/dist/{chunk-IUBMZPHM.js → chunk-5ZVE3N5C.js} +5 -6
- package/dist/chunk-5ZVE3N5C.js.map +1 -0
- package/dist/{chunk-PP3K67AJ.js → chunk-654RE5YC.js} +3 -3
- package/dist/{chunk-FOEDQATO.js → chunk-66GD7XXU.js} +2 -2
- package/dist/{chunk-BNWA3WG5.js → chunk-72FQ46VW.js} +3 -3
- package/dist/{chunk-EYG2CY2X.js → chunk-7JPA3LIH.js} +11 -11
- package/dist/chunk-7JPA3LIH.js.map +1 -0
- package/dist/{chunk-JQYKPKG6.js → chunk-7K42TSCY.js} +4 -4
- package/dist/{chunk-BPWYQ25R.js → chunk-7Q6IU3R7.js} +4 -4
- package/dist/{chunk-BPWYQ25R.js.map → chunk-7Q6IU3R7.js.map} +1 -1
- package/dist/{chunk-T7IR4N2S.js → chunk-7UHLO4ZN.js} +37 -2
- package/dist/chunk-7UHLO4ZN.js.map +1 -0
- package/dist/{chunk-UEFOQH74.js → chunk-ADCXTW7L.js} +2 -2
- package/dist/{chunk-MBMTND6D.js → chunk-AGGPT4UE.js} +2 -2
- package/dist/{chunk-RB4DOPGZ.js → chunk-AKIEBFIJ.js} +10 -10
- package/dist/{chunk-VHBKYN2J.js → chunk-B3B6HV5S.js} +2 -2
- package/dist/{chunk-JWWYRR4Q.js → chunk-B6EWMGFX.js} +2 -2
- package/dist/{chunk-H7JBY4P7.js → chunk-B7Y2BRQA.js} +14 -14
- package/dist/chunk-B7Y2BRQA.js.map +1 -0
- package/dist/{chunk-4CIQDWRB.js → chunk-BFJE2GPP.js} +14 -8
- package/dist/{chunk-4CIQDWRB.js.map → chunk-BFJE2GPP.js.map} +1 -1
- package/dist/{chunk-WPOYWFSE.js → chunk-BJRKXNFP.js} +7 -7
- package/dist/{chunk-H427H63K.js → chunk-BPQ5CRJF.js} +2 -2
- package/dist/{chunk-VFHCKG5M.js → chunk-BVRJYMFZ.js} +3 -3
- package/dist/{chunk-244QBK7Z.js → chunk-C4XV3PSJ.js} +4 -4
- package/dist/{chunk-244QBK7Z.js.map → chunk-C4XV3PSJ.js.map} +1 -1
- package/dist/{chunk-SMV2HRDU.js → chunk-DFC4WTJW.js} +2 -2
- package/dist/{chunk-5A4345TG.js → chunk-DMIEKD24.js} +3 -3
- package/dist/{chunk-TKVUE4JF.js → chunk-DQAXA2GK.js} +9 -9
- package/dist/{chunk-AL6ML4LA.js → chunk-DWCFGF2K.js} +5 -5
- package/dist/{chunk-Y3LPTBG7.js → chunk-E2C6FFSI.js} +6 -9
- package/dist/chunk-E2C6FFSI.js.map +1 -0
- package/dist/{chunk-LNSVGRHO.js → chunk-EQ6C2ZPT.js} +17 -51
- package/dist/chunk-EQ6C2ZPT.js.map +1 -0
- package/dist/chunk-EZOFTI4K.js +60 -0
- package/dist/chunk-EZOFTI4K.js.map +1 -0
- package/dist/{chunk-PD64727P.js → chunk-FMINS2B6.js} +2 -2
- package/dist/chunk-FMINS2B6.js.map +1 -0
- package/dist/{chunk-QBLT6POL.js → chunk-FPF5HRBE.js} +2 -2
- package/dist/{chunk-UA372JHH.js → chunk-FZVCZEVI.js} +3 -3
- package/dist/chunk-FZVCZEVI.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-5WWDGFOS.js → chunk-GIQJGXV7.js} +2 -2
- package/dist/{chunk-V3RWOOSO.js → chunk-GYZICGRU.js} +4 -4
- package/dist/chunk-GYZICGRU.js.map +1 -0
- package/dist/{chunk-BVCUTXE3.js → chunk-H334G6KU.js} +2 -2
- package/dist/{chunk-AEQGFRU4.js → chunk-HE7EAHGS.js} +3 -3
- package/dist/chunk-HKB4HZDU.js +74 -0
- package/dist/chunk-HKB4HZDU.js.map +1 -0
- package/dist/{chunk-4V3Q35WG.js → chunk-ICF3TIGY.js} +3 -3
- package/dist/{chunk-3L2NBKDR.js → chunk-IF2M43G4.js} +2 -2
- package/dist/{chunk-37EPTBBR.js → chunk-IKPQ2GGB.js} +46 -4
- package/dist/chunk-IKPQ2GGB.js.map +1 -0
- package/dist/{chunk-DHHGL42E.js → chunk-IKS2CPAG.js} +27 -11
- package/dist/chunk-IKS2CPAG.js.map +1 -0
- package/dist/{chunk-3A5DUZ56.js → chunk-IMIQAGR7.js} +6 -6
- package/dist/{chunk-3A5DUZ56.js.map → chunk-IMIQAGR7.js.map} +1 -1
- package/dist/{chunk-A4XMIZT3.js → chunk-IQAJ4OR6.js} +41 -6
- package/dist/chunk-IQAJ4OR6.js.map +1 -0
- package/dist/{chunk-IUT3GWP3.js → chunk-IUD7WU67.js} +17 -93
- package/dist/chunk-IUD7WU67.js.map +1 -0
- package/dist/{chunk-AUKKUPVB.js → chunk-IVLRPRXM.js} +2 -2
- package/dist/{chunk-GUZET4SG.js → chunk-JAQHWHUN.js} +4 -4
- package/dist/chunk-JAQHWHUN.js.map +1 -0
- package/dist/{chunk-Y2RKVFKR.js → chunk-K4JSTGXT.js} +2 -2
- package/dist/{chunk-EJLV62NI.js → chunk-KN4LUMH6.js} +2 -2
- package/dist/{chunk-23D6M6VM.js → chunk-KZA3DITX.js} +4 -4
- package/dist/{chunk-E2N2T5ZO.js → chunk-L2VM64HK.js} +2 -2
- package/dist/chunk-L4UL4IAR.js +55 -0
- package/dist/chunk-L4UL4IAR.js.map +1 -0
- package/dist/{chunk-UIYESRD6.js → chunk-LUCQY3OM.js} +10 -10
- package/dist/{chunk-UIYESRD6.js.map → chunk-LUCQY3OM.js.map} +1 -1
- package/dist/{chunk-O46CHQT7.js → chunk-MAQBYBUX.js} +4 -4
- package/dist/{chunk-EZOAKKTB.js → chunk-MBPZMZVB.js} +2 -2
- package/dist/{chunk-XQRFSKYM.js → chunk-MCNNZBG7.js} +2 -2
- package/dist/{chunk-YRXFFWG4.js → chunk-MLVPMDOZ.js} +2 -2
- package/dist/{chunk-5FE75J4S.js → chunk-MMCN7TLK.js} +5 -5
- package/dist/{chunk-MXOQ5JCG.js → chunk-MRCR7ZMC.js} +686 -202
- package/dist/chunk-MRCR7ZMC.js.map +1 -0
- package/dist/{chunk-SYNY3VB5.js → chunk-NCTN2FW4.js} +2 -2
- package/dist/{chunk-4T3SE27M.js → chunk-ND6S2DKC.js} +2 -2
- package/dist/{chunk-3XJQBBZD.js → chunk-NTVKHQ3L.js} +2 -2
- package/dist/{chunk-RHVMZSUU.js → chunk-NV4OESHC.js} +1 -1
- package/dist/chunk-NV4OESHC.js.map +1 -0
- package/dist/chunk-NXQEOC3X.js +40 -0
- package/dist/chunk-NXQEOC3X.js.map +1 -0
- package/dist/{chunk-Q4UHJ5SN.js → chunk-O2VQ3K36.js} +2 -2
- 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-2GHDLTPE.js → chunk-OGKMRIIJ.js} +2 -2
- package/dist/{chunk-N7EVQD5S.js → chunk-ONZ3B5EW.js} +4 -4
- package/dist/{chunk-VKI2EB3N.js → chunk-OOPSMQX5.js} +3 -3
- package/dist/{chunk-VMV5SBE4.js → chunk-OYEBSWLE.js} +5 -5
- package/dist/{chunk-JDEYF3PJ.js → chunk-P6FATPXQ.js} +2 -2
- package/dist/chunk-P6FATPXQ.js.map +1 -0
- package/dist/{chunk-VVOLDVIR.js → chunk-PLTIJDQN.js} +2 -2
- package/dist/{chunk-OKSTSITU.js → chunk-PR7ILCIH.js} +3 -3
- package/dist/{chunk-7R2Q7CPL.js → chunk-QE3TLZ6Z.js} +7 -7
- package/dist/{chunk-G2MVBDFP.js → chunk-QFW4MYGN.js} +39 -9
- package/dist/chunk-QFW4MYGN.js.map +1 -0
- package/dist/{chunk-6QVKPHBF.js → chunk-QHG7GQKM.js} +2 -2
- package/dist/chunk-QJNAHPVT.js +91 -0
- package/dist/chunk-QJNAHPVT.js.map +1 -0
- package/dist/{chunk-LIOVX5TJ.js → chunk-QT5ITL25.js} +3 -3
- package/dist/{chunk-IMQKWR46.js → chunk-R2ZULFXU.js} +4 -5
- package/dist/chunk-R2ZULFXU.js.map +1 -0
- package/dist/{chunk-Q2XRFWOI.js → chunk-RRTQAQ3N.js} +2 -2
- package/dist/{chunk-H23XHRTT.js → chunk-RUE6TCES.js} +809 -101
- package/dist/chunk-RUE6TCES.js.map +1 -0
- package/dist/chunk-RWFQVNXR.js +24 -0
- package/dist/chunk-RWFQVNXR.js.map +1 -0
- package/dist/{chunk-2PVXF5CS.js → chunk-SALY3LIJ.js} +3 -3
- package/dist/{chunk-JOSPH3E5.js → chunk-SBAR5JQ6.js} +2 -2
- package/dist/{chunk-N7UDP5VU.js → chunk-SCH2F7R2.js} +7 -7
- package/dist/{chunk-MXKI4ABF.js → chunk-SOOAW6HK.js} +3 -3
- package/dist/{chunk-VQDZYB2B.js → chunk-T4VTRKCY.js} +3 -3
- package/dist/{chunk-VQDZYB2B.js.map → chunk-T4VTRKCY.js.map} +1 -1
- package/dist/{chunk-TEHHROZL.js → chunk-T5EXREMW.js} +5 -5
- package/dist/{chunk-M5B2W6YY.js → chunk-TDJVQTXD.js} +3 -3
- package/dist/{chunk-QMWY2FDS.js → chunk-THQ3BHLM.js} +2 -2
- package/dist/{chunk-VAORSCSU.js → chunk-TLIFNRU5.js} +2 -2
- package/dist/chunk-TLIFNRU5.js.map +1 -0
- package/dist/{chunk-FVH5QYY2.js → chunk-TRHUNPXP.js} +2 -2
- package/dist/{chunk-EGVJ7TM4.js → chunk-UL6MTRMJ.js} +8 -9
- package/dist/chunk-UL6MTRMJ.js.map +1 -0
- package/dist/chunk-UNL6YGL5.js +169 -0
- package/dist/chunk-UNL6YGL5.js.map +1 -0
- package/dist/{chunk-747G6CT3.js → chunk-UORWAG7K.js} +2 -2
- package/dist/{chunk-XSPFDUDG.js → chunk-V7AKGAXY.js} +314 -77
- package/dist/chunk-V7AKGAXY.js.map +1 -0
- package/dist/{chunk-TZZBXPZK.js → chunk-VLQ6KT7F.js} +2 -2
- package/dist/{chunk-NCO25JZO.js → chunk-VP37VUKQ.js} +4 -4
- package/dist/{chunk-52MGURXO.js → chunk-WBUHHMLN.js} +2 -2
- package/dist/{chunk-EZGV6F47.js → chunk-WRLWEYHY.js} +7 -1
- package/dist/chunk-WRLWEYHY.js.map +1 -0
- package/dist/{chunk-2MG3SW7Q.js → chunk-X6Z2SIRF.js} +2 -2
- package/dist/{chunk-U2FZNEWJ.js → chunk-XLKWF3L4.js} +8 -6
- package/dist/{chunk-U2FZNEWJ.js.map → chunk-XLKWF3L4.js.map} +1 -1
- package/dist/{chunk-5UMK7GRI.js → chunk-XPNJH7GN.js} +5 -5
- package/dist/{chunk-KZXDLBY6.js → chunk-XPW7T2GN.js} +5 -5
- package/dist/{chunk-SV2PM2OY.js → chunk-XX4R7TUB.js} +1 -1
- package/dist/chunk-XX4R7TUB.js.map +1 -0
- package/dist/{chunk-NBQ3KK6X.js → chunk-Y55XHMQB.js} +4 -4
- package/dist/chunk-Y55XHMQB.js.map +1 -0
- package/dist/{chunk-5KC7QYEC.js → chunk-YH4OUOSI.js} +33 -7
- package/dist/chunk-YH4OUOSI.js.map +1 -0
- package/dist/{chunk-FFJFE4T7.js → chunk-YJGKOSQD.js} +2 -2
- package/dist/{chunk-2AFX33YA.js → chunk-Z3STG43F.js} +3 -3
- package/dist/chunk-Z3STG43F.js.map +1 -0
- package/dist/{chunk-OIEO4WDL.js → chunk-ZD7WFMV2.js} +2 -2
- package/dist/chunk-ZD7WFMV2.js.map +1 -0
- package/dist/{chunk-42ALPZ2B.js → chunk-ZF6JECDT.js} +4 -4
- package/dist/{chunk-42ALPZ2B.js.map → chunk-ZF6JECDT.js.map} +1 -1
- package/dist/{chunk-4JPMZTJY.js → chunk-ZF7KNSLU.js} +2 -2
- package/dist/{chunk-2ODVB6LZ.js → chunk-ZGKODRGB.js} +2 -2
- package/dist/{chunk-JIBUPZHA.js → chunk-ZNEKQFGF.js} +4 -4
- package/dist/{chunk-DLD5LGDS.js → chunk-ZUTUNVFD.js} +3 -3
- package/dist/{chunk-JSMTXZR3.js → chunk-ZWMOHANW.js} +8 -6
- package/dist/chunk-ZWMOHANW.js.map +1 -0
- package/dist/{chunk-MILI22XQ.js → chunk-ZZZ4VCY2.js} +10 -10
- package/dist/chunk-ZZZ4VCY2.js.map +1 -0
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-SIYKUU5L.js → classified-marker-WKP33U2R.js} +3 -3
- package/dist/collection-facade-COSGZKLC.js +41 -0
- package/dist/{computed-FAD7SED4.js → computed-WN6V53ZV.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-43WL3Y5H.js} +10 -10
- package/dist/debug/index.js +7 -7
- package/dist/delegation-5UWT4JGT.js +26 -0
- package/dist/derivations/index.js +24 -23
- package/dist/derive-IL5JNLEE.js +20 -0
- package/dist/directory/index.js +9 -9
- package/dist/{dispatch-JDZNGEB3.js → dispatch-LOQQD5JK.js} +20 -20
- package/dist/{dispatch-H4HV32AM.js → dispatch-SHKTG57L.js} +5 -5
- package/dist/executor-6PQ7WAGV.js +35 -0
- package/dist/executor-6ZPQA6HS.js +8 -0
- package/dist/executor-OXRA64TY.js +8 -0
- package/dist/export-accessible-XG3FKJWW.js +22 -0
- package/dist/extract-partition-33747NY5.js +35 -0
- package/dist/{fanout-sidecar-L7NHPIOC.js → fanout-sidecar-NEB6IYV7.js} +8 -8
- package/dist/find-VW543G3J.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 +15 -13
- package/dist/history/index.js.map +1 -1
- package/dist/i18n/index.js +13 -13
- package/dist/index.d.ts +9 -6
- package/dist/index.js +126 -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-4ZPSY44M.js +19 -0
- package/dist/kernel/cache/index.d.ts +1 -1
- package/dist/kernel/collection.d.ts +86 -6
- package/dist/kernel/constants.d.ts +7 -0
- package/dist/kernel/errors.d.ts +42 -4
- package/dist/kernel/export-scope.d.ts +40 -0
- package/dist/kernel/merge-authority.d.ts +5 -1
- package/dist/kernel/noydb.d.ts +118 -21
- 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/rejection-seal.d.ts +13 -0
- package/dist/kernel/sync-wiring.d.ts +55 -0
- package/dist/kernel/tx-write-gate.d.ts +2 -4
- package/dist/kernel/types.d.ts +463 -14
- package/dist/kernel/validation.d.ts +0 -10
- package/dist/kernel/vault.d.ts +42 -4
- package/dist/kernel/via/reconcile.d.ts +1 -42
- package/dist/{ledger-5ZMGE44K.js → ledger-MZ25UFT2.js} +10 -10
- package/dist/liberate-OJIP2ZFX.js +25 -0
- package/dist/{link-set-MFXC24VK.js → link-set-4FRRAVTH.js} +10 -10
- package/dist/{managed-secret-MFTFT22X.js → managed-secret-SQWO2EUR.js} +9 -9
- package/dist/materialized-views/index.js +26 -26
- package/dist/{migrate-cek-DZRFFOHW.js → migrate-cek-JWEM4RP6.js} +2 -2
- package/dist/money/index.js +5 -5
- package/dist/noydb-U62OVKXB.js +100 -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 +71 -67
- package/dist/{pod-handle-A3LET7NO.js → pod-handle-R6Y4MILX.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/admission-authority.d.ts +34 -0
- package/dist/port/with/broker-strategy.d.ts +24 -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/rejection-courier.d.ts +37 -0
- package/dist/port/with/restore-host.d.ts +33 -0
- package/dist/port/with/service-bus.d.ts +20 -1
- package/dist/port/with/team-strategy.d.ts +2 -2
- package/dist/port/with/write-hooks.d.ts +2 -0
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-7ND27CF2.js → post-register-GRVQHBOH.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-YJ5YLQ36.js +30 -0
- package/dist/registry-ICOHBQFD.js +8 -0
- package/dist/registry-MJ7MWCSW.js +35 -0
- package/dist/registry-MVEKKGWL.js +23 -0
- package/dist/registry-XP744FAP.js +8 -0
- package/dist/request-withdrawal-LSU4G6W3.js +28 -0
- package/dist/restore-to-DVBHAQAA.js +66 -0
- package/dist/restore-to-DVBHAQAA.js.map +1 -0
- package/dist/{reveal-B2TLP4JQ.js → reveal-AIHOIK2N.js} +7 -7
- package/dist/revoke-QUT7WWG3.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-GFLA4FCK.js} +136 -27
- package/dist/seed-GFLA4FCK.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-NYR4I3FO.js +23 -0
- package/dist/snapshots/index.js +9 -9
- package/dist/{stale-6GCFMOOR.js → stale-PIJPAL5T.js} +9 -9
- package/dist/storage-VH6SPXHC.js +21 -0
- package/dist/{store-coordination-provider-C4BPT5XF.js → store-coordination-provider-2KSHCOPU.js} +9 -9
- package/dist/sync/index.js +19 -13
- 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-PCFS4PNS.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-OZCN6LJS.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/guards/types.d.ts +2 -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 +6 -6
- package/dist/with-audit/tiers/strategy.d.ts +19 -0
- package/dist/with-cargo/extract-partition.d.ts +0 -46
- package/dist/with-commit/history/history.d.ts +16 -0
- package/dist/with-commit/history/restore-to.d.ts +40 -0
- 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 +29 -10
- package/dist/with-party/custody/strategy.d.ts +2 -2
- package/dist/with-party/policy/noydb-facade.d.ts +1 -31
- package/dist/with-party/team/delegation.d.ts +93 -7
- package/dist/with-party/team/echo-secret.d.ts +0 -2
- package/dist/with-party/team/index.d.ts +2 -0
- package/dist/with-party/team/keyring.d.ts +133 -24
- package/dist/with-party/team/magic-link-grant.d.ts +11 -1
- package/dist/with-party/team/noydb-facade.d.ts +19 -2
- 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-pod/backup.d.ts +9 -17
- 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/active.d.ts +28 -1
- package/dist/with-sync/engine.d.ts +88 -2
- package/dist/with-sync/index.d.ts +1 -0
- package/dist/with-sync/reserved-mirror.d.ts +112 -0
- package/dist/with-sync/strategy.d.ts +9 -0
- package/dist/with-sync/tab-write-relay.d.ts +0 -10
- package/dist/withdraw-accessible-MTFP7OIB.js +25 -0
- package/dist/withdraw-accessible-MTFP7OIB.js.map +1 -0
- package/package.json +3 -3
- package/dist/api-OS747DS4.js +0 -18
- package/dist/backup-YE2VQ26S.js.map +0 -1
- 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-5KC7QYEC.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-EZGV6F47.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-GZT3NQRA.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-LNSVGRHO.js.map +0 -1
- package/dist/chunk-MILI22XQ.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-T7IR4N2S.js.map +0 -1
- package/dist/chunk-UA372JHH.js.map +0 -1
- package/dist/chunk-UBSFPGVJ.js +0 -1
- package/dist/chunk-V3RWOOSO.js.map +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 +0 -102
- 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-6EFD43KN.js.map} +0 -0
- /package/dist/{capsule-VOLX3QRQ.js.map → capsule-6LJAVQNM.js.map} +0 -0
- /package/dist/{chunk-OYW3I5M4.js.map → chunk-2DOCDOPL.js.map} +0 -0
- /package/dist/{chunk-UBSFPGVJ.js.map → chunk-2DX4JCRI.js.map} +0 -0
- /package/dist/{chunk-FLPCETP6.js.map → chunk-2LBS62AC.js.map} +0 -0
- /package/dist/{chunk-WXE4W2U6.js.map → chunk-2ST3WA3C.js.map} +0 -0
- /package/dist/{chunk-O2IMQSNA.js.map → chunk-3YBIVLTC.js.map} +0 -0
- /package/dist/{chunk-DIZLQVAA.js.map → chunk-4CHM2TRS.js.map} +0 -0
- /package/dist/{chunk-V7ADQF5O.js.map → chunk-4CUJLEOA.js.map} +0 -0
- /package/dist/{chunk-3EWS67C7.js.map → chunk-4TG2ITRW.js.map} +0 -0
- /package/dist/{chunk-HS554XAF.js.map → chunk-5HQFROZS.js.map} +0 -0
- /package/dist/{chunk-PP3K67AJ.js.map → chunk-654RE5YC.js.map} +0 -0
- /package/dist/{chunk-FOEDQATO.js.map → chunk-66GD7XXU.js.map} +0 -0
- /package/dist/{chunk-BNWA3WG5.js.map → chunk-72FQ46VW.js.map} +0 -0
- /package/dist/{chunk-JQYKPKG6.js.map → chunk-7K42TSCY.js.map} +0 -0
- /package/dist/{chunk-UEFOQH74.js.map → chunk-ADCXTW7L.js.map} +0 -0
- /package/dist/{chunk-MBMTND6D.js.map → chunk-AGGPT4UE.js.map} +0 -0
- /package/dist/{chunk-RB4DOPGZ.js.map → chunk-AKIEBFIJ.js.map} +0 -0
- /package/dist/{chunk-VHBKYN2J.js.map → chunk-B3B6HV5S.js.map} +0 -0
- /package/dist/{chunk-JWWYRR4Q.js.map → chunk-B6EWMGFX.js.map} +0 -0
- /package/dist/{chunk-WPOYWFSE.js.map → chunk-BJRKXNFP.js.map} +0 -0
- /package/dist/{chunk-H427H63K.js.map → chunk-BPQ5CRJF.js.map} +0 -0
- /package/dist/{chunk-VFHCKG5M.js.map → chunk-BVRJYMFZ.js.map} +0 -0
- /package/dist/{chunk-SMV2HRDU.js.map → chunk-DFC4WTJW.js.map} +0 -0
- /package/dist/{chunk-5A4345TG.js.map → chunk-DMIEKD24.js.map} +0 -0
- /package/dist/{chunk-TKVUE4JF.js.map → chunk-DQAXA2GK.js.map} +0 -0
- /package/dist/{chunk-AL6ML4LA.js.map → chunk-DWCFGF2K.js.map} +0 -0
- /package/dist/{chunk-QBLT6POL.js.map → chunk-FPF5HRBE.js.map} +0 -0
- /package/dist/{chunk-5WWDGFOS.js.map → chunk-GIQJGXV7.js.map} +0 -0
- /package/dist/{chunk-BVCUTXE3.js.map → chunk-H334G6KU.js.map} +0 -0
- /package/dist/{chunk-AEQGFRU4.js.map → chunk-HE7EAHGS.js.map} +0 -0
- /package/dist/{chunk-4V3Q35WG.js.map → chunk-ICF3TIGY.js.map} +0 -0
- /package/dist/{chunk-3L2NBKDR.js.map → chunk-IF2M43G4.js.map} +0 -0
- /package/dist/{chunk-AUKKUPVB.js.map → chunk-IVLRPRXM.js.map} +0 -0
- /package/dist/{chunk-Y2RKVFKR.js.map → chunk-K4JSTGXT.js.map} +0 -0
- /package/dist/{chunk-EJLV62NI.js.map → chunk-KN4LUMH6.js.map} +0 -0
- /package/dist/{chunk-23D6M6VM.js.map → chunk-KZA3DITX.js.map} +0 -0
- /package/dist/{chunk-E2N2T5ZO.js.map → chunk-L2VM64HK.js.map} +0 -0
- /package/dist/{chunk-O46CHQT7.js.map → chunk-MAQBYBUX.js.map} +0 -0
- /package/dist/{chunk-EZOAKKTB.js.map → chunk-MBPZMZVB.js.map} +0 -0
- /package/dist/{chunk-XQRFSKYM.js.map → chunk-MCNNZBG7.js.map} +0 -0
- /package/dist/{chunk-YRXFFWG4.js.map → chunk-MLVPMDOZ.js.map} +0 -0
- /package/dist/{chunk-5FE75J4S.js.map → chunk-MMCN7TLK.js.map} +0 -0
- /package/dist/{chunk-SYNY3VB5.js.map → chunk-NCTN2FW4.js.map} +0 -0
- /package/dist/{chunk-4T3SE27M.js.map → chunk-ND6S2DKC.js.map} +0 -0
- /package/dist/{chunk-3XJQBBZD.js.map → chunk-NTVKHQ3L.js.map} +0 -0
- /package/dist/{chunk-Q4UHJ5SN.js.map → chunk-O2VQ3K36.js.map} +0 -0
- /package/dist/{chunk-2GHDLTPE.js.map → chunk-OGKMRIIJ.js.map} +0 -0
- /package/dist/{chunk-N7EVQD5S.js.map → chunk-ONZ3B5EW.js.map} +0 -0
- /package/dist/{chunk-VKI2EB3N.js.map → chunk-OOPSMQX5.js.map} +0 -0
- /package/dist/{chunk-VMV5SBE4.js.map → chunk-OYEBSWLE.js.map} +0 -0
- /package/dist/{chunk-VVOLDVIR.js.map → chunk-PLTIJDQN.js.map} +0 -0
- /package/dist/{chunk-OKSTSITU.js.map → chunk-PR7ILCIH.js.map} +0 -0
- /package/dist/{chunk-7R2Q7CPL.js.map → chunk-QE3TLZ6Z.js.map} +0 -0
- /package/dist/{chunk-6QVKPHBF.js.map → chunk-QHG7GQKM.js.map} +0 -0
- /package/dist/{chunk-LIOVX5TJ.js.map → chunk-QT5ITL25.js.map} +0 -0
- /package/dist/{chunk-Q2XRFWOI.js.map → chunk-RRTQAQ3N.js.map} +0 -0
- /package/dist/{chunk-2PVXF5CS.js.map → chunk-SALY3LIJ.js.map} +0 -0
- /package/dist/{chunk-JOSPH3E5.js.map → chunk-SBAR5JQ6.js.map} +0 -0
- /package/dist/{chunk-N7UDP5VU.js.map → chunk-SCH2F7R2.js.map} +0 -0
- /package/dist/{chunk-MXKI4ABF.js.map → chunk-SOOAW6HK.js.map} +0 -0
- /package/dist/{chunk-TEHHROZL.js.map → chunk-T5EXREMW.js.map} +0 -0
- /package/dist/{chunk-M5B2W6YY.js.map → chunk-TDJVQTXD.js.map} +0 -0
- /package/dist/{chunk-QMWY2FDS.js.map → chunk-THQ3BHLM.js.map} +0 -0
- /package/dist/{chunk-FVH5QYY2.js.map → chunk-TRHUNPXP.js.map} +0 -0
- /package/dist/{chunk-747G6CT3.js.map → chunk-UORWAG7K.js.map} +0 -0
- /package/dist/{chunk-TZZBXPZK.js.map → chunk-VLQ6KT7F.js.map} +0 -0
- /package/dist/{chunk-NCO25JZO.js.map → chunk-VP37VUKQ.js.map} +0 -0
- /package/dist/{chunk-52MGURXO.js.map → chunk-WBUHHMLN.js.map} +0 -0
- /package/dist/{chunk-2MG3SW7Q.js.map → chunk-X6Z2SIRF.js.map} +0 -0
- /package/dist/{chunk-5UMK7GRI.js.map → chunk-XPNJH7GN.js.map} +0 -0
- /package/dist/{chunk-KZXDLBY6.js.map → chunk-XPW7T2GN.js.map} +0 -0
- /package/dist/{chunk-FFJFE4T7.js.map → chunk-YJGKOSQD.js.map} +0 -0
- /package/dist/{chunk-4JPMZTJY.js.map → chunk-ZF7KNSLU.js.map} +0 -0
- /package/dist/{chunk-2ODVB6LZ.js.map → chunk-ZGKODRGB.js.map} +0 -0
- /package/dist/{chunk-JIBUPZHA.js.map → chunk-ZNEKQFGF.js.map} +0 -0
- /package/dist/{chunk-DLD5LGDS.js.map → chunk-ZUTUNVFD.js.map} +0 -0
- /package/dist/{classified-marker-SIYKUU5L.js.map → classified-marker-WKP33U2R.js.map} +0 -0
- /package/dist/{collection-facade-CS7CA2XO.js.map → collection-facade-COSGZKLC.js.map} +0 -0
- /package/dist/{computed-FAD7SED4.js.map → computed-WN6V53ZV.js.map} +0 -0
- /package/dist/{dead-filter-4F3LWYKH.js.map → dead-filter-43WL3Y5H.js.map} +0 -0
- /package/dist/{derive-XLOJVXPU.js.map → delegation-5UWT4JGT.js.map} +0 -0
- /package/dist/{executor-FMPVN6DT.js.map → derive-IL5JNLEE.js.map} +0 -0
- /package/dist/{dispatch-JDZNGEB3.js.map → dispatch-LOQQD5JK.js.map} +0 -0
- /package/dist/{dispatch-H4HV32AM.js.map → dispatch-SHKTG57L.js.map} +0 -0
- /package/dist/{executor-LBBBRTN5.js.map → executor-6PQ7WAGV.js.map} +0 -0
- /package/dist/{executor-OSRZST2U.js.map → executor-6ZPQA6HS.js.map} +0 -0
- /package/dist/{export-accessible-RAOJAAU5.js.map → executor-OXRA64TY.js.map} +0 -0
- /package/dist/{extract-partition-JD5CUSTG.js.map → export-accessible-XG3FKJWW.js.map} +0 -0
- /package/dist/{find-JRN4RNQ5.js.map → extract-partition-33747NY5.js.map} +0 -0
- /package/dist/{fanout-sidecar-L7NHPIOC.js.map → fanout-sidecar-NEB6IYV7.js.map} +0 -0
- /package/dist/{issue-YIVBZUTH.js.map → find-VW543G3J.js.map} +0 -0
- /package/dist/{ledger-5ZMGE44K.js.map → issue-4ZPSY44M.js.map} +0 -0
- /package/dist/{liberate-WZSZM2W6.js.map → ledger-MZ25UFT2.js.map} +0 -0
- /package/dist/{link-set-MFXC24VK.js.map → liberate-OJIP2ZFX.js.map} +0 -0
- /package/dist/{managed-secret-MFTFT22X.js.map → link-set-4FRRAVTH.js.map} +0 -0
- /package/dist/{noydb-ITIGNKUF.js.map → managed-secret-SQWO2EUR.js.map} +0 -0
- /package/dist/{migrate-cek-DZRFFOHW.js.map → migrate-cek-JWEM4RP6.js.map} +0 -0
- /package/dist/{register-DT5HZ2LZ.js.map → noydb-U62OVKXB.js.map} +0 -0
- /package/dist/{pod-handle-A3LET7NO.js.map → pod-handle-R6Y4MILX.js.map} +0 -0
- /package/dist/{post-register-7ND27CF2.js.map → post-register-GRVQHBOH.js.map} +0 -0
- /package/dist/{registry-BHRZGZHF.js.map → register-YJ5YLQ36.js.map} +0 -0
- /package/dist/{registry-ET6ZFFWA.js.map → registry-ICOHBQFD.js.map} +0 -0
- /package/dist/{registry-HXFGLGTG.js.map → registry-MJ7MWCSW.js.map} +0 -0
- /package/dist/{registry-THCPDEOD.js.map → registry-MVEKKGWL.js.map} +0 -0
- /package/dist/{request-withdrawal-AV2MJJKY.js.map → registry-XP744FAP.js.map} +0 -0
- /package/dist/{revoke-6DWIEOCV.js.map → request-withdrawal-LSU4G6W3.js.map} +0 -0
- /package/dist/{reveal-B2TLP4JQ.js.map → reveal-AIHOIK2N.js.map} +0 -0
- /package/dist/{signer-MHGW3OIL.js.map → revoke-QUT7WWG3.js.map} +0 -0
- /package/dist/{stale-6GCFMOOR.js.map → signer-NYR4I3FO.js.map} +0 -0
- /package/dist/{storage-BYN5LO6Z.js.map → stale-PIJPAL5T.js.map} +0 -0
- /package/dist/{walk-4VPK7AS4.js.map → storage-VH6SPXHC.js.map} +0 -0
- /package/dist/{store-coordination-provider-C4BPT5XF.js.map → store-coordination-provider-2KSHCOPU.js.map} +0 -0
- /package/dist/{verify-UKALW7C2.js.map → verify-PCFS4PNS.js.map} +0 -0
- /package/dist/{withdraw-accessible-HL7GACUE.js.map → walk-OZCN6LJS.js.map} +0 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ATTESTATIONS_COLLECTION,
|
|
3
|
+
REVOKED_RECORD_ID,
|
|
4
|
+
SIGNER_RECORD_ID,
|
|
5
|
+
loadOrCreateSigner,
|
|
6
|
+
loadSigner
|
|
7
|
+
} from "./chunk-ZUTUNVFD.js";
|
|
8
|
+
import "./chunk-WRLWEYHY.js";
|
|
9
|
+
import "./chunk-ZD7WFMV2.js";
|
|
10
|
+
import "./chunk-RRTQAQ3N.js";
|
|
11
|
+
import "./chunk-NH2UOV3B.js";
|
|
12
|
+
import "./chunk-ZF6JECDT.js";
|
|
13
|
+
import "./chunk-THQ3BHLM.js";
|
|
14
|
+
import "./chunk-XX4R7TUB.js";
|
|
15
|
+
import "./chunk-IKPQ2GGB.js";
|
|
16
|
+
export {
|
|
17
|
+
ATTESTATIONS_COLLECTION,
|
|
18
|
+
REVOKED_RECORD_ID,
|
|
19
|
+
SIGNER_RECORD_ID,
|
|
20
|
+
loadOrCreateSigner,
|
|
21
|
+
loadSigner
|
|
22
|
+
};
|
|
23
|
+
//# sourceMappingURL=signer-NYR4I3FO.js.map
|
package/dist/snapshots/index.js
CHANGED
|
@@ -4,19 +4,19 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
readPod,
|
|
6
6
|
writePod
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-XPW7T2GN.js";
|
|
8
|
+
import "../chunk-DMIEKD24.js";
|
|
9
9
|
import "../chunk-GMKGGY7V.js";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-WRLWEYHY.js";
|
|
11
|
+
import "../chunk-ZD7WFMV2.js";
|
|
12
|
+
import "../chunk-RRTQAQ3N.js";
|
|
13
13
|
import "../chunk-NH2UOV3B.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
14
|
+
import "../chunk-ZF6JECDT.js";
|
|
15
|
+
import "../chunk-THQ3BHLM.js";
|
|
16
|
+
import "../chunk-XX4R7TUB.js";
|
|
17
17
|
import {
|
|
18
18
|
SnapshotNotFoundError
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
20
20
|
|
|
21
21
|
// src/with-fork/snapshots/engine.ts
|
|
22
22
|
var SnapshotEngine = class {
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
isMVStale,
|
|
7
7
|
markMVStale,
|
|
8
8
|
resolveStaleMVOnRead
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-OOPSMQX5.js";
|
|
10
10
|
import "./chunk-5D2ALSM5.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-WRLWEYHY.js";
|
|
12
|
+
import "./chunk-ZD7WFMV2.js";
|
|
13
|
+
import "./chunk-RRTQAQ3N.js";
|
|
14
14
|
import "./chunk-NH2UOV3B.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-ZF6JECDT.js";
|
|
16
|
+
import "./chunk-THQ3BHLM.js";
|
|
17
|
+
import "./chunk-XX4R7TUB.js";
|
|
18
|
+
import "./chunk-IKPQ2GGB.js";
|
|
19
19
|
export {
|
|
20
20
|
MV_STALE_COLLECTION,
|
|
21
21
|
clearMVStale,
|
|
@@ -25,4 +25,4 @@ export {
|
|
|
25
25
|
markMVStale,
|
|
26
26
|
resolveStaleMVOnRead
|
|
27
27
|
};
|
|
28
|
-
//# sourceMappingURL=stale-
|
|
28
|
+
//# sourceMappingURL=stale-PIJPAL5T.js.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SCHEMAS_COLLECTION,
|
|
3
|
+
loadPersistedSchema,
|
|
4
|
+
loadPersistedSchemaEntry,
|
|
5
|
+
savePersistedSchema
|
|
6
|
+
} from "./chunk-IF2M43G4.js";
|
|
7
|
+
import "./chunk-WRLWEYHY.js";
|
|
8
|
+
import "./chunk-ZD7WFMV2.js";
|
|
9
|
+
import "./chunk-RRTQAQ3N.js";
|
|
10
|
+
import "./chunk-NH2UOV3B.js";
|
|
11
|
+
import "./chunk-ZF6JECDT.js";
|
|
12
|
+
import "./chunk-THQ3BHLM.js";
|
|
13
|
+
import "./chunk-XX4R7TUB.js";
|
|
14
|
+
import "./chunk-IKPQ2GGB.js";
|
|
15
|
+
export {
|
|
16
|
+
SCHEMAS_COLLECTION,
|
|
17
|
+
loadPersistedSchema,
|
|
18
|
+
loadPersistedSchemaEntry,
|
|
19
|
+
savePersistedSchema
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=storage-VH6SPXHC.js.map
|
package/dist/{store-coordination-provider-C4BPT5XF.js → store-coordination-provider-2KSHCOPU.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
loadFence,
|
|
3
3
|
saveFence
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TLIFNRU5.js";
|
|
5
5
|
import {
|
|
6
6
|
buildRecordEnvelope
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-WRLWEYHY.js";
|
|
8
|
+
import "./chunk-ZD7WFMV2.js";
|
|
9
|
+
import "./chunk-RRTQAQ3N.js";
|
|
10
10
|
import "./chunk-NH2UOV3B.js";
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-ZF6JECDT.js";
|
|
12
|
+
import "./chunk-THQ3BHLM.js";
|
|
13
|
+
import "./chunk-XX4R7TUB.js";
|
|
14
|
+
import "./chunk-IKPQ2GGB.js";
|
|
15
15
|
|
|
16
16
|
// src/with-shape/schema-update/client-registry.ts
|
|
17
17
|
var META_COLLECTION = "_meta";
|
|
@@ -144,4 +144,4 @@ function unref(timer) {
|
|
|
144
144
|
export {
|
|
145
145
|
StoreMesh
|
|
146
146
|
};
|
|
147
|
-
//# sourceMappingURL=store-coordination-provider-
|
|
147
|
+
//# sourceMappingURL=store-coordination-provider-2KSHCOPU.js.map
|
package/dist/sync/index.js
CHANGED
|
@@ -1,26 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PresenceHandle,
|
|
3
3
|
SyncEngine,
|
|
4
|
-
SyncTransaction
|
|
5
|
-
|
|
4
|
+
SyncTransaction,
|
|
5
|
+
bootstrapKeyrings
|
|
6
|
+
} from "../chunk-RUE6TCES.js";
|
|
6
7
|
import {
|
|
7
8
|
NO_SYNC
|
|
8
|
-
} from "../chunk-
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-
|
|
12
|
-
import "../chunk-
|
|
9
|
+
} from "../chunk-7UHLO4ZN.js";
|
|
10
|
+
import "../chunk-FPF5HRBE.js";
|
|
11
|
+
import "../chunk-V7AKGAXY.js";
|
|
12
|
+
import "../chunk-QT5ITL25.js";
|
|
13
|
+
import "../chunk-NXQEOC3X.js";
|
|
14
|
+
import "../chunk-2LBS62AC.js";
|
|
15
|
+
import "../chunk-WRLWEYHY.js";
|
|
16
|
+
import "../chunk-ZD7WFMV2.js";
|
|
17
|
+
import "../chunk-RRTQAQ3N.js";
|
|
13
18
|
import "../chunk-NH2UOV3B.js";
|
|
14
|
-
import "../chunk-
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-ZF6JECDT.js";
|
|
20
|
+
import "../chunk-THQ3BHLM.js";
|
|
21
|
+
import "../chunk-XX4R7TUB.js";
|
|
22
|
+
import "../chunk-IKPQ2GGB.js";
|
|
18
23
|
|
|
19
24
|
// src/with-sync/active.ts
|
|
20
|
-
function withSync() {
|
|
25
|
+
function withSync(options) {
|
|
21
26
|
return {
|
|
27
|
+
bootstrapKeyrings,
|
|
22
28
|
buildSyncEngine(opts) {
|
|
23
|
-
return new SyncEngine(opts);
|
|
29
|
+
return new SyncEngine({ ...opts, ...options?.arbiter === true && { arbiter: true } });
|
|
24
30
|
},
|
|
25
31
|
buildSyncTransaction(vault, engine) {
|
|
26
32
|
return new SyncTransaction(vault, engine);
|
package/dist/sync/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/with-sync/active.ts"],"sourcesContent":["/**\n * Active sync strategy — `withSync()` returns the real implementation\n * that wires the `SyncEngine`, `SyncTransaction`, and `PresenceHandle`\n * constructors into the Noydb / Vault / Collection hot paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withSync } from '@noy-db/hub/sync'\n *\n * const db = await createNoydb({\n * store: localStore,\n * sync: remoteStore,\n * user: ...,\n * syncStrategy: withSync(),\n * })\n * ```\n *\n * The factory delegates to the existing `sync.ts`,\n * `sync-transaction.ts`, and `presence.ts` modules. Splitting the\n * import chain through this file is what lets tsup tree-shake the\n * ~856 LOC of replication + presence machinery out of the default\n * bundle when no `withSync()` import is present.\n *\n * Keyring + grant/revoke/magic-link/delegation stay in the always-on\n * core (or tree-shake via direct named imports) — those are required\n * for any multi-user vault, even purely local ones.\n *\n * @public\n */\n\nimport type { SyncStrategy, BuildSyncEngineOptions } from './strategy.js'\nimport type { PresenceHandleOpts } from './presence.js'\nimport type { Vault } from '../kernel/vault.js'\nimport { SyncEngine } from './engine.js'\nimport { SyncTransaction } from './transaction.js'\nimport { PresenceHandle } from './presence.js'\n\nexport function withSync(): SyncStrategy {\n return {\n buildSyncEngine(opts: BuildSyncEngineOptions): SyncEngine {\n return new SyncEngine(opts)\n },\n buildSyncTransaction(vault: Vault, engine: SyncEngine): SyncTransaction {\n return new SyncTransaction(vault, engine)\n },\n buildPresence<P>(opts: PresenceHandleOpts): PresenceHandle<P> {\n return new PresenceHandle<P>(opts)\n },\n }\n}\n"],"mappings":"
|
|
1
|
+
{"version":3,"sources":["../../src/with-sync/active.ts"],"sourcesContent":["/**\n * Active sync strategy — `withSync()` returns the real implementation\n * that wires the `SyncEngine`, `SyncTransaction`, and `PresenceHandle`\n * constructors into the Noydb / Vault / Collection hot paths.\n *\n * Consumers opt in by:\n *\n * ```ts\n * import { createNoydb } from '@noy-db/hub'\n * import { withSync } from '@noy-db/hub/sync'\n *\n * const db = await createNoydb({\n * store: localStore,\n * sync: remoteStore,\n * user: ...,\n * syncStrategy: withSync(),\n * })\n * ```\n *\n * The factory delegates to the existing `sync.ts`,\n * `sync-transaction.ts`, and `presence.ts` modules. Splitting the\n * import chain through this file is what lets tsup tree-shake the\n * ~856 LOC of replication + presence machinery out of the default\n * bundle when no `withSync()` import is present.\n *\n * Keyring + grant/revoke/magic-link/delegation stay in the always-on\n * core (or tree-shake via direct named imports) — those are required\n * for any multi-user vault, even purely local ones.\n *\n * @public\n */\n\nimport type { SyncStrategy, BuildSyncEngineOptions } from './strategy.js'\nimport type { PresenceHandleOpts } from './presence.js'\nimport type { Vault } from '../kernel/vault.js'\nimport { SyncEngine } from './engine.js'\nimport { SyncTransaction } from './transaction.js'\nimport { PresenceHandle } from './presence.js'\nimport { bootstrapKeyrings } from './reserved-mirror.js'\n\n/**\n * core#107 — `arbiter: true` makes this device the vault's ARBITER: its\n * admission refusals are replicated so the writer finds out, instead of\n * staying local to the device that judged them.\n *\n * ⚠️ One arbiter, named by configuration on the device that is to be it\n * (the admin host, or the daemon) — ruled over a quorum because the failure\n * mode is legible: no arbiter configured means no replication, which is\n * exactly the pre-core#107 behaviour. It is NOT an authority proof: nothing\n * stops a member hand-writing `_sync_rejections`, and the reason that is\n * tolerable is the report-only ruling — a replicated refusal never deletes,\n * tombstones or retracts anything, so the worst a forged one does is show\n * somebody a notice about their own record.\n *\n * ⚠️ THE CONDITION THAT WOULD MAKE THAT NON-BOUNDARY A REAL ONE, named by\n * pilot-1 when they accepted it: every member is currently staff of the same\n * firm, and a forged refusal is sealed under the refused record's own\n * collection DEK — so a forger can only show a notice about a record they\n * could already read. ⛔ If EXTERNAL `client`-role users ever hold\n * collections of their own, \"who may write `_sync_rejections`\" stops being\n * cosmetic and this needs an authority design, not a flag. Do not read the\n * paragraph above as a general safety argument; it is an argument about one\n * topology, and this is the trigger to re-open it.\n */\nexport interface WithSyncOptions {\n readonly arbiter?: boolean\n}\n\nexport function withSync(options?: WithSyncOptions): SyncStrategy {\n return {\n bootstrapKeyrings,\n buildSyncEngine(opts: BuildSyncEngineOptions): SyncEngine {\n return new SyncEngine({ ...opts, ...(options?.arbiter === true && { arbiter: true }) })\n },\n buildSyncTransaction(vault: Vault, engine: SyncEngine): SyncTransaction {\n return new SyncTransaction(vault, engine)\n },\n buildPresence<P>(opts: PresenceHandleOpts): PresenceHandle<P> {\n return new PresenceHandle<P>(opts)\n },\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAoEO,SAAS,SAAS,SAAyC;AAChE,SAAO;AAAA,IACL;AAAA,IACA,gBAAgB,MAA0C;AACxD,aAAO,IAAI,WAAW,EAAE,GAAG,MAAM,GAAI,SAAS,YAAY,QAAQ,EAAE,SAAS,KAAK,EAAG,CAAC;AAAA,IACxF;AAAA,IACA,qBAAqB,OAAc,QAAqC;AACtE,aAAO,IAAI,gBAAgB,OAAO,MAAM;AAAA,IAC1C;AAAA,IACA,cAAiB,MAA6C;AAC5D,aAAO,IAAI,eAAkB,IAAI;AAAA,IACnC;AAAA,EACF;AACF;","names":[]}
|
package/dist/team/index.js
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MemoryDeviceSeal,
|
|
3
|
-
beginEchoUnlock,
|
|
4
3
|
withTeam
|
|
5
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-HKB4HZDU.js";
|
|
5
|
+
import {
|
|
6
|
+
beginEchoUnlock
|
|
7
|
+
} from "../chunk-EZOFTI4K.js";
|
|
6
8
|
import {
|
|
7
9
|
NO_TEAM,
|
|
8
10
|
burnPaperRecoveryEntry,
|
|
@@ -32,8 +34,8 @@ import {
|
|
|
32
34
|
unwrapMagicLinkGrant,
|
|
33
35
|
updateAuthenticator,
|
|
34
36
|
writeMagicLinkGrant
|
|
35
|
-
} from "../chunk-
|
|
36
|
-
import "../chunk-
|
|
37
|
+
} from "../chunk-3G3GOGZZ.js";
|
|
38
|
+
import "../chunk-B3B6HV5S.js";
|
|
37
39
|
import {
|
|
38
40
|
buildEchoBlock,
|
|
39
41
|
buildRecipientKeyringFile,
|
|
@@ -54,20 +56,20 @@ import {
|
|
|
54
56
|
updateKeyringIdentity,
|
|
55
57
|
verifyPrompt,
|
|
56
58
|
verifyTypedEcho
|
|
57
|
-
} from "../chunk-
|
|
58
|
-
import "../chunk-
|
|
59
|
-
import "../chunk-
|
|
60
|
-
import "../chunk-
|
|
61
|
-
import "../chunk-
|
|
62
|
-
import "../chunk-
|
|
63
|
-
import "../chunk-
|
|
59
|
+
} from "../chunk-V7AKGAXY.js";
|
|
60
|
+
import "../chunk-QT5ITL25.js";
|
|
61
|
+
import "../chunk-NXQEOC3X.js";
|
|
62
|
+
import "../chunk-2LBS62AC.js";
|
|
63
|
+
import "../chunk-WRLWEYHY.js";
|
|
64
|
+
import "../chunk-ZD7WFMV2.js";
|
|
65
|
+
import "../chunk-RRTQAQ3N.js";
|
|
64
66
|
import "../chunk-NH2UOV3B.js";
|
|
65
|
-
import "../chunk-
|
|
66
|
-
import "../chunk-
|
|
67
|
-
import "../chunk-
|
|
67
|
+
import "../chunk-ZF6JECDT.js";
|
|
68
|
+
import "../chunk-THQ3BHLM.js";
|
|
69
|
+
import "../chunk-XX4R7TUB.js";
|
|
68
70
|
import {
|
|
69
71
|
TeamNotEnabledError
|
|
70
|
-
} from "../chunk-
|
|
72
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
71
73
|
export {
|
|
72
74
|
MemoryDeviceSeal,
|
|
73
75
|
NO_TEAM,
|
package/dist/tiers/index.js
CHANGED
|
@@ -12,19 +12,19 @@ import {
|
|
|
12
12
|
putAtTier,
|
|
13
13
|
syncDerivedOutputs,
|
|
14
14
|
withTiers
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
19
|
-
import "../chunk-
|
|
20
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-IKS2CPAG.js";
|
|
16
|
+
import "../chunk-NXQEOC3X.js";
|
|
17
|
+
import "../chunk-2LBS62AC.js";
|
|
18
|
+
import "../chunk-WRLWEYHY.js";
|
|
19
|
+
import "../chunk-ZD7WFMV2.js";
|
|
20
|
+
import "../chunk-RRTQAQ3N.js";
|
|
21
21
|
import "../chunk-NH2UOV3B.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-ZF6JECDT.js";
|
|
23
|
+
import "../chunk-THQ3BHLM.js";
|
|
24
|
+
import "../chunk-XX4R7TUB.js";
|
|
25
25
|
import {
|
|
26
26
|
TiersNotEnabledError
|
|
27
|
-
} from "../chunk-
|
|
27
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
28
28
|
export {
|
|
29
29
|
NO_TIERS,
|
|
30
30
|
TiersNotEnabledError,
|
package/dist/to/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NOYDB_ENVELOPE_GENERATION
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-XX4R7TUB.js";
|
|
4
4
|
import {
|
|
5
5
|
ConflictError,
|
|
6
6
|
DuplicateStoreKindError,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
StoreCapabilityError,
|
|
10
10
|
UnknownStoreKindError,
|
|
11
11
|
isConflictError
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-IKPQ2GGB.js";
|
|
13
13
|
|
|
14
14
|
// src/port/to/locator.ts
|
|
15
15
|
function isPodStore(store) {
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
TxContext,
|
|
4
4
|
TxVault,
|
|
5
5
|
runTransaction
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-FZVCZEVI.js";
|
|
7
7
|
import {
|
|
8
8
|
lazy
|
|
9
9
|
} from "../chunk-5D2ALSM5.js";
|
|
10
10
|
import "../chunk-4AOERLTV.js";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-IKPQ2GGB.js";
|
|
12
12
|
|
|
13
13
|
// src/with-commit/tx/dry-run.ts
|
|
14
|
-
var loadGuardExecutor = lazy(() => import("../executor-
|
|
14
|
+
var loadGuardExecutor = lazy(() => import("../executor-OXRA64TY.js"));
|
|
15
15
|
var SEP = " ";
|
|
16
16
|
var keyOf = (op) => `${op.vaultName}${SEP}${op.collectionName}${SEP}${op.id}`;
|
|
17
17
|
async function runDryRun(db, fn) {
|
package/dist/util/index.js
CHANGED
package/dist/vault-head/index.js
CHANGED
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
DEFAULT_HEAD_BUCKETS,
|
|
3
3
|
NO_VAULT_HEAD,
|
|
4
4
|
VAULT_HEAD_COLLECTION
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-OFD2HD6F.js";
|
|
6
6
|
import {
|
|
7
7
|
buildRecordAad,
|
|
8
8
|
buildRecordEnvelope,
|
|
9
9
|
encrypt,
|
|
10
10
|
openEnvelopeJson
|
|
11
|
-
} from "../chunk-
|
|
12
|
-
import "../chunk-
|
|
13
|
-
import "../chunk-
|
|
11
|
+
} from "../chunk-WRLWEYHY.js";
|
|
12
|
+
import "../chunk-ZD7WFMV2.js";
|
|
13
|
+
import "../chunk-RRTQAQ3N.js";
|
|
14
14
|
import "../chunk-NH2UOV3B.js";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-
|
|
18
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-ZF6JECDT.js";
|
|
16
|
+
import "../chunk-THQ3BHLM.js";
|
|
17
|
+
import "../chunk-XX4R7TUB.js";
|
|
18
|
+
import "../chunk-IKPQ2GGB.js";
|
|
19
19
|
|
|
20
20
|
// src/with-commit/vault-head/head.ts
|
|
21
21
|
function bucketIndex(collection, id, buckets) {
|
|
@@ -2,25 +2,25 @@ import {
|
|
|
2
2
|
blindedEqual,
|
|
3
3
|
dualReadSealedSlot,
|
|
4
4
|
openVdigPayload
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-YH4OUOSI.js";
|
|
6
6
|
import {
|
|
7
7
|
VDIG_ITERATIONS,
|
|
8
8
|
pbkdf2VerifyDigest
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-MBPZMZVB.js";
|
|
10
10
|
import {
|
|
11
11
|
evaluateKofN
|
|
12
12
|
} from "./chunk-NH2UOV3B.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ZF6JECDT.js";
|
|
14
14
|
import {
|
|
15
15
|
base64ToBuffer,
|
|
16
16
|
generateSalt,
|
|
17
17
|
normalizeForVerify
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-THQ3BHLM.js";
|
|
19
|
+
import "./chunk-XX4R7TUB.js";
|
|
20
20
|
import {
|
|
21
21
|
ClassifiedConfigError,
|
|
22
22
|
ClassifiedVerifyError
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-IKPQ2GGB.js";
|
|
24
24
|
|
|
25
25
|
// src/capsule/enclave-aes/classify/verify.ts
|
|
26
26
|
async function padOnce(iter = VDIG_ITERATIONS) {
|
|
@@ -138,4 +138,4 @@ export {
|
|
|
138
138
|
verifyDigestField,
|
|
139
139
|
verifyTextField
|
|
140
140
|
};
|
|
141
|
-
//# sourceMappingURL=verify-
|
|
141
|
+
//# sourceMappingURL=verify-PCFS4PNS.js.map
|
|
@@ -8,6 +8,35 @@ export declare const classified: {
|
|
|
8
8
|
expiry?: string;
|
|
9
9
|
cvc?: string;
|
|
10
10
|
}): ClassifiedGroup;
|
|
11
|
+
/**
|
|
12
|
+
* A checksummed government or institutional identifier — a national ID, a
|
|
13
|
+
* tax number, an employer registration.
|
|
14
|
+
*
|
|
15
|
+
* ⭐ The preset exists for the FOUR SECURITY-RELEVANT DEFAULTS, not to save
|
|
16
|
+
* typing (#26). Hand-rolling a `ClassifiedFieldSpec` means choosing
|
|
17
|
+
* `storage`, `list`, `sensitivity` and `verifyNormalize` yourself, and
|
|
18
|
+
* getting `sensitivity` or `list` wrong on a national ID is not cosmetic.
|
|
19
|
+
* Supply the checksum; the posture is decided here.
|
|
20
|
+
*
|
|
21
|
+
* Defaults to `recoverable` + a masked list, which is the shape that lets an
|
|
22
|
+
* advisor open a list screen without reading every identifier in full while
|
|
23
|
+
* still allowing an authorised `reveal()`.
|
|
24
|
+
*
|
|
25
|
+
* ⛔ IT CANNOT BE UNIQUELY INDEXED, and that is by design rather than a gap
|
|
26
|
+
* (core#20). A recoverable classified field is sealed, sealed fields are
|
|
27
|
+
* excluded from the deterministic index, and unique constraints read the
|
|
28
|
+
* DECRYPTED record — where the value is a `Sealed` handle, not a string. If
|
|
29
|
+
* you need exact-equality dedup on this identifier, it must stay a plain
|
|
30
|
+
* field with `unique: true`; the two properties are mutually exclusive.
|
|
31
|
+
*
|
|
32
|
+
* @param validate returns `null` when the value passes, or a message. Use
|
|
33
|
+
* {@link luhnCheck} for Luhn; supply your own for mod-11 and friends.
|
|
34
|
+
*/
|
|
35
|
+
checksummed(options: {
|
|
36
|
+
validate: (value: unknown) => string | null;
|
|
37
|
+
sensitivity?: ClassifiedFieldSpec["sensitivity"];
|
|
38
|
+
list?: ClassifiedFieldSpec["list"];
|
|
39
|
+
}): ClassifiedFieldSpec;
|
|
11
40
|
birthDate(): ClassifiedFieldSpec;
|
|
12
41
|
email(): ClassifiedFieldSpec;
|
|
13
42
|
phone(): ClassifiedFieldSpec;
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
/** Flatten a classifiedFields config into a per-field map + rider computed entries. @module */
|
|
2
2
|
import { type ClassifiedEntry, type ClassifiedFieldSpec } from './descriptor.js';
|
|
3
|
+
/**
|
|
4
|
+
* `ClassifiedList` — PUBLISHED API, reachable from @noy-db/hub, @noy-db/hub/classified. Flagged as unused because
|
|
5
|
+
* nothing inside hub imports it from this module; a consumer does. Do not narrow
|
|
6
|
+
* or delete without a seam change (#55).
|
|
7
|
+
*
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
3
10
|
export type { ClassifiedEntry, ClassifiedFieldSpec, ClassifiedGroup, ClassifiedList } from './descriptor.js';
|
|
4
11
|
export { ClassifiedConfigError } from './errors.js';
|
|
5
12
|
export interface ResolvedClassified {
|
|
@@ -23,9 +23,5 @@
|
|
|
23
23
|
*/
|
|
24
24
|
import type { NoydbVia } from '../../kernel/via/index.js';
|
|
25
25
|
import type { GeoDescriptor } from './descriptor.js';
|
|
26
|
-
/** The geo binder's config bag: field name → its descriptor. */
|
|
27
|
-
export interface GeoBindingConfig {
|
|
28
|
-
readonly geoFields: Record<string, GeoDescriptor>;
|
|
29
|
-
}
|
|
30
26
|
export declare function geoVia(geoFields: Record<string, GeoDescriptor>): NoydbVia;
|
|
31
27
|
export declare function linkGeoVia(): void;
|
|
@@ -9,9 +9,41 @@
|
|
|
9
9
|
* `port/with/lookup-strategy.ts`, and, for the existing `vault.dictionary()`
|
|
10
10
|
* surface, through `via/i18n/active.ts`.
|
|
11
11
|
*/
|
|
12
|
+
/**
|
|
13
|
+
* The engine's own surface, presented at its barrel. Consumers inside hub import these from `port/with/lookup-strategy.ts` (the kernel spine may not reach into `via/lookup/*` at all — Check 14), so the barrel has no importer for them by design.
|
|
14
|
+
*
|
|
15
|
+
* @seam
|
|
16
|
+
*/
|
|
12
17
|
export { LookupHandle, DictionaryHandle, DICT_COLLECTION_PREFIX, dictCollectionName, type DictEntry, type DictionaryOptions } from './handle.js';
|
|
18
|
+
/**
|
|
19
|
+
* Registry surface at the barrel — reached through the port, same reason as above.
|
|
20
|
+
*
|
|
21
|
+
* @seam
|
|
22
|
+
*/
|
|
13
23
|
export { enforceStaticDictOnPut, resolveDictSource, updateReferencingRecords, type DictReferencingCollection } from './registry.js';
|
|
24
|
+
/**
|
|
25
|
+
* The strategy factory. Deliberately NOT on the root barrel or any subpath — check-architecture.mjs:693-707 records the measurement and the reason (one way to configure lookup in front of consumers).
|
|
26
|
+
*
|
|
27
|
+
* @seam
|
|
28
|
+
*/
|
|
14
29
|
export { withLookup } from './active.js';
|
|
30
|
+
/**
|
|
31
|
+
* `LookupBacking` — PUBLISHED API, reachable from @noy-db/hub. Flagged as unused because
|
|
32
|
+
* nothing inside hub imports it from this module; a consumer does. Do not narrow
|
|
33
|
+
* or delete without a seam change (#55).
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
15
37
|
export { lookup, enumOf, enumOf as enum, dict, type LookupDescriptor, type Vocabulary, type LookupBacking, type OnDelete } from './descriptor.js';
|
|
38
|
+
/**
|
|
39
|
+
* Binding surface at the barrel — `lookupVia` is taken from here; its siblings are reached through the port.
|
|
40
|
+
*
|
|
41
|
+
* @seam
|
|
42
|
+
*/
|
|
16
43
|
export { lookupVia, linkLookupVia, type LookupViaConfig } from './binding.js';
|
|
44
|
+
/**
|
|
45
|
+
* The describeFragment payload shape (#650 Task 7) — its consumer imports it from `binding.js` directly.
|
|
46
|
+
*
|
|
47
|
+
* @seam
|
|
48
|
+
*/
|
|
17
49
|
export type { LookupDescribeFragment, LookupDescribeFragmentEntry } from './binding.js';
|
|
@@ -8,14 +8,5 @@
|
|
|
8
8
|
*/
|
|
9
9
|
import type { NoydbVia } from '../../kernel/via/index.js';
|
|
10
10
|
import type { MoneyDescriptor } from './descriptor.js';
|
|
11
|
-
/** #669 — the money binder's config bag. `virtualMoneyFields` is the money∩virtual-mode-
|
|
12
|
-
* computed field-name intersection (`kernel/collection-config.ts#resolveVirtualMoneyFields`);
|
|
13
|
-
* absent/empty means no field on this collection composes money with a virtual computed
|
|
14
|
-
* field on itself — the pre-#669 behavior (no `presentLate`, ordinary `present()` for
|
|
15
|
-
* every declared money field). */
|
|
16
|
-
export interface MoneyBindingConfig {
|
|
17
|
-
readonly moneyFields: Record<string, MoneyDescriptor>;
|
|
18
|
-
readonly virtualMoneyFields?: ReadonlySet<string>;
|
|
19
|
-
}
|
|
20
11
|
export declare function moneyVia(moneyFields: Record<string, MoneyDescriptor>, virtualMoneyFields?: ReadonlySet<string>): NoydbVia;
|
|
21
12
|
export declare function linkMoneyVia(): void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
dumpVaultSchema
|
|
3
|
+
} from "./chunk-654RE5YC.js";
|
|
4
|
+
import "./chunk-RXLYKVTF.js";
|
|
5
|
+
import "./chunk-VYYM3MEN.js";
|
|
6
|
+
import "./chunk-UORWAG7K.js";
|
|
7
|
+
import "./chunk-Y2NBBT6K.js";
|
|
8
|
+
import "./chunk-IF2M43G4.js";
|
|
9
|
+
import "./chunk-WRLWEYHY.js";
|
|
10
|
+
import "./chunk-ZD7WFMV2.js";
|
|
11
|
+
import "./chunk-RRTQAQ3N.js";
|
|
12
|
+
import "./chunk-NH2UOV3B.js";
|
|
13
|
+
import "./chunk-ZF6JECDT.js";
|
|
14
|
+
import "./chunk-THQ3BHLM.js";
|
|
15
|
+
import "./chunk-XX4R7TUB.js";
|
|
16
|
+
import "./chunk-IKPQ2GGB.js";
|
|
17
|
+
export {
|
|
18
|
+
dumpVaultSchema
|
|
19
|
+
};
|
|
20
|
+
//# sourceMappingURL=walk-OZCN6LJS.js.map
|
|
@@ -8,7 +8,7 @@ import type { RevokeContext } from './revoke.js';
|
|
|
8
8
|
* per-call context object for it, so the vault facade assembles this at call
|
|
9
9
|
* time (reading `role` fresh).
|
|
10
10
|
*/
|
|
11
|
-
|
|
11
|
+
interface SignerLookupDeps {
|
|
12
12
|
readonly adapter: NoydbStore;
|
|
13
13
|
readonly vault: string;
|
|
14
14
|
/** The invoking keyring's role, read fresh by the caller per call. */
|
|
@@ -42,3 +42,4 @@ export interface AttestationStrategy {
|
|
|
42
42
|
* `attestationStrategy: withAttestation()` in createNoydb. @internal
|
|
43
43
|
*/
|
|
44
44
|
export declare const NO_ATTESTATION: AttestationStrategy;
|
|
45
|
+
export {};
|
|
@@ -2,6 +2,13 @@ import type { NoydbStore } from '../../kernel/types.js';
|
|
|
2
2
|
import type { EnclaveKey } from '../../capsule/index.js';
|
|
3
3
|
import type { AttestationFieldSchema, RevocationList } from './types.js';
|
|
4
4
|
import type { AttestationStrategy } from './strategy.js';
|
|
5
|
+
/**
|
|
6
|
+
* `NO_ATTESTATION` — PUBLISHED API, reachable from @noy-db/hub/attestation. Flagged as unused because
|
|
7
|
+
* nothing inside hub imports it from this module; a consumer does. Do not narrow
|
|
8
|
+
* or delete without a seam change (#55).
|
|
9
|
+
*
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
5
12
|
export { NO_ATTESTATION, type AttestationStrategy } from './strategy.js';
|
|
6
13
|
/** Everything the moving attestation methods touched on the vault's `this.*`. */
|
|
7
14
|
export interface VaultAttestationDeps {
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* #34 — "was the erasure complete?", which is the only question a caller of
|
|
3
|
+
* {@link vault.forget} actually has, and the one `ForgetResult` could not
|
|
4
|
+
* answer.
|
|
5
|
+
*
|
|
6
|
+
* ⛔ THE PROBLEM THIS SOLVES. `ForgetResult` carries ELEVEN independent residue
|
|
7
|
+
* channels. None of them throws. Only two say in their own doc that non-empty
|
|
8
|
+
* means erasure is INCOMPLETE. So "erasure succeeded" is not
|
|
9
|
+
* `recordsShredded > 0` — it is all eleven empty — while the result's SHAPE
|
|
10
|
+
* suggests the opposite: the counts read like a success report and the residues
|
|
11
|
+
* read like diagnostics you consult when something looks wrong. A consumer
|
|
12
|
+
* building a subject-facing "your data has been deleted" on the obvious field
|
|
13
|
+
* is making a false statement in writing, and nothing in the surface tells them.
|
|
14
|
+
*
|
|
15
|
+
* ⭐ WHY THIS IS DEFAULT-DENY AND NOT A LIST OF ELEVEN NAMES. Enumerating the
|
|
16
|
+
* channels would reproduce the defect one level up: every new channel would
|
|
17
|
+
* silently weaken every existing caller's check, so a correct caller today
|
|
18
|
+
* becomes an incorrect one tomorrow with no diagnostic anywhere — a correctness
|
|
19
|
+
* regression delivered by an additive change, which is the kind that passes
|
|
20
|
+
* review. Instead EVERY array-valued field counts as residue unless it appears
|
|
21
|
+
* in {@link NON_RESIDUE_FIELDS}. A twelfth channel is therefore included by
|
|
22
|
+
* construction, and exempting a field is a deliberate edit with a visible diff.
|
|
23
|
+
* `__tests__/34-erasure-completeness.test.ts` fails if any array field is
|
|
24
|
+
* neither a known channel nor exempt, so the exemption list cannot rot quietly.
|
|
25
|
+
*
|
|
26
|
+
* ⚠️ `derivedResidueFrozen` counts as incomplete, and that is CORRECT rather
|
|
27
|
+
* than a bug to fix. An append-only closed period or a frozen receipt keeps the
|
|
28
|
+
* subject's contribution permanently, by design. The erasure genuinely is not
|
|
29
|
+
* total, and a caller who must answer a subject needs to know that — which is
|
|
30
|
+
* precisely why it must not be quietly excluded here. What a consumer does with
|
|
31
|
+
* it (a lawful-retention position) belongs in their layer, not this one.
|
|
32
|
+
*
|
|
33
|
+
* ⛔ SCOPE, deliberately: this reports what the MECHANISM did. It does not know
|
|
34
|
+
* whether a retention is lawful, and must never grow vocabulary implying it
|
|
35
|
+
* does — `blobsRetainedShared` means "still referenced", never "retained
|
|
36
|
+
* lawfully". The legal decomposition sits above this, in the consumer.
|
|
37
|
+
*/
|
|
38
|
+
import type { ForgetResult } from './strategy.js';
|
|
39
|
+
/** The verdict {@link erasureCompleteness} returns. */
|
|
40
|
+
export interface ErasureCompleteness {
|
|
41
|
+
/**
|
|
42
|
+
* `true` only when every residue channel is empty. ⛔ This — not
|
|
43
|
+
* `recordsShredded > 0` — is what "the subject's data was erased" means.
|
|
44
|
+
*/
|
|
45
|
+
readonly complete: boolean;
|
|
46
|
+
/** Names of the channels that are non-empty, sorted. Empty iff `complete`. */
|
|
47
|
+
readonly channels: readonly string[];
|
|
48
|
+
/** The non-empty channels and their entries, for a caller that must report which. */
|
|
49
|
+
readonly residue: Readonly<Record<string, readonly unknown[]>>;
|
|
50
|
+
}
|
|
51
|
+
/**
|
|
52
|
+
* Decide whether a {@link ForgetResult} represents a COMPLETE erasure.
|
|
53
|
+
*
|
|
54
|
+
* ```ts
|
|
55
|
+
* const result = await vault.forget(subjectId)
|
|
56
|
+
* const { complete, channels, residue } = erasureCompleteness(result)
|
|
57
|
+
* if (!complete) {
|
|
58
|
+
* // Do NOT tell the subject their data is gone. `channels` says what remains;
|
|
59
|
+
* // some of it (a frozen period aggregate) is permanent by design.
|
|
60
|
+
* }
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* Every array field of the result is treated as a residue channel except those
|
|
64
|
+
* in {@link NON_RESIDUE_FIELDS} — see this module's doc for why that direction.
|
|
65
|
+
*/
|
|
66
|
+
export declare function erasureCompleteness(result: ForgetResult): ErasureCompleteness;
|