Create PR from comparison screen (#41)

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Task attempt 0958c29b-aea3-42a4-9703-5fc5a6705b1c - Final changes

* Prettier

* Cargo fmt

* Clippy
This commit is contained in:
Louis Knight-Webb
2025-07-01 16:28:15 +01:00
committed by GitHub
parent 7fb28b3f38
commit 6a8d7d8a19
8 changed files with 592 additions and 20 deletions

View File

@@ -4,12 +4,14 @@
export type ApiResponse<T> = { success: boolean, data: T | null, message: string | null, };
export type Config = { theme: ThemeMode, executor: ExecutorConfig, disclaimer_acknowledged: boolean, onboarding_acknowledged: boolean, sound_alerts: boolean, sound_file: SoundFile, push_notifications: boolean, editor: EditorConfig, };
export type Config = { theme: ThemeMode, executor: ExecutorConfig, disclaimer_acknowledged: boolean, onboarding_acknowledged: boolean, sound_alerts: boolean, sound_file: SoundFile, push_notifications: boolean, editor: EditorConfig, github: GitHubConfig, };
export type ThemeMode = "light" | "dark" | "system" | "purple" | "green" | "blue" | "orange" | "red";
export type EditorConfig = { editor_type: EditorType, custom_command: string | null, };
export type GitHubConfig = { token: string | null, default_pr_base: string | null, };
export type EditorType = "vscode" | "cursor" | "windsurf" | "intellij" | "zed" | "custom";
export type EditorConstants = { editor_types: Array<EditorType>, editor_labels: Array<string>, };