diff options
| author | 2026-01-14 03:41:18 +0000 | |
|---|---|---|
| committer | 2026-01-14 03:41:18 +0000 | |
| commit | 64b939e6ac0b196d18ee183a37a40b0bf7927a80 (patch) | |
| tree | 54b366819e9f3fd8694092c0053dd5e706da59f9 /ui/src/types | |
| parent | 8aeadd2c2203540b93eabc6ba53b7b4ceaff7eb7 (diff) | |
| download | DropOut-64b939e6ac0b196d18ee183a37a40b0bf7927a80.tar.gz DropOut-64b939e6ac0b196d18ee183a37a40b0bf7927a80.zip | |
refactor: split App.svelte into components
Diffstat (limited to 'ui/src/types')
| -rw-r--r-- | ui/src/types/index.ts | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts new file mode 100644 index 0000000..dc0915b --- /dev/null +++ b/ui/src/types/index.ts @@ -0,0 +1,36 @@ +export interface Version { + id: string; + type: string; + url: string; + time: string; + releaseTime: string; +} + +export interface Account { + type: "Offline" | "Microsoft"; + username: string; + uuid: string; +} + +export interface DeviceCodeResponse { + user_code: string; + device_code: string; + verification_uri: string; + expires_in: number; + interval: number; + message?: string; +} + +export interface LauncherConfig { + min_memory: number; + max_memory: number; + java_path: string; + width: number; + height: number; +} + +export interface JavaInstallation { + path: string; + version: string; + is_64bit: boolean; +} |