aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/types
diff options
context:
space:
mode:
authorNatsuu <natsukawa247@outlook.com>2026-01-14 03:52:30 +0000
committerNatsuu <natsukawa247@outlook.com>2026-01-14 03:52:30 +0000
commit66f401fd1248ce8d1624ec82342af5e07c51554e (patch)
treee36bf6235274bd9a34d4d74f6b58f2371e4f93c8 /ui/src/types
parent956b15693ebe52a75d6b27c59bd14b47764d0110 (diff)
downloadDropOut-66f401fd1248ce8d1624ec82342af5e07c51554e.tar.gz
DropOut-66f401fd1248ce8d1624ec82342af5e07c51554e.zip
refactor: enhance UIState class by adding type for currentView and updating setView method
Diffstat (limited to 'ui/src/types')
-rw-r--r--ui/src/types/index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/types/index.ts b/ui/src/types/index.ts
index dc0915b..b7ff0a0 100644
--- a/ui/src/types/index.ts
+++ b/ui/src/types/index.ts
@@ -1,3 +1,5 @@
+export type ViewType = "home" | "versions" | "settings";
+
export interface Version {
id: string;
type: string;