Export data for the universal export as a single zip archive

Summary:
Design doc: https://docs.google.com/document/d/1HLCFl46RfqG0o1mSt8SWrwf_HMfOCRg_oENioc1rkvQ/edit#

It is better UX not to prompt a user multiple times to save various pieces of the debug export

Reviewed By: passy

Differential Revision: D40550084

fbshipit-source-id: 51ea3acee7daf5074682219020e1e1eed2182b7d
This commit is contained in:
Andrey Goncharov
2022-10-25 05:31:48 -07:00
committed by Facebook GitHub Bot
parent 821bf2b5b7
commit 6af6652ab2
6 changed files with 92 additions and 12 deletions

View File

@@ -162,10 +162,18 @@ export interface FSStatsLike {
birthtimeMs: number;
}
export interface DeviceDebugFile {
path: string;
data: string;
}
export interface DeviceDebugCommand {
command: string;
result: string;
}
export interface DeviceDebugData {
serial: string;
appId: string;
data: ({path: string; data: string} | {command: string; result: string})[];
data: (DeviceDebugFile | DeviceDebugCommand)[];
}
export type FlipperServerCommands = {