Skip to content
Source
Sign inSign up
pingdotgg/t3code
Open History to see the last commit

GuestProtocol.ts

23 lines1.6 KB

1export const START_PICK_CHANNEL = "preview:start-pick";
2export const CANCEL_PICK_CHANNEL = "preview:cancel-pick";
3export const ELEMENT_PICKED_CHANNEL = "preview:element-picked";
4export const ANNOTATION_CAPTURED_CHANNEL = "preview:annotation-captured";
5export const ANNOTATION_THEME_CHANNEL = "preview:annotation-theme";
6export const ANNOTATION_SEND_ENABLED_CHANNEL = "preview:annotation-send-enabled";
7export const HUMAN_INPUT_CHANNEL = "preview:human-input";
8// Sent to the hosting <webview> element (ipc-message). The web app mirrors this
9// literal in HostedBrowserWebview because it cannot import from the desktop app.
10export const POINTER_DOWN_HOST_CHANNEL = "preview:pointer-down";
11export const PAGE_UNHANDLED_SHORTCUT_CHANNEL = "preview:page-unhandled-shortcut";
12export const RECORDING_CURSOR_CHANNEL = "preview:recording-cursor";
13export const RECORDING_POINTER_CHANNEL = "preview:recording-pointer";
14export const RECORDING_KEY_CHANNEL = "preview:recording-key";
15export const RECORDING_INPUT_CHANNEL = "preview:recording-input";
16export const RECORDING_CONTROLLER_CHANNEL = "preview:recording-controller";
17export const THUMB_PRESS_CHANNEL = "preview:thumb-press";
18export const PASSKEY_CREATE_CHANNEL = "preview:passkey-create";
19export const PASSKEY_GET_CHANNEL = "preview:passkey-get";
20export const PASSKEY_BRIDGE_ARGUMENT = "--t3code-preview-passkey-bridge";
21export const ANNOTATION_VOICE_EVENT_CHANNEL = "preview:annotation-voice-event";
22export const ANNOTATION_VOICE_STATE_CHANNEL = "preview:annotation-voice-state";
23export const PRIMARY_PASTE_DISABLED_ARGUMENT = "--t3code-preview-primary-paste-disabled";