aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/types/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ui/src/types/index.ts')
-rw-r--r--ui/src/types/index.ts17
1 files changed, 16 insertions, 1 deletions
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts
index 9a4da2b..a5b336e 100644
--- a/ui/src/types/index.ts
+++ b/ui/src/types/index.ts
@@ -1,4 +1,4 @@
-export type ViewType = "home" | "versions" | "settings" | "guide";
+export type ViewType = "home" | "versions" | "settings" | "guide" | "instances";
export interface Version {
id: string;
@@ -187,3 +187,18 @@ export interface InstalledForgeVersion {
// ==================== Mod Loader Type ====================
export type ModLoaderType = "vanilla" | "fabric" | "forge";
+
+// ==================== Instance Types ====================
+
+export interface Instance {
+ id: string;
+ name: string;
+ game_dir: string;
+ version_id?: string;
+ created_at: number;
+ last_played?: number;
+ icon_path?: string;
+ notes?: string;
+ mod_loader?: string;
+ mod_loader_version?: string;
+}