@noy-db/hub 0.4.0-pre.9 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{api-3NKVNZPM.js → api-SI2IVBQO.js} +6 -6
- package/dist/attestation/index.js +12 -12
- package/dist/{backup-PTSVXDDW.js → backup-X7F3TCFV.js} +6 -6
- package/dist/blobs/index.js +5 -5
- package/dist/broker/index.js +6 -6
- package/dist/cargo/index.js +20 -20
- package/dist/{chunk-WZ3NCMK6.js → chunk-2BET5QTS.js} +3 -3
- package/dist/{chunk-Y6B6HVKC.js → chunk-2J6UEN2V.js} +41 -17
- package/dist/chunk-2J6UEN2V.js.map +1 -0
- package/dist/{chunk-BYFXLDVV.js → chunk-3ECU57YH.js} +7 -7
- package/dist/{chunk-ZWBKDKXC.js → chunk-467SWYT5.js} +2 -2
- package/dist/{chunk-MTJLOC3Y.js → chunk-55LKVALY.js} +106 -10
- package/dist/chunk-55LKVALY.js.map +1 -0
- package/dist/{chunk-XIDQKFZF.js → chunk-5UQ7Y6SQ.js} +2 -2
- package/dist/{chunk-GZACYEOB.js → chunk-77AEMXFA.js} +1 -1
- package/dist/chunk-77AEMXFA.js.map +1 -0
- package/dist/{chunk-IMRB2C4O.js → chunk-7H3WWH6J.js} +3 -3
- package/dist/{chunk-OLIWCCFM.js → chunk-CLE3TMIS.js} +2 -2
- package/dist/{chunk-ZFUFAHZ3.js → chunk-DAFBJS4Y.js} +2 -2
- package/dist/{chunk-ISRKW4YN.js → chunk-DQZXPGGZ.js} +2 -2
- package/dist/{chunk-FMNU7IUG.js → chunk-DTFA5DO4.js} +2 -2
- package/dist/{chunk-VH6SOCXH.js → chunk-EFJAAFBW.js} +2 -2
- package/dist/{chunk-TIVK6PRK.js → chunk-ERGECZEI.js} +5 -5
- package/dist/{chunk-NGSJZFGL.js → chunk-GTYFIVIZ.js} +83 -21
- package/dist/chunk-GTYFIVIZ.js.map +1 -0
- package/dist/{chunk-KW42W6SV.js → chunk-HLKXPJ4V.js} +4 -4
- package/dist/{chunk-MANUDU7I.js → chunk-HZZP2ZIG.js} +4 -4
- package/dist/{chunk-DZAF24PG.js → chunk-IFOH7RBI.js} +3 -3
- package/dist/{chunk-FRMW23UK.js → chunk-IVYQAVWO.js} +2 -2
- package/dist/{chunk-SGQ4N5FS.js → chunk-JEI6JJNI.js} +3 -3
- package/dist/{chunk-BN4HRYAZ.js → chunk-JQ2AX4T5.js} +2 -2
- package/dist/{chunk-OBPVWOSQ.js → chunk-KD4HGBJV.js} +3 -3
- package/dist/{chunk-QADFHRQM.js → chunk-KYRDJI5O.js} +8 -8
- package/dist/{chunk-2NMEGSFV.js → chunk-LLYIMSQQ.js} +9 -9
- package/dist/{chunk-GP3UWP22.js → chunk-LRRX57UA.js} +2 -2
- package/dist/{chunk-OLSARBZU.js → chunk-LXRTP3AQ.js} +2 -2
- package/dist/{chunk-EBKCYQ2D.js → chunk-NBXFCQX4.js} +3 -3
- package/dist/{chunk-BXHMZ2XW.js → chunk-NLYALJMY.js} +24 -14
- package/dist/chunk-NLYALJMY.js.map +1 -0
- package/dist/{chunk-EZNTORXE.js → chunk-NM5UYF6Q.js} +1 -1
- package/dist/chunk-NM5UYF6Q.js.map +1 -0
- package/dist/{chunk-NEX7JCMO.js → chunk-OWHP3H5C.js} +3 -3
- package/dist/{chunk-WO4T4OD5.js → chunk-P4JO3H6R.js} +2 -2
- package/dist/{chunk-CCDP6EPB.js → chunk-PWPYO73B.js} +2 -2
- package/dist/{chunk-56IIVAEO.js → chunk-Q2SEJMP2.js} +2 -2
- package/dist/{chunk-JIDLU57U.js → chunk-Q36YXK77.js} +2 -2
- package/dist/{chunk-KPXM4WO6.js → chunk-Q5YJCVJY.js} +3 -3
- package/dist/{chunk-JYV4JJV2.js → chunk-QGIBI6GL.js} +4 -4
- package/dist/{chunk-DGBIHDVK.js → chunk-RBTVFPHF.js} +3 -3
- package/dist/{chunk-6R6Q3MRN.js → chunk-RQ4ZI4ZI.js} +4 -4
- package/dist/{chunk-FO6RNKKW.js → chunk-S7GIXBXV.js} +2 -2
- package/dist/chunk-SBHN6QUT.js +25 -0
- package/dist/chunk-SBHN6QUT.js.map +1 -0
- package/dist/{chunk-3XKESW5E.js → chunk-SF2ZIRD6.js} +2 -2
- package/dist/{chunk-TE6LH6J2.js → chunk-SFBYQMZM.js} +3 -3
- package/dist/{chunk-RZPOZPZU.js → chunk-SU6SGWXM.js} +3 -3
- package/dist/{chunk-6L3DKWRY.js → chunk-T2MOJF76.js} +2 -2
- package/dist/{chunk-SKM35Y4Q.js → chunk-TS5XLBZR.js} +3 -3
- package/dist/{chunk-HFUAFR6B.js → chunk-TWPK7KUJ.js} +3 -3
- package/dist/{chunk-6M2I3DKF.js → chunk-WK7ULBTP.js} +2 -2
- package/dist/{chunk-IF6WNGAK.js → chunk-WUHEP3HH.js} +2 -2
- package/dist/{chunk-NQSO4UAH.js → chunk-WYUAEZSC.js} +3 -3
- package/dist/{chunk-Y6VZQGGH.js → chunk-YGK2HMLR.js} +4 -4
- package/dist/{chunk-OW5Y6HA6.js → chunk-ZBYFMI6D.js} +223 -119
- package/dist/chunk-ZBYFMI6D.js.map +1 -0
- package/dist/{chunk-N5PLUFH2.js → chunk-ZFG5EBI3.js} +4 -4
- package/dist/{chunk-KFRPNHWR.js → chunk-ZHDSUZQU.js} +3 -3
- package/dist/{chunk-C25JXSOR.js → chunk-ZNWSG7XC.js} +5 -5
- package/dist/classified/index.js +3 -3
- package/dist/{classified-marker-EOOSMWFC.js → classified-marker-LE54HWSX.js} +3 -3
- package/dist/{collection-facade-TTRF5NFJ.js → collection-facade-DO2AABZT.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-6DYY7S64.js → dead-filter-V3LVWYEJ.js} +2 -2
- package/dist/debug/index.js +29 -0
- package/dist/debug/index.js.map +1 -0
- package/dist/{delegation-ONOZVPIP.js → delegation-JDUMAF6L.js} +4 -4
- package/dist/derivations/index.js +3 -3
- package/dist/{derive-IGGVSUPH.js → derive-ZPGVLE2Q.js} +4 -4
- package/dist/directory/index.js +5 -5
- package/dist/{dispatch-RPTLK7LJ.js → dispatch-6TV3DGO6.js} +5 -5
- package/dist/{dispatch-7T45NN7C.js → dispatch-W7NWQ637.js} +9 -9
- package/dist/{enclave-CLJVSDFG.js → enclave-YFCLPIDR.js} +4 -4
- package/dist/{executor-XZYM4KHT.js → executor-FPHKWDWT.js} +8 -8
- package/dist/{export-accessible-24XCCD3A.js → export-accessible-EKM3HGB2.js} +7 -7
- package/dist/{extract-partition-H2TPEEOF.js → extract-partition-LS4ET5A6.js} +10 -10
- package/dist/{fanout-sidecar-TV7CXAJ6.js → fanout-sidecar-273RDMYS.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.d.ts +7 -7
- package/dist/index.js +148 -96
- package/dist/index.js.map +1 -1
- package/dist/introspection/index.js +5 -5
- package/dist/{issue-55HJE7JF.js → issue-LIA7FXBJ.js} +6 -6
- package/dist/kernel/collection.d.ts +89 -2
- package/dist/kernel/debug.d.ts +11 -0
- package/dist/kernel/noydb.d.ts +3 -3
- package/dist/kernel/prepared-write.d.ts +70 -0
- package/dist/kernel/sync-policy.d.ts +75 -3
- package/dist/kernel/types.d.ts +27 -8
- package/dist/{ledger-XY6NP3J2.js → ledger-XE7JF2I2.js} +6 -6
- package/dist/liberate-WZ3RHVKW.js +24 -0
- package/dist/{link-set-POQB7BU5.js → link-set-CGYC3OH5.js} +5 -5
- package/dist/materialized-views/index.js +13 -13
- package/dist/{noydb-MGPOYDOD.js → noydb-ZLPVCDES.js} +30 -31
- package/dist/periods/index.js +8 -8
- package/dist/pod/index.js +6 -6
- package/dist/policy/index.js +3 -3
- package/dist/port/with/strategies.d.ts +1 -1
- package/dist/portability/index.js +6 -6
- package/dist/{post-register-URQANI3B.js → post-register-LY35EDTJ.js} +4 -4
- package/dist/{register-5W6CG4RM.js → register-6RIBIT3I.js} +6 -6
- package/dist/{registry-UJFP3NWF.js → registry-MUSL4AW6.js} +4 -4
- package/dist/{registry-MCSGBZXI.js → registry-RON4WHAP.js} +4 -4
- package/dist/{request-withdrawal-IWYDM4SO.js → request-withdrawal-FT3ORAWN.js} +9 -9
- package/dist/{reveal-BXZGWIOP.js → reveal-T34ADTPY.js} +3 -3
- package/dist/{revoke-TINYPHYY.js → revoke-HC7WG3HE.js} +6 -6
- package/dist/sealed-record/index.js +6 -6
- package/dist/search/index.js +1 -1
- package/dist/{seed-F7YYQTRC.js → seed-JOV54PB3.js} +6 -6
- package/dist/seed-JOV54PB3.js.map +1 -0
- package/dist/sequence/index.js +4 -4
- package/dist/session/index.js +3 -3
- package/dist/{signer-WMZKCNKC.js → signer-CTWOH6KT.js} +5 -5
- package/dist/snapshots/index.js +5 -5
- package/dist/{stale-JOE7GBAE.js → stale-T3V7XEOB.js} +5 -5
- package/dist/{storage-B3WBKXKT.js → storage-LLNLPWWB.js} +5 -5
- package/dist/{store-coordination-provider-5LX2UFU2.js → store-coordination-provider-AHGFEMFA.js} +3 -3
- package/dist/sync/index.js +9 -10
- package/dist/sync/index.js.map +1 -1
- package/dist/team/index.js +8 -30
- package/dist/tiers/index.js +4 -4
- package/dist/transactions/index.js +1 -1
- package/dist/{walk-6OHAWGBS.js → walk-G3NFEP5L.js} +6 -6
- package/dist/with-commit/tx/atomic-eligibility.d.ts +47 -0
- package/dist/with-commit/tx/transaction.d.ts +22 -9
- package/dist/with-party/broker/seed.d.ts +1 -1
- package/dist/with-party/team/index.d.ts +0 -5
- package/dist/{with-party/team/sync-active.d.ts → with-sync/active.d.ts} +1 -1
- package/dist/{with-party/team/sync-credentials.d.ts → with-sync/credentials.d.ts} +3 -3
- package/dist/{with-party/team/sync.d.ts → with-sync/engine.d.ts} +5 -5
- package/dist/{with-party/sync → with-sync}/index.d.ts +3 -3
- package/dist/{with-party/team/sync-period-scope.d.ts → with-sync/period-scope.d.ts} +2 -2
- package/dist/{with-party/team → with-sync}/presence.d.ts +2 -2
- package/dist/{with-party/team/sync-strategy.d.ts → with-sync/strategy.d.ts} +6 -6
- package/dist/{with-party/team/sync-transaction.d.ts → with-sync/transaction.d.ts} +3 -3
- package/dist/{withdraw-accessible-DEUCOO4F.js → withdraw-accessible-ANSVG6XG.js} +8 -8
- package/package.json +8 -4
- package/dist/chunk-BXHMZ2XW.js.map +0 -1
- package/dist/chunk-EP5L47XV.js +0 -22
- package/dist/chunk-EP5L47XV.js.map +0 -1
- package/dist/chunk-EZNTORXE.js.map +0 -1
- package/dist/chunk-GZACYEOB.js.map +0 -1
- package/dist/chunk-MTJLOC3Y.js.map +0 -1
- package/dist/chunk-NGSJZFGL.js.map +0 -1
- package/dist/chunk-OW5Y6HA6.js.map +0 -1
- package/dist/chunk-SHYIA73K.js +0 -99
- package/dist/chunk-SHYIA73K.js.map +0 -1
- package/dist/chunk-Y6B6HVKC.js.map +0 -1
- package/dist/liberate-LXOJ2EMB.js +0 -24
- package/dist/seed-F7YYQTRC.js.map +0 -1
- /package/dist/{api-3NKVNZPM.js.map → api-SI2IVBQO.js.map} +0 -0
- /package/dist/{backup-PTSVXDDW.js.map → backup-X7F3TCFV.js.map} +0 -0
- /package/dist/{chunk-WZ3NCMK6.js.map → chunk-2BET5QTS.js.map} +0 -0
- /package/dist/{chunk-BYFXLDVV.js.map → chunk-3ECU57YH.js.map} +0 -0
- /package/dist/{chunk-ZWBKDKXC.js.map → chunk-467SWYT5.js.map} +0 -0
- /package/dist/{chunk-XIDQKFZF.js.map → chunk-5UQ7Y6SQ.js.map} +0 -0
- /package/dist/{chunk-IMRB2C4O.js.map → chunk-7H3WWH6J.js.map} +0 -0
- /package/dist/{chunk-OLIWCCFM.js.map → chunk-CLE3TMIS.js.map} +0 -0
- /package/dist/{chunk-ZFUFAHZ3.js.map → chunk-DAFBJS4Y.js.map} +0 -0
- /package/dist/{chunk-ISRKW4YN.js.map → chunk-DQZXPGGZ.js.map} +0 -0
- /package/dist/{chunk-FMNU7IUG.js.map → chunk-DTFA5DO4.js.map} +0 -0
- /package/dist/{chunk-VH6SOCXH.js.map → chunk-EFJAAFBW.js.map} +0 -0
- /package/dist/{chunk-TIVK6PRK.js.map → chunk-ERGECZEI.js.map} +0 -0
- /package/dist/{chunk-KW42W6SV.js.map → chunk-HLKXPJ4V.js.map} +0 -0
- /package/dist/{chunk-MANUDU7I.js.map → chunk-HZZP2ZIG.js.map} +0 -0
- /package/dist/{chunk-DZAF24PG.js.map → chunk-IFOH7RBI.js.map} +0 -0
- /package/dist/{chunk-FRMW23UK.js.map → chunk-IVYQAVWO.js.map} +0 -0
- /package/dist/{chunk-SGQ4N5FS.js.map → chunk-JEI6JJNI.js.map} +0 -0
- /package/dist/{chunk-BN4HRYAZ.js.map → chunk-JQ2AX4T5.js.map} +0 -0
- /package/dist/{chunk-OBPVWOSQ.js.map → chunk-KD4HGBJV.js.map} +0 -0
- /package/dist/{chunk-QADFHRQM.js.map → chunk-KYRDJI5O.js.map} +0 -0
- /package/dist/{chunk-2NMEGSFV.js.map → chunk-LLYIMSQQ.js.map} +0 -0
- /package/dist/{chunk-GP3UWP22.js.map → chunk-LRRX57UA.js.map} +0 -0
- /package/dist/{chunk-OLSARBZU.js.map → chunk-LXRTP3AQ.js.map} +0 -0
- /package/dist/{chunk-EBKCYQ2D.js.map → chunk-NBXFCQX4.js.map} +0 -0
- /package/dist/{chunk-NEX7JCMO.js.map → chunk-OWHP3H5C.js.map} +0 -0
- /package/dist/{chunk-WO4T4OD5.js.map → chunk-P4JO3H6R.js.map} +0 -0
- /package/dist/{chunk-CCDP6EPB.js.map → chunk-PWPYO73B.js.map} +0 -0
- /package/dist/{chunk-56IIVAEO.js.map → chunk-Q2SEJMP2.js.map} +0 -0
- /package/dist/{chunk-JIDLU57U.js.map → chunk-Q36YXK77.js.map} +0 -0
- /package/dist/{chunk-KPXM4WO6.js.map → chunk-Q5YJCVJY.js.map} +0 -0
- /package/dist/{chunk-JYV4JJV2.js.map → chunk-QGIBI6GL.js.map} +0 -0
- /package/dist/{chunk-DGBIHDVK.js.map → chunk-RBTVFPHF.js.map} +0 -0
- /package/dist/{chunk-6R6Q3MRN.js.map → chunk-RQ4ZI4ZI.js.map} +0 -0
- /package/dist/{chunk-FO6RNKKW.js.map → chunk-S7GIXBXV.js.map} +0 -0
- /package/dist/{chunk-3XKESW5E.js.map → chunk-SF2ZIRD6.js.map} +0 -0
- /package/dist/{chunk-TE6LH6J2.js.map → chunk-SFBYQMZM.js.map} +0 -0
- /package/dist/{chunk-RZPOZPZU.js.map → chunk-SU6SGWXM.js.map} +0 -0
- /package/dist/{chunk-6L3DKWRY.js.map → chunk-T2MOJF76.js.map} +0 -0
- /package/dist/{chunk-SKM35Y4Q.js.map → chunk-TS5XLBZR.js.map} +0 -0
- /package/dist/{chunk-HFUAFR6B.js.map → chunk-TWPK7KUJ.js.map} +0 -0
- /package/dist/{chunk-6M2I3DKF.js.map → chunk-WK7ULBTP.js.map} +0 -0
- /package/dist/{chunk-IF6WNGAK.js.map → chunk-WUHEP3HH.js.map} +0 -0
- /package/dist/{chunk-NQSO4UAH.js.map → chunk-WYUAEZSC.js.map} +0 -0
- /package/dist/{chunk-Y6VZQGGH.js.map → chunk-YGK2HMLR.js.map} +0 -0
- /package/dist/{chunk-N5PLUFH2.js.map → chunk-ZFG5EBI3.js.map} +0 -0
- /package/dist/{chunk-KFRPNHWR.js.map → chunk-ZHDSUZQU.js.map} +0 -0
- /package/dist/{chunk-C25JXSOR.js.map → chunk-ZNWSG7XC.js.map} +0 -0
- /package/dist/{classified-marker-EOOSMWFC.js.map → classified-marker-LE54HWSX.js.map} +0 -0
- /package/dist/{collection-facade-TTRF5NFJ.js.map → collection-facade-DO2AABZT.js.map} +0 -0
- /package/dist/{dead-filter-6DYY7S64.js.map → dead-filter-V3LVWYEJ.js.map} +0 -0
- /package/dist/{delegation-ONOZVPIP.js.map → delegation-JDUMAF6L.js.map} +0 -0
- /package/dist/{derive-IGGVSUPH.js.map → derive-ZPGVLE2Q.js.map} +0 -0
- /package/dist/{dispatch-RPTLK7LJ.js.map → dispatch-6TV3DGO6.js.map} +0 -0
- /package/dist/{dispatch-7T45NN7C.js.map → dispatch-W7NWQ637.js.map} +0 -0
- /package/dist/{enclave-CLJVSDFG.js.map → enclave-YFCLPIDR.js.map} +0 -0
- /package/dist/{executor-XZYM4KHT.js.map → executor-FPHKWDWT.js.map} +0 -0
- /package/dist/{export-accessible-24XCCD3A.js.map → export-accessible-EKM3HGB2.js.map} +0 -0
- /package/dist/{extract-partition-H2TPEEOF.js.map → extract-partition-LS4ET5A6.js.map} +0 -0
- /package/dist/{fanout-sidecar-TV7CXAJ6.js.map → fanout-sidecar-273RDMYS.js.map} +0 -0
- /package/dist/{issue-55HJE7JF.js.map → issue-LIA7FXBJ.js.map} +0 -0
- /package/dist/{ledger-XY6NP3J2.js.map → ledger-XE7JF2I2.js.map} +0 -0
- /package/dist/{liberate-LXOJ2EMB.js.map → liberate-WZ3RHVKW.js.map} +0 -0
- /package/dist/{link-set-POQB7BU5.js.map → link-set-CGYC3OH5.js.map} +0 -0
- /package/dist/{noydb-MGPOYDOD.js.map → noydb-ZLPVCDES.js.map} +0 -0
- /package/dist/{post-register-URQANI3B.js.map → post-register-LY35EDTJ.js.map} +0 -0
- /package/dist/{register-5W6CG4RM.js.map → register-6RIBIT3I.js.map} +0 -0
- /package/dist/{registry-MCSGBZXI.js.map → registry-MUSL4AW6.js.map} +0 -0
- /package/dist/{registry-UJFP3NWF.js.map → registry-RON4WHAP.js.map} +0 -0
- /package/dist/{request-withdrawal-IWYDM4SO.js.map → request-withdrawal-FT3ORAWN.js.map} +0 -0
- /package/dist/{reveal-BXZGWIOP.js.map → reveal-T34ADTPY.js.map} +0 -0
- /package/dist/{revoke-TINYPHYY.js.map → revoke-HC7WG3HE.js.map} +0 -0
- /package/dist/{signer-WMZKCNKC.js.map → signer-CTWOH6KT.js.map} +0 -0
- /package/dist/{stale-JOE7GBAE.js.map → stale-T3V7XEOB.js.map} +0 -0
- /package/dist/{storage-B3WBKXKT.js.map → storage-LLNLPWWB.js.map} +0 -0
- /package/dist/{store-coordination-provider-5LX2UFU2.js.map → store-coordination-provider-AHGFEMFA.js.map} +0 -0
- /package/dist/{walk-6OHAWGBS.js.map → walk-G3NFEP5L.js.map} +0 -0
- /package/dist/{with-party → with-sync}/tab-coordination.d.ts +0 -0
- /package/dist/{with-party → with-sync}/tab-write-relay.d.ts +0 -0
- /package/dist/{withdraw-accessible-DEUCOO4F.js.map → withdraw-accessible-ANSVG6XG.js.map} +0 -0
|
@@ -53,8 +53,11 @@ export type PushMode = 'manual' | 'on-change' | 'debounce' | 'interval';
|
|
|
53
53
|
* - `'manual'` — only on explicit `sync.pull()` calls.
|
|
54
54
|
* - `'interval'` — on a fixed `intervalMs` timer.
|
|
55
55
|
* - `'on-focus'` — when the browser tab regains visibility.
|
|
56
|
+
* - `'phased'` — pull the collections named in `sequence`, in order, one at a
|
|
57
|
+
* time, then settle into steady state. For thin clients that need their
|
|
58
|
+
* navigation-critical collections before bulk history.
|
|
56
59
|
*/
|
|
57
|
-
export type PullMode = 'manual' | 'interval' | 'on-focus';
|
|
60
|
+
export type PullMode = 'manual' | 'interval' | 'on-focus' | 'phased';
|
|
58
61
|
/**
|
|
59
62
|
* Push half of a sync policy. Controls the trigger mode and timing guards
|
|
60
63
|
* for outbound sync operations.
|
|
@@ -84,8 +87,22 @@ export interface PushPolicy {
|
|
|
84
87
|
export interface PullPolicy {
|
|
85
88
|
/** Pull trigger mode. */
|
|
86
89
|
readonly mode: PullMode;
|
|
87
|
-
/**
|
|
90
|
+
/**
|
|
91
|
+
* Interval in ms between automatic pulls. Used by `'interval'` mode. Default: 60_000.
|
|
92
|
+
* Under `'phased'` it is the steady-state cadence adopted *after* the sequence
|
|
93
|
+
* completes; omit it to go idle instead.
|
|
94
|
+
*/
|
|
88
95
|
readonly intervalMs?: number;
|
|
96
|
+
/**
|
|
97
|
+
* Collection names to pull in order, one at a time. Required when
|
|
98
|
+
* `mode: 'phased'` and rejected otherwise. Entries must be non-empty and
|
|
99
|
+
* unique — without period narrowing a repeated collection can only be a
|
|
100
|
+
* mistake, so it is rejected rather than silently merged.
|
|
101
|
+
*
|
|
102
|
+
* Period-scoped phases (`collection@period`) are deferred to `partitions`;
|
|
103
|
+
* use `db.pull(vault, { periods })` explicitly meanwhile.
|
|
104
|
+
*/
|
|
105
|
+
readonly sequence?: readonly string[];
|
|
89
106
|
}
|
|
90
107
|
/**
|
|
91
108
|
* Combined push + pull sync scheduling policy for a vault.
|
|
@@ -114,6 +131,25 @@ export declare const BUNDLE_STORE_POLICY: SyncPolicy;
|
|
|
114
131
|
* - `'error'` — last sync operation failed; `lastError` holds the cause.
|
|
115
132
|
*/
|
|
116
133
|
export type SyncSchedulerState = 'idle' | 'pending' | 'pushing' | 'pulling' | 'error';
|
|
134
|
+
/**
|
|
135
|
+
* How much of a collection a caller may rely on, under a `'phased'` pull.
|
|
136
|
+
*
|
|
137
|
+
* - `'cold'` — not pulled yet, or its phase did not complete cleanly. A miss
|
|
138
|
+
* from `get()` proves nothing.
|
|
139
|
+
* - `'pulling'` — its phase is in flight. Never terminal: a phase always ends
|
|
140
|
+
* in `'live'` or back in `'cold'`, because a stuck `'pulling'` would leave a
|
|
141
|
+
* permanent skeleton in the UI.
|
|
142
|
+
* - `'live'` — its phase completed cleanly, so a miss is a real absence.
|
|
143
|
+
*/
|
|
144
|
+
export type ReadinessState = 'cold' | 'pulling' | 'live';
|
|
145
|
+
/**
|
|
146
|
+
* What a scheduler-initiated pull achieved, as reported by the callback.
|
|
147
|
+
*
|
|
148
|
+
* `'incomplete'` covers both a pull that reported errors (`PullResult.errors`
|
|
149
|
+
* accumulates without throwing) and one that was skipped — e.g. role-gated on a
|
|
150
|
+
* backup target. Either way nothing may be claimed about completeness.
|
|
151
|
+
*/
|
|
152
|
+
export type PullPhaseOutcome = 'complete' | 'incomplete';
|
|
117
153
|
/**
|
|
118
154
|
* Snapshot of the sync scheduler's state, returned by `SyncScheduler.status`.
|
|
119
155
|
* Safe to expose in a reactive UI status indicator.
|
|
@@ -124,6 +160,18 @@ export interface SyncSchedulerStatus {
|
|
|
124
160
|
readonly lastPullAt: string | null;
|
|
125
161
|
readonly lastError: Error | null;
|
|
126
162
|
readonly pendingWrites: number;
|
|
163
|
+
/**
|
|
164
|
+
* Per-collection readiness. Empty unless `pull.mode === 'phased'`.
|
|
165
|
+
*
|
|
166
|
+
* A collection the sequence never names is **absent** from the map, and
|
|
167
|
+
* `undefined` means *"no claim made"* — never a reason to gate a UI.
|
|
168
|
+
*/
|
|
169
|
+
readonly readiness: ReadonlyMap<string, ReadinessState>;
|
|
170
|
+
/** 1-based position in the sequence, or `null` outside a phased run. */
|
|
171
|
+
readonly phase: {
|
|
172
|
+
readonly index: number;
|
|
173
|
+
readonly total: number;
|
|
174
|
+
} | null;
|
|
127
175
|
}
|
|
128
176
|
/**
|
|
129
177
|
* Callbacks injected into `SyncScheduler` by the SyncEngine.
|
|
@@ -133,7 +181,13 @@ export interface SyncSchedulerStatus {
|
|
|
133
181
|
*/
|
|
134
182
|
export interface SyncSchedulerCallbacks {
|
|
135
183
|
push(): Promise<void>;
|
|
136
|
-
|
|
184
|
+
/**
|
|
185
|
+
* @param collections - Narrow the pull to these collections. Passed by a
|
|
186
|
+
* `'phased'` sequence, one collection per phase; omitted for a whole-vault pull.
|
|
187
|
+
* @returns Whether the pull may be treated as complete. Returning `void` reads
|
|
188
|
+
* as `'complete'`, so callers with nothing to report need not opt in.
|
|
189
|
+
*/
|
|
190
|
+
pull(collections?: readonly string[]): Promise<PullPhaseOutcome | void>;
|
|
137
191
|
getDirtyCount(): number;
|
|
138
192
|
}
|
|
139
193
|
/**
|
|
@@ -150,6 +204,8 @@ export declare class SyncScheduler {
|
|
|
150
204
|
private _lastPullAt;
|
|
151
205
|
private _lastError;
|
|
152
206
|
private _lastPushTime;
|
|
207
|
+
private readonly _readiness;
|
|
208
|
+
private _phase;
|
|
153
209
|
private debounceTimer;
|
|
154
210
|
private pushIntervalTimer;
|
|
155
211
|
private pullIntervalTimer;
|
|
@@ -175,6 +231,22 @@ export declare class SyncScheduler {
|
|
|
175
231
|
forcePush(): Promise<void>;
|
|
176
232
|
/** Force an immediate pull, bypassing the scheduler. */
|
|
177
233
|
forcePull(): Promise<void>;
|
|
234
|
+
/**
|
|
235
|
+
* Arm the steady-state pull timer, if the policy specifies a cadence.
|
|
236
|
+
* Shared by `'interval'` mode and by `'phased'` once its sequence drains.
|
|
237
|
+
*/
|
|
238
|
+
private startPullInterval;
|
|
239
|
+
/**
|
|
240
|
+
* Pull each collection in turn, then hand over to steady state.
|
|
241
|
+
*
|
|
242
|
+
* Strictly sequential — running phases concurrently would defeat the
|
|
243
|
+
* prioritisation that is the entire point of a sequence. Each phase is an
|
|
244
|
+
* ordinary scoped pull, so a phase that reports errors does not abort the
|
|
245
|
+
* ones behind it; `executePull` records the failure and the walk continues.
|
|
246
|
+
* `started` is re-checked between phases so `stop()` cuts a sequence short
|
|
247
|
+
* instead of letting it run on against a closed vault.
|
|
248
|
+
*/
|
|
249
|
+
private runSequence;
|
|
178
250
|
private executePush;
|
|
179
251
|
private executePull;
|
|
180
252
|
private resetDebounce;
|
package/dist/kernel/types.d.ts
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
*/
|
|
25
25
|
import type { StandardSchemaV1 } from './schema.js';
|
|
26
26
|
import type { DeferredNumberingConfig } from '../with-commit/numbering/descriptor.js';
|
|
27
|
-
import type { SyncPolicy } from './sync-policy.js';
|
|
27
|
+
import type { SyncPolicy, ReadinessState } from './sync-policy.js';
|
|
28
28
|
import type { BlobsStrategy } from '../port/with/blob-strategy.js';
|
|
29
29
|
import type { ArchiveStrategy } from '../with-fork/archive/index.js';
|
|
30
30
|
import type { IndexingStrategy } from '../with-lookup/indexing/strategy.js';
|
|
@@ -51,7 +51,7 @@ import type { SearchStrategy } from '../with-lookup/search/strategy.js';
|
|
|
51
51
|
import type { CargoStrategy } from '../with-cargo/strategy.js';
|
|
52
52
|
import type { Layer, I18nStrategy } from '../port/with/i18n-strategy.js';
|
|
53
53
|
import type { SessionStrategy } from '../with-party/session/strategy.js';
|
|
54
|
-
import type { SyncStrategy } from '../with-
|
|
54
|
+
import type { SyncStrategy } from '../with-sync/strategy.js';
|
|
55
55
|
import type { GuardStrategyAny } from '../with-audit/guards/types.js';
|
|
56
56
|
import type { DerivationStrategy } from '../with-formula/derivations/types.js';
|
|
57
57
|
import type { UnlockedKeyring } from '../with-party/team/keyring.js';
|
|
@@ -667,12 +667,15 @@ export interface NoydbStore {
|
|
|
667
667
|
* Stores that omit this fall through to the hub's per-record OCC
|
|
668
668
|
* fallback: pre-flight CAS check, then sequential `put`/`delete`
|
|
669
669
|
* with best-effort unwind on mid-batch failure (see
|
|
670
|
-
* `runTransaction` for the exact semantics and crash window).
|
|
670
|
+
* `runTransaction` for the exact semantics and crash window). The
|
|
671
|
+
* hub also falls back when the staged batch isn't statically safe
|
|
672
|
+
* to submit as one write set — see `canCommitAtomically`.
|
|
671
673
|
*
|
|
672
|
-
* Native implementations: `to-memory` (
|
|
673
|
-
*
|
|
674
|
-
* `
|
|
675
|
-
*
|
|
674
|
+
* Native implementations today: `to-memory` (one synchronous burst of
|
|
675
|
+
* Map mutations) and the SQL-backed stores in the sibling `noy-db-to`
|
|
676
|
+
* repo. `to-dynamo` (`TransactWriteItems`) and `to-browser-idb` (one
|
|
677
|
+
* `readwrite` transaction) CAN implement it but do not yet. File / S3
|
|
678
|
+
* cannot implement it atomically and should omit the method.
|
|
676
679
|
*/
|
|
677
680
|
tx?(ops: readonly TxOp[]): Promise<void>;
|
|
678
681
|
}
|
|
@@ -1247,6 +1250,18 @@ export interface SyncStatus {
|
|
|
1247
1250
|
readonly lastPush: string | null;
|
|
1248
1251
|
readonly lastPull: string | null;
|
|
1249
1252
|
readonly online: boolean;
|
|
1253
|
+
/**
|
|
1254
|
+
* Per-collection readiness under a `'phased'` pull policy (#809). **Absent**
|
|
1255
|
+
* for every other policy, and a collection the sequence never names is absent
|
|
1256
|
+
* from the map — `undefined` means *"no claim made"*, never a reason to gate
|
|
1257
|
+
* a UI. Only `'live'` asserts that a miss from `get()` is a real absence.
|
|
1258
|
+
*/
|
|
1259
|
+
readonly readiness?: ReadonlyMap<string, ReadinessState>;
|
|
1260
|
+
/** 1-based position in the phased sequence; `null` once it has drained. */
|
|
1261
|
+
readonly phase?: {
|
|
1262
|
+
readonly index: number;
|
|
1263
|
+
readonly total: number;
|
|
1264
|
+
} | null;
|
|
1250
1265
|
}
|
|
1251
1266
|
export type SyncTargetRole = 'sync-peer' | 'backup' | 'archive';
|
|
1252
1267
|
/**
|
|
@@ -1263,7 +1278,11 @@ export interface SyncTarget {
|
|
|
1263
1278
|
readonly store: NoydbStore;
|
|
1264
1279
|
/** Role determines sync direction and conflict handling. */
|
|
1265
1280
|
readonly role: SyncTargetRole;
|
|
1266
|
-
/**
|
|
1281
|
+
/**
|
|
1282
|
+
* Per-target sync policy. Inherits the store-category default when absent —
|
|
1283
|
+
* but only a *declared* policy starts automation (#897), so a target with no
|
|
1284
|
+
* `policy` and no instance-level `syncPolicy` syncs on explicit calls only.
|
|
1285
|
+
*/
|
|
1267
1286
|
readonly policy?: SyncPolicy;
|
|
1268
1287
|
/** Human-readable label for DevTools and audit logs. */
|
|
1269
1288
|
readonly label?: string;
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
LedgerStore,
|
|
4
4
|
applyPatch,
|
|
5
5
|
computePatch
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-YGK2HMLR.js";
|
|
7
7
|
import {
|
|
8
8
|
LEDGER_COLLECTION,
|
|
9
9
|
LEDGER_DELTAS_COLLECTION
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
paddedIndex,
|
|
16
16
|
parseIndex,
|
|
17
17
|
sha256Hex
|
|
18
|
-
} from "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
18
|
+
} from "./chunk-DQZXPGGZ.js";
|
|
19
|
+
import "./chunk-SU6SGWXM.js";
|
|
20
|
+
import "./chunk-EFJAAFBW.js";
|
|
21
21
|
import "./chunk-35NMVJ7I.js";
|
|
22
22
|
import "./chunk-NFZGZ4AK.js";
|
|
23
23
|
import "./chunk-QJNCB5SK.js";
|
|
24
24
|
import "./chunk-LP7BEXCT.js";
|
|
25
25
|
import "./chunk-AKKRXT23.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-77AEMXFA.js";
|
|
27
27
|
import "./chunk-QZWTRENR.js";
|
|
28
28
|
import "./chunk-PZ5AY32C.js";
|
|
29
29
|
export {
|
|
@@ -39,4 +39,4 @@ export {
|
|
|
39
39
|
parseIndex,
|
|
40
40
|
sha256Hex
|
|
41
41
|
};
|
|
42
|
-
//# sourceMappingURL=ledger-
|
|
42
|
+
//# sourceMappingURL=ledger-XE7JF2I2.js.map
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import {
|
|
2
|
+
liberateVault
|
|
3
|
+
} from "./chunk-ERGECZEI.js";
|
|
4
|
+
import "./chunk-CLE3TMIS.js";
|
|
5
|
+
import "./chunk-SFBYQMZM.js";
|
|
6
|
+
import "./chunk-P4JO3H6R.js";
|
|
7
|
+
import "./chunk-JEI6JJNI.js";
|
|
8
|
+
import "./chunk-Q36YXK77.js";
|
|
9
|
+
import "./chunk-Q5YJCVJY.js";
|
|
10
|
+
import "./chunk-2BET5QTS.js";
|
|
11
|
+
import "./chunk-SU6SGWXM.js";
|
|
12
|
+
import "./chunk-EFJAAFBW.js";
|
|
13
|
+
import "./chunk-35NMVJ7I.js";
|
|
14
|
+
import "./chunk-NFZGZ4AK.js";
|
|
15
|
+
import "./chunk-QJNCB5SK.js";
|
|
16
|
+
import "./chunk-LP7BEXCT.js";
|
|
17
|
+
import "./chunk-AKKRXT23.js";
|
|
18
|
+
import "./chunk-77AEMXFA.js";
|
|
19
|
+
import "./chunk-QZWTRENR.js";
|
|
20
|
+
import "./chunk-PZ5AY32C.js";
|
|
21
|
+
export {
|
|
22
|
+
liberateVault
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=liberate-WZ3RHVKW.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LinkEndpointError,
|
|
3
3
|
LinkSet
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-TWPK7KUJ.js";
|
|
5
5
|
import {
|
|
6
6
|
LINK_COLLECTION_PREFIX,
|
|
7
7
|
LinkIntegrityError,
|
|
@@ -9,14 +9,14 @@ import {
|
|
|
9
9
|
linkCollectionName,
|
|
10
10
|
linkRowKey
|
|
11
11
|
} from "./chunk-4JQK3L4V.js";
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-SU6SGWXM.js";
|
|
13
|
+
import "./chunk-EFJAAFBW.js";
|
|
14
14
|
import "./chunk-35NMVJ7I.js";
|
|
15
15
|
import "./chunk-NFZGZ4AK.js";
|
|
16
16
|
import "./chunk-QJNCB5SK.js";
|
|
17
17
|
import "./chunk-LP7BEXCT.js";
|
|
18
18
|
import "./chunk-AKKRXT23.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-77AEMXFA.js";
|
|
20
20
|
import "./chunk-QZWTRENR.js";
|
|
21
21
|
import "./chunk-PZ5AY32C.js";
|
|
22
22
|
export {
|
|
@@ -28,4 +28,4 @@ export {
|
|
|
28
28
|
linkCollectionName,
|
|
29
29
|
linkRowKey
|
|
30
30
|
};
|
|
31
|
-
//# sourceMappingURL=link-set-
|
|
31
|
+
//# sourceMappingURL=link-set-CGYC3OH5.js.map
|
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withMaterializedView
|
|
3
3
|
} from "../chunk-MXUT7FTE.js";
|
|
4
|
+
import {
|
|
5
|
+
clearMVStale,
|
|
6
|
+
isMVStale,
|
|
7
|
+
markMVStale,
|
|
8
|
+
resolveStaleMVOnRead
|
|
9
|
+
} from "../chunk-7H3WWH6J.js";
|
|
4
10
|
import {
|
|
5
11
|
MaterializedViewExecutor
|
|
6
|
-
} from "../chunk-
|
|
7
|
-
import "../chunk-
|
|
12
|
+
} from "../chunk-IVYQAVWO.js";
|
|
13
|
+
import "../chunk-LRRX57UA.js";
|
|
8
14
|
import {
|
|
9
15
|
MaterializedViewRegistry,
|
|
10
16
|
analyzeDependencies,
|
|
@@ -12,30 +18,24 @@ import {
|
|
|
12
18
|
computeQueryHash,
|
|
13
19
|
summarizeQueryPlan
|
|
14
20
|
} from "../chunk-3HUYRN24.js";
|
|
15
|
-
import {
|
|
16
|
-
clearMVStale,
|
|
17
|
-
isMVStale,
|
|
18
|
-
markMVStale,
|
|
19
|
-
resolveStaleMVOnRead
|
|
20
|
-
} from "../chunk-IMRB2C4O.js";
|
|
21
21
|
import "../chunk-5D2ALSM5.js";
|
|
22
22
|
import "../chunk-V6UQZA2H.js";
|
|
23
23
|
import "../chunk-KRCBZYTZ.js";
|
|
24
24
|
import "../chunk-XZHEOSQ2.js";
|
|
25
25
|
import "../chunk-CADUYBQD.js";
|
|
26
26
|
import "../chunk-IGJCYUT5.js";
|
|
27
|
-
import "../chunk-
|
|
27
|
+
import "../chunk-OWHP3H5C.js";
|
|
28
28
|
import "../chunk-UADPR6F4.js";
|
|
29
29
|
import "../chunk-6UBZ6I5Z.js";
|
|
30
|
-
import "../chunk-
|
|
31
|
-
import "../chunk-
|
|
32
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-DQZXPGGZ.js";
|
|
31
|
+
import "../chunk-SU6SGWXM.js";
|
|
32
|
+
import "../chunk-EFJAAFBW.js";
|
|
33
33
|
import "../chunk-35NMVJ7I.js";
|
|
34
34
|
import "../chunk-NFZGZ4AK.js";
|
|
35
35
|
import "../chunk-QJNCB5SK.js";
|
|
36
36
|
import "../chunk-LP7BEXCT.js";
|
|
37
37
|
import "../chunk-AKKRXT23.js";
|
|
38
|
-
import "../chunk-
|
|
38
|
+
import "../chunk-77AEMXFA.js";
|
|
39
39
|
import {
|
|
40
40
|
MaterializedViewConfigError,
|
|
41
41
|
MaterializedViewCycleError,
|
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Noydb,
|
|
3
3
|
createNoydb
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZBYFMI6D.js";
|
|
5
|
+
import "./chunk-SHEEBRZ4.js";
|
|
5
6
|
import "./chunk-NJ4DYYO5.js";
|
|
6
7
|
import "./chunk-4JQK3L4V.js";
|
|
7
|
-
import "./chunk-SHEEBRZ4.js";
|
|
8
|
-
import "./chunk-6M2I3DKF.js";
|
|
9
|
-
import "./chunk-CCDP6EPB.js";
|
|
10
|
-
import "./chunk-6LJY7X5A.js";
|
|
11
8
|
import "./chunk-GYGLAVCX.js";
|
|
12
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-WK7ULBTP.js";
|
|
10
|
+
import "./chunk-PWPYO73B.js";
|
|
11
|
+
import "./chunk-6LJY7X5A.js";
|
|
12
|
+
import "./chunk-DAFBJS4Y.js";
|
|
13
|
+
import "./chunk-RQ4ZI4ZI.js";
|
|
13
14
|
import "./chunk-BLBAQRBM.js";
|
|
14
15
|
import "./chunk-TG634KCO.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-CLE3TMIS.js";
|
|
16
17
|
import "./chunk-VYYM3MEN.js";
|
|
17
18
|
import "./chunk-6ZNSB3H6.js";
|
|
18
19
|
import "./chunk-Y2NBBT6K.js";
|
|
20
|
+
import "./chunk-TS5XLBZR.js";
|
|
19
21
|
import "./chunk-4ZKNC6A6.js";
|
|
20
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-LRRX57UA.js";
|
|
21
23
|
import "./chunk-ZTLOXFPB.js";
|
|
22
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-55LKVALY.js";
|
|
23
25
|
import "./chunk-5GQEU4DN.js";
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-PEOZ34EM.js";
|
|
27
|
+
import "./chunk-ZFG5EBI3.js";
|
|
26
28
|
import "./chunk-GHVIKOHT.js";
|
|
29
|
+
import "./chunk-NM5UYF6Q.js";
|
|
27
30
|
import "./chunk-SMY5X46Z.js";
|
|
28
31
|
import "./chunk-DZFQVICS.js";
|
|
29
|
-
import "./chunk-
|
|
32
|
+
import "./chunk-GTYFIVIZ.js";
|
|
30
33
|
import "./chunk-5D2ALSM5.js";
|
|
31
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-KYRDJI5O.js";
|
|
32
35
|
import "./chunk-AURFOK3D.js";
|
|
33
|
-
import "./chunk-
|
|
34
|
-
import "./chunk-SKM35Y4Q.js";
|
|
36
|
+
import "./chunk-NBXFCQX4.js";
|
|
35
37
|
import "./chunk-WBKZUO5V.js";
|
|
36
38
|
import "./chunk-V6UQZA2H.js";
|
|
37
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-WUHEP3HH.js";
|
|
38
40
|
import "./chunk-L3YYLT4E.js";
|
|
39
41
|
import "./chunk-KPZS5QAQ.js";
|
|
40
42
|
import "./chunk-NO272T7Q.js";
|
|
@@ -43,40 +45,37 @@ import "./chunk-YMUFFJCO.js";
|
|
|
43
45
|
import "./chunk-CADUYBQD.js";
|
|
44
46
|
import "./chunk-IGJCYUT5.js";
|
|
45
47
|
import "./chunk-PVEWA2DU.js";
|
|
46
|
-
import "./chunk-PEOZ34EM.js";
|
|
47
48
|
import "./chunk-W3G5REIU.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-OWHP3H5C.js";
|
|
49
50
|
import "./chunk-UADPR6F4.js";
|
|
50
51
|
import "./chunk-6UBZ6I5Z.js";
|
|
51
|
-
import "./chunk-
|
|
52
|
-
import "./chunk-
|
|
53
|
-
import "./chunk-
|
|
54
|
-
import "./chunk-
|
|
55
|
-
import "./chunk-KPXM4WO6.js";
|
|
56
|
-
import "./chunk-WZ3NCMK6.js";
|
|
52
|
+
import "./chunk-ZNWSG7XC.js";
|
|
53
|
+
import "./chunk-Q2SEJMP2.js";
|
|
54
|
+
import "./chunk-Q5YJCVJY.js";
|
|
55
|
+
import "./chunk-2BET5QTS.js";
|
|
57
56
|
import "./chunk-PTHKZWEH.js";
|
|
58
57
|
import "./chunk-IXNCZTWA.js";
|
|
59
58
|
import "./chunk-VKQCVU2Z.js";
|
|
60
59
|
import "./chunk-ZJADGNYF.js";
|
|
61
60
|
import "./chunk-AFHQATY4.js";
|
|
62
|
-
import "./chunk-
|
|
61
|
+
import "./chunk-YGK2HMLR.js";
|
|
63
62
|
import "./chunk-I7FD46FF.js";
|
|
64
63
|
import "./chunk-JYJFGD2H.js";
|
|
65
|
-
import "./chunk-
|
|
66
|
-
import "./chunk-
|
|
64
|
+
import "./chunk-DQZXPGGZ.js";
|
|
65
|
+
import "./chunk-ZHDSUZQU.js";
|
|
67
66
|
import "./chunk-QD46HPZG.js";
|
|
68
|
-
import "./chunk-
|
|
69
|
-
import "./chunk-
|
|
67
|
+
import "./chunk-SU6SGWXM.js";
|
|
68
|
+
import "./chunk-EFJAAFBW.js";
|
|
70
69
|
import "./chunk-35NMVJ7I.js";
|
|
71
70
|
import "./chunk-NFZGZ4AK.js";
|
|
72
71
|
import "./chunk-QJNCB5SK.js";
|
|
73
72
|
import "./chunk-LP7BEXCT.js";
|
|
74
73
|
import "./chunk-AKKRXT23.js";
|
|
75
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-77AEMXFA.js";
|
|
76
75
|
import "./chunk-QZWTRENR.js";
|
|
77
76
|
import "./chunk-PZ5AY32C.js";
|
|
78
77
|
export {
|
|
79
78
|
Noydb,
|
|
80
79
|
createNoydb
|
|
81
80
|
};
|
|
82
|
-
//# sourceMappingURL=noydb-
|
|
81
|
+
//# sourceMappingURL=noydb-ZLPVCDES.js.map
|
package/dist/periods/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
withPeriods
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-JQ2AX4T5.js";
|
|
4
4
|
import {
|
|
5
5
|
NO_PERIODS,
|
|
6
6
|
appendPeriodLedgerEntry,
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
chainAnchor,
|
|
9
9
|
loadPeriods,
|
|
10
10
|
validatePeriodName
|
|
11
|
-
} from "../chunk-
|
|
11
|
+
} from "../chunk-ZFG5EBI3.js";
|
|
12
12
|
import "../chunk-GHVIKOHT.js";
|
|
13
13
|
import {
|
|
14
14
|
PERIODS_COLLECTION,
|
|
@@ -16,18 +16,18 @@ import {
|
|
|
16
16
|
PERIOD_FREEZES_COLLECTION,
|
|
17
17
|
PERIOD_TARGET_PURGES_COLLECTION,
|
|
18
18
|
periodExclusiveUpperBound
|
|
19
|
-
} from "../chunk-
|
|
20
|
-
import "../chunk-
|
|
19
|
+
} from "../chunk-NM5UYF6Q.js";
|
|
20
|
+
import "../chunk-YGK2HMLR.js";
|
|
21
21
|
import "../chunk-I7FD46FF.js";
|
|
22
|
-
import "../chunk-
|
|
23
|
-
import "../chunk-
|
|
24
|
-
import "../chunk-
|
|
22
|
+
import "../chunk-DQZXPGGZ.js";
|
|
23
|
+
import "../chunk-SU6SGWXM.js";
|
|
24
|
+
import "../chunk-EFJAAFBW.js";
|
|
25
25
|
import "../chunk-35NMVJ7I.js";
|
|
26
26
|
import "../chunk-NFZGZ4AK.js";
|
|
27
27
|
import "../chunk-QJNCB5SK.js";
|
|
28
28
|
import "../chunk-LP7BEXCT.js";
|
|
29
29
|
import "../chunk-AKKRXT23.js";
|
|
30
|
-
import "../chunk-
|
|
30
|
+
import "../chunk-77AEMXFA.js";
|
|
31
31
|
import "../chunk-QZWTRENR.js";
|
|
32
32
|
import "../chunk-PZ5AY32C.js";
|
|
33
33
|
export {
|
package/dist/pod/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
createPodStore,
|
|
4
4
|
wrapBundleStore,
|
|
5
5
|
wrapPodStore
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-2J6UEN2V.js";
|
|
7
7
|
import {
|
|
8
8
|
COMPRESSION_BROTLI,
|
|
9
9
|
COMPRESSION_GZIP,
|
|
@@ -24,20 +24,20 @@ import {
|
|
|
24
24
|
validateBundleHeader,
|
|
25
25
|
writeNoydbBundle,
|
|
26
26
|
writePod
|
|
27
|
-
} from "../chunk-
|
|
28
|
-
import "../chunk-
|
|
27
|
+
} from "../chunk-JEI6JJNI.js";
|
|
28
|
+
import "../chunk-Q36YXK77.js";
|
|
29
29
|
import {
|
|
30
30
|
generateULID,
|
|
31
31
|
isULID
|
|
32
32
|
} from "../chunk-ZJADGNYF.js";
|
|
33
|
-
import "../chunk-
|
|
34
|
-
import "../chunk-
|
|
33
|
+
import "../chunk-SU6SGWXM.js";
|
|
34
|
+
import "../chunk-EFJAAFBW.js";
|
|
35
35
|
import "../chunk-35NMVJ7I.js";
|
|
36
36
|
import "../chunk-NFZGZ4AK.js";
|
|
37
37
|
import "../chunk-QJNCB5SK.js";
|
|
38
38
|
import "../chunk-LP7BEXCT.js";
|
|
39
39
|
import "../chunk-AKKRXT23.js";
|
|
40
|
-
import "../chunk-
|
|
40
|
+
import "../chunk-77AEMXFA.js";
|
|
41
41
|
import {
|
|
42
42
|
BackupCorruptedError,
|
|
43
43
|
BackupLedgerError,
|
package/dist/policy/index.js
CHANGED
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
createNoydbPolicy,
|
|
7
7
|
describeGate,
|
|
8
8
|
mergePolicy
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-DTFA5DO4.js";
|
|
10
10
|
import {
|
|
11
11
|
META_COLLECTION,
|
|
12
12
|
POLICY_RECORD_ID,
|
|
13
13
|
loadVaultPolicy,
|
|
14
14
|
saveVaultPolicy
|
|
15
|
-
} from "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
} from "../chunk-Q2SEJMP2.js";
|
|
16
|
+
import "../chunk-77AEMXFA.js";
|
|
17
17
|
import {
|
|
18
18
|
ManagedRecoveryNotEnrolledError,
|
|
19
19
|
PolicyDeniedError,
|
|
@@ -72,7 +72,7 @@ import { type SequenceStrategy } from '../../with-commit/sequence/strategy.js';
|
|
|
72
72
|
import { type SessionStrategy } from '../../with-party/session/strategy.js';
|
|
73
73
|
import { type ShadowStrategy } from '../../with-fork/shadow/strategy.js';
|
|
74
74
|
import { type SnapshotsStrategy } from '../../with-fork/snapshots/strategy.js';
|
|
75
|
-
import { type SyncStrategy } from '../../with-
|
|
75
|
+
import { type SyncStrategy } from '../../with-sync/strategy.js';
|
|
76
76
|
import { type TeamStrategy } from './team-strategy.js';
|
|
77
77
|
import { type TiersStrategy } from '../../with-audit/tiers/strategy.js';
|
|
78
78
|
import { type TransactionsStrategy } from '../../with-commit/tx/strategy.js';
|
|
@@ -10,27 +10,27 @@ import "../chunk-PZ5AY32C.js";
|
|
|
10
10
|
function withPortability() {
|
|
11
11
|
return {
|
|
12
12
|
async exportAccessibleData(vault, opts) {
|
|
13
|
-
const { exportAccessibleData } = await import("../export-accessible-
|
|
13
|
+
const { exportAccessibleData } = await import("../export-accessible-EKM3HGB2.js");
|
|
14
14
|
return exportAccessibleData(vault, opts);
|
|
15
15
|
},
|
|
16
16
|
async withdrawAccessibleData(vault, opts) {
|
|
17
|
-
const { withdrawAccessibleData } = await import("../withdraw-accessible-
|
|
17
|
+
const { withdrawAccessibleData } = await import("../withdraw-accessible-ANSVG6XG.js");
|
|
18
18
|
return withdrawAccessibleData(vault, opts);
|
|
19
19
|
},
|
|
20
20
|
async requestWithdrawal(vault, opts) {
|
|
21
|
-
const { requestWithdrawal } = await import("../request-withdrawal-
|
|
21
|
+
const { requestWithdrawal } = await import("../request-withdrawal-FT3ORAWN.js");
|
|
22
22
|
return requestWithdrawal(vault, opts);
|
|
23
23
|
},
|
|
24
24
|
async listWithdrawalRequests(vault, opts) {
|
|
25
|
-
const { listWithdrawalRequests } = await import("../request-withdrawal-
|
|
25
|
+
const { listWithdrawalRequests } = await import("../request-withdrawal-FT3ORAWN.js");
|
|
26
26
|
return listWithdrawalRequests(vault, opts);
|
|
27
27
|
},
|
|
28
28
|
async approveWithdrawal(vault, requestId, opts) {
|
|
29
|
-
const { approveWithdrawal } = await import("../request-withdrawal-
|
|
29
|
+
const { approveWithdrawal } = await import("../request-withdrawal-FT3ORAWN.js");
|
|
30
30
|
return approveWithdrawal(vault, requestId, opts);
|
|
31
31
|
},
|
|
32
32
|
async rejectWithdrawal(vault, requestId, opts) {
|
|
33
|
-
const { rejectWithdrawal } = await import("../request-withdrawal-
|
|
33
|
+
const { rejectWithdrawal } = await import("../request-withdrawal-FT3ORAWN.js");
|
|
34
34
|
return rejectWithdrawal(vault, requestId, opts);
|
|
35
35
|
}
|
|
36
36
|
};
|
|
@@ -14,7 +14,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
|
14
14
|
joined: spec.joined,
|
|
15
15
|
epoch: (/* @__PURE__ */ new Date()).toISOString()
|
|
16
16
|
};
|
|
17
|
-
const { loadPersistedSchema } = await import("./storage-
|
|
17
|
+
const { loadPersistedSchema } = await import("./storage-LLNLPWWB.js");
|
|
18
18
|
const persisted = await loadPersistedSchema(store, vaultName, spec.satellite, dek);
|
|
19
19
|
const prior = persisted?.satellite;
|
|
20
20
|
if (prior) {
|
|
@@ -25,7 +25,7 @@ async function ensureSatelliteMarker(store, vaultName, spec, dek) {
|
|
|
25
25
|
}
|
|
26
26
|
return;
|
|
27
27
|
}
|
|
28
|
-
const { persistSatelliteMarker } = await import("./register-
|
|
28
|
+
const { persistSatelliteMarker } = await import("./register-6RIBIT3I.js");
|
|
29
29
|
await persistSatelliteMarker({ store, vault: vaultName, collectionName: spec.satellite, dek, marker: next });
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -39,7 +39,7 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
39
39
|
}
|
|
40
40
|
if (baseSchema !== void 0) {
|
|
41
41
|
try {
|
|
42
|
-
const { derivePersistedSchema } = await import("./derive-
|
|
42
|
+
const { derivePersistedSchema } = await import("./derive-ZPGVLE2Q.js");
|
|
43
43
|
const envelope = await derivePersistedSchema(baseSchema);
|
|
44
44
|
const properties = envelope.jsonSchema?.["properties"];
|
|
45
45
|
const baseFields = Object.keys(properties ?? {});
|
|
@@ -57,4 +57,4 @@ async function postRegister(store, vaultName, spec, getDEK, baseSchema, registry
|
|
|
57
57
|
export {
|
|
58
58
|
postRegister
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=post-register-
|
|
60
|
+
//# sourceMappingURL=post-register-LY35EDTJ.js.map
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
persistClassifiedMarker,
|
|
3
3
|
persistSatelliteMarker,
|
|
4
4
|
persistSchemaIfNeeded
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-S7GIXBXV.js";
|
|
6
6
|
import "./chunk-DSDXAKIP.js";
|
|
7
7
|
import "./chunk-6ZNSB3H6.js";
|
|
8
8
|
import "./chunk-Y2NBBT6K.js";
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
9
|
+
import "./chunk-KD4HGBJV.js";
|
|
10
|
+
import "./chunk-SU6SGWXM.js";
|
|
11
|
+
import "./chunk-EFJAAFBW.js";
|
|
12
12
|
import "./chunk-35NMVJ7I.js";
|
|
13
13
|
import "./chunk-NFZGZ4AK.js";
|
|
14
14
|
import "./chunk-QJNCB5SK.js";
|
|
15
15
|
import "./chunk-LP7BEXCT.js";
|
|
16
16
|
import "./chunk-AKKRXT23.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-77AEMXFA.js";
|
|
18
18
|
import "./chunk-QZWTRENR.js";
|
|
19
19
|
import "./chunk-PZ5AY32C.js";
|
|
20
20
|
export {
|
|
@@ -22,4 +22,4 @@ export {
|
|
|
22
22
|
persistSatelliteMarker,
|
|
23
23
|
persistSchemaIfNeeded
|
|
24
24
|
};
|
|
25
|
-
//# sourceMappingURL=register-
|
|
25
|
+
//# sourceMappingURL=register-6RIBIT3I.js.map
|