2022-11-02 15:19:14 +08:00
|
|
|
import { CommonModel, ReqPage } from '.';
|
2022-10-28 17:04:57 +08:00
|
|
|
|
|
|
|
export namespace WebSite {
|
2022-11-02 15:19:14 +08:00
|
|
|
export interface WebSite extends CommonModel {
|
|
|
|
primaryDomain: string;
|
|
|
|
type: string;
|
|
|
|
alias: string;
|
|
|
|
remark: string;
|
|
|
|
domains: string[];
|
|
|
|
appType: string;
|
|
|
|
appInstallID?: number;
|
|
|
|
webSiteGroupID: number;
|
|
|
|
otherDomains: string;
|
|
|
|
appinstall?: NewAppInstall;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface NewAppInstall {
|
|
|
|
name: string;
|
|
|
|
appDetailID: number;
|
|
|
|
params: any;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface WebSiteSearch extends ReqPage {
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface WebSiteDel {
|
|
|
|
id: number;
|
|
|
|
deleteApp: boolean;
|
|
|
|
deleteBackup: boolean;
|
|
|
|
}
|
|
|
|
|
2022-10-28 17:04:57 +08:00
|
|
|
export interface WebSiteCreateReq {
|
|
|
|
primaryDomain: string;
|
|
|
|
type: string;
|
|
|
|
alias: string;
|
|
|
|
remark: string;
|
|
|
|
domains: string[];
|
|
|
|
appType: string;
|
|
|
|
appInstallID: number;
|
|
|
|
webSiteGroupID: number;
|
|
|
|
otherDomains: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface Group extends CommonModel {
|
|
|
|
name: string;
|
2022-11-02 15:19:14 +08:00
|
|
|
default: boolean;
|
2022-10-28 17:04:57 +08:00
|
|
|
}
|
2022-11-02 18:18:20 +08:00
|
|
|
|
|
|
|
export interface GroupOp {
|
|
|
|
name: string;
|
|
|
|
id?: number;
|
|
|
|
}
|
2022-10-28 17:04:57 +08:00
|
|
|
}
|