Files
faceclaw/app/g2/firmware-types.ts
T

14 lines
387 B
TypeScript

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;
};