1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 01:09:17 +08:00
2022-11-18 14:47:40 +08:00

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;
}
}