Export client logs for the active client as a part of the universal export
Summary: Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit# Introduce a command rto fetch debug data from the devices Reviewed By: passy Differential Revision: D40470838 fbshipit-source-id: 40a7ec66b1266ceff1b31b5b4f19b93765b78615
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ef0d9fb77e
commit
2db9bccf75
@@ -162,6 +162,12 @@ export interface FSStatsLike {
|
||||
birthtimeMs: number;
|
||||
}
|
||||
|
||||
export interface DeviceDebugData {
|
||||
serial: string;
|
||||
appId: string;
|
||||
files: {path: string; data: string}[];
|
||||
}
|
||||
|
||||
export type FlipperServerCommands = {
|
||||
'get-server-state': () => Promise<{
|
||||
state: FlipperServerState;
|
||||
@@ -234,6 +240,7 @@ export type FlipperServerCommands = {
|
||||
) => Promise<boolean>;
|
||||
'device-clear-logs': (serial: string) => Promise<void>;
|
||||
'device-navigate': (serial: string, location: string) => Promise<void>;
|
||||
'fetch-debug-data': () => Promise<DeviceDebugData[]>;
|
||||
'metro-command': (serial: string, command: string) => Promise<void>;
|
||||
'client-list': () => Promise<ClientDescription[]>;
|
||||
'client-find': (clientId: string) => Promise<ClientDescription | undefined>;
|
||||
|
||||
Reference in New Issue
Block a user