screenshot-to-code/frontend/src/types.ts
2023-11-21 22:01:23 -05:00

18 lines
338 B
TypeScript

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