screenshot-to-code/frontend/src/types.ts
2023-11-21 11:04:51 -05:00

13 lines
258 B
TypeScript

export interface Settings {
openAiApiKey: string | null;
screenshotOneApiKey: string | null;
isImageGenerationEnabled: boolean;
editorTheme: string;
}
export enum AppState {
INITIAL = "INITIAL",
CODING = "CODING",
CODE_READY = "CODE_READY",
}