ddns: allow overriding domains per configuration (#111)

This commit is contained in:
UUBulb
2025-01-30 12:15:21 +08:00
committed by GitHub
parent 0ba41828dd
commit 42b85f74a9
4 changed files with 65 additions and 17 deletions

View File

@@ -411,6 +411,7 @@ export interface ModelNAT {
export interface ModelNATForm {
domain: string
enabled: boolean
host: string
/** @minLength 1 */
name: string
@@ -560,6 +561,7 @@ export interface ModelServer {
name: string
/** 管理员可见备注 */
note: string
override_ddns_domains?: Record<string, string[]>
/** 公开备注 */
public_note: string
state: ModelHostState
@@ -582,6 +584,7 @@ export interface ModelServerForm {
name: string
/** 管理员可见备注 */
note?: string
override_ddns_domains?: Record<string, string[]>
/** 公开备注 */
public_note?: string
}