mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2025-01-21 01:09:17 +08:00
47 lines
1.0 KiB
Go
47 lines
1.0 KiB
Go
export namespace Setting {
|
|
export interface SettingInfo {
|
|
userName: string;
|
|
password: string;
|
|
email: string;
|
|
|
|
sessionTimeout: number;
|
|
localTime: string;
|
|
|
|
panelName: string;
|
|
theme: string;
|
|
language: string;
|
|
|
|
serverPort: number;
|
|
securityEntrance: string;
|
|
expirationDays: number;
|
|
expirationTime: string;
|
|
complexityVerification: string;
|
|
mfaStatus: string;
|
|
mfaSecret: string;
|
|
|
|
monitorStatus: string;
|
|
monitorStoreDays: number;
|
|
|
|
messageType: string;
|
|
emailVars: string;
|
|
weChatVars: string;
|
|
dingVars: string;
|
|
}
|
|
export interface SettingUpdate {
|
|
key: string;
|
|
value: string;
|
|
}
|
|
export interface PasswordUpdate {
|
|
oldPassword: string;
|
|
newPassword: string;
|
|
}
|
|
export interface MFAInfo {
|
|
secret: string;
|
|
qrImage: string;
|
|
}
|
|
export interface MFABind {
|
|
secret: string;
|
|
code: string;
|
|
}
|
|
}
|