mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 09:38:19 +08:00
修复oauth.google setting字段异常问题,将__mock__添加至ignore
This commit is contained in:
1 parent
147637d539
commit
6ba93841ea
17 files changed
+103
-16
No files matched your search
@@ -9,7 +9,29 @@ export type NumberKeys<O> = {
|
||||
|
||||
export interface System {
|
||||
_id: string,
|
||||
value: string | number,
|
||||
value: any,
|
||||
}
|
||||
|
||||
export interface SystemKeys {
|
||||
'smtp.user': string,
|
||||
'smtp.from': string,
|
||||
'smtp.pass': string,
|
||||
'smtp.host': string,
|
||||
'smtp.port': number,
|
||||
'smtp.secure': boolean,
|
||||
'user': number,
|
||||
'server.url': string,
|
||||
'server.xff': string,
|
||||
'server.worker': number,
|
||||
'server.port': number,
|
||||
'session.keys': string[],
|
||||
'session.secure': boolean,
|
||||
'session.expire_seconds': number,
|
||||
'session.unsaved_expire_seconds': number,
|
||||
'lostpass_token_expire_seconds': number,
|
||||
'registration_token_expire_seconds': number,
|
||||
'changemail_token_expire_seconds': number,
|
||||
'user.quota': number,
|
||||
}
|
||||
|
||||
export interface Setting {
|
||||
|
||||
Reference in new issue
Block a user