mirror of
https://github.com/storytold/placeholder-artcraft.git
synced 2026-10-09 00:09:55 +00:00
0daf83dba9
Need to remove secrets before entire repo can be made public.
21 lines
722 B
TypeScript
21 lines
722 B
TypeScript
export interface GetAppPreferencesResult {
|
|
preferences: AppPreferencesPayload;
|
|
}
|
|
export interface AppPreferencesPayload {
|
|
preferred_download_directory: PreferredDownloadDirectory;
|
|
play_sounds: boolean;
|
|
enqueue_success_sound?: string;
|
|
enqueue_failure_sound?: string;
|
|
generation_success_sound?: string;
|
|
generation_failure_sound?: string;
|
|
generation_enqueue_sound?: string;
|
|
}
|
|
export type PreferredDownloadDirectory = SystemDirectory | CustomDirectory;
|
|
export interface SystemDirectory {
|
|
system: string;
|
|
}
|
|
export interface CustomDirectory {
|
|
custom: string;
|
|
}
|
|
export declare const GetAppPreferences: () => Promise<GetAppPreferencesResult>;
|
|
//# sourceMappingURL=GetAppPreferences.d.ts.map
|