aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/types
diff options
context:
space:
mode:
author苏向夜 <46275354+fu050409@users.noreply.github.com>2026-01-19 11:06:38 +0800
committerGitHub <noreply@github.com>2026-01-19 11:06:38 +0800
commitf5560d7e8abe4a41c5f959cb6eb888f6aef6ca65 (patch)
treef3675bdb552a79ddb4601ccf2f5ddd81eb47c9fb /ui/src/types
parentee767338d6db510ef15d6b8cc11f6fb9a6215a43 (diff)
parentbdff2175a8470accdab030b3931406495c56074d (diff)
downloadDropOut-f5560d7e8abe4a41c5f959cb6eb888f6aef6ca65.tar.gz
DropOut-f5560d7e8abe4a41c5f959cb6eb888f6aef6ca65.zip
Merge branch 'main' into chore/migrate-repository
Diffstat (limited to 'ui/src/types')
-rw-r--r--ui/src/types/index.ts28
1 files changed, 28 insertions, 0 deletions
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts
index a5b336e..b4412b8 100644
--- a/ui/src/types/index.ts
+++ b/ui/src/types/index.ts
@@ -68,6 +68,19 @@ export interface LauncherConfig {
log_upload_service: "paste.rs" | "pastebin.com";
pastebin_api_key?: string;
assistant: AssistantConfig;
+ // Storage management
+ use_shared_caches: boolean;
+ keep_legacy_per_instance_storage: boolean;
+ // Feature-gated argument flags
+ feature_flags: FeatureFlags;
+}
+
+export interface FeatureFlags {
+ demo_user: boolean;
+ quick_play_enabled: boolean;
+ quick_play_path?: string;
+ quick_play_singleplayer: boolean;
+ quick_play_multiplayer_server?: string;
}
export interface JavaInstallation {
@@ -201,4 +214,19 @@ export interface Instance {
notes?: string;
mod_loader?: string;
mod_loader_version?: string;
+ jvm_args_override?: string;
+ memory_override?: MemoryOverride;
+}
+
+export interface MemoryOverride {
+ min: number; // MB
+ max: number; // MB
+}
+
+export interface FileInfo {
+ name: string;
+ path: string;
+ is_directory: boolean;
+ size: number;
+ modified: number;
}