import { CONFIG_KEYS as RUNTIME_CONFIG_KEYS } from '../types/runtime'; export const IPC_EVENTS = { HOST_API_FETCH: 'hostapi:fetch', GATEWAY_RPC: 'gateway:rpc', GATEWAY_EVENT: 'gateway:event', GET_CONFIG: 'get-config', SET_CONFIG: 'set-config', GET_THEME_MODE: 'get-theme-mode', SET_THEME_MODE: 'set-theme-mode', THEME_MODE_UPDATED: 'theme-mode-updated', GET_WINDOW_ID: 'get-window-id', TASK_PROGRESS: 'task:progress', TASK_STARTED: 'task:started', TASK_COMPLETED: 'task:completed', OPEN_CHANNEL: 'open-channel', EXECUTE_SCRIPT: 'execute-script', } as const; export const CONFIG_KEYS = RUNTIME_CONFIG_KEYS; export const WINDOW_NAMES = { MAIN: 'main', SETTING: 'setting', DIALOG: 'dialog', LOADING: 'loading', } as const; export const DEFAULT_THEME_MODE = 'system' as const; export const DEFAULT_LANGUAGE = 'zh' as const;