mirror of
https://github.com/callstack/agent-device.git
synced 2026-09-14 20:06:34 +08:00
43 lines
883 B
TypeScript
43 lines
883 B
TypeScript
export const CLIENT_COMMANDS = {
|
|
alert: 'alert',
|
|
appState: 'appstate',
|
|
appSwitcher: 'app-switcher',
|
|
apps: 'apps',
|
|
back: 'back',
|
|
batch: 'batch',
|
|
boot: 'boot',
|
|
click: 'click',
|
|
clipboard: 'clipboard',
|
|
devices: 'devices',
|
|
diff: 'diff',
|
|
fill: 'fill',
|
|
find: 'find',
|
|
focus: 'focus',
|
|
get: 'get',
|
|
home: 'home',
|
|
is: 'is',
|
|
keyboard: 'keyboard',
|
|
logs: 'logs',
|
|
longPress: 'longpress',
|
|
network: 'network',
|
|
perf: 'perf',
|
|
pinch: 'pinch',
|
|
press: 'press',
|
|
push: 'push',
|
|
record: 'record',
|
|
replay: 'replay',
|
|
rotate: 'rotate',
|
|
scroll: 'scroll',
|
|
screenshot: 'screenshot',
|
|
settings: 'settings',
|
|
snapshot: 'snapshot',
|
|
swipe: 'swipe',
|
|
test: 'test',
|
|
trace: 'trace',
|
|
triggerAppEvent: 'trigger-app-event',
|
|
type: 'type',
|
|
wait: 'wait',
|
|
} as const;
|
|
|
|
export type ClientCommandName = (typeof CLIENT_COMMANDS)[keyof typeof CLIENT_COMMANDS];
|