aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/types
diff options
context:
space:
mode:
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;
}