@noy-db/hub 0.3.0 → 0.4.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/dist/aggregate/index.js +4 -4
- package/dist/api-IQFZJSQO.js +20 -0
- package/dist/as/index.js +11 -11
- package/dist/attestation/index.js +18 -18
- package/dist/{backup-BJ57IKAO.js → backup-LU2DTZTI.js} +11 -11
- package/dist/blobs/index.js +12 -12
- package/dist/broker/index.js +12 -12
- package/dist/bundle/index.js +26 -74
- package/dist/bundle/index.js.map +1 -1
- package/dist/by/index.js +2 -2
- package/dist/cargo/index.js +41 -22
- package/dist/chunk-2IALOXZS.js +24 -0
- package/dist/chunk-2IALOXZS.js.map +1 -0
- package/dist/{chunk-EVVGJDRQ.js → chunk-2MUZ3LY6.js} +3 -3
- package/dist/{chunk-NWSGI5C7.js → chunk-2P7EGNKF.js} +3 -3
- package/dist/{chunk-ZAJAVEXY.js → chunk-2PCAVW2I.js} +2 -2
- package/dist/{chunk-HTJQYHZP.js → chunk-3ELCWU56.js} +2 -2
- package/dist/{chunk-X7QBD67R.js → chunk-3PF6CRDT.js} +136 -114
- package/dist/chunk-3PF6CRDT.js.map +1 -0
- package/dist/{chunk-J2ZX2XUV.js → chunk-3SV2EPMN.js} +5 -5
- package/dist/{chunk-FUG4SFN3.js → chunk-3U3FBR7O.js} +2 -2
- package/dist/{chunk-VFUPHI2Z.js → chunk-4BRCIYFG.js} +6 -6
- package/dist/{chunk-SNZ6URZZ.js → chunk-5OI6BR4H.js} +7 -7
- package/dist/{chunk-B3HJYUOF.js → chunk-5WZXVULX.js} +2 -2
- package/dist/{chunk-LASZKVMO.js → chunk-6B4DYGWO.js} +3 -3
- package/dist/{chunk-ZJ2AK4V7.js → chunk-6HPG2YNX.js} +2 -2
- package/dist/{chunk-5M5DVGV7.js → chunk-6HY2X62D.js} +2 -2
- package/dist/{chunk-QRB7NAOJ.js → chunk-6NQMXTYC.js} +2 -2
- package/dist/{chunk-RIX4V2TB.js → chunk-6XE5TMPR.js} +3 -3
- package/dist/{chunk-BDVFPG6Y.js → chunk-7CI6CP7Z.js} +5 -5
- package/dist/{chunk-VLFCJYTL.js → chunk-7O3AYBC7.js} +63 -10
- package/dist/chunk-7O3AYBC7.js.map +1 -0
- package/dist/{chunk-454JXE57.js → chunk-A5BDDEXK.js} +10 -170
- package/dist/chunk-A5BDDEXK.js.map +1 -0
- package/dist/{chunk-FHS2HQSH.js → chunk-A7JJLVGH.js} +11 -8
- package/dist/chunk-A7JJLVGH.js.map +1 -0
- package/dist/{chunk-FM3G3NOY.js → chunk-BGK233EA.js} +83 -6
- package/dist/chunk-BGK233EA.js.map +1 -0
- package/dist/{chunk-OSDB5WW3.js → chunk-BMQWTQZ4.js} +11 -11
- package/dist/{chunk-W22IKJE2.js → chunk-BOKIKJJB.js} +2 -2
- package/dist/{chunk-CRI4OUV4.js → chunk-CBSY2N76.js} +2 -2
- package/dist/{chunk-2NVOWNI3.js → chunk-CCOP5XDW.js} +4 -4
- package/dist/{chunk-CDUQTA3Z.js → chunk-DDATL6PU.js} +7 -7
- package/dist/{chunk-RCVJZMFE.js → chunk-DDHM2TLX.js} +4 -4
- package/dist/{chunk-PN2XMATY.js → chunk-DRWBEDYO.js} +2 -2
- package/dist/{chunk-XDYREZWE.js → chunk-DVUZMT2W.js} +12 -8
- package/dist/{chunk-XDYREZWE.js.map → chunk-DVUZMT2W.js.map} +1 -1
- package/dist/{chunk-T2FFWNPK.js → chunk-EGCRBCNA.js} +3 -3
- package/dist/{chunk-VZRODIM3.js → chunk-F6T6L2UK.js} +4 -4
- package/dist/chunk-FH52K7EG.js +50 -0
- package/dist/chunk-FH52K7EG.js.map +1 -0
- package/dist/{chunk-EXK7QRWF.js → chunk-G6EQYAL6.js} +5 -5
- package/dist/{chunk-F64IRYG3.js → chunk-GQNGCEP5.js} +2 -2
- package/dist/{chunk-6JTIAGHD.js → chunk-GULTLPFB.js} +3 -3
- package/dist/chunk-GULTLPFB.js.map +1 -0
- package/dist/{chunk-ZUODRVHY.js → chunk-GVZQ4NAM.js} +2 -2
- package/dist/{chunk-3B5VVCNY.js → chunk-GWKAVKHI.js} +2 -2
- package/dist/{chunk-SLFHQTTW.js → chunk-GYYCX5K6.js} +5 -5
- package/dist/{chunk-CIE2BASH.js → chunk-HOONYZY2.js} +2 -2
- package/dist/{chunk-EYZ6IQ6X.js → chunk-HPUWOVR7.js} +5 -5
- package/dist/{chunk-IL6POWCW.js → chunk-IM3QVF53.js} +6 -6
- package/dist/{chunk-NJ4EOKMB.js → chunk-IRQY7IR5.js} +4 -4
- package/dist/{chunk-3QCRBHCY.js → chunk-ISMV2QVG.js} +2 -2
- package/dist/{chunk-HB3RFQSC.js → chunk-IY23KFNZ.js} +3 -3
- package/dist/chunk-J6Q7UVQE.js +248 -0
- package/dist/chunk-J6Q7UVQE.js.map +1 -0
- package/dist/{chunk-6CRIV7DE.js → chunk-JBBSYJHP.js} +2 -2
- package/dist/{chunk-MEFJPTZ4.js → chunk-JRBNCUNT.js} +3 -3
- package/dist/{chunk-4VNQOLML.js → chunk-JVBO4SZL.js} +2 -2
- package/dist/{chunk-I6GALP6E.js → chunk-JZWWLLVY.js} +6 -6
- package/dist/{chunk-RYCTDFUX.js → chunk-KUIB4B5Q.js} +2 -2
- package/dist/{chunk-HDQIIUPH.js → chunk-KUPKLSX5.js} +3 -3
- package/dist/{chunk-5O3XF4DV.js → chunk-KWVJAOIN.js} +4 -4
- package/dist/{chunk-3LQ2YKO4.js → chunk-LB6OH6K2.js} +2 -2
- package/dist/{chunk-AUSTCW2X.js → chunk-LOF2W3JU.js} +8 -8
- package/dist/{chunk-JNAI2HN2.js → chunk-LSASLXGC.js} +1 -1
- package/dist/chunk-LSASLXGC.js.map +1 -0
- package/dist/{chunk-K5IMOGHB.js → chunk-M75ZZHSR.js} +2 -2
- package/dist/{chunk-GTGPO5KW.js → chunk-MQ6WOPSY.js} +5 -5
- package/dist/{chunk-4CTHCN4J.js → chunk-MTQPRQHB.js} +4 -4
- package/dist/{chunk-UNFPPVNI.js → chunk-N55W7KUL.js} +2 -2
- package/dist/{chunk-JKJOGPZN.js → chunk-N6WF5PKC.js} +2 -2
- package/dist/{chunk-6T2SCQRU.js → chunk-O7WJ47EF.js} +4 -4
- package/dist/{chunk-JIF24JPM.js → chunk-OF75ACKS.js} +9 -9
- package/dist/{chunk-GKEWXIV5.js → chunk-ONTBCHCP.js} +2 -2
- package/dist/{chunk-4JBYV75E.js → chunk-PK6QCH2C.js} +5 -5
- package/dist/{chunk-6QTNZJBS.js → chunk-PT37L5DV.js} +3 -3
- package/dist/{chunk-EVX47VBM.js → chunk-QDPZWTN2.js} +2 -2
- package/dist/chunk-RA5VTXXG.js +173 -0
- package/dist/chunk-RA5VTXXG.js.map +1 -0
- package/dist/{chunk-QLWMEXCT.js → chunk-RDXW3OBQ.js} +2 -2
- package/dist/{chunk-Q5VNKNE5.js → chunk-RM2XV574.js} +3 -3
- package/dist/{chunk-ERJ7FU55.js → chunk-RND5ZPNP.js} +3 -3
- package/dist/{chunk-JZUV47FZ.js → chunk-RTEK4C4I.js} +2 -2
- package/dist/{chunk-KSKBRKGJ.js → chunk-S3BFKGET.js} +84 -6
- package/dist/chunk-S3BFKGET.js.map +1 -0
- package/dist/{chunk-5YOLBEQ6.js → chunk-S6Q37VGE.js} +2 -2
- package/dist/{chunk-HDMEGAQE.js → chunk-SMGEYW6G.js} +127 -8
- package/dist/chunk-SMGEYW6G.js.map +1 -0
- package/dist/{chunk-E5ZQT5KX.js → chunk-SMIRGMS7.js} +2 -2
- package/dist/chunk-T36RFODW.js +180 -0
- package/dist/chunk-T36RFODW.js.map +1 -0
- package/dist/{chunk-EQO2UVP4.js → chunk-T6GU5PPZ.js} +6 -6
- package/dist/{chunk-LXEXBTKL.js → chunk-TAGR72IR.js} +4 -4
- package/dist/{chunk-YFXZEAYK.js → chunk-TOPYT5U5.js} +6 -6
- package/dist/{chunk-MV43JSJF.js → chunk-UBNCR3YK.js} +4 -4
- package/dist/{chunk-ZICD77GM.js → chunk-UC2ETWF3.js} +2 -2
- package/dist/{chunk-XWZVFISC.js → chunk-UFEVO57O.js} +6 -6
- package/dist/{chunk-NR5LT5RY.js → chunk-UNCOC7QH.js} +7 -7
- package/dist/{chunk-R4ROFEYC.js → chunk-VAIS3SOM.js} +2 -2
- package/dist/{chunk-VN3DBQAU.js → chunk-VCBHAE4R.js} +2 -2
- package/dist/{chunk-M4CV6BRT.js → chunk-VEALDPHW.js} +2 -2
- package/dist/{chunk-BIOUI4HL.js → chunk-W2OG6JOL.js} +1 -1
- package/dist/{chunk-BIOUI4HL.js.map → chunk-W2OG6JOL.js.map} +1 -1
- package/dist/{chunk-7DSTRQIJ.js → chunk-WEYZTLXN.js} +2 -2
- package/dist/{chunk-CAF6WOK7.js → chunk-WNGGJWF7.js} +2 -2
- package/dist/{chunk-IU6SNYX6.js → chunk-YJV2UZ7H.js} +5 -5
- package/dist/{chunk-RZ5SVOYR.js → chunk-YTGDPCPW.js} +2 -2
- package/dist/{chunk-DLG74CNB.js → chunk-ZEQWCBCM.js} +7 -19
- package/dist/chunk-ZEQWCBCM.js.map +1 -0
- package/dist/classified/index.js +5 -5
- package/dist/{classified-marker-CZKA6ITE.js → classified-marker-WQVIJAW2.js} +3 -3
- package/dist/collection-facade-MJXSC3Q6.js +44 -0
- package/dist/{computed-ZIQTYTDI.js → computed-DSMPXG2Y.js} +3 -3
- package/dist/consent/index.js +9 -9
- package/dist/{public-envelope-B4KNWVUA.js → cover-B5SJDHR3.js} +25 -5
- package/dist/{dead-filter-ESOBZZP5.js → dead-filter-2A7IAJ3D.js} +2 -2
- package/dist/delegation-A5A75KQO.js +25 -0
- package/dist/derivations/index.js +12 -12
- package/dist/derive-HJSMH7RA.js +21 -0
- package/dist/{enclave-AP3I5W7O.js → enclave-7MW6ZGXW.js} +11 -9
- package/dist/executor-AXE4XMLT.js +26 -0
- package/dist/executor-KGNLJD6M.js +9 -0
- package/dist/executor-XGIS6CR7.js +9 -0
- package/dist/export-accessible-VVBJM3MM.js +23 -0
- package/dist/extract-partition-LGGBTQET.js +38 -0
- package/dist/{fanout-sidecar-A765THMX.js → fanout-sidecar-WDYQ77VB.js} +9 -9
- package/dist/find-YS6XWB46.js +11 -0
- package/dist/forget/index.js +9 -9
- package/dist/guards/index.js +6 -6
- package/dist/history/index.js +12 -12
- package/dist/i18n/index.js +14 -14
- package/dist/index.d.ts +6 -3
- package/dist/index.js +140 -117
- package/dist/index.js.map +1 -1
- package/dist/indexing/index.js +2 -2
- package/dist/issue-LSR5PS6H.js +19 -0
- package/dist/kernel/enclave/index.d.ts +1 -1
- package/dist/kernel/enclave/record-keys/envelope-body.d.ts +8 -0
- package/dist/kernel/errors.d.ts +10 -5
- package/dist/kernel/noydb.d.ts +21 -11
- package/dist/kernel/types.d.ts +53 -6
- package/dist/kernel/vault.d.ts +10 -6
- package/dist/{ledger-GFBKVPV4.js → ledger-33BC4TR7.js} +11 -11
- package/dist/liberate-GBSAYLPJ.js +24 -0
- package/dist/{link-set-Z7Q2ASFX.js → link-set-QK22TDEX.js} +11 -11
- package/dist/materialized-views/index.js +19 -18
- package/dist/noydb-MTUBMWFE.js +70 -0
- package/dist/on/index.js +9 -9
- package/dist/overlay-views/index.js +4 -4
- package/dist/periods/index.js +19 -17
- package/dist/pod/index.js +13 -11
- package/dist/{policy-Z3RUAIY2.js → policy-NAHB2TUT.js} +5 -5
- package/dist/portability/index.js +8 -8
- package/dist/{post-register-JTH76BLY.js → post-register-JVTMJ6OW.js} +6 -6
- package/dist/query/index.js +10 -8
- package/dist/register-X462DNDM.js +23 -0
- package/dist/registry-3XMCT7MQ.js +18 -0
- package/dist/registry-KHD2I3M2.js +19 -0
- package/dist/registry-NPOWJHC4.js +9 -0
- package/dist/request-withdrawal-U7K3JTMY.js +31 -0
- package/dist/{reveal-DIBHLUZX.js → reveal-LGBOM2BO.js} +6 -6
- package/dist/revoke-OCWDSWRQ.js +24 -0
- package/dist/satellites/index.js +1 -1
- package/dist/sealed-record/index.js +12 -12
- package/dist/{seed-Q6M2IZFL.js → seed-PWK45HDF.js} +11 -11
- package/dist/session/index.js +9 -9
- package/dist/shadow/index.js +2 -2
- package/dist/share-link/index.d.ts +19 -0
- package/dist/share-link/index.js +201 -0
- package/dist/share-link/index.js.map +1 -0
- package/dist/share-link/share-link.d.ts +123 -0
- package/dist/signer-3YFBLZRN.js +25 -0
- package/dist/snapshots/index.js +10 -10
- package/dist/{stale-OSQ7J3AA.js → stale-FJED42DM.js} +10 -10
- package/dist/storage-W3GURVFU.js +23 -0
- package/dist/{store-coordination-provider-64OEZFGS.js → store-coordination-provider-APODTV4W.js} +3 -3
- package/dist/sync/index.js +10 -9
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.js +16 -15
- package/dist/tiers/index.js +10 -10
- package/dist/to/index.js +1 -1
- package/dist/tx/index.js +3 -3
- package/dist/util/index.js +1 -1
- package/dist/{verify-ZASTRNPR.js → verify-26Y5GNMK.js} +5 -5
- package/dist/via/i18n/policy.d.ts +1 -1
- package/dist/{walk-SVNDIZ62.js → walk-XS3PKM6I.js} +11 -11
- package/dist/with/index.js +11 -11
- package/dist/with-audit/periods/periods.d.ts +1 -16
- package/dist/with-audit/periods/window.d.ts +16 -0
- package/dist/with-cargo/index.d.ts +6 -0
- package/dist/with-formula/materialized-views/dependency-analyzer.d.ts +15 -0
- package/dist/with-formula/materialized-views/index.d.ts +1 -1
- package/dist/with-formula/materialized-views/registry.d.ts +29 -0
- package/dist/with-formula/materialized-views/types.d.ts +81 -0
- package/dist/with-formula/materialized-views/with-materialized-view.d.ts +9 -5
- package/dist/with-party/directory/cover/custom.d.ts +34 -0
- package/dist/with-party/directory/cover/index.d.ts +19 -0
- package/dist/with-party/directory/cover/schema.d.ts +39 -0
- package/dist/with-party/directory/cover/storage.d.ts +71 -0
- package/dist/with-party/directory/cover/types.d.ts +149 -0
- package/dist/with-party/team/noydb-facade.d.ts +1 -1
- package/dist/with-party/team/sync-period-scope.d.ts +78 -0
- package/dist/with-party/team/sync.d.ts +13 -0
- package/dist/with-pod/bundle.d.ts +9 -7
- package/dist/with-pod/format.d.ts +8 -4
- package/dist/with-pod/index.d.ts +2 -1
- package/dist/withdraw-accessible-Y3B2535F.js +28 -0
- package/package.json +7 -3
- package/dist/api-ZGS6LCOF.js +0 -20
- package/dist/chunk-454JXE57.js.map +0 -1
- package/dist/chunk-4NXKCLLQ.js +0 -97
- package/dist/chunk-4NXKCLLQ.js.map +0 -1
- package/dist/chunk-6JTIAGHD.js.map +0 -1
- package/dist/chunk-DLG74CNB.js.map +0 -1
- package/dist/chunk-FHS2HQSH.js.map +0 -1
- package/dist/chunk-FM3G3NOY.js.map +0 -1
- package/dist/chunk-HDMEGAQE.js.map +0 -1
- package/dist/chunk-JNAI2HN2.js.map +0 -1
- package/dist/chunk-KSKBRKGJ.js.map +0 -1
- package/dist/chunk-VLFCJYTL.js.map +0 -1
- package/dist/chunk-WXSYDNBT.js +0 -39
- package/dist/chunk-WXSYDNBT.js.map +0 -1
- package/dist/chunk-X3YYQWOQ.js +0 -155
- package/dist/chunk-X3YYQWOQ.js.map +0 -1
- package/dist/chunk-X7QBD67R.js.map +0 -1
- package/dist/collection-facade-TLWIPI76.js +0 -44
- package/dist/delegation-W7ZV2322.js +0 -25
- package/dist/derive-H2BJTLUI.js +0 -21
- package/dist/executor-KGWTNEQD.js +0 -9
- package/dist/executor-OVEXR6RT.js +0 -9
- package/dist/executor-UNEH5ZYH.js +0 -25
- package/dist/export-accessible-PCMXSUZS.js +0 -23
- package/dist/extract-partition-SWHFSYJO.js +0 -38
- package/dist/find-N6345CNT.js +0 -11
- package/dist/issue-5OKB6I2R.js +0 -19
- package/dist/liberate-3VDOT4KO.js +0 -24
- package/dist/noydb-ZCJOYBDI.js +0 -68
- package/dist/register-VAHONCID.js +0 -23
- package/dist/registry-7MLVD3VO.js +0 -19
- package/dist/registry-EPKPD5SM.js +0 -18
- package/dist/registry-P5T7PS2U.js +0 -9
- package/dist/request-withdrawal-TI3A5WPS.js +0 -31
- package/dist/revoke-FDRD6GRW.js +0 -24
- package/dist/signer-MUWEIUI6.js +0 -25
- package/dist/storage-MVFCGEQE.js +0 -23
- package/dist/with-party/directory/public-envelope/index.d.ts +0 -12
- package/dist/with-party/directory/public-envelope/schema.d.ts +0 -24
- package/dist/with-party/directory/public-envelope/storage.d.ts +0 -59
- package/dist/with-party/directory/public-envelope/types.d.ts +0 -80
- package/dist/withdraw-accessible-WZIEVWSR.js +0 -28
- /package/dist/{api-ZGS6LCOF.js.map → api-IQFZJSQO.js.map} +0 -0
- /package/dist/{backup-BJ57IKAO.js.map → backup-LU2DTZTI.js.map} +0 -0
- /package/dist/{chunk-EVVGJDRQ.js.map → chunk-2MUZ3LY6.js.map} +0 -0
- /package/dist/{chunk-NWSGI5C7.js.map → chunk-2P7EGNKF.js.map} +0 -0
- /package/dist/{chunk-ZAJAVEXY.js.map → chunk-2PCAVW2I.js.map} +0 -0
- /package/dist/{chunk-HTJQYHZP.js.map → chunk-3ELCWU56.js.map} +0 -0
- /package/dist/{chunk-J2ZX2XUV.js.map → chunk-3SV2EPMN.js.map} +0 -0
- /package/dist/{chunk-FUG4SFN3.js.map → chunk-3U3FBR7O.js.map} +0 -0
- /package/dist/{chunk-VFUPHI2Z.js.map → chunk-4BRCIYFG.js.map} +0 -0
- /package/dist/{chunk-SNZ6URZZ.js.map → chunk-5OI6BR4H.js.map} +0 -0
- /package/dist/{chunk-B3HJYUOF.js.map → chunk-5WZXVULX.js.map} +0 -0
- /package/dist/{chunk-LASZKVMO.js.map → chunk-6B4DYGWO.js.map} +0 -0
- /package/dist/{chunk-ZJ2AK4V7.js.map → chunk-6HPG2YNX.js.map} +0 -0
- /package/dist/{chunk-5M5DVGV7.js.map → chunk-6HY2X62D.js.map} +0 -0
- /package/dist/{chunk-QRB7NAOJ.js.map → chunk-6NQMXTYC.js.map} +0 -0
- /package/dist/{chunk-RIX4V2TB.js.map → chunk-6XE5TMPR.js.map} +0 -0
- /package/dist/{chunk-BDVFPG6Y.js.map → chunk-7CI6CP7Z.js.map} +0 -0
- /package/dist/{chunk-OSDB5WW3.js.map → chunk-BMQWTQZ4.js.map} +0 -0
- /package/dist/{chunk-W22IKJE2.js.map → chunk-BOKIKJJB.js.map} +0 -0
- /package/dist/{chunk-CRI4OUV4.js.map → chunk-CBSY2N76.js.map} +0 -0
- /package/dist/{chunk-2NVOWNI3.js.map → chunk-CCOP5XDW.js.map} +0 -0
- /package/dist/{chunk-CDUQTA3Z.js.map → chunk-DDATL6PU.js.map} +0 -0
- /package/dist/{chunk-RCVJZMFE.js.map → chunk-DDHM2TLX.js.map} +0 -0
- /package/dist/{chunk-PN2XMATY.js.map → chunk-DRWBEDYO.js.map} +0 -0
- /package/dist/{chunk-T2FFWNPK.js.map → chunk-EGCRBCNA.js.map} +0 -0
- /package/dist/{chunk-VZRODIM3.js.map → chunk-F6T6L2UK.js.map} +0 -0
- /package/dist/{chunk-EXK7QRWF.js.map → chunk-G6EQYAL6.js.map} +0 -0
- /package/dist/{chunk-F64IRYG3.js.map → chunk-GQNGCEP5.js.map} +0 -0
- /package/dist/{chunk-ZUODRVHY.js.map → chunk-GVZQ4NAM.js.map} +0 -0
- /package/dist/{chunk-3B5VVCNY.js.map → chunk-GWKAVKHI.js.map} +0 -0
- /package/dist/{chunk-SLFHQTTW.js.map → chunk-GYYCX5K6.js.map} +0 -0
- /package/dist/{chunk-CIE2BASH.js.map → chunk-HOONYZY2.js.map} +0 -0
- /package/dist/{chunk-EYZ6IQ6X.js.map → chunk-HPUWOVR7.js.map} +0 -0
- /package/dist/{chunk-IL6POWCW.js.map → chunk-IM3QVF53.js.map} +0 -0
- /package/dist/{chunk-NJ4EOKMB.js.map → chunk-IRQY7IR5.js.map} +0 -0
- /package/dist/{chunk-3QCRBHCY.js.map → chunk-ISMV2QVG.js.map} +0 -0
- /package/dist/{chunk-HB3RFQSC.js.map → chunk-IY23KFNZ.js.map} +0 -0
- /package/dist/{chunk-6CRIV7DE.js.map → chunk-JBBSYJHP.js.map} +0 -0
- /package/dist/{chunk-MEFJPTZ4.js.map → chunk-JRBNCUNT.js.map} +0 -0
- /package/dist/{chunk-4VNQOLML.js.map → chunk-JVBO4SZL.js.map} +0 -0
- /package/dist/{chunk-I6GALP6E.js.map → chunk-JZWWLLVY.js.map} +0 -0
- /package/dist/{chunk-RYCTDFUX.js.map → chunk-KUIB4B5Q.js.map} +0 -0
- /package/dist/{chunk-HDQIIUPH.js.map → chunk-KUPKLSX5.js.map} +0 -0
- /package/dist/{chunk-5O3XF4DV.js.map → chunk-KWVJAOIN.js.map} +0 -0
- /package/dist/{chunk-3LQ2YKO4.js.map → chunk-LB6OH6K2.js.map} +0 -0
- /package/dist/{chunk-AUSTCW2X.js.map → chunk-LOF2W3JU.js.map} +0 -0
- /package/dist/{chunk-K5IMOGHB.js.map → chunk-M75ZZHSR.js.map} +0 -0
- /package/dist/{chunk-GTGPO5KW.js.map → chunk-MQ6WOPSY.js.map} +0 -0
- /package/dist/{chunk-4CTHCN4J.js.map → chunk-MTQPRQHB.js.map} +0 -0
- /package/dist/{chunk-UNFPPVNI.js.map → chunk-N55W7KUL.js.map} +0 -0
- /package/dist/{chunk-JKJOGPZN.js.map → chunk-N6WF5PKC.js.map} +0 -0
- /package/dist/{chunk-6T2SCQRU.js.map → chunk-O7WJ47EF.js.map} +0 -0
- /package/dist/{chunk-JIF24JPM.js.map → chunk-OF75ACKS.js.map} +0 -0
- /package/dist/{chunk-GKEWXIV5.js.map → chunk-ONTBCHCP.js.map} +0 -0
- /package/dist/{chunk-4JBYV75E.js.map → chunk-PK6QCH2C.js.map} +0 -0
- /package/dist/{chunk-6QTNZJBS.js.map → chunk-PT37L5DV.js.map} +0 -0
- /package/dist/{chunk-EVX47VBM.js.map → chunk-QDPZWTN2.js.map} +0 -0
- /package/dist/{chunk-QLWMEXCT.js.map → chunk-RDXW3OBQ.js.map} +0 -0
- /package/dist/{chunk-Q5VNKNE5.js.map → chunk-RM2XV574.js.map} +0 -0
- /package/dist/{chunk-ERJ7FU55.js.map → chunk-RND5ZPNP.js.map} +0 -0
- /package/dist/{chunk-JZUV47FZ.js.map → chunk-RTEK4C4I.js.map} +0 -0
- /package/dist/{chunk-5YOLBEQ6.js.map → chunk-S6Q37VGE.js.map} +0 -0
- /package/dist/{chunk-E5ZQT5KX.js.map → chunk-SMIRGMS7.js.map} +0 -0
- /package/dist/{chunk-EQO2UVP4.js.map → chunk-T6GU5PPZ.js.map} +0 -0
- /package/dist/{chunk-LXEXBTKL.js.map → chunk-TAGR72IR.js.map} +0 -0
- /package/dist/{chunk-YFXZEAYK.js.map → chunk-TOPYT5U5.js.map} +0 -0
- /package/dist/{chunk-MV43JSJF.js.map → chunk-UBNCR3YK.js.map} +0 -0
- /package/dist/{chunk-ZICD77GM.js.map → chunk-UC2ETWF3.js.map} +0 -0
- /package/dist/{chunk-XWZVFISC.js.map → chunk-UFEVO57O.js.map} +0 -0
- /package/dist/{chunk-NR5LT5RY.js.map → chunk-UNCOC7QH.js.map} +0 -0
- /package/dist/{chunk-R4ROFEYC.js.map → chunk-VAIS3SOM.js.map} +0 -0
- /package/dist/{chunk-VN3DBQAU.js.map → chunk-VCBHAE4R.js.map} +0 -0
- /package/dist/{chunk-M4CV6BRT.js.map → chunk-VEALDPHW.js.map} +0 -0
- /package/dist/{chunk-7DSTRQIJ.js.map → chunk-WEYZTLXN.js.map} +0 -0
- /package/dist/{chunk-CAF6WOK7.js.map → chunk-WNGGJWF7.js.map} +0 -0
- /package/dist/{chunk-IU6SNYX6.js.map → chunk-YJV2UZ7H.js.map} +0 -0
- /package/dist/{chunk-RZ5SVOYR.js.map → chunk-YTGDPCPW.js.map} +0 -0
- /package/dist/{classified-marker-CZKA6ITE.js.map → classified-marker-WQVIJAW2.js.map} +0 -0
- /package/dist/{collection-facade-TLWIPI76.js.map → collection-facade-MJXSC3Q6.js.map} +0 -0
- /package/dist/{computed-ZIQTYTDI.js.map → computed-DSMPXG2Y.js.map} +0 -0
- /package/dist/{delegation-W7ZV2322.js.map → cover-B5SJDHR3.js.map} +0 -0
- /package/dist/{dead-filter-ESOBZZP5.js.map → dead-filter-2A7IAJ3D.js.map} +0 -0
- /package/dist/{derive-H2BJTLUI.js.map → delegation-A5A75KQO.js.map} +0 -0
- /package/dist/{enclave-AP3I5W7O.js.map → derive-HJSMH7RA.js.map} +0 -0
- /package/dist/{executor-KGWTNEQD.js.map → enclave-7MW6ZGXW.js.map} +0 -0
- /package/dist/{executor-OVEXR6RT.js.map → executor-AXE4XMLT.js.map} +0 -0
- /package/dist/{executor-UNEH5ZYH.js.map → executor-KGNLJD6M.js.map} +0 -0
- /package/dist/{export-accessible-PCMXSUZS.js.map → executor-XGIS6CR7.js.map} +0 -0
- /package/dist/{extract-partition-SWHFSYJO.js.map → export-accessible-VVBJM3MM.js.map} +0 -0
- /package/dist/{find-N6345CNT.js.map → extract-partition-LGGBTQET.js.map} +0 -0
- /package/dist/{fanout-sidecar-A765THMX.js.map → fanout-sidecar-WDYQ77VB.js.map} +0 -0
- /package/dist/{issue-5OKB6I2R.js.map → find-YS6XWB46.js.map} +0 -0
- /package/dist/{ledger-GFBKVPV4.js.map → issue-LSR5PS6H.js.map} +0 -0
- /package/dist/{liberate-3VDOT4KO.js.map → ledger-33BC4TR7.js.map} +0 -0
- /package/dist/{link-set-Z7Q2ASFX.js.map → liberate-GBSAYLPJ.js.map} +0 -0
- /package/dist/{noydb-ZCJOYBDI.js.map → link-set-QK22TDEX.js.map} +0 -0
- /package/dist/{policy-Z3RUAIY2.js.map → noydb-MTUBMWFE.js.map} +0 -0
- /package/dist/{public-envelope-B4KNWVUA.js.map → policy-NAHB2TUT.js.map} +0 -0
- /package/dist/{post-register-JTH76BLY.js.map → post-register-JVTMJ6OW.js.map} +0 -0
- /package/dist/{register-VAHONCID.js.map → register-X462DNDM.js.map} +0 -0
- /package/dist/{registry-7MLVD3VO.js.map → registry-3XMCT7MQ.js.map} +0 -0
- /package/dist/{registry-EPKPD5SM.js.map → registry-KHD2I3M2.js.map} +0 -0
- /package/dist/{registry-P5T7PS2U.js.map → registry-NPOWJHC4.js.map} +0 -0
- /package/dist/{request-withdrawal-TI3A5WPS.js.map → request-withdrawal-U7K3JTMY.js.map} +0 -0
- /package/dist/{reveal-DIBHLUZX.js.map → reveal-LGBOM2BO.js.map} +0 -0
- /package/dist/{revoke-FDRD6GRW.js.map → revoke-OCWDSWRQ.js.map} +0 -0
- /package/dist/{seed-Q6M2IZFL.js.map → seed-PWK45HDF.js.map} +0 -0
- /package/dist/{signer-MUWEIUI6.js.map → signer-3YFBLZRN.js.map} +0 -0
- /package/dist/{stale-OSQ7J3AA.js.map → stale-FJED42DM.js.map} +0 -0
- /package/dist/{storage-MVFCGEQE.js.map → storage-W3GURVFU.js.map} +0 -0
- /package/dist/{store-coordination-provider-64OEZFGS.js.map → store-coordination-provider-APODTV4W.js.map} +0 -0
- /package/dist/{verify-ZASTRNPR.js.map → verify-26Y5GNMK.js.map} +0 -0
- /package/dist/{walk-SVNDIZ62.js.map → walk-XS3PKM6I.js.map} +0 -0
- /package/dist/{withdraw-accessible-WZIEVWSR.js.map → withdraw-accessible-Y3B2535F.js.map} +0 -0
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
import {
|
|
2
|
+
loadVaultPolicy
|
|
3
|
+
} from "./chunk-CBSY2N76.js";
|
|
1
4
|
import {
|
|
2
5
|
jsonSchemaToFields
|
|
3
6
|
} from "./chunk-VYYM3MEN.js";
|
|
@@ -6,23 +9,20 @@ import {
|
|
|
6
9
|
SEQUENCE_COLLECTION,
|
|
7
10
|
compileSequenceFormat,
|
|
8
11
|
resolveSequenceKey
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
loadVaultPolicy
|
|
12
|
-
} from "./chunk-CRI4OUV4.js";
|
|
12
|
+
} from "./chunk-HPUWOVR7.js";
|
|
13
13
|
import {
|
|
14
14
|
LinkIntegrityError,
|
|
15
15
|
isLinkCollectionName,
|
|
16
16
|
linkCollectionName,
|
|
17
17
|
linkRowKey
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RTEK4C4I.js";
|
|
19
19
|
import {
|
|
20
20
|
hashFields,
|
|
21
21
|
validateSatelliteDeclaration
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2PCAVW2I.js";
|
|
23
23
|
import {
|
|
24
24
|
loadFence
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-KUIB4B5Q.js";
|
|
26
26
|
import {
|
|
27
27
|
InvertedIndex,
|
|
28
28
|
MemoryIndexStore,
|
|
@@ -31,20 +31,23 @@ import {
|
|
|
31
31
|
buildPersistedIndexCallbacks,
|
|
32
32
|
encodeVecId,
|
|
33
33
|
syncTierSearch
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-BMQWTQZ4.js";
|
|
35
35
|
import {
|
|
36
36
|
derivePersistedSchema,
|
|
37
37
|
isZod4Schema
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-BOKIKJJB.js";
|
|
39
39
|
import {
|
|
40
40
|
isBaseLive,
|
|
41
41
|
liveBaseIdSet
|
|
42
42
|
} from "./chunk-GYGLAVCX.js";
|
|
43
|
+
import {
|
|
44
|
+
NO_PORTABILITY
|
|
45
|
+
} from "./chunk-M75ZZHSR.js";
|
|
43
46
|
import {
|
|
44
47
|
CustodyApi,
|
|
45
48
|
NO_CARGO,
|
|
46
49
|
NO_CUSTODY
|
|
47
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-O7WJ47EF.js";
|
|
48
51
|
import {
|
|
49
52
|
ServiceBus,
|
|
50
53
|
WriteHookRegistry,
|
|
@@ -52,45 +55,35 @@ import {
|
|
|
52
55
|
assertCanImport,
|
|
53
56
|
canExport,
|
|
54
57
|
canImport
|
|
55
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-PT37L5DV.js";
|
|
56
59
|
import {
|
|
57
60
|
runDrainBarrier
|
|
58
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-ISMV2QVG.js";
|
|
59
62
|
import {
|
|
60
63
|
OverlayedCollection
|
|
61
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5WZXVULX.js";
|
|
62
65
|
import {
|
|
63
66
|
NO_ATTESTATION
|
|
64
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-S6Q37VGE.js";
|
|
65
68
|
import {
|
|
66
69
|
NO_CLASSIFIED,
|
|
67
70
|
guardClassifiedCompat,
|
|
68
71
|
resolveClassifiedFields
|
|
69
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-UBNCR3YK.js";
|
|
70
73
|
import {
|
|
71
74
|
NO_TIERS,
|
|
72
75
|
classifySealedShred,
|
|
73
76
|
syncDerivedOutputs
|
|
74
|
-
} from "./chunk-
|
|
75
|
-
import {
|
|
76
|
-
NO_PORTABILITY
|
|
77
|
-
} from "./chunk-K5IMOGHB.js";
|
|
78
|
-
import {
|
|
79
|
-
PERIODS_COLLECTION,
|
|
80
|
-
PERIOD_ARCHIVES_COLLECTION,
|
|
81
|
-
PERIOD_FREEZES_COLLECTION,
|
|
82
|
-
PERIOD_TARGET_PURGES_COLLECTION,
|
|
83
|
-
periodExclusiveUpperBound
|
|
84
|
-
} from "./chunk-DLG74CNB.js";
|
|
77
|
+
} from "./chunk-DDATL6PU.js";
|
|
85
78
|
import {
|
|
86
79
|
TxContext,
|
|
87
80
|
bestEffortRevert,
|
|
88
81
|
revertExecuted
|
|
89
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-JRBNCUNT.js";
|
|
90
83
|
import {
|
|
91
84
|
DEFAULT_POSTURE,
|
|
92
85
|
ViaGraph
|
|
93
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-3ELCWU56.js";
|
|
94
87
|
import {
|
|
95
88
|
buildLookupAltIndex,
|
|
96
89
|
buildLookupSnapshotRows,
|
|
@@ -113,22 +106,22 @@ import {
|
|
|
113
106
|
runGraphDispatchWave,
|
|
114
107
|
touchFor,
|
|
115
108
|
updateReferencingRecords
|
|
116
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-MTQPRQHB.js";
|
|
117
110
|
import {
|
|
118
111
|
NO_AGGREGATE,
|
|
119
112
|
Query,
|
|
120
113
|
ScanBuilder
|
|
121
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-A5BDDEXK.js";
|
|
122
115
|
import {
|
|
123
116
|
EXPORT_AUDIT_COLLECTION,
|
|
124
117
|
createExportBlobsHandle,
|
|
125
118
|
runCompaction
|
|
126
|
-
} from "./chunk-
|
|
119
|
+
} from "./chunk-2P7EGNKF.js";
|
|
127
120
|
import {
|
|
128
121
|
LazyQuery,
|
|
129
122
|
decodeIdxId,
|
|
130
123
|
encodeIdxId
|
|
131
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-VEALDPHW.js";
|
|
132
125
|
import {
|
|
133
126
|
IMPLICIT_LAZY,
|
|
134
127
|
Lru,
|
|
@@ -136,17 +129,17 @@ import {
|
|
|
136
129
|
} from "./chunk-NO272T7Q.js";
|
|
137
130
|
import {
|
|
138
131
|
canonicalGroupKey
|
|
139
|
-
} from "./chunk-
|
|
132
|
+
} from "./chunk-TAGR72IR.js";
|
|
140
133
|
import {
|
|
141
134
|
readPath
|
|
142
135
|
} from "./chunk-IGJCYUT5.js";
|
|
143
136
|
import {
|
|
144
137
|
resolveManagedSecret,
|
|
145
138
|
saveSealedPassphrase
|
|
146
|
-
} from "./chunk-
|
|
139
|
+
} from "./chunk-LB6OH6K2.js";
|
|
147
140
|
import {
|
|
148
141
|
dictCollectionName
|
|
149
|
-
} from "./chunk-
|
|
142
|
+
} from "./chunk-IRQY7IR5.js";
|
|
150
143
|
import {
|
|
151
144
|
NO_I18N,
|
|
152
145
|
getAtPath,
|
|
@@ -154,12 +147,12 @@ import {
|
|
|
154
147
|
isDictKeyDescriptor,
|
|
155
148
|
isI18nTextDescriptor,
|
|
156
149
|
isStaticDictDescriptor
|
|
157
|
-
} from "./chunk-
|
|
150
|
+
} from "./chunk-GULTLPFB.js";
|
|
158
151
|
import {
|
|
159
152
|
installViaBinder,
|
|
160
153
|
isViaInstalled,
|
|
161
154
|
viaBinder
|
|
162
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-JVBO4SZL.js";
|
|
163
156
|
import {
|
|
164
157
|
NO_TEAM,
|
|
165
158
|
enrollAuthenticator,
|
|
@@ -170,7 +163,7 @@ import {
|
|
|
170
163
|
rotatePassphrase,
|
|
171
164
|
updateAuthenticator,
|
|
172
165
|
writeMagicLinkGrant
|
|
173
|
-
} from "./chunk-
|
|
166
|
+
} from "./chunk-LOF2W3JU.js";
|
|
174
167
|
import {
|
|
175
168
|
hasRecoveryEnrolled,
|
|
176
169
|
hasStrongRecoveryEnrolled,
|
|
@@ -180,10 +173,17 @@ import {
|
|
|
180
173
|
mintShamirRecoveryEntry,
|
|
181
174
|
savePaperRecoveryEntries,
|
|
182
175
|
saveShamirRecoveryEntries
|
|
183
|
-
} from "./chunk-
|
|
176
|
+
} from "./chunk-2MUZ3LY6.js";
|
|
184
177
|
import {
|
|
185
178
|
INDEXED_STORE_POLICY
|
|
186
179
|
} from "./chunk-VQNJ7UZL.js";
|
|
180
|
+
import {
|
|
181
|
+
PERIODS_COLLECTION,
|
|
182
|
+
PERIOD_ARCHIVES_COLLECTION,
|
|
183
|
+
PERIOD_FREEZES_COLLECTION,
|
|
184
|
+
PERIOD_TARGET_PURGES_COLLECTION,
|
|
185
|
+
periodExclusiveUpperBound
|
|
186
|
+
} from "./chunk-2IALOXZS.js";
|
|
187
187
|
import {
|
|
188
188
|
assertKeyringOpenAllowed,
|
|
189
189
|
buildRecipientKeyringFile,
|
|
@@ -196,15 +196,15 @@ import {
|
|
|
196
196
|
listUsers,
|
|
197
197
|
loadKeyring,
|
|
198
198
|
updateKeyringIdentity
|
|
199
|
-
} from "./chunk-
|
|
199
|
+
} from "./chunk-3SV2EPMN.js";
|
|
200
200
|
import {
|
|
201
201
|
persistDirectoryConfig,
|
|
202
202
|
readDirectoryConfig
|
|
203
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-PK6QCH2C.js";
|
|
204
204
|
import {
|
|
205
205
|
NO_BROKER,
|
|
206
206
|
buildCredentialBrokerHandle
|
|
207
|
-
} from "./chunk-
|
|
207
|
+
} from "./chunk-SMIRGMS7.js";
|
|
208
208
|
import {
|
|
209
209
|
generateULID
|
|
210
210
|
} from "./chunk-ZJADGNYF.js";
|
|
@@ -212,10 +212,10 @@ import {
|
|
|
212
212
|
assertCutoverTierSafe,
|
|
213
213
|
assertTierWritable,
|
|
214
214
|
liveRecordIsElevated
|
|
215
|
-
} from "./chunk-
|
|
215
|
+
} from "./chunk-DRWBEDYO.js";
|
|
216
216
|
import {
|
|
217
217
|
sha256Hex
|
|
218
|
-
} from "./chunk-
|
|
218
|
+
} from "./chunk-RM2XV574.js";
|
|
219
219
|
import {
|
|
220
220
|
NO_FORGET,
|
|
221
221
|
addSubjectRef,
|
|
@@ -224,10 +224,10 @@ import {
|
|
|
224
224
|
readDottedPath,
|
|
225
225
|
rebuildSubjectIndex,
|
|
226
226
|
removeSubjectRef
|
|
227
|
-
} from "./chunk-
|
|
227
|
+
} from "./chunk-KWVJAOIN.js";
|
|
228
228
|
import {
|
|
229
229
|
NO_SEALED_RECORD
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-RDXW3OBQ.js";
|
|
231
231
|
import {
|
|
232
232
|
RecordCodec,
|
|
233
233
|
SEALED_CEK_NS,
|
|
@@ -238,20 +238,20 @@ import {
|
|
|
238
238
|
queryByDet,
|
|
239
239
|
resolveStableCek,
|
|
240
240
|
validateSchemaInput
|
|
241
|
-
} from "./chunk-
|
|
241
|
+
} from "./chunk-DVUZMT2W.js";
|
|
242
242
|
import {
|
|
243
243
|
buildDeleteMarker,
|
|
244
244
|
buildTombstone,
|
|
245
245
|
isDeleteMarker,
|
|
246
246
|
isTombstone
|
|
247
|
-
} from "./chunk-
|
|
247
|
+
} from "./chunk-WEYZTLXN.js";
|
|
248
248
|
import {
|
|
249
249
|
encrypt
|
|
250
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-HOONYZY2.js";
|
|
251
251
|
import {
|
|
252
252
|
NOYDB_FORMAT_VERSION,
|
|
253
253
|
SealedHandle
|
|
254
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-LSASLXGC.js";
|
|
255
255
|
import {
|
|
256
256
|
AlreadyElevatedError,
|
|
257
257
|
AttestationError,
|
|
@@ -291,11 +291,11 @@ import {
|
|
|
291
291
|
UnsupportedIndexOptionError,
|
|
292
292
|
UnsupportedTierCompositionError,
|
|
293
293
|
ValidationError
|
|
294
|
-
} from "./chunk-
|
|
294
|
+
} from "./chunk-W2OG6JOL.js";
|
|
295
295
|
|
|
296
296
|
// src/port/by/default-provider.ts
|
|
297
297
|
async function createDefaultCoordinationProvider(store) {
|
|
298
|
-
const { StoreCoordinationProvider } = await import("./store-coordination-provider-
|
|
298
|
+
const { StoreCoordinationProvider } = await import("./store-coordination-provider-APODTV4W.js");
|
|
299
299
|
return new StoreCoordinationProvider(store);
|
|
300
300
|
}
|
|
301
301
|
|
|
@@ -1705,7 +1705,7 @@ async function resolveStaleOnRead(accessor, outputCollection, id) {
|
|
|
1705
1705
|
}
|
|
1706
1706
|
const sourceWithId = { ...source, id };
|
|
1707
1707
|
if (DerivationExecutor === null) {
|
|
1708
|
-
({ DerivationExecutor } = await import("./executor-
|
|
1708
|
+
({ DerivationExecutor } = await import("./executor-XGIS6CR7.js"));
|
|
1709
1709
|
}
|
|
1710
1710
|
const ctx = { vault: accessor.getReadOnlyFacade() };
|
|
1711
1711
|
const result = await DerivationExecutor.run(spec, sourceWithId, 0, strategyHash, ctx);
|
|
@@ -2248,7 +2248,7 @@ function resolveCollectionConfig(opts) {
|
|
|
2248
2248
|
// src/with-formula/computed/lazy.ts
|
|
2249
2249
|
var fn = null;
|
|
2250
2250
|
async function loadEvalComputedFields() {
|
|
2251
|
-
fn ??= (await import("./computed-
|
|
2251
|
+
fn ??= (await import("./computed-DSMPXG2Y.js")).evalComputedFields;
|
|
2252
2252
|
return fn;
|
|
2253
2253
|
}
|
|
2254
2254
|
|
|
@@ -3052,7 +3052,7 @@ var Collection = class {
|
|
|
3052
3052
|
}
|
|
3053
3053
|
await this.onAccess?.("find", "*");
|
|
3054
3054
|
if (hits.length === 0) return [];
|
|
3055
|
-
const { verifyDigestField } = await import("./verify-
|
|
3055
|
+
const { verifyDigestField } = await import("./verify-26Y5GNMK.js");
|
|
3056
3056
|
const policy = {
|
|
3057
3057
|
normalize: spec.verifyNormalize ?? "password",
|
|
3058
3058
|
notLastN: spec.notLastN ?? 0,
|
|
@@ -3258,7 +3258,7 @@ var Collection = class {
|
|
|
3258
3258
|
}
|
|
3259
3259
|
}
|
|
3260
3260
|
if (this.materializedViewSource !== void 0) {
|
|
3261
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
3261
|
+
const { resolveStaleMVOnRead } = await import("./stale-FJED42DM.js");
|
|
3262
3262
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
3263
3263
|
}
|
|
3264
3264
|
let record;
|
|
@@ -3727,7 +3727,7 @@ var Collection = class {
|
|
|
3727
3727
|
if (wave?.seen(`mv\0${reg.spec.name}`)) continue;
|
|
3728
3728
|
if (executor === null) {
|
|
3729
3729
|
;
|
|
3730
|
-
({ MaterializedViewExecutor: executor } = await import("./executor-
|
|
3730
|
+
({ MaterializedViewExecutor: executor } = await import("./executor-AXE4XMLT.js"));
|
|
3731
3731
|
}
|
|
3732
3732
|
await executor.refresh(reg, {
|
|
3733
3733
|
getCollection: (name) => this.materializedViewSource.getCollection(name),
|
|
@@ -3737,7 +3737,7 @@ var Collection = class {
|
|
|
3737
3737
|
});
|
|
3738
3738
|
} else if (mode === "lazy") {
|
|
3739
3739
|
if (staleHelpers === null) {
|
|
3740
|
-
staleHelpers = await import("./stale-
|
|
3740
|
+
staleHelpers = await import("./stale-FJED42DM.js");
|
|
3741
3741
|
}
|
|
3742
3742
|
staleHelpers.markMVStale(registry, reg.spec.name);
|
|
3743
3743
|
}
|
|
@@ -3941,7 +3941,7 @@ var Collection = class {
|
|
|
3941
3941
|
continue;
|
|
3942
3942
|
}
|
|
3943
3943
|
if (DerivationExecutor === null) {
|
|
3944
|
-
({ DerivationExecutor } = await import("./executor-
|
|
3944
|
+
({ DerivationExecutor } = await import("./executor-XGIS6CR7.js"));
|
|
3945
3945
|
}
|
|
3946
3946
|
for (const run of runs) {
|
|
3947
3947
|
const ctx = { vault: this.derivationSource.getReadOnlyFacade() };
|
|
@@ -3961,7 +3961,7 @@ var Collection = class {
|
|
|
3961
3961
|
const outputCollection = this.derivationSource.getCollection(outSpec.collection);
|
|
3962
3962
|
const txCtx = this.derivationSource.getActiveTxContext();
|
|
3963
3963
|
if (out.kind === "array") {
|
|
3964
|
-
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-
|
|
3964
|
+
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-WDYQ77VB.js");
|
|
3965
3965
|
const prior = await loadFanoutSidecar(this.adapter, this.vault, spec.source, run.runId, key, this.getDEK, this.storeCiphertext);
|
|
3966
3966
|
const prevKeys = new Set(prior?.keys ?? []);
|
|
3967
3967
|
const newKeysList = out.entries.map((e) => e.key);
|
|
@@ -4319,7 +4319,7 @@ var Collection = class {
|
|
|
4319
4319
|
continue;
|
|
4320
4320
|
}
|
|
4321
4321
|
if (helpers === null) {
|
|
4322
|
-
helpers = await import("./fanout-sidecar-
|
|
4322
|
+
helpers = await import("./fanout-sidecar-WDYQ77VB.js");
|
|
4323
4323
|
}
|
|
4324
4324
|
const sidecar = await helpers.loadFanoutSidecar(this.adapter, this.vault, spec.source, id, outputKey, this.getDEK, this.storeCiphertext);
|
|
4325
4325
|
if (!sidecar) continue;
|
|
@@ -4356,7 +4356,7 @@ var Collection = class {
|
|
|
4356
4356
|
if (mode === "eager") {
|
|
4357
4357
|
if (executor === null) {
|
|
4358
4358
|
;
|
|
4359
|
-
({ MaterializedViewExecutor: executor } = await import("./executor-
|
|
4359
|
+
({ MaterializedViewExecutor: executor } = await import("./executor-AXE4XMLT.js"));
|
|
4360
4360
|
}
|
|
4361
4361
|
const rr = await executor.refresh(reg, {
|
|
4362
4362
|
getCollection: (name) => this.materializedViewSource.getCollection(name),
|
|
@@ -4369,7 +4369,7 @@ var Collection = class {
|
|
|
4369
4369
|
residueDeclined.push(...rr.residueDeclined);
|
|
4370
4370
|
} else {
|
|
4371
4371
|
if (staleHelpers === null) {
|
|
4372
|
-
staleHelpers = await import("./stale-
|
|
4372
|
+
staleHelpers = await import("./stale-FJED42DM.js");
|
|
4373
4373
|
}
|
|
4374
4374
|
const inv = await staleHelpers.invalidateMVAtRest(this.materializedViewSource, reg, mode);
|
|
4375
4375
|
deleted += inv.deleted;
|
|
@@ -4396,7 +4396,7 @@ var Collection = class {
|
|
|
4396
4396
|
);
|
|
4397
4397
|
}
|
|
4398
4398
|
if (this.materializedViewSource !== void 0) {
|
|
4399
|
-
const { resolveStaleMVOnRead } = await import("./stale-
|
|
4399
|
+
const { resolveStaleMVOnRead } = await import("./stale-FJED42DM.js");
|
|
4400
4400
|
await resolveStaleMVOnRead(this.materializedViewSource, this.name, this.#dispatchCtx({ collection: this.name, id: "resolve-on-read" }));
|
|
4401
4401
|
}
|
|
4402
4402
|
await this.ensureHydrated();
|
|
@@ -5549,14 +5549,14 @@ var Collection = class {
|
|
|
5549
5549
|
/** C-A/R10: persist the classified marker once per classified handle (store I/O in config-drift.ts). */
|
|
5550
5550
|
async _ensureClassifiedMarker() {
|
|
5551
5551
|
if (this._markerPersisted || this.vdigFields === null) return;
|
|
5552
|
-
const { persistClassifiedMarkerForFields } = await import("./classified-marker-
|
|
5552
|
+
const { persistClassifiedMarkerForFields } = await import("./classified-marker-WQVIJAW2.js");
|
|
5553
5553
|
await persistClassifiedMarkerForFields(this.adapter, this.vault, this.name, this.vdigFields, await this.getDEK(this.name));
|
|
5554
5554
|
this._markerPersisted = true;
|
|
5555
5555
|
}
|
|
5556
5556
|
/** C-A/R10 drift signal — the marker's declared digest-only set, memoized to one store read per handle (see config-drift.ts). */
|
|
5557
5557
|
async _classifiedMarkerDigestOnly() {
|
|
5558
5558
|
if (this._markerDigestOnlyCache !== void 0) return this._markerDigestOnlyCache;
|
|
5559
|
-
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-
|
|
5559
|
+
const { readClassifiedMarkerDigestOnly } = await import("./classified-marker-WQVIJAW2.js");
|
|
5560
5560
|
this._markerDigestOnlyCache = await readClassifiedMarkerDigestOnly(this.adapter, this.vault, this.name, await this.getDEK(this.name));
|
|
5561
5561
|
return this._markerDigestOnlyCache;
|
|
5562
5562
|
}
|
|
@@ -6298,6 +6298,7 @@ var VaultPeriods = class {
|
|
|
6298
6298
|
}
|
|
6299
6299
|
/** Return every closed / opened period in `closedAt` order, merged with any freeze + archive companions. */
|
|
6300
6300
|
async listPeriods() {
|
|
6301
|
+
this.periodCache = null;
|
|
6301
6302
|
const all = await this.loadPeriodsCache();
|
|
6302
6303
|
const freezeIds = await this.deps.adapter.list(this.deps.vault, PERIOD_FREEZES_COLLECTION);
|
|
6303
6304
|
const freezes = /* @__PURE__ */ new Map();
|
|
@@ -6977,7 +6978,7 @@ var VaultLinks = class {
|
|
|
6977
6978
|
// src/with-shape/links/lazy-handle.ts
|
|
6978
6979
|
function makeLazyLinkSetHandle(d) {
|
|
6979
6980
|
let engine = null;
|
|
6980
|
-
const load = () => engine ??= import("./link-set-
|
|
6981
|
+
const load = () => engine ??= import("./link-set-QK22TDEX.js").then(
|
|
6981
6982
|
({ LinkSet }) => new LinkSet(d.adapter, d.vault, d.name, d.spec, d.encrypted, d.getDEK, d.actor, d.emitter, d.endpointExists)
|
|
6982
6983
|
);
|
|
6983
6984
|
return {
|
|
@@ -7515,7 +7516,7 @@ function declareSatellite(ctx, collectionName, options, existingRegistry) {
|
|
|
7515
7516
|
ctx.forEachSyncEngine((e) => e.remirrorPairResolvers([spec.base, spec.satellite]));
|
|
7516
7517
|
const registry = reg;
|
|
7517
7518
|
const baseSchema = ctx.getBaseSchema(spec.base);
|
|
7518
|
-
void import("./post-register-
|
|
7519
|
+
void import("./post-register-JVTMJ6OW.js").then((m) => m.postRegister(ctx.adapter, ctx.vaultName, spec, ctx.getDEK, baseSchema, registry)).catch(() => {
|
|
7519
7520
|
});
|
|
7520
7521
|
return reg;
|
|
7521
7522
|
}
|
|
@@ -8509,7 +8510,7 @@ var Vault = class {
|
|
|
8509
8510
|
const strategies = options.schemaUpdate ?? [];
|
|
8510
8511
|
const work = (async () => {
|
|
8511
8512
|
const dek = await this.getDEK(collectionName);
|
|
8512
|
-
const { persistSchemaIfNeeded } = await import("./register-
|
|
8513
|
+
const { persistSchemaIfNeeded } = await import("./register-X462DNDM.js");
|
|
8513
8514
|
const result = await persistSchemaIfNeeded({
|
|
8514
8515
|
store: this.adapter,
|
|
8515
8516
|
vault: this.name,
|
|
@@ -8708,7 +8709,7 @@ var Vault = class {
|
|
|
8708
8709
|
const work = (async () => {
|
|
8709
8710
|
try {
|
|
8710
8711
|
const dek = await this.getDEK(collectionName);
|
|
8711
|
-
await (await import("./register-
|
|
8712
|
+
await (await import("./register-X462DNDM.js")).persistSchemaIfNeeded({
|
|
8712
8713
|
store: this.adapter,
|
|
8713
8714
|
vault: this.name,
|
|
8714
8715
|
collectionName,
|
|
@@ -9893,7 +9894,7 @@ var Vault = class {
|
|
|
9893
9894
|
async _initDerivations(handles) {
|
|
9894
9895
|
if (handles.length === 0) return;
|
|
9895
9896
|
const [{ DerivationRegistry }, { ReadOnlyVaultFacade }] = await Promise.all([
|
|
9896
|
-
import("./registry-
|
|
9897
|
+
import("./registry-3XMCT7MQ.js"),
|
|
9897
9898
|
import("./read-only-facade-CHCKSEPD.js")
|
|
9898
9899
|
]);
|
|
9899
9900
|
const registry = new DerivationRegistry();
|
|
@@ -9925,7 +9926,7 @@ var Vault = class {
|
|
|
9925
9926
|
*/
|
|
9926
9927
|
async _initMaterializedViews(handles) {
|
|
9927
9928
|
if (handles.length === 0) return;
|
|
9928
|
-
const { MaterializedViewRegistry } = await import("./registry-
|
|
9929
|
+
const { MaterializedViewRegistry } = await import("./registry-KHD2I3M2.js");
|
|
9929
9930
|
const registry = new MaterializedViewRegistry();
|
|
9930
9931
|
this.materializedViewRegistry = registry;
|
|
9931
9932
|
const db = this;
|
|
@@ -9950,7 +9951,7 @@ var Vault = class {
|
|
|
9950
9951
|
*/
|
|
9951
9952
|
async _initOverlayedViews(handles) {
|
|
9952
9953
|
if (handles.length === 0) return;
|
|
9953
|
-
const { OverlayedViewRegistry } = await import("./registry-
|
|
9954
|
+
const { OverlayedViewRegistry } = await import("./registry-NPOWJHC4.js");
|
|
9954
9955
|
const registry = new OverlayedViewRegistry();
|
|
9955
9956
|
const mvRegistry = this.materializedViewRegistry;
|
|
9956
9957
|
const overlayNames = /* @__PURE__ */ new Set();
|
|
@@ -9997,14 +9998,14 @@ var Vault = class {
|
|
|
9997
9998
|
if (!reg) {
|
|
9998
9999
|
throw new Error(`refreshView: no MV registered with name "${name}"`);
|
|
9999
10000
|
}
|
|
10000
|
-
const { MaterializedViewExecutor } = await import("./executor-
|
|
10001
|
+
const { MaterializedViewExecutor } = await import("./executor-AXE4XMLT.js");
|
|
10001
10002
|
const result = await MaterializedViewExecutor.refresh(reg, {
|
|
10002
10003
|
getCollection: (n) => this.collection(n),
|
|
10003
10004
|
getActiveTxContext: () => this.noydb._activeTxContextOrNull,
|
|
10004
10005
|
getQueryContext: () => this,
|
|
10005
10006
|
dispatchCtx: this._dispatchCtx({ collection: name, id: "refreshView" })
|
|
10006
10007
|
});
|
|
10007
|
-
const { clearMVStaleFully } = await import("./stale-
|
|
10008
|
+
const { clearMVStaleFully } = await import("./stale-FJED42DM.js");
|
|
10008
10009
|
await clearMVStaleFully(this.adapter, this.name, registry, name);
|
|
10009
10010
|
return result;
|
|
10010
10011
|
}
|
|
@@ -10017,7 +10018,7 @@ var Vault = class {
|
|
|
10017
10018
|
if (registry === null) return { derived: 0, failed: 0, skippedFrozen: 0 };
|
|
10018
10019
|
const strategies = registry.strategiesForSource(sourceCollection);
|
|
10019
10020
|
if (strategies.length === 0) return { derived: 0, failed: 0, skippedFrozen: 0 };
|
|
10020
|
-
const { DerivationExecutor } = await import("./executor-
|
|
10021
|
+
const { DerivationExecutor } = await import("./executor-XGIS6CR7.js");
|
|
10021
10022
|
const sourceColl = this.collection(sourceCollection);
|
|
10022
10023
|
const records = await sourceColl.list();
|
|
10023
10024
|
const ctx = { vault: this.derivationFacade ?? new (await import("./read-only-facade-CHCKSEPD.js")).ReadOnlyVaultFacade(this, "derivation") };
|
|
@@ -10044,7 +10045,7 @@ var Vault = class {
|
|
|
10044
10045
|
if (!outSpec) continue;
|
|
10045
10046
|
const outputColl = this.collection(outSpec.collection);
|
|
10046
10047
|
if (out.kind === "array") {
|
|
10047
|
-
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-
|
|
10048
|
+
const { loadFanoutSidecar, saveFanoutSidecar } = await import("./fanout-sidecar-WDYQ77VB.js");
|
|
10048
10049
|
const prior = await loadFanoutSidecar(this.adapter, this.name, spec.source, id, key, this.getDEK, this.encrypted);
|
|
10049
10050
|
const prevKeys = new Set(prior?.keys ?? []);
|
|
10050
10051
|
const newKeysList = out.entries.map((e) => e.key);
|
|
@@ -10271,7 +10272,7 @@ var Vault = class {
|
|
|
10271
10272
|
* collection.
|
|
10272
10273
|
*/
|
|
10273
10274
|
async delegate(opts) {
|
|
10274
|
-
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
10275
|
+
const { issueDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-A5A75KQO.js");
|
|
10275
10276
|
if (!this.keyring.kek) {
|
|
10276
10277
|
throw new ValidationError(
|
|
10277
10278
|
"issueDelegation: keyring.kek is null \u2014 issuing a delegation requires a tier-1 unlock. Re-authenticate at tier 1 (passphrase) first."
|
|
@@ -10293,7 +10294,7 @@ var Vault = class {
|
|
|
10293
10294
|
* if the id does not exist.
|
|
10294
10295
|
*/
|
|
10295
10296
|
async revokeDelegation(id) {
|
|
10296
|
-
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-
|
|
10297
|
+
const { revokeDelegation, DELEGATIONS_COLLECTION } = await import("./delegation-A5A75KQO.js");
|
|
10297
10298
|
await revokeDelegation(this.adapter, this.name, id);
|
|
10298
10299
|
void DELEGATIONS_COLLECTION;
|
|
10299
10300
|
}
|
|
@@ -10541,7 +10542,7 @@ var Vault = class {
|
|
|
10541
10542
|
* @see docs/superpowers/specs/2026-05-22-schema-dump-design.md
|
|
10542
10543
|
*/
|
|
10543
10544
|
async dumpSchema(opts = {}) {
|
|
10544
|
-
const { dumpVaultSchema } = await import("./walk-
|
|
10545
|
+
const { dumpVaultSchema } = await import("./walk-XS3PKM6I.js");
|
|
10545
10546
|
return dumpVaultSchema(this, opts);
|
|
10546
10547
|
}
|
|
10547
10548
|
/**
|
|
@@ -10663,21 +10664,25 @@ var Vault = class {
|
|
|
10663
10664
|
return handle;
|
|
10664
10665
|
}
|
|
10665
10666
|
/**
|
|
10666
|
-
* Read the owner-curated
|
|
10667
|
-
*
|
|
10668
|
-
*
|
|
10667
|
+
* Read the owner-curated cover for this vault (or `undefined` if
|
|
10668
|
+
* none is persisted). The cover lives in `_meta/public-envelope`
|
|
10669
|
+
* (the frozen wire name) as plaintext — readable without any KEK
|
|
10669
10670
|
* — so `getBundleHandle`-style callers can label a vault before
|
|
10670
10671
|
* unlock.
|
|
10671
10672
|
*
|
|
10672
|
-
* Mirrors `Noydb.
|
|
10673
|
+
* Mirrors `Noydb.getCover(vault, opts)` but scoped to a
|
|
10673
10674
|
* single, already-opened `Vault` instance so the
|
|
10674
10675
|
* bundle writer can snapshot it without holding a `Noydb` reference.
|
|
10675
10676
|
*
|
|
10676
10677
|
* @see https://github.com/vLannaAi/noy-db-docs/blob/main/content/docs/services/public-envelope.md
|
|
10677
10678
|
*/
|
|
10679
|
+
async getCover(opts = {}) {
|
|
10680
|
+
const { readCover } = await import("./cover-B5SJDHR3.js");
|
|
10681
|
+
return readCover(this.adapter, this.name, opts);
|
|
10682
|
+
}
|
|
10683
|
+
/** @deprecated Use {@link Vault.getCover} (#799 rename). */
|
|
10678
10684
|
async getPublicEnvelope(opts = {}) {
|
|
10679
|
-
|
|
10680
|
-
return readPublicEnvelope(this.adapter, this.name, opts);
|
|
10685
|
+
return this.getCover(opts);
|
|
10681
10686
|
}
|
|
10682
10687
|
/**
|
|
10683
10688
|
* Dump vault as a verifiable encrypted JSON backup string.
|
|
@@ -10691,7 +10696,7 @@ var Vault = class {
|
|
|
10691
10696
|
* both modes round-trip cleanly.
|
|
10692
10697
|
*/
|
|
10693
10698
|
async dump() {
|
|
10694
|
-
const { dumpVault } = await import("./backup-
|
|
10699
|
+
const { dumpVault } = await import("./backup-LU2DTZTI.js");
|
|
10695
10700
|
return dumpVault(this.backupContext());
|
|
10696
10701
|
}
|
|
10697
10702
|
/**
|
|
@@ -10743,7 +10748,7 @@ var Vault = class {
|
|
|
10743
10748
|
* — there's no chain to verify against.
|
|
10744
10749
|
*/
|
|
10745
10750
|
async load(backupJson) {
|
|
10746
|
-
const { loadVault } = await import("./backup-
|
|
10751
|
+
const { loadVault } = await import("./backup-LU2DTZTI.js");
|
|
10747
10752
|
return loadVault(this.backupContext(), backupJson);
|
|
10748
10753
|
}
|
|
10749
10754
|
/**
|
|
@@ -10775,7 +10780,7 @@ var Vault = class {
|
|
|
10775
10780
|
* way to detect tampering of an in-place vault.
|
|
10776
10781
|
*/
|
|
10777
10782
|
async verifyBackupIntegrity() {
|
|
10778
|
-
const { verifyBackupIntegrity } = await import("./backup-
|
|
10783
|
+
const { verifyBackupIntegrity } = await import("./backup-LU2DTZTI.js");
|
|
10779
10784
|
return verifyBackupIntegrity(this.backupContext());
|
|
10780
10785
|
}
|
|
10781
10786
|
/**
|
|
@@ -10993,7 +10998,7 @@ var Vault = class {
|
|
|
10993
10998
|
* is the live validator object, not a serialization of it).
|
|
10994
10999
|
*/
|
|
10995
11000
|
async exportJSON(opts = {}) {
|
|
10996
|
-
const { exportVaultJSON } = await import("./backup-
|
|
11001
|
+
const { exportVaultJSON } = await import("./backup-LU2DTZTI.js");
|
|
10997
11002
|
return exportVaultJSON(this.backupContext(), opts);
|
|
10998
11003
|
}
|
|
10999
11004
|
};
|
|
@@ -11997,7 +12002,7 @@ var TeamFacade = class {
|
|
|
11997
12002
|
* ```
|
|
11998
12003
|
*
|
|
11999
12004
|
* Returns the WebAuthn `credentialId` (extracted from `meta.credentialId`)
|
|
12000
|
-
* for the caller's lookup index (a bootstrap vault, a
|
|
12005
|
+
* for the caller's lookup index (a bootstrap vault, a Cover,
|
|
12001
12006
|
* a server-side allowlist).
|
|
12002
12007
|
*
|
|
12003
12008
|
* Gated by `enroll-authenticator` like `enrollAuthenticator()` itself.
|
|
@@ -12864,7 +12869,7 @@ var Noydb = class {
|
|
|
12864
12869
|
if (!facade) return;
|
|
12865
12870
|
const ctx = { existing, vault: facade, userId: e.userId, role: e.role };
|
|
12866
12871
|
await registry.runChecks(e.collection, incoming, ctx);
|
|
12867
|
-
const { GuardExecutor } = await import("./executor-
|
|
12872
|
+
const { GuardExecutor } = await import("./executor-KGNLJD6M.js");
|
|
12868
12873
|
for (const g of guards) {
|
|
12869
12874
|
await GuardExecutor.checkFrozenFields(g, e.docId, existing, incoming, e.computedFieldNames);
|
|
12870
12875
|
}
|
|
@@ -13087,6 +13092,7 @@ var Noydb = class {
|
|
|
13087
13092
|
engine.setGraphBatchController({ begin: () => comp._beginGraphBatch(), flush: () => comp._flushGraphBatch() });
|
|
13088
13093
|
engine.setReservedLookupSource({ collections: () => comp._reservedLookupCollectionNames() });
|
|
13089
13094
|
engine.setReservedDictExpander((names) => comp._reservedDictDepsOf(names));
|
|
13095
|
+
engine.setPeriodPullSource({ periods: () => comp.listPeriods() });
|
|
13090
13096
|
});
|
|
13091
13097
|
await comp._initGuards(this.options.guardStrategies ?? []);
|
|
13092
13098
|
await comp._initDerivations(this.options.derivationStrategies ?? []);
|
|
@@ -14125,29 +14131,34 @@ var Noydb = class {
|
|
|
14125
14131
|
async unlockViaAuthenticator(vault, slotId, verify) {
|
|
14126
14132
|
return this.team.unlockViaAuthenticator(vault, slotId, verify);
|
|
14127
14133
|
}
|
|
14128
|
-
// ───
|
|
14134
|
+
// ─── Cover (https://github.com/vLannaAi/noy-db-docs/blob/main/content/docs/services/public-envelope.md) ──────
|
|
14129
14135
|
/**
|
|
14130
|
-
* Set the owner-curated
|
|
14136
|
+
* Set the owner-curated cover for a vault. Throws
|
|
14131
14137
|
* `ValidationError` if the developer did not opt the hub into
|
|
14132
|
-
* `
|
|
14138
|
+
* `cover` via `NoydbOptions`, or if the input violates
|
|
14133
14139
|
* the resolved schema (oversized icon, disallowed MIME, oversized
|
|
14134
14140
|
* string, unknown field).
|
|
14135
14141
|
*
|
|
14136
14142
|
* `createdAt` is set on the first write and preserved on every
|
|
14137
14143
|
* subsequent write. `updatedAt` is refreshed on every write.
|
|
14138
14144
|
* `version` is monotonic — increments on every successful write.
|
|
14145
|
+
*
|
|
14146
|
+
* `custom` (opt-in via `fields: [..., 'custom']`) patches at the
|
|
14147
|
+
* namespace level — provided namespaces replace their previous
|
|
14148
|
+
* value, absent ones are preserved, `null` deletes (#800).
|
|
14139
14149
|
*/
|
|
14140
|
-
async
|
|
14141
|
-
|
|
14150
|
+
async setCover(vault, input) {
|
|
14151
|
+
const coverOption = this.options.cover ?? this.options.publicEnvelope;
|
|
14152
|
+
if (!coverOption) {
|
|
14142
14153
|
throw new ValidationError(
|
|
14143
|
-
"
|
|
14154
|
+
"setCover: the cover feature is not enabled. Pass `cover: true` (or a schema object) to `createNoydb`."
|
|
14144
14155
|
);
|
|
14145
14156
|
}
|
|
14146
|
-
const {
|
|
14147
|
-
const schema = resolveSchema(
|
|
14148
|
-
|
|
14157
|
+
const { loadCover, saveCover, resolveSchema, validateCoverInput, mergeCustom, validateCoverSize } = await import("./cover-B5SJDHR3.js");
|
|
14158
|
+
const schema = resolveSchema(coverOption);
|
|
14159
|
+
validateCoverInput(input, schema);
|
|
14149
14160
|
const now = (/* @__PURE__ */ new Date()).toISOString();
|
|
14150
|
-
const existing = await
|
|
14161
|
+
const existing = await loadCover(this.options.store, vault);
|
|
14151
14162
|
const next = {
|
|
14152
14163
|
_noydb_public: 1,
|
|
14153
14164
|
version: (existing?.version ?? 0) + 1,
|
|
@@ -14156,24 +14167,35 @@ var Noydb = class {
|
|
|
14156
14167
|
...input.name !== void 0 ? { name: input.name } : existing?.name !== void 0 ? { name: existing.name } : {},
|
|
14157
14168
|
...input.description !== void 0 ? { description: input.description } : existing?.description !== void 0 ? { description: existing.description } : {},
|
|
14158
14169
|
...input.icon !== void 0 ? { icon: input.icon } : existing?.icon !== void 0 ? { icon: existing.icon } : {},
|
|
14159
|
-
...input.defaultLocale !== void 0 ? { defaultLocale: input.defaultLocale } : existing?.defaultLocale !== void 0 ? { defaultLocale: existing.defaultLocale } : {}
|
|
14170
|
+
...input.defaultLocale !== void 0 ? { defaultLocale: input.defaultLocale } : existing?.defaultLocale !== void 0 ? { defaultLocale: existing.defaultLocale } : {},
|
|
14171
|
+
// #800: namespace-level patch — provided namespaces replace, absent are preserved, `null` deletes.
|
|
14172
|
+
...mergeCustom(existing?.custom, input.custom)
|
|
14160
14173
|
};
|
|
14161
|
-
|
|
14174
|
+
validateCoverSize(next, schema);
|
|
14175
|
+
await saveCover(this.options.store, vault, next);
|
|
14162
14176
|
return next;
|
|
14163
14177
|
}
|
|
14164
14178
|
/**
|
|
14165
|
-
* Read the
|
|
14166
|
-
*
|
|
14167
|
-
*
|
|
14179
|
+
* Read the cover for a vault. Returns `undefined` when none has
|
|
14180
|
+
* been written. Pass `locale` to resolve any locale-map fields to
|
|
14181
|
+
* plain strings; omitting `locale` returns the raw map.
|
|
14168
14182
|
*
|
|
14169
14183
|
* Works even when the developer didn't enable
|
|
14170
|
-
* `
|
|
14171
|
-
* missing schema (the
|
|
14184
|
+
* `cover` — reads are passive and never throw on a
|
|
14185
|
+
* missing schema (the cover is plaintext and exists on disk
|
|
14172
14186
|
* regardless).
|
|
14173
14187
|
*/
|
|
14188
|
+
async getCover(vault, opts = {}) {
|
|
14189
|
+
const { readCover } = await import("./cover-B5SJDHR3.js");
|
|
14190
|
+
return readCover(this.options.store, vault, opts);
|
|
14191
|
+
}
|
|
14192
|
+
/** @deprecated Use {@link Noydb.setCover} (#799 rename). */
|
|
14193
|
+
async setPublicEnvelope(vault, input) {
|
|
14194
|
+
return this.setCover(vault, input);
|
|
14195
|
+
}
|
|
14196
|
+
/** @deprecated Use {@link Noydb.getCover} (#799 rename). */
|
|
14174
14197
|
async getPublicEnvelope(vault, opts = {}) {
|
|
14175
|
-
|
|
14176
|
-
return readPublicEnvelope(this.options.store, vault, opts);
|
|
14198
|
+
return this.getCover(vault, opts);
|
|
14177
14199
|
}
|
|
14178
14200
|
// ─── Auth introspection ─────────────────────────────────────────
|
|
14179
14201
|
/** English summary of the configured auth model — see {@link TeamFacade.describeAuthConfig}. */
|
|
@@ -14363,9 +14385,9 @@ async function createNoydb(options) {
|
|
|
14363
14385
|
throw new ValidationError("A secret (passphrase) or getKeyring callback is required when encryption is enabled");
|
|
14364
14386
|
}
|
|
14365
14387
|
if (!options.coordinationStrategy) options = { ...options, coordinationStrategy: await createDefaultCoordinationProvider(options.store) };
|
|
14366
|
-
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-
|
|
14388
|
+
if (!options.userApiFactory) options = { ...options, userApiFactory: (await import("./api-IQFZJSQO.js")).createUserApi };
|
|
14367
14389
|
if (!options.policyFactory) {
|
|
14368
|
-
const policyModule = await import("./policy-
|
|
14390
|
+
const policyModule = await import("./policy-NAHB2TUT.js");
|
|
14369
14391
|
options = { ...options, policyFactory: policyModule.createNoydbPolicy, policyCheckGateFn: policyModule.checkGate };
|
|
14370
14392
|
}
|
|
14371
14393
|
return new Noydb(options);
|
|
@@ -14402,4 +14424,4 @@ export {
|
|
|
14402
14424
|
Noydb,
|
|
14403
14425
|
createNoydb
|
|
14404
14426
|
};
|
|
14405
|
-
//# sourceMappingURL=chunk-
|
|
14427
|
+
//# sourceMappingURL=chunk-3PF6CRDT.js.map
|