|
|
@ -42,162 +42,162 @@ export const SETTINGS_QUERY = 'settings.query'; |
|
|
|
|
|
|
|
|
|
|
|
export const CONSOLE_FRAME_MESSAGE = 'console.frame.message'; |
|
|
|
export const CONSOLE_FRAME_MESSAGE = 'console.frame.message'; |
|
|
|
|
|
|
|
|
|
|
|
interface BackgroundOperationMessage { |
|
|
|
export interface BackgroundOperationMessage { |
|
|
|
type: typeof BACKGROUND_OPERATION; |
|
|
|
type: typeof BACKGROUND_OPERATION; |
|
|
|
operation: operations.Operation; |
|
|
|
operation: operations.Operation; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleUnfocusMessage { |
|
|
|
export interface ConsoleUnfocusMessage { |
|
|
|
type: typeof CONSOLE_UNFOCUS; |
|
|
|
type: typeof CONSOLE_UNFOCUS; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleEnterCommandMessage { |
|
|
|
export interface ConsoleEnterCommandMessage { |
|
|
|
type: typeof CONSOLE_ENTER_COMMAND; |
|
|
|
type: typeof CONSOLE_ENTER_COMMAND; |
|
|
|
text: string; |
|
|
|
text: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleEnterFindMessage { |
|
|
|
export interface ConsoleEnterFindMessage { |
|
|
|
type: typeof CONSOLE_ENTER_FIND; |
|
|
|
type: typeof CONSOLE_ENTER_FIND; |
|
|
|
text: string; |
|
|
|
text?: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleQueryCompletionsMessage { |
|
|
|
export interface ConsoleQueryCompletionsMessage { |
|
|
|
type: typeof CONSOLE_QUERY_COMPLETIONS; |
|
|
|
type: typeof CONSOLE_QUERY_COMPLETIONS; |
|
|
|
text: string; |
|
|
|
text: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleShowCommandMessage { |
|
|
|
export interface ConsoleShowCommandMessage { |
|
|
|
type: typeof CONSOLE_SHOW_COMMAND; |
|
|
|
type: typeof CONSOLE_SHOW_COMMAND; |
|
|
|
command: string; |
|
|
|
command: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleShowErrorMessage { |
|
|
|
export interface ConsoleShowErrorMessage { |
|
|
|
type: typeof CONSOLE_SHOW_ERROR; |
|
|
|
type: typeof CONSOLE_SHOW_ERROR; |
|
|
|
text: string; |
|
|
|
text: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleShowInfoMessage { |
|
|
|
export interface ConsoleShowInfoMessage { |
|
|
|
type: typeof CONSOLE_SHOW_INFO; |
|
|
|
type: typeof CONSOLE_SHOW_INFO; |
|
|
|
text: string; |
|
|
|
text: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleShowFindMessage { |
|
|
|
export interface ConsoleShowFindMessage { |
|
|
|
type: typeof CONSOLE_SHOW_FIND; |
|
|
|
type: typeof CONSOLE_SHOW_FIND; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleHideMessage { |
|
|
|
export interface ConsoleHideMessage { |
|
|
|
type: typeof CONSOLE_HIDE; |
|
|
|
type: typeof CONSOLE_HIDE; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowStartMessage { |
|
|
|
export interface FollowStartMessage { |
|
|
|
type: typeof FOLLOW_START; |
|
|
|
type: typeof FOLLOW_START; |
|
|
|
newTab: boolean; |
|
|
|
newTab: boolean; |
|
|
|
background: boolean; |
|
|
|
background: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowRequestCountTargetsMessage { |
|
|
|
export interface FollowRequestCountTargetsMessage { |
|
|
|
type: typeof FOLLOW_REQUEST_COUNT_TARGETS; |
|
|
|
type: typeof FOLLOW_REQUEST_COUNT_TARGETS; |
|
|
|
viewSize: { width: number, height: number }; |
|
|
|
viewSize: { width: number, height: number }; |
|
|
|
framePosition: { x: number, y: number }; |
|
|
|
framePosition: { x: number, y: number }; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowResponseCountTargetsMessage { |
|
|
|
export interface FollowResponseCountTargetsMessage { |
|
|
|
type: typeof FOLLOW_RESPONSE_COUNT_TARGETS; |
|
|
|
type: typeof FOLLOW_RESPONSE_COUNT_TARGETS; |
|
|
|
count: number; |
|
|
|
count: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowCreateHintsMessage { |
|
|
|
export interface FollowCreateHintsMessage { |
|
|
|
type: typeof FOLLOW_CREATE_HINTS; |
|
|
|
type: typeof FOLLOW_CREATE_HINTS; |
|
|
|
keysArray: string[]; |
|
|
|
keysArray: string[]; |
|
|
|
newTab: boolean; |
|
|
|
newTab: boolean; |
|
|
|
background: boolean; |
|
|
|
background: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowShowHintsMessage { |
|
|
|
export interface FollowShowHintsMessage { |
|
|
|
type: typeof FOLLOW_SHOW_HINTS; |
|
|
|
type: typeof FOLLOW_SHOW_HINTS; |
|
|
|
keys: string; |
|
|
|
keys: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowRemoveHintsMessage { |
|
|
|
export interface FollowRemoveHintsMessage { |
|
|
|
type: typeof FOLLOW_REMOVE_HINTS; |
|
|
|
type: typeof FOLLOW_REMOVE_HINTS; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowActivateMessage { |
|
|
|
export interface FollowActivateMessage { |
|
|
|
type: typeof FOLLOW_ACTIVATE; |
|
|
|
type: typeof FOLLOW_ACTIVATE; |
|
|
|
keys: string; |
|
|
|
keys: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FollowKeyPressMessage { |
|
|
|
export interface FollowKeyPressMessage { |
|
|
|
type: typeof FOLLOW_KEY_PRESS; |
|
|
|
type: typeof FOLLOW_KEY_PRESS; |
|
|
|
key: string; |
|
|
|
key: string; |
|
|
|
ctrlKey: boolean; |
|
|
|
ctrlKey: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface MarkSetGlobalMessage { |
|
|
|
export interface MarkSetGlobalMessage { |
|
|
|
type: typeof MARK_SET_GLOBAL; |
|
|
|
type: typeof MARK_SET_GLOBAL; |
|
|
|
key: string; |
|
|
|
key: string; |
|
|
|
x: number; |
|
|
|
x: number; |
|
|
|
y: number; |
|
|
|
y: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface MarkJumpGlobalMessage { |
|
|
|
export interface MarkJumpGlobalMessage { |
|
|
|
type: typeof MARK_JUMP_GLOBAL; |
|
|
|
type: typeof MARK_JUMP_GLOBAL; |
|
|
|
key: string; |
|
|
|
key: string; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface TabScrollToMessage { |
|
|
|
export interface TabScrollToMessage { |
|
|
|
type: typeof TAB_SCROLL_TO; |
|
|
|
type: typeof TAB_SCROLL_TO; |
|
|
|
x: number; |
|
|
|
x: number; |
|
|
|
y: number; |
|
|
|
y: number; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FindNextMessage { |
|
|
|
export interface FindNextMessage { |
|
|
|
type: typeof FIND_NEXT; |
|
|
|
type: typeof FIND_NEXT; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FindPrevMessage { |
|
|
|
export interface FindPrevMessage { |
|
|
|
type: typeof FIND_PREV; |
|
|
|
type: typeof FIND_PREV; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FindGetKeywordMessage { |
|
|
|
export interface FindGetKeywordMessage { |
|
|
|
type: typeof FIND_GET_KEYWORD; |
|
|
|
type: typeof FIND_GET_KEYWORD; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface FindSetKeywordMessage { |
|
|
|
export interface FindSetKeywordMessage { |
|
|
|
type: typeof FIND_SET_KEYWORD; |
|
|
|
type: typeof FIND_SET_KEYWORD; |
|
|
|
keyword: string; |
|
|
|
keyword: string; |
|
|
|
found: boolean; |
|
|
|
found: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface AddonEnabledQueryMessage { |
|
|
|
export interface AddonEnabledQueryMessage { |
|
|
|
type: typeof ADDON_ENABLED_QUERY; |
|
|
|
type: typeof ADDON_ENABLED_QUERY; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface AddonEnabledResponseMessage { |
|
|
|
export interface AddonEnabledResponseMessage { |
|
|
|
type: typeof ADDON_ENABLED_RESPONSE; |
|
|
|
type: typeof ADDON_ENABLED_RESPONSE; |
|
|
|
enabled: boolean; |
|
|
|
enabled: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface AddonToggleEnabledMessage { |
|
|
|
export interface AddonToggleEnabledMessage { |
|
|
|
type: typeof ADDON_TOGGLE_ENABLED; |
|
|
|
type: typeof ADDON_TOGGLE_ENABLED; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface OpenUrlMessage { |
|
|
|
export interface OpenUrlMessage { |
|
|
|
type: typeof OPEN_URL; |
|
|
|
type: typeof OPEN_URL; |
|
|
|
url: string; |
|
|
|
url: string; |
|
|
|
newTab: boolean; |
|
|
|
newTab: boolean; |
|
|
|
background: boolean; |
|
|
|
background: boolean; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface SettingsChangedMessage { |
|
|
|
export interface SettingsChangedMessage { |
|
|
|
type: typeof SETTINGS_CHANGED; |
|
|
|
type: typeof SETTINGS_CHANGED; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface SettingsQueryMessage { |
|
|
|
export interface SettingsQueryMessage { |
|
|
|
type: typeof SETTINGS_QUERY; |
|
|
|
type: typeof SETTINGS_QUERY; |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
interface ConsoleFrameMessageMessage { |
|
|
|
export interface ConsoleFrameMessageMessage { |
|
|
|
type: typeof CONSOLE_FRAME_MESSAGE; |
|
|
|
type: typeof CONSOLE_FRAME_MESSAGE; |
|
|
|
message: any; |
|
|
|
message: any; |
|
|
|
} |
|
|
|
} |
|
|
|