update setting api (#123)

This commit is contained in:
UUBulb
2025-03-08 18:42:55 +08:00
committed by GitHub
parent 1ee664f09b
commit bf43adffe5
2 changed files with 5 additions and 22 deletions

View File

@@ -631,32 +631,22 @@ export interface ModelServiceResponseItem {
export interface ModelSetting {
admin_template: string
agent_secret_key: string
avg_ping_count: number
/** 覆盖范围0:提醒未被 IgnoredIPNotification 包含的所有服务器; 1:仅提醒被 IgnoredIPNotification 包含的服务器; */
cover: number
custom_code: string
custom_code_dashboard: string
/** debug模式开关 */
debug: boolean
dns_servers: string
/** IP变更提醒 */
enable_ip_change_notification: boolean
/** 通知信息IP不打码 */
enable_plain_ip_in_notification: boolean
/** 强制要求认证 */
force_auth: boolean
/** 特定服务器IP多个服务器用逗号分隔 */
ignored_ip_notification: string
/** [ServerID] -> bool(值为true代表当前ServerID在特定服务器列表内 */
ignored_ip_notification_server_ids: Record<string, boolean>
install_host: string
ip_change_notification_group_id: number
/** 系统语言,默认 zh_CN */
language: string
/** 时区,默认为 Asia/Shanghai */
location: string
/** oauth2 供应商列表,无需配置,自动生成 */
oauth2_providers: string[]
/** 真实IP */
real_ip_header: string