Apply account enablement changes optimistically and persist rapid toggles sequentially without losing clicks. Refresh Mega-Debrid API and Web account pools during active downloads, isolate per-account cancellation budgets, rotate within the same conversion attempt, and keep pause, stop, resume, reset, and no-account gates consistent. Use the native Electron clipboard under Remote Desktop and make support bundle export bounded, redacted, responsive, guarded, visible, and atomic. Add end-to-end regressions for live account switching, persisted partial recovery, support export, native copy, availability preservation, and the 500 ms telemetry cadence.
89 lines
3.9 KiB
TypeScript
89 lines
3.9 KiB
TypeScript
export const IPC_CHANNELS = {
|
|
GET_SNAPSHOT: "app:get-snapshot",
|
|
GET_VERSION: "app:get-version",
|
|
CHECK_UPDATES: "app:check-updates",
|
|
INSTALL_UPDATE: "app:install-update",
|
|
UPDATE_INSTALL_PROGRESS: "app:update-install-progress",
|
|
OPEN_EXTERNAL: "app:open-external",
|
|
UPDATE_SETTINGS: "app:update-settings",
|
|
CREATE_ACCOUNT: "app:create-account",
|
|
REPLACE_ACCOUNT: "app:replace-account",
|
|
UPDATE_ACCOUNT_SECRET: "app:update-account-secret",
|
|
DELETE_ACCOUNT: "app:delete-account",
|
|
RESET_PROVIDER_DAILY_USAGE: "app:reset-provider-daily-usage",
|
|
RESET_DEBRID_LINK_API_KEY_DAILY_USAGE: "app:reset-debrid-link-api-key-daily-usage",
|
|
ADD_LINKS: "queue:add-links",
|
|
ADD_CONTAINERS: "queue:add-containers",
|
|
GET_START_CONFLICTS: "queue:get-start-conflicts",
|
|
RESOLVE_START_CONFLICT: "queue:resolve-start-conflict",
|
|
CLEAR_ALL: "queue:clear-all",
|
|
START: "queue:start",
|
|
START_PACKAGES: "queue:start-packages",
|
|
STOP: "queue:stop",
|
|
TOGGLE_PAUSE: "queue:toggle-pause",
|
|
CANCEL_PACKAGE: "queue:cancel-package",
|
|
RENAME_PACKAGE: "queue:rename-package",
|
|
REORDER_PACKAGES: "queue:reorder-packages",
|
|
REMOVE_ITEM: "queue:remove-item",
|
|
TOGGLE_PACKAGE: "queue:toggle-package",
|
|
EXPORT_PACKAGE_SELECTION: "queue:export-package-selection",
|
|
EXPORT_ITEM_SELECTION: "queue:export-item-selection",
|
|
EXPORT_QUEUE: "queue:export",
|
|
IMPORT_QUEUE: "queue:import",
|
|
PICK_FOLDER: "dialog:pick-folder",
|
|
PICK_CONTAINERS: "dialog:pick-containers",
|
|
STATE_UPDATE: "state:update",
|
|
CLIPBOARD_DETECTED: "clipboard:detected",
|
|
TOGGLE_CLIPBOARD: "clipboard:toggle",
|
|
WRITE_CLIPBOARD_TEXT: "clipboard:write-text",
|
|
GET_SESSION_STATS: "stats:get-session-stats",
|
|
RESET_SESSION_STATS: "stats:reset-session",
|
|
RESET_DOWNLOAD_STATS: "stats:reset-download",
|
|
RESTART: "app:restart",
|
|
QUIT: "app:quit",
|
|
EXPORT_BACKUP: "app:export-backup",
|
|
SELECT_BACKUP_IMPORT: "app:select-backup-import",
|
|
IMPORT_BACKUP: "app:import-backup",
|
|
CANCEL_BACKUP_IMPORT: "app:cancel-backup-import",
|
|
EXPORT_ONLINE_BACKUP: "app:export-online-backup",
|
|
IMPORT_ONLINE_BACKUP: "app:import-online-backup",
|
|
EXPORT_SUPPORT_BUNDLE: "app:export-support-bundle",
|
|
OPEN_LOG: "app:open-log",
|
|
OPEN_LOG_DIRECTORY: "app:open-log-directory",
|
|
OPEN_AUDIT_LOG: "app:open-audit-log",
|
|
OPEN_RENAME_LOG: "app:open-rename-log",
|
|
OPEN_SESSION_LOG: "app:open-session-log",
|
|
OPEN_TRACE_LOG: "app:open-trace-log",
|
|
OPEN_PACKAGE_LOG: "app:open-package-log",
|
|
OPEN_ITEM_LOG: "app:open-item-log",
|
|
GET_DEBUG_SETUP_CHECK: "app:get-debug-setup-check",
|
|
GET_RECENT_ERRORS: "app:get-recent-errors",
|
|
TEST_NOTIFY: "app:test-notify",
|
|
GET_TRACE_CONFIG: "app:get-trace-config",
|
|
SET_TRACE_ENABLED: "app:set-trace-enabled",
|
|
ROTATE_DEBUG_TOKEN: "app:rotate-debug-token",
|
|
GET_REMOTE_DIAGNOSTICS: "app:get-remote-diagnostics",
|
|
ENABLE_REMOTE_DIAGNOSTICS: "app:enable-remote-diagnostics",
|
|
DISABLE_REMOTE_DIAGNOSTICS: "app:disable-remote-diagnostics",
|
|
ROTATE_REMOTE_DIAGNOSTICS_TOKEN: "app:rotate-remote-diagnostics-token",
|
|
OPEN_REALDEBRID_LOGIN: "app:open-realdebrid-login",
|
|
OPEN_ALLDEBRID_LOGIN: "app:open-alldebrid-login",
|
|
IMPORT_BESTDEBRID_COOKIES: "app:import-bestdebrid-cookies",
|
|
GET_ALLDEBRID_HOST_INFO: "app:get-alldebrid-host-info",
|
|
GET_DEBRIDLINK_HOST_LIMITS: "app:get-debridlink-host-limits",
|
|
CHECK_DEBRID_ACCOUNTS: "app:check-debrid-accounts",
|
|
CHECK_ACCOUNT_CREDENTIALS: "app:check-account-credentials",
|
|
RETRY_EXTRACTION: "queue:retry-extraction",
|
|
EXTRACT_NOW: "queue:extract-now",
|
|
RESET_PACKAGE: "queue:reset-package",
|
|
GET_HISTORY: "history:get",
|
|
CLEAR_HISTORY: "history:clear",
|
|
REMOVE_HISTORY_ENTRY: "history:remove-entry",
|
|
REVEAL_HISTORY_ENTRY: "history:reveal-entry",
|
|
SET_PACKAGE_PRIORITY: "queue:set-package-priority",
|
|
SKIP_ITEMS: "queue:skip-items",
|
|
RESET_ITEMS: "queue:reset-items",
|
|
START_ITEMS: "queue:start-items",
|
|
LOG_RENDERER_ERROR: "log:renderer-error"
|
|
} as const;
|