fix(replication): publish pending counts and reflection failures

This commit is contained in:
Artem Ovchinnikov committed 2026-10-21 21:25:16 +03:00
1 parent c7d59c78d9
commit bca2f2dcc6
4 files changed
+45 -1

No files matched your search

+3
View File
@@ -4,6 +4,8 @@ import { createLiveSyncEventHub } from "@vrtmrz/livesync-commonlib/context";
export const EVENT_PLUGIN_LOADED = "plugin-loaded";
export const EVENT_PLUGIN_UNLOADED = "plugin-unloaded";
export const EVENT_FILE_SAVED = "file-saved";
/** A received note could not be reflected from the local database into the Vault. */
export const EVENT_VAULT_REFLECTION_FAILED = "vault-reflection-failed";
export const EVENT_LEAF_ACTIVE_CHANGED = "leaf-active-changed";
export const EVENT_REQUEST_OPEN_SETTINGS = "request-open-settings";
@@ -28,6 +30,7 @@ declare global {
interface LSEvents {
[EVENT_PLUGIN_LOADED]: undefined;
[EVENT_PLUGIN_UNLOADED]: undefined;
[EVENT_VAULT_REFLECTION_FAILED]: undefined;
[EVENT_REQUEST_OPEN_PLUGIN_SYNC_DIALOG]: undefined;
[EVENT_REQUEST_OPEN_SETTINGS]: undefined;
[EVENT_REQUEST_RELOAD_SETTING_TAB]: undefined;