85 lines · 6.4 KB · TypeScript
RawDownload
export const PICK_FOLDER_CHANNEL = "desktop:pick-folder";export const PICK_PROJECT_FAVICON_CHANNEL = "desktop:pick-project-favicon";export const PICK_THEME_FILES_CHANNEL = "desktop:pick-theme-files";export const SET_THEME_CHANNEL = "desktop:set-theme";export const CONTEXT_MENU_CHANNEL = "desktop:context-menu";export const OPEN_EXTERNAL_CHANNEL = "desktop:open-external";export const PROBE_REMOTE_EDITORS_CHANNEL = "desktop:probe-remote-editors";export const MENU_ACTION_CHANNEL = "desktop:menu-action";export const QUIT_SHORTCUT_CHANNEL = "desktop:quit-shortcut";export const GET_WINDOW_FULLSCREEN_STATE_CHANNEL = "desktop:get-window-fullscreen-state";export const WINDOW_FULLSCREEN_STATE_CHANNEL = "desktop:window-fullscreen-state";export const UPDATE_STATE_CHANNEL = "desktop:update-state";export const UPDATE_GET_STATE_CHANNEL = "desktop:update-get-state";export const UPDATE_SET_CHANNEL_CHANNEL = "desktop:update-set-channel";export const UPDATE_DOWNLOAD_CHANNEL = "desktop:update-download";export const UPDATE_INSTALL_CHANNEL = "desktop:update-install";export const UPDATE_CHECK_CHANNEL = "desktop:update-check";export const GET_APP_BRANDING_CHANNEL = "desktop:get-app-branding";export const GET_SYSTEM_LOCALE_CHANNEL = "desktop:get-system-locale";export const GET_LOCAL_ENVIRONMENT_BOOTSTRAPS_CHANNEL = "desktop:get-local-environment-bootstraps";export const GET_LOCAL_ENVIRONMENT_BEARER_TOKEN_CHANNEL =  "desktop:get-local-environment-bearer-token";export const GET_CLIENT_SETTINGS_CHANNEL = "desktop:get-client-settings";export const SET_CLIENT_SETTINGS_CHANNEL = "desktop:set-client-settings";export const GET_CONNECTION_CATALOG_CHANNEL = "desktop:get-connection-catalog";export const SET_CONNECTION_CATALOG_CHANNEL = "desktop:set-connection-catalog";export const CLEAR_CONNECTION_CATALOG_CHANNEL = "desktop:clear-connection-catalog";export const DISCOVER_SSH_HOSTS_CHANNEL = "desktop:discover-ssh-hosts";export const ENSURE_SSH_ENVIRONMENT_CHANNEL = "desktop:ensure-ssh-environment";export const DISCONNECT_SSH_ENVIRONMENT_CHANNEL = "desktop:disconnect-ssh-environment";export const FETCH_SSH_ENVIRONMENT_DESCRIPTOR_CHANNEL = "desktop:fetch-ssh-environment-descriptor";export const BOOTSTRAP_SSH_BEARER_SESSION_CHANNEL = "desktop:bootstrap-ssh-bearer-session";export const FETCH_SSH_SESSION_STATE_CHANNEL = "desktop:fetch-ssh-session-state";export const ISSUE_SSH_WEBSOCKET_TOKEN_CHANNEL = "desktop:issue-ssh-websocket-token";export const SSH_PASSWORD_PROMPT_CHANNEL = "desktop:ssh-password-prompt";export const RESOLVE_SSH_PASSWORD_PROMPT_CHANNEL = "desktop:resolve-ssh-password-prompt";export const GET_SERVER_EXPOSURE_STATE_CHANNEL = "desktop:get-server-exposure-state";export const SET_SERVER_EXPOSURE_MODE_CHANNEL = "desktop:set-server-exposure-mode";export const SET_TAILSCALE_SERVE_ENABLED_CHANNEL = "desktop:set-tailscale-serve-enabled";export const GET_ADVERTISED_ENDPOINTS_CHANNEL = "desktop:get-advertised-endpoints";export const GET_WSL_STATE_CHANNEL = "desktop:get-wsl-state";export const SET_WSL_BACKEND_ENABLED_CHANNEL = "desktop:set-wsl-backend-enabled";export const SET_WSL_DISTRO_CHANNEL = "desktop:set-wsl-distro";export const SET_WSL_ONLY_CHANNEL = "desktop:set-wsl-only";export const SSH_PASSWORD_PROMPT_CANCELLED_RESULT = "ssh-password-prompt-cancelled";export const PREVIEW_CREATE_TAB_CHANNEL = "desktop:preview-create-tab";export const PREVIEW_CLOSE_TAB_CHANNEL = "desktop:preview-close-tab";export const PREVIEW_REGISTER_WEBVIEW_CHANNEL = "desktop:preview-register-webview";export const PREVIEW_NAVIGATE_CHANNEL = "desktop:preview-navigate";export const PREVIEW_GO_BACK_CHANNEL = "desktop:preview-go-back";export const PREVIEW_GO_FORWARD_CHANNEL = "desktop:preview-go-forward";export const PREVIEW_REFRESH_CHANNEL = "desktop:preview-refresh";export const PREVIEW_ZOOM_IN_CHANNEL = "desktop:preview-zoom-in";export const PREVIEW_ZOOM_OUT_CHANNEL = "desktop:preview-zoom-out";export const PREVIEW_RESET_ZOOM_CHANNEL = "desktop:preview-reset-zoom";export const PREVIEW_HARD_RELOAD_CHANNEL = "desktop:preview-hard-reload";export const PREVIEW_SET_COLOR_SCHEME_CHANNEL = "desktop:preview-set-color-scheme";export const PREVIEW_SET_AUDIO_MUTED_CHANNEL = "desktop:preview-set-audio-muted";export const PREVIEW_OPEN_DEVTOOLS_CHANNEL = "desktop:preview-open-devtools";export const PREVIEW_CLEAR_COOKIES_CHANNEL = "desktop:preview-clear-cookies";export const PREVIEW_CLEAR_CACHE_CHANNEL = "desktop:preview-clear-cache";export const PREVIEW_GET_CONFIG_CHANNEL = "desktop:preview-get-config";export const PREVIEW_SET_ANNOTATION_THEME_CHANNEL = "desktop:preview-set-annotation-theme";export const PREVIEW_PICK_ELEMENT_CHANNEL = "desktop:preview-pick-element";export const PREVIEW_CANCEL_PICK_ELEMENT_CHANNEL = "desktop:preview-cancel-pick-element";export const PREVIEW_CAPTURE_SCREENSHOT_CHANNEL = "desktop:preview-capture-screenshot";export const PREVIEW_REVEAL_ARTIFACT_CHANNEL = "desktop:preview-reveal-artifact";export const PREVIEW_COPY_ARTIFACT_CHANNEL = "desktop:preview-copy-artifact";export const PREVIEW_PICTURE_IN_PICTURE_OPEN_CHANNEL = "desktop:preview-pip-open";export const PREVIEW_PICTURE_IN_PICTURE_CLOSE_CHANNEL = "desktop:preview-pip-close";export const PREVIEW_PICTURE_IN_PICTURE_FRAME_CHANNEL = "desktop:preview-pip-frame";export const PREVIEW_AUTOMATION_STATUS_CHANNEL = "desktop:preview-automation-status";export const PREVIEW_AUTOMATION_SNAPSHOT_CHANNEL = "desktop:preview-automation-snapshot";export const PREVIEW_AUTOMATION_CLICK_CHANNEL = "desktop:preview-automation-click";export const PREVIEW_AUTOMATION_TYPE_CHANNEL = "desktop:preview-automation-type";export const PREVIEW_AUTOMATION_PRESS_CHANNEL = "desktop:preview-automation-press";export const PREVIEW_AUTOMATION_SCROLL_CHANNEL = "desktop:preview-automation-scroll";export const PREVIEW_AUTOMATION_EVALUATE_CHANNEL = "desktop:preview-automation-evaluate";export const PREVIEW_AUTOMATION_WAIT_FOR_CHANNEL = "desktop:preview-automation-wait-for";export const PREVIEW_RECORDING_START_CHANNEL = "desktop:preview-recording-start";export const PREVIEW_RECORDING_STOP_CHANNEL = "desktop:preview-recording-stop";export const PREVIEW_RECORDING_SAVE_CHANNEL = "desktop:preview-recording-save";export const PREVIEW_RECORDING_FRAME_CHANNEL = "desktop:preview-recording-frame";export const PREVIEW_STATE_CHANGE_CHANNEL = "desktop:preview-state-change";export const PREVIEW_POINTER_EVENT_CHANNEL = "desktop:preview-pointer-event";