mirror of
https://github.com/Buriburizaem0n/nezha-dash-v1.git
synced 2026-09-20 02:00:15 +00:00
feat: new setting api model
This commit is contained in:
+10
-3
@@ -140,12 +140,19 @@ export interface CycleTransferData {
|
||||
}
|
||||
}
|
||||
|
||||
type SettingConfig = {
|
||||
debug: boolean
|
||||
language: string
|
||||
site_name: string
|
||||
user_template: string
|
||||
admin_template: string
|
||||
custom_code: string
|
||||
}
|
||||
|
||||
export interface SettingResponse {
|
||||
success: boolean
|
||||
data: {
|
||||
language: string
|
||||
site_name: string
|
||||
custom_code: string
|
||||
config: SettingConfig
|
||||
version: string
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user