mirror of
https://github.com/YuzuZensai/VRC-Circle.git
synced 2026-09-14 03:10:01 +00:00
♻️ refactor: centralize app settings
This commit is contained in:
@@ -1,12 +1,22 @@
|
||||
import type { InstanceRegion } from "./instance";
|
||||
import type { AppLocale } from "../locales";
|
||||
|
||||
export type PreferredRegion = InstanceRegion | "auto";
|
||||
export type AppSchemeMode = "light" | "dark" | "auto";
|
||||
|
||||
export interface AppPreferences {
|
||||
schemeMode: AppSchemeMode;
|
||||
accent: string | null;
|
||||
locale: AppLocale;
|
||||
showDebugNav: boolean;
|
||||
}
|
||||
|
||||
export interface AppConfig {
|
||||
version: string;
|
||||
gamePath: string | null;
|
||||
detectedGamePath: string | null;
|
||||
preferredRegion: PreferredRegion;
|
||||
preferences: AppPreferences;
|
||||
}
|
||||
|
||||
export interface RegionPing {
|
||||
|
||||
Reference in New Issue
Block a user