Add device-find, client-find server commands
Reviewed By: passy Differential Revision: D36098171 fbshipit-source-id: f0d0bbefcafc57a6413f9ffe8da271419c0d4deb
This commit is contained in:
committed by
Facebook GitHub Bot
parent
50111ef24b
commit
3dd7583fdc
@@ -209,6 +209,9 @@ export type FlipperServerCommands = {
|
||||
'get-config': () => Promise<FlipperServerConfig>;
|
||||
'get-changelog': () => Promise<string>;
|
||||
'device-list': () => Promise<DeviceDescription[]>;
|
||||
'device-find': (
|
||||
deviceSerial: string,
|
||||
) => Promise<DeviceDescription | undefined>;
|
||||
'device-take-screenshot': (serial: string) => Promise<string>; // base64 encoded buffer
|
||||
'device-start-screencapture': (
|
||||
serial: string,
|
||||
@@ -225,6 +228,7 @@ export type FlipperServerCommands = {
|
||||
'device-navigate': (serial: string, location: string) => Promise<void>;
|
||||
'metro-command': (serial: string, command: string) => Promise<void>;
|
||||
'client-list': () => Promise<ClientDescription[]>;
|
||||
'client-find': (clientId: string) => Promise<ClientDescription | undefined>;
|
||||
'client-request': (clientId: string, payload: any) => Promise<void>;
|
||||
'client-request-response': (
|
||||
clientId: string,
|
||||
|
||||
Reference in New Issue
Block a user