feat/0.2:add theme setting and about page setting and support use email and password login
This commit is contained in:
1 parent
58292b0e6e
commit
ca2b732952
85 files changed
+5797
-816
No files matched your search
Vendored
+1
@@ -3,6 +3,7 @@ import { PlatformConfigResponse } from "@/shared/types/system";
|
||||
declare global {
|
||||
interface Window {
|
||||
__PLATFORM_CONFIG__?: PlatformConfigResponse | null;
|
||||
_BACKEND_LOAD_LANG__?: boolean;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user