Finish phase 3

This commit is contained in:
Zerebos
2026-05-23 02:48:31 -04:00
parent f41f8a9c22
commit f8f080eff3
5 changed files with 556 additions and 52 deletions
+10 -10
View File
@@ -1,12 +1,12 @@
export type AppStatus = 'booting' | 'not-configured' | 'auth' | 'ready' | 'error'
export type AppStatus = 'booting' | 'not-configured' | 'auth' | 'ready' | 'error';
export const appState = $state({
status: 'booting' as AppStatus,
error: null as string | null,
serverUrl: '',
authenticated: false,
authMode: 'NONE' as 'NONE' | 'BASIC_AUTH' | 'UI_LOGIN',
platform: 'web' as 'web' | 'tauri' | 'capacitor',
version: '',
idle: false,
})
status: 'booting' as AppStatus,
error: null as string | null,
serverUrl: '',
authenticated: false,
authMode: 'NONE' as 'NONE' | 'BASIC_AUTH' | 'UI_LOGIN',
platform: 'web' as 'web' | 'tauri' | 'capacitor',
version: '',
idle: false,
});