Implemented version display in SiteHeader of webui

- Updated API version to 1.2.0
- Stored versions in localStorage
This commit is contained in:
yangdx
2025-03-22 01:51:39 +08:00
parent bb699509c9
commit 0df0ba269d
6 changed files with 63 additions and 14 deletions

View File

@@ -132,6 +132,8 @@ export type AuthStatusResponse = {
token_type?: string
auth_mode?: 'enabled' | 'disabled'
message?: string
core_version?: string
api_version?: string
}
export type LoginResponse = {
@@ -139,6 +141,8 @@ export type LoginResponse = {
token_type: string
auth_mode?: 'enabled' | 'disabled' // Authentication mode identifier
message?: string // Optional message
core_version?: string
api_version?: string
}
export const InvalidApiKeyError = 'Invalid API Key'