feat/0.2:add theme setting and about page setting and support use email and password login

This commit is contained in:
lethe committed 2025-07-24 10:28:42 +08:00
1 parent 58292b0e6e
commit ca2b732952
85 files changed
+5797 -816

No files matched your search

+1
View File
@@ -3,6 +3,7 @@ import { PlatformConfigResponse } from "@/shared/types/system";
declare global {
interface Window {
__PLATFORM_CONFIG__?: PlatformConfigResponse | null;
_BACKEND_LOAD_LANG__?: boolean;
}
}
+6 -4
View File
@@ -1,15 +1,17 @@
// 系统设置相关类型定义
import { GoogleAuthConfig, PlatformConfig } from "@/shared/types/system";
import {
GoogleAuthConfig,
PlatformConfig,
LoginConfig,
} from "@/shared/types/system";
// API return system config data structure
export interface SystemConfigApiData {
platform: PlatformConfig;
account: AdminConfig;
email: EmailConfig;
login: {
google: GoogleAuthConfig;
};
login: LoginConfig;
}
// admin config
export interface AdminConfig {