mirror of
https://github.com/Buriburizaem0n/admin-frontend-domain.git
synced 2026-02-04 12:40:08 +00:00
fix validation & implement profile page (#5)
* fix validation * implement profile page * catch error
This commit is contained in:
@@ -423,6 +423,11 @@ export interface ModelProfile {
|
||||
username: string;
|
||||
}
|
||||
|
||||
export interface ModelProfileForm {
|
||||
new_password: string;
|
||||
original_password: string;
|
||||
}
|
||||
|
||||
export interface ModelRule {
|
||||
/** 覆盖范围 RuleCoverAll/IgnoreAll */
|
||||
cover: number;
|
||||
@@ -482,7 +487,7 @@ export interface ModelServer {
|
||||
|
||||
export interface ModelServerForm {
|
||||
/** DDNS配置 */
|
||||
ddns_profiles: number[];
|
||||
ddns_profiles?: number[];
|
||||
/**
|
||||
* 展示排序,越大越靠前
|
||||
* @default 0
|
||||
@@ -607,6 +612,7 @@ export interface ModelSettingForm {
|
||||
}
|
||||
|
||||
export interface ModelStreamServer {
|
||||
country_code: string;
|
||||
/** 展示排序,越大越靠前 */
|
||||
display_index: number;
|
||||
host: ModelHost;
|
||||
|
||||
Reference in New Issue
Block a user