add fields to launch_debugger_frontend

Summary: Changelog: [Internal]

Reviewed By: robhogan

Differential Revision: D56610268

fbshipit-source-id: 37abee41dd068f3cafa19466b914545f6460a3f0
This commit is contained in:
Edmond Chui authored and Facebook GitHub Bot committed 2024-04-29 11:55:28 -07:00
1 parent eb01a8f0c5
commit 820d1e1ff4
2 files changed
+8 -1

No files matched your search

@@ -153,6 +153,8 @@ export default function openDebuggerMiddleware({
status: 'success',
appId: appId ?? null,
deviceId: device ?? null,
resolvedTargetDescription: target.description,
prefersFuseboxFrontend: useFuseboxEntryPoint ?? false,
});
return;
} catch (e) {
@@ -36,7 +36,12 @@ export type ReportableEvent =
type: 'launch_debugger_frontend',
launchType: 'launch' | 'redirect',
...
| SuccessResult<{appId: string | null, deviceId: string | null}>
| SuccessResult<{
appId: string | null,
deviceId: string | null,
resolvedTargetDescription: string,
prefersFuseboxFrontend: boolean,
}>
| ErrorResult<mixed>
| CodedErrorResult<'NO_APPS_FOUND'>,
}