From 64b939e6ac0b196d18ee183a37a40b0bf7927a80 Mon Sep 17 00:00:00 2001 From: Natsuu Date: Wed, 14 Jan 2026 03:41:18 +0000 Subject: refactor: split App.svelte into components --- ui/src/types/index.ts | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 ui/src/types/index.ts (limited to 'ui/src/types/index.ts') 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; +} -- cgit v1.2.3-70-g09d2