1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-22 01:39:18 +08:00

50 lines
1.1 KiB
Go
Raw Normal View History

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
}
}