@noy-db/hub 0.6.0-pre.11 → 0.6.0-pre.12
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/{api-RXUMEKT3.js → api-XDMGLURJ.js} +6 -6
- package/dist/attestation/index.js +12 -12
- package/dist/{backup-AVAGHAJE.js → backup-AWHG6ODK.js} +6 -6
- package/dist/blobs/index.js +5 -5
- package/dist/broker/index.js +6 -6
- package/dist/{bundle-handle-GFNHT52M.js → bundle-handle-G4R37BQV.js} +2 -2
- package/dist/cargo/index.js +18 -18
- package/dist/{chunk-W77KZHCW.js → chunk-25FGCLYS.js} +4 -4
- package/dist/{chunk-7H73RIE3.js → chunk-2APC6HS6.js} +2 -2
- package/dist/{chunk-FFDNKRCY.js → chunk-44JENXEG.js} +2 -2
- package/dist/{chunk-3URQC7EH.js → chunk-4X5Z5SRV.js} +3 -3
- package/dist/{chunk-WFUIE565.js → chunk-5GMMIDJX.js} +3 -3
- package/dist/{chunk-U5O6GIWZ.js → chunk-5XFTL73S.js} +2 -2
- package/dist/{chunk-SUFG5E73.js → chunk-6OC6YASM.js} +2 -2
- package/dist/{chunk-JRKZTEZZ.js → chunk-7BEHYALK.js} +3 -3
- package/dist/{chunk-6BU3L4UE.js → chunk-7HF4J7Z5.js} +2 -2
- package/dist/{chunk-YJ6IONGA.js → chunk-7MT56F4U.js} +2 -2
- package/dist/{chunk-7MNBICB5.js → chunk-7VPWXVKU.js} +3 -3
- package/dist/{chunk-6SAFL5YE.js → chunk-AZQVFXJF.js} +2 -2
- package/dist/{chunk-CCVYQFLU.js → chunk-B2P7M2D2.js} +6 -6
- package/dist/{chunk-XWX7GL56.js → chunk-CCZ5DEJ7.js} +2 -2
- package/dist/{chunk-3IXIU6FP.js → chunk-DEFCPAXD.js} +2 -2
- package/dist/{chunk-WASHZV34.js → chunk-DIICZPWS.js} +2 -2
- package/dist/{chunk-G6S5VVHP.js → chunk-E2TN45ZD.js} +2 -2
- package/dist/{chunk-O2ERS4UJ.js → chunk-EBEKSNKS.js} +5 -5
- package/dist/{chunk-5JY5TSVY.js → chunk-G4VQSGXL.js} +3 -3
- package/dist/{chunk-5ZKS6ZE2.js → chunk-GV2EFYNV.js} +2 -2
- package/dist/{chunk-X56RTUK3.js → chunk-K525AZ5C.js} +2 -2
- package/dist/{chunk-2Z3NCLNX.js → chunk-K6TQEDVJ.js} +5 -5
- package/dist/{chunk-JJNOLSG5.js → chunk-L2UHRVB4.js} +3 -3
- package/dist/{chunk-4GZ6XOVW.js → chunk-LRNODVQX.js} +7 -7
- package/dist/{chunk-YPYHVOXP.js → chunk-NSRITINN.js} +1 -1
- package/dist/chunk-NSRITINN.js.map +1 -0
- package/dist/{chunk-CBXHHCZT.js → chunk-NT432TE6.js} +3 -3
- package/dist/{chunk-6BVER473.js → chunk-OI7ZJUYT.js} +2 -2
- package/dist/{chunk-FZ6NYJ7L.js → chunk-OUST5WDV.js} +3 -3
- package/dist/{chunk-3JVXVJ7L.js → chunk-OXCU7G5I.js} +8 -8
- package/dist/{chunk-GU7A7MQA.js → chunk-P2PLXMHO.js} +9 -9
- package/dist/{chunk-CDB2HVQW.js → chunk-P2Y2F6EB.js} +3 -3
- package/dist/{chunk-PDLLCOGD.js → chunk-PGWXE5CR.js} +3 -3
- package/dist/{chunk-6FJWSWFT.js → chunk-PK3URBVU.js} +2 -2
- package/dist/{chunk-52JPHN5N.js → chunk-QS2PUZC7.js} +4 -4
- package/dist/{chunk-2DHSSLOD.js → chunk-RSHNUOSJ.js} +6 -6
- package/dist/{chunk-4VUPLMZ6.js → chunk-SPA5WX3T.js} +3 -3
- package/dist/{chunk-PNKHAKQ7.js → chunk-SV4BNALS.js} +3 -3
- package/dist/{chunk-VZ3XFUQ7.js → chunk-SYFEJFIO.js} +2 -2
- package/dist/{chunk-5O5HRRTV.js → chunk-T227WEHE.js} +4 -4
- package/dist/{chunk-QULVCV3M.js → chunk-TJCRCCPT.js} +2 -2
- package/dist/{chunk-PL2GHSCM.js → chunk-UAHHWR4P.js} +3 -3
- package/dist/{chunk-BRVW2GS5.js → chunk-UANGJ2YB.js} +38 -7
- package/dist/chunk-UANGJ2YB.js.map +1 -0
- package/dist/{chunk-FMQJZH4R.js → chunk-UFM3WVIF.js} +2 -2
- package/dist/{chunk-Q6TEJXBX.js → chunk-VA3PPYTQ.js} +4 -4
- package/dist/{chunk-6NVPFKN3.js → chunk-VBCDVWRU.js} +4 -4
- package/dist/{chunk-WLZ47GSL.js → chunk-XJIGOFN6.js} +3 -3
- package/dist/{chunk-ADW22QSB.js → chunk-XXVIHJZY.js} +3 -3
- package/dist/{chunk-4I72F5DF.js → chunk-Y3H4WOP3.js} +4 -4
- package/dist/{chunk-NPP5R7FF.js → chunk-YY3PEDBR.js} +5 -5
- package/dist/{chunk-2BMRJ6LQ.js → chunk-Z7SMBVNM.js} +2 -2
- package/dist/{chunk-UV4O7FAL.js → chunk-ZSKB5BDK.js} +58 -56
- package/dist/{chunk-UV4O7FAL.js.map → chunk-ZSKB5BDK.js.map} +1 -1
- package/dist/classified/index.js +3 -3
- package/dist/{classified-marker-2KJAXRRO.js → classified-marker-EHRSGBM7.js} +3 -3
- package/dist/{collection-facade-QEJIM6BC.js → collection-facade-5UJW6QRB.js} +8 -8
- package/dist/consent/index.js +4 -4
- package/dist/cover/index.js +2 -2
- package/dist/custody/index.js +6 -6
- package/dist/{dead-filter-DCB62VWW.js → dead-filter-ANPRM2LD.js} +2 -2
- package/dist/{delegation-MO7YZYJS.js → delegation-6NUQCURX.js} +4 -4
- package/dist/derivations/index.js +3 -3
- package/dist/{derive-IUA6JFLB.js → derive-5PFJNNNU.js} +4 -4
- package/dist/directory/index.js +5 -5
- package/dist/{dispatch-MJ6SHB3Y.js → dispatch-EO2QHEXK.js} +9 -9
- package/dist/{dispatch-23SKSHPD.js → dispatch-UGU775MV.js} +5 -5
- package/dist/{enclave-JU4YIEPB.js → enclave-3Z7VTJAW.js} +4 -4
- package/dist/{executor-FKZURXVV.js → executor-AB4BCJO4.js} +8 -8
- package/dist/{export-accessible-4S36PQNR.js → export-accessible-JXCJGHCF.js} +7 -7
- package/dist/{extract-partition-IO7FDZ2P.js → extract-partition-2WDL4FJ5.js} +10 -10
- package/dist/{fanout-sidecar-NNAJQXMX.js → fanout-sidecar-3Q6BWNSS.js} +4 -4
- package/dist/forget/index.js +4 -4
- package/dist/history/index.js +6 -6
- package/dist/i18n/index.js +6 -6
- package/dist/index.js +47 -47
- package/dist/introspection/index.js +5 -5
- package/dist/{issue-RIVHSY2S.js → issue-EABYJWX5.js} +6 -6
- package/dist/kernel/types.d.ts +29 -0
- package/dist/{ledger-AETNF4OM.js → ledger-ZO5OKKGR.js} +6 -6
- package/dist/liberate-S3JR4TQT.js +24 -0
- package/dist/{link-set-E5HNY67I.js → link-set-ZZYDZPL4.js} +5 -5
- package/dist/{managed-secret-CWQ6PND5.js → managed-secret-6FITSKDO.js} +3 -3
- package/dist/materialized-views/index.js +8 -8
- package/dist/{noydb-FYTCH2GD.js → noydb-SPEVD5JA.js} +25 -25
- package/dist/periods/index.js +6 -6
- package/dist/pod/index.js +28 -28
- package/dist/policy/index.js +3 -3
- package/dist/portability/index.js +6 -6
- package/dist/{post-register-2XSSMGEQ.js → post-register-577X4FAU.js} +4 -4
- package/dist/{register-4EFJCVYD.js → register-OXUXXIWT.js} +10 -10
- package/dist/{registry-4SDHHOJ7.js → registry-L3CO5ZAY.js} +4 -4
- package/dist/{registry-OYTFGWVK.js → registry-QFIVGS2W.js} +4 -4
- package/dist/{request-withdrawal-KGXGDPVQ.js → request-withdrawal-UV42CNR5.js} +9 -9
- package/dist/{reveal-BW36KCOQ.js → reveal-PCQYK4NO.js} +3 -3
- package/dist/{revoke-JFN773KF.js → revoke-26DFO36Z.js} +6 -6
- package/dist/sealed-record/index.js +6 -6
- package/dist/search/index.js +1 -1
- package/dist/{seed-GDV5PT4R.js → seed-BVO6SSKH.js} +6 -6
- package/dist/sequence/index.js +4 -4
- package/dist/session/index.js +3 -3
- package/dist/{signer-TA55QB6R.js → signer-DDO7QEID.js} +5 -5
- package/dist/snapshots/index.js +5 -5
- package/dist/{stale-4PUTWI2H.js → stale-3FW6U4OU.js} +5 -5
- package/dist/{storage-V7MTFAQJ.js → storage-M7L2EK3F.js} +5 -5
- package/dist/{store-coordination-provider-GFCUOBR6.js → store-coordination-provider-3QGSXG3P.js} +3 -3
- package/dist/sync/index.js +4 -4
- package/dist/team/index.js +8 -8
- package/dist/tiers/index.js +4 -4
- package/dist/{walk-3ZECBFDA.js → walk-OFXQN5US.js} +6 -6
- package/dist/with-sync/engine.d.ts +21 -0
- package/dist/{withdraw-accessible-7PG4DYQK.js → withdraw-accessible-7XKYVTMP.js} +8 -8
- package/package.json +3 -3
- package/dist/chunk-BRVW2GS5.js.map +0 -1
- package/dist/chunk-YPYHVOXP.js.map +0 -1
- package/dist/liberate-GFN4C7RR.js +0 -24
- /package/dist/{api-RXUMEKT3.js.map → api-XDMGLURJ.js.map} +0 -0
- /package/dist/{backup-AVAGHAJE.js.map → backup-AWHG6ODK.js.map} +0 -0
- /package/dist/{bundle-handle-GFNHT52M.js.map → bundle-handle-G4R37BQV.js.map} +0 -0
- /package/dist/{chunk-W77KZHCW.js.map → chunk-25FGCLYS.js.map} +0 -0
- /package/dist/{chunk-7H73RIE3.js.map → chunk-2APC6HS6.js.map} +0 -0
- /package/dist/{chunk-FFDNKRCY.js.map → chunk-44JENXEG.js.map} +0 -0
- /package/dist/{chunk-3URQC7EH.js.map → chunk-4X5Z5SRV.js.map} +0 -0
- /package/dist/{chunk-WFUIE565.js.map → chunk-5GMMIDJX.js.map} +0 -0
- /package/dist/{chunk-U5O6GIWZ.js.map → chunk-5XFTL73S.js.map} +0 -0
- /package/dist/{chunk-SUFG5E73.js.map → chunk-6OC6YASM.js.map} +0 -0
- /package/dist/{chunk-JRKZTEZZ.js.map → chunk-7BEHYALK.js.map} +0 -0
- /package/dist/{chunk-6BU3L4UE.js.map → chunk-7HF4J7Z5.js.map} +0 -0
- /package/dist/{chunk-YJ6IONGA.js.map → chunk-7MT56F4U.js.map} +0 -0
- /package/dist/{chunk-7MNBICB5.js.map → chunk-7VPWXVKU.js.map} +0 -0
- /package/dist/{chunk-6SAFL5YE.js.map → chunk-AZQVFXJF.js.map} +0 -0
- /package/dist/{chunk-CCVYQFLU.js.map → chunk-B2P7M2D2.js.map} +0 -0
- /package/dist/{chunk-XWX7GL56.js.map → chunk-CCZ5DEJ7.js.map} +0 -0
- /package/dist/{chunk-3IXIU6FP.js.map → chunk-DEFCPAXD.js.map} +0 -0
- /package/dist/{chunk-WASHZV34.js.map → chunk-DIICZPWS.js.map} +0 -0
- /package/dist/{chunk-G6S5VVHP.js.map → chunk-E2TN45ZD.js.map} +0 -0
- /package/dist/{chunk-O2ERS4UJ.js.map → chunk-EBEKSNKS.js.map} +0 -0
- /package/dist/{chunk-5JY5TSVY.js.map → chunk-G4VQSGXL.js.map} +0 -0
- /package/dist/{chunk-5ZKS6ZE2.js.map → chunk-GV2EFYNV.js.map} +0 -0
- /package/dist/{chunk-X56RTUK3.js.map → chunk-K525AZ5C.js.map} +0 -0
- /package/dist/{chunk-2Z3NCLNX.js.map → chunk-K6TQEDVJ.js.map} +0 -0
- /package/dist/{chunk-JJNOLSG5.js.map → chunk-L2UHRVB4.js.map} +0 -0
- /package/dist/{chunk-4GZ6XOVW.js.map → chunk-LRNODVQX.js.map} +0 -0
- /package/dist/{chunk-CBXHHCZT.js.map → chunk-NT432TE6.js.map} +0 -0
- /package/dist/{chunk-6BVER473.js.map → chunk-OI7ZJUYT.js.map} +0 -0
- /package/dist/{chunk-FZ6NYJ7L.js.map → chunk-OUST5WDV.js.map} +0 -0
- /package/dist/{chunk-3JVXVJ7L.js.map → chunk-OXCU7G5I.js.map} +0 -0
- /package/dist/{chunk-GU7A7MQA.js.map → chunk-P2PLXMHO.js.map} +0 -0
- /package/dist/{chunk-CDB2HVQW.js.map → chunk-P2Y2F6EB.js.map} +0 -0
- /package/dist/{chunk-PDLLCOGD.js.map → chunk-PGWXE5CR.js.map} +0 -0
- /package/dist/{chunk-6FJWSWFT.js.map → chunk-PK3URBVU.js.map} +0 -0
- /package/dist/{chunk-52JPHN5N.js.map → chunk-QS2PUZC7.js.map} +0 -0
- /package/dist/{chunk-2DHSSLOD.js.map → chunk-RSHNUOSJ.js.map} +0 -0
- /package/dist/{chunk-4VUPLMZ6.js.map → chunk-SPA5WX3T.js.map} +0 -0
- /package/dist/{chunk-PNKHAKQ7.js.map → chunk-SV4BNALS.js.map} +0 -0
- /package/dist/{chunk-VZ3XFUQ7.js.map → chunk-SYFEJFIO.js.map} +0 -0
- /package/dist/{chunk-5O5HRRTV.js.map → chunk-T227WEHE.js.map} +0 -0
- /package/dist/{chunk-QULVCV3M.js.map → chunk-TJCRCCPT.js.map} +0 -0
- /package/dist/{chunk-PL2GHSCM.js.map → chunk-UAHHWR4P.js.map} +0 -0
- /package/dist/{chunk-FMQJZH4R.js.map → chunk-UFM3WVIF.js.map} +0 -0
- /package/dist/{chunk-Q6TEJXBX.js.map → chunk-VA3PPYTQ.js.map} +0 -0
- /package/dist/{chunk-6NVPFKN3.js.map → chunk-VBCDVWRU.js.map} +0 -0
- /package/dist/{chunk-WLZ47GSL.js.map → chunk-XJIGOFN6.js.map} +0 -0
- /package/dist/{chunk-ADW22QSB.js.map → chunk-XXVIHJZY.js.map} +0 -0
- /package/dist/{chunk-4I72F5DF.js.map → chunk-Y3H4WOP3.js.map} +0 -0
- /package/dist/{chunk-NPP5R7FF.js.map → chunk-YY3PEDBR.js.map} +0 -0
- /package/dist/{chunk-2BMRJ6LQ.js.map → chunk-Z7SMBVNM.js.map} +0 -0
- /package/dist/{classified-marker-2KJAXRRO.js.map → classified-marker-EHRSGBM7.js.map} +0 -0
- /package/dist/{collection-facade-QEJIM6BC.js.map → collection-facade-5UJW6QRB.js.map} +0 -0
- /package/dist/{dead-filter-DCB62VWW.js.map → dead-filter-ANPRM2LD.js.map} +0 -0
- /package/dist/{delegation-MO7YZYJS.js.map → delegation-6NUQCURX.js.map} +0 -0
- /package/dist/{derive-IUA6JFLB.js.map → derive-5PFJNNNU.js.map} +0 -0
- /package/dist/{dispatch-MJ6SHB3Y.js.map → dispatch-EO2QHEXK.js.map} +0 -0
- /package/dist/{dispatch-23SKSHPD.js.map → dispatch-UGU775MV.js.map} +0 -0
- /package/dist/{enclave-JU4YIEPB.js.map → enclave-3Z7VTJAW.js.map} +0 -0
- /package/dist/{executor-FKZURXVV.js.map → executor-AB4BCJO4.js.map} +0 -0
- /package/dist/{export-accessible-4S36PQNR.js.map → export-accessible-JXCJGHCF.js.map} +0 -0
- /package/dist/{extract-partition-IO7FDZ2P.js.map → extract-partition-2WDL4FJ5.js.map} +0 -0
- /package/dist/{fanout-sidecar-NNAJQXMX.js.map → fanout-sidecar-3Q6BWNSS.js.map} +0 -0
- /package/dist/{issue-RIVHSY2S.js.map → issue-EABYJWX5.js.map} +0 -0
- /package/dist/{ledger-AETNF4OM.js.map → ledger-ZO5OKKGR.js.map} +0 -0
- /package/dist/{liberate-GFN4C7RR.js.map → liberate-S3JR4TQT.js.map} +0 -0
- /package/dist/{link-set-E5HNY67I.js.map → link-set-ZZYDZPL4.js.map} +0 -0
- /package/dist/{managed-secret-CWQ6PND5.js.map → managed-secret-6FITSKDO.js.map} +0 -0
- /package/dist/{noydb-FYTCH2GD.js.map → noydb-SPEVD5JA.js.map} +0 -0
- /package/dist/{post-register-2XSSMGEQ.js.map → post-register-577X4FAU.js.map} +0 -0
- /package/dist/{register-4EFJCVYD.js.map → register-OXUXXIWT.js.map} +0 -0
- /package/dist/{registry-4SDHHOJ7.js.map → registry-L3CO5ZAY.js.map} +0 -0
- /package/dist/{registry-OYTFGWVK.js.map → registry-QFIVGS2W.js.map} +0 -0
- /package/dist/{request-withdrawal-KGXGDPVQ.js.map → request-withdrawal-UV42CNR5.js.map} +0 -0
- /package/dist/{reveal-BW36KCOQ.js.map → reveal-PCQYK4NO.js.map} +0 -0
- /package/dist/{revoke-JFN773KF.js.map → revoke-26DFO36Z.js.map} +0 -0
- /package/dist/{seed-GDV5PT4R.js.map → seed-BVO6SSKH.js.map} +0 -0
- /package/dist/{signer-TA55QB6R.js.map → signer-DDO7QEID.js.map} +0 -0
- /package/dist/{stale-4PUTWI2H.js.map → stale-3FW6U4OU.js.map} +0 -0
- /package/dist/{storage-V7MTFAQJ.js.map → storage-M7L2EK3F.js.map} +0 -0
- /package/dist/{store-coordination-provider-GFCUOBR6.js.map → store-coordination-provider-3QGSXG3P.js.map} +0 -0
- /package/dist/{walk-3ZECBFDA.js.map → walk-OFXQN5US.js.map} +0 -0
- /package/dist/{withdraw-accessible-7PG4DYQK.js.map → withdraw-accessible-7XKYVTMP.js.map} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
buildAccessibleBundle,
|
|
3
3
|
resolveAccessibleCollections
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-44JENXEG.js";
|
|
5
5
|
import {
|
|
6
6
|
sha256Hex
|
|
7
7
|
} from "./chunk-VCETL77O.js";
|
|
8
8
|
import {
|
|
9
9
|
NOYDB_FORMAT_VERSION
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NSRITINN.js";
|
|
11
11
|
import {
|
|
12
12
|
ReadOnlyError
|
|
13
13
|
} from "./chunk-HNGSV2YC.js";
|
|
@@ -114,4 +114,4 @@ export {
|
|
|
114
114
|
freezeAndDeleteClosure,
|
|
115
115
|
withdrawAccessibleData
|
|
116
116
|
};
|
|
117
|
-
//# sourceMappingURL=chunk-
|
|
117
|
+
//# sourceMappingURL=chunk-OUST5WDV.js.map
|
|
@@ -294,31 +294,31 @@ function buildBlobFieldEntries(filenamesByField) {
|
|
|
294
294
|
function withSearch() {
|
|
295
295
|
return {
|
|
296
296
|
async search(ctx, field, query, opts) {
|
|
297
|
-
const { search } = await import("./collection-facade-
|
|
297
|
+
const { search } = await import("./collection-facade-5UJW6QRB.js");
|
|
298
298
|
return search(ctx, field, query, opts);
|
|
299
299
|
},
|
|
300
300
|
async retrieve(ctx, query, opts) {
|
|
301
|
-
const { retrieve } = await import("./collection-facade-
|
|
301
|
+
const { retrieve } = await import("./collection-facade-5UJW6QRB.js");
|
|
302
302
|
return retrieve(ctx, query, opts);
|
|
303
303
|
},
|
|
304
304
|
async similarTo(ctx, vector, opts) {
|
|
305
|
-
const { similarTo } = await import("./collection-facade-
|
|
305
|
+
const { similarTo } = await import("./collection-facade-5UJW6QRB.js");
|
|
306
306
|
return similarTo(ctx, vector, opts);
|
|
307
307
|
},
|
|
308
308
|
async warmIndex(ctx) {
|
|
309
|
-
const { warmIndex } = await import("./collection-facade-
|
|
309
|
+
const { warmIndex } = await import("./collection-facade-5UJW6QRB.js");
|
|
310
310
|
return warmIndex(ctx);
|
|
311
311
|
},
|
|
312
312
|
async flushIndex(ctx) {
|
|
313
|
-
const { flushIndex } = await import("./collection-facade-
|
|
313
|
+
const { flushIndex } = await import("./collection-facade-5UJW6QRB.js");
|
|
314
314
|
return flushIndex(ctx);
|
|
315
315
|
},
|
|
316
316
|
async embedOnWrite(ctx, id, record, version) {
|
|
317
|
-
const { embedOnWrite } = await import("./collection-facade-
|
|
317
|
+
const { embedOnWrite } = await import("./collection-facade-5UJW6QRB.js");
|
|
318
318
|
return embedOnWrite(ctx, id, record, version);
|
|
319
319
|
},
|
|
320
320
|
async rebuildEmbeddings(ctx) {
|
|
321
|
-
const { rebuildEmbeddings } = await import("./collection-facade-
|
|
321
|
+
const { rebuildEmbeddings } = await import("./collection-facade-5UJW6QRB.js");
|
|
322
322
|
return rebuildEmbeddings(ctx);
|
|
323
323
|
}
|
|
324
324
|
};
|
|
@@ -364,4 +364,4 @@ export {
|
|
|
364
364
|
buildBlobFieldEntries,
|
|
365
365
|
withSearch
|
|
366
366
|
};
|
|
367
|
-
//# sourceMappingURL=chunk-
|
|
367
|
+
//# sourceMappingURL=chunk-OXCU7G5I.js.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
walkClosure
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-LRNODVQX.js";
|
|
4
4
|
import {
|
|
5
5
|
resolveManagedSecret
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-CCZ5DEJ7.js";
|
|
7
7
|
import {
|
|
8
8
|
parseExtractedPartitionBody,
|
|
9
9
|
readPod,
|
|
10
10
|
readPodHeader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-SPA5WX3T.js";
|
|
12
12
|
import {
|
|
13
13
|
createOwnerKeyring
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-7BEHYALK.js";
|
|
15
15
|
import {
|
|
16
16
|
diff
|
|
17
17
|
} from "./chunk-SVLR4POP.js";
|
|
18
18
|
import {
|
|
19
19
|
LedgerStore
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-VA3PPYTQ.js";
|
|
21
21
|
import {
|
|
22
22
|
LEDGER_COLLECTION
|
|
23
23
|
} from "./chunk-I7FD46FF.js";
|
|
24
24
|
import {
|
|
25
25
|
openEnvelopeJson
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
27
27
|
import {
|
|
28
28
|
base64ToBuffer,
|
|
29
29
|
wrapKey
|
|
@@ -193,7 +193,7 @@ function shortJSON(value) {
|
|
|
193
193
|
function withCargo() {
|
|
194
194
|
return {
|
|
195
195
|
async extractPartition(vault, opts) {
|
|
196
|
-
const { extractPartitionCore } = await import("./extract-partition-
|
|
196
|
+
const { extractPartitionCore } = await import("./extract-partition-2WDL4FJ5.js");
|
|
197
197
|
return extractPartitionCore(vault, opts);
|
|
198
198
|
}
|
|
199
199
|
};
|
|
@@ -399,7 +399,7 @@ async function createOwnerOnAdoptedPartition(store, vaultName, opts) {
|
|
|
399
399
|
}
|
|
400
400
|
}
|
|
401
401
|
if (isManaged(opts)) {
|
|
402
|
-
const { createNoydb } = await import("./noydb-
|
|
402
|
+
const { createNoydb } = await import("./noydb-SPEVD5JA.js");
|
|
403
403
|
const db = await createNoydb({
|
|
404
404
|
store,
|
|
405
405
|
user: userId,
|
|
@@ -455,4 +455,4 @@ export {
|
|
|
455
455
|
withCargo,
|
|
456
456
|
describeExtraction
|
|
457
457
|
};
|
|
458
|
-
//# sourceMappingURL=chunk-
|
|
458
|
+
//# sourceMappingURL=chunk-P2PLXMHO.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openEnvelopeJson
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
4
4
|
import {
|
|
5
5
|
encrypt
|
|
6
6
|
} from "./chunk-VCETL77O.js";
|
|
7
7
|
import {
|
|
8
8
|
NOYDB_FORMAT_VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NSRITINN.js";
|
|
10
10
|
|
|
11
11
|
// src/with-shape/persisted-schemas/storage.ts
|
|
12
12
|
var SCHEMAS_COLLECTION = "_schemas";
|
|
@@ -46,4 +46,4 @@ export {
|
|
|
46
46
|
loadPersistedSchema,
|
|
47
47
|
savePersistedSchema
|
|
48
48
|
};
|
|
49
|
-
//# sourceMappingURL=chunk-
|
|
49
|
+
//# sourceMappingURL=chunk-P2Y2F6EB.js.map
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
} from "./chunk-HNHCQ556.js";
|
|
5
5
|
import {
|
|
6
6
|
openEnvelopeJson
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
8
8
|
import {
|
|
9
9
|
encrypt
|
|
10
10
|
} from "./chunk-VCETL77O.js";
|
|
11
11
|
import {
|
|
12
12
|
NOYDB_FORMAT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NSRITINN.js";
|
|
14
14
|
import {
|
|
15
15
|
NoydbError
|
|
16
16
|
} from "./chunk-HNGSV2YC.js";
|
|
@@ -127,4 +127,4 @@ export {
|
|
|
127
127
|
LinkSet,
|
|
128
128
|
LinkEndpointError
|
|
129
129
|
};
|
|
130
|
-
//# sourceMappingURL=chunk-
|
|
130
|
+
//# sourceMappingURL=chunk-PGWXE5CR.js.map
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
persistUserVisibility,
|
|
5
5
|
readUserVisibility,
|
|
6
6
|
saveUserEnvelope
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-G4VQSGXL.js";
|
|
8
8
|
import {
|
|
9
9
|
PolicyDeniedError
|
|
10
10
|
} from "./chunk-HNGSV2YC.js";
|
|
@@ -379,4 +379,4 @@ export {
|
|
|
379
379
|
UserApi,
|
|
380
380
|
createUserApi
|
|
381
381
|
};
|
|
382
|
-
//# sourceMappingURL=chunk-
|
|
382
|
+
//# sourceMappingURL=chunk-PK3URBVU.js.map
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
isRewrappedUnder,
|
|
6
6
|
openEnvelopeJson,
|
|
7
7
|
rewrapEnvelope
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
9
9
|
import {
|
|
10
10
|
isTombstone,
|
|
11
11
|
isTombstoneShape
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-2APC6HS6.js";
|
|
13
13
|
import {
|
|
14
14
|
NOYDB_FORMAT_VERSION
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NSRITINN.js";
|
|
16
16
|
import {
|
|
17
17
|
ReadOnlyAtInstantError
|
|
18
18
|
} from "./chunk-HNGSV2YC.js";
|
|
@@ -330,4 +330,4 @@ export {
|
|
|
330
330
|
VaultInstant,
|
|
331
331
|
CollectionInstant
|
|
332
332
|
};
|
|
333
|
-
//# sourceMappingURL=chunk-
|
|
333
|
+
//# sourceMappingURL=chunk-QS2PUZC7.js.map
|
|
@@ -3,22 +3,22 @@ import {
|
|
|
3
3
|
} from "./chunk-EPFF7LOX.js";
|
|
4
4
|
import {
|
|
5
5
|
loadFence
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7HF4J7Z5.js";
|
|
7
7
|
import {
|
|
8
8
|
SCHEMAS_COLLECTION,
|
|
9
9
|
loadPersistedSchema
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-P2Y2F6EB.js";
|
|
11
11
|
import {
|
|
12
12
|
canonicalJson,
|
|
13
13
|
sha256Hex
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-AZQVFXJF.js";
|
|
15
15
|
import {
|
|
16
16
|
openEnvelopeJson,
|
|
17
17
|
writeEnvelopeBody
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
19
19
|
import {
|
|
20
20
|
NOYDB_FORMAT_VERSION
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-NSRITINN.js";
|
|
22
22
|
|
|
23
23
|
// src/with-shape/manifest/types.ts
|
|
24
24
|
var MANIFEST_SCHEMA_RECORD_ID = "schema";
|
|
@@ -88,4 +88,4 @@ export {
|
|
|
88
88
|
saveSchemaManifest,
|
|
89
89
|
deriveSchemaManifest
|
|
90
90
|
};
|
|
91
|
-
//# sourceMappingURL=chunk-
|
|
91
|
+
//# sourceMappingURL=chunk-RSHNUOSJ.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
pickLocale
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-Z7SMBVNM.js";
|
|
4
4
|
import {
|
|
5
5
|
sha256Hex
|
|
6
6
|
} from "./chunk-VCETL77O.js";
|
|
@@ -812,7 +812,7 @@ async function applySatelliteLivenessFilter(vault, dumpJson) {
|
|
|
812
812
|
if (!backup.collections || typeof backup.collections !== "object") return dumpJson;
|
|
813
813
|
if (typeof vault._introspectState !== "function") return dumpJson;
|
|
814
814
|
const { adapter, name, getDEK } = vault._introspectState();
|
|
815
|
-
const { liveBaseIdSetsForBundle } = await import("./dead-filter-
|
|
815
|
+
const { liveBaseIdSetsForBundle } = await import("./dead-filter-ANPRM2LD.js");
|
|
816
816
|
const satLive = await liveBaseIdSetsForBundle(adapter, name, Object.keys(backup.collections), getDEK);
|
|
817
817
|
if (satLive.size === 0) return dumpJson;
|
|
818
818
|
const next = {};
|
|
@@ -1064,4 +1064,4 @@ export {
|
|
|
1064
1064
|
readPod,
|
|
1065
1065
|
readNoydbBundle
|
|
1066
1066
|
};
|
|
1067
|
-
//# sourceMappingURL=chunk-
|
|
1067
|
+
//# sourceMappingURL=chunk-SPA5WX3T.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ATTESTATIONS_COLLECTION,
|
|
3
3
|
loadOrCreateSigner
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-L2UHRVB4.js";
|
|
5
5
|
import {
|
|
6
6
|
generateULID
|
|
7
7
|
} from "./chunk-ZJADGNYF.js";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./chunk-VCETL77O.js";
|
|
11
11
|
import {
|
|
12
12
|
NOYDB_FORMAT_VERSION
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-NSRITINN.js";
|
|
14
14
|
import {
|
|
15
15
|
AttestationError
|
|
16
16
|
} from "./chunk-HNGSV2YC.js";
|
|
@@ -56,4 +56,4 @@ async function issueAttestationCore(ctx, args) {
|
|
|
56
56
|
export {
|
|
57
57
|
issueAttestationCore
|
|
58
58
|
};
|
|
59
|
-
//# sourceMappingURL=chunk-
|
|
59
|
+
//# sourceMappingURL=chunk-SV4BNALS.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-ZJADGNYF.js";
|
|
4
4
|
import {
|
|
5
5
|
openEnvelopeJson
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
7
7
|
import {
|
|
8
8
|
encrypt
|
|
9
9
|
} from "./chunk-VCETL77O.js";
|
|
@@ -72,4 +72,4 @@ export {
|
|
|
72
72
|
writeConsentEntry,
|
|
73
73
|
loadConsentEntries
|
|
74
74
|
};
|
|
75
|
-
//# sourceMappingURL=chunk-
|
|
75
|
+
//# sourceMappingURL=chunk-SYFEJFIO.js.map
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
canonicalJson,
|
|
6
6
|
sha256Hex
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-AZQVFXJF.js";
|
|
8
8
|
import {
|
|
9
9
|
isDeleteMarker
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-2APC6HS6.js";
|
|
11
11
|
import {
|
|
12
12
|
PeriodClosedError,
|
|
13
13
|
ValidationError
|
|
@@ -124,7 +124,7 @@ function validatePeriodName(name, existing, partition) {
|
|
|
124
124
|
}
|
|
125
125
|
async function appendPeriodLedgerEntry(ledger, actor, envelope, name, collection = PERIODS_COLLECTION) {
|
|
126
126
|
if (!ledger) return;
|
|
127
|
-
const { envelopePayloadHash } = await import("./ledger-
|
|
127
|
+
const { envelopePayloadHash } = await import("./ledger-ZO5OKKGR.js");
|
|
128
128
|
await ledger.append({
|
|
129
129
|
op: "put",
|
|
130
130
|
collection,
|
|
@@ -198,4 +198,4 @@ export {
|
|
|
198
198
|
purgeMarkersOn,
|
|
199
199
|
withPeriods
|
|
200
200
|
};
|
|
201
|
-
//# sourceMappingURL=chunk-
|
|
201
|
+
//# sourceMappingURL=chunk-T227WEHE.js.map
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-UHXCLPGC.js";
|
|
4
4
|
import {
|
|
5
5
|
SealedHandle
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-NSRITINN.js";
|
|
7
7
|
import {
|
|
8
8
|
ClassifiedConfigError,
|
|
9
9
|
ClassifiedNotEnabledError
|
|
@@ -262,4 +262,4 @@ export {
|
|
|
262
262
|
enforceClassifiedWrite,
|
|
263
263
|
NO_CLASSIFIED
|
|
264
264
|
};
|
|
265
|
-
//# sourceMappingURL=chunk-
|
|
265
|
+
//# sourceMappingURL=chunk-TJCRCCPT.js.map
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import {
|
|
10
10
|
openEnvelopeJson,
|
|
11
11
|
writeEnvelopeBody
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
13
13
|
import {
|
|
14
14
|
base64ToBuffer,
|
|
15
15
|
bufferToBase64,
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
} from "./chunk-VCETL77O.js";
|
|
25
25
|
import {
|
|
26
26
|
NOYDB_FORMAT_VERSION
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-NSRITINN.js";
|
|
28
28
|
import {
|
|
29
29
|
BlobIntentPendingError,
|
|
30
30
|
BlobOfflineError,
|
|
@@ -3070,4 +3070,4 @@ export {
|
|
|
3070
3070
|
DEFAULT_CHUNK_SIZE,
|
|
3071
3071
|
BlobSet
|
|
3072
3072
|
};
|
|
3073
|
-
//# sourceMappingURL=chunk-
|
|
3073
|
+
//# sourceMappingURL=chunk-UAHHWR4P.js.map
|
|
@@ -10,11 +10,11 @@ import {
|
|
|
10
10
|
} from "./chunk-HPLWFNG4.js";
|
|
11
11
|
import {
|
|
12
12
|
envelopeBodySize
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-4X5Z5SRV.js";
|
|
14
14
|
import {
|
|
15
15
|
isDeleteMarker,
|
|
16
16
|
isTombstoneShape
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-2APC6HS6.js";
|
|
18
18
|
import {
|
|
19
19
|
decrypt,
|
|
20
20
|
derivePresenceKey,
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./chunk-VCETL77O.js";
|
|
23
23
|
import {
|
|
24
24
|
NOYDB_SYNC_VERSION
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-NSRITINN.js";
|
|
26
26
|
import {
|
|
27
27
|
ValidationError,
|
|
28
28
|
isConflictError
|
|
@@ -349,8 +349,17 @@ var SyncEngine = class {
|
|
|
349
349
|
* into the scheduler below. */
|
|
350
350
|
policy;
|
|
351
351
|
dirty = [];
|
|
352
|
+
/** #1036 — last SUCCESSFUL push/pull. Never advanced by a failed attempt. */
|
|
352
353
|
lastPush = null;
|
|
353
354
|
lastPull = null;
|
|
355
|
+
/**
|
|
356
|
+
* #1036 — the failure that ended the most recent attempt, cleared by the next
|
|
357
|
+
* success. Live state only: deliberately NOT persisted in `_sync/meta`, since a
|
|
358
|
+
* reload cannot know whether the target is still failing. It exists so a poller
|
|
359
|
+
* can separate "never synced" (both null) from "synced a while ago, failing
|
|
360
|
+
* since" (`lastPush` set, `lastError` set).
|
|
361
|
+
*/
|
|
362
|
+
lastError = null;
|
|
354
363
|
loaded = false;
|
|
355
364
|
autoSyncInterval = null;
|
|
356
365
|
isOnline = true;
|
|
@@ -615,7 +624,7 @@ var SyncEngine = class {
|
|
|
615
624
|
for (const i of completed.sort((a, b) => b - a)) {
|
|
616
625
|
this.dirty.splice(i, 1);
|
|
617
626
|
}
|
|
618
|
-
this.
|
|
627
|
+
this.recordOutcome("push", errors);
|
|
619
628
|
try {
|
|
620
629
|
await this.persistMeta();
|
|
621
630
|
} finally {
|
|
@@ -787,7 +796,7 @@ var SyncEngine = class {
|
|
|
787
796
|
} catch (err) {
|
|
788
797
|
errors.push(err instanceof Error ? err : new Error(String(err)));
|
|
789
798
|
}
|
|
790
|
-
this.
|
|
799
|
+
this.recordOutcome("pull", errors);
|
|
791
800
|
try {
|
|
792
801
|
await this.persistMeta();
|
|
793
802
|
} finally {
|
|
@@ -902,12 +911,33 @@ var SyncEngine = class {
|
|
|
902
911
|
for (const i of completed.sort((a, b) => b - a)) {
|
|
903
912
|
this.dirty.splice(i, 1);
|
|
904
913
|
}
|
|
905
|
-
this.
|
|
914
|
+
this.recordOutcome("push", errors);
|
|
906
915
|
await this.persistMeta();
|
|
907
916
|
const result = { pushed, conflicts, errors, erasures };
|
|
908
917
|
this.emitter.emit("sync:push", result);
|
|
909
918
|
return result;
|
|
910
919
|
}
|
|
920
|
+
/**
|
|
921
|
+
* #1036 — close out a push/pull. `push()` and `pull()` collect per-record
|
|
922
|
+
* failures into their result's `errors` rather than throwing, and the clock used
|
|
923
|
+
* to be stamped regardless — so an unreachable store still reported a fresh
|
|
924
|
+
* `lastPush`, and a UI rendered "Last synced: just now" over a sync that moved
|
|
925
|
+
* nothing. An attempt only advances the clock when it had no errors.
|
|
926
|
+
*
|
|
927
|
+
* An empty dirty log is a success, not a failure: nothing to send is not the
|
|
928
|
+
* same as failing to send, and treating it otherwise would leave a quiet vault
|
|
929
|
+
* looking permanently unsynced.
|
|
930
|
+
*/
|
|
931
|
+
recordOutcome(op, errors) {
|
|
932
|
+
const at = (/* @__PURE__ */ new Date()).toISOString();
|
|
933
|
+
if (errors.length > 0) {
|
|
934
|
+
this.lastError = { at, op, message: errors[0].message };
|
|
935
|
+
return;
|
|
936
|
+
}
|
|
937
|
+
this.lastError = null;
|
|
938
|
+
if (op === "push") this.lastPush = at;
|
|
939
|
+
else this.lastPull = at;
|
|
940
|
+
}
|
|
911
941
|
/** Get current sync status. */
|
|
912
942
|
status() {
|
|
913
943
|
const scheduled = this.scheduler?.status;
|
|
@@ -916,6 +946,7 @@ var SyncEngine = class {
|
|
|
916
946
|
lastPush: this.lastPush,
|
|
917
947
|
lastPull: this.lastPull,
|
|
918
948
|
online: this.isOnline,
|
|
949
|
+
...this.lastError ? { lastError: this.lastError } : {},
|
|
919
950
|
...scheduled && scheduled.readiness.size > 0 ? { readiness: scheduled.readiness, phase: scheduled.phase } : {}
|
|
920
951
|
};
|
|
921
952
|
}
|
|
@@ -1160,4 +1191,4 @@ export {
|
|
|
1160
1191
|
SyncEngine,
|
|
1161
1192
|
SyncTransaction
|
|
1162
1193
|
};
|
|
1163
|
-
//# sourceMappingURL=chunk-
|
|
1194
|
+
//# sourceMappingURL=chunk-UANGJ2YB.js.map
|