Porting onboarding/flashing flow io iOS

This commit is contained in:
James Babcock committed 2026-09-19 09:19:26 -07:00
1 parent 68b459751e
commit 64bf600ef9
46 files changed
+1419 -211

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
export type FlashState = "validating" | "connecting" | "flashing" | "rebooting" | "done" | "error";
export type FlashProgress = {
lens: string;
componentIndex: number;
componentCount: number;
blockIndex: number;
blockCount: number;
/** Bytes flashed so far across the whole lens image — the size-weighted progress signal. */
bytesSent: number;
bytesTotal: number;
};