2023-03-29 14:58:28 +08:00
|
|
|
import { CommonModel, ReqPage } from '.';
|
|
|
|
export namespace Runtime {
|
|
|
|
export interface Runtime extends CommonModel {
|
|
|
|
name: string;
|
|
|
|
appDetailId: string;
|
|
|
|
image: string;
|
|
|
|
workDir: string;
|
|
|
|
dockerCompose: string;
|
|
|
|
env: string;
|
|
|
|
params: string;
|
|
|
|
type: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RuntimeReq extends ReqPage {
|
|
|
|
name: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export interface RuntimeDTO extends Runtime {
|
|
|
|
websites: string[];
|
|
|
|
}
|
2023-03-30 16:47:47 +08:00
|
|
|
|
|
|
|
export interface RuntimeCreate {
|
|
|
|
name: string;
|
|
|
|
appDetailId: number;
|
|
|
|
image: string;
|
|
|
|
params: object;
|
|
|
|
type: string;
|
|
|
|
resource: string;
|
|
|
|
appId?: number;
|
|
|
|
version?: string;
|
|
|
|
}
|
2023-03-31 14:02:28 +08:00
|
|
|
|
|
|
|
export interface RuntimeDelete {
|
|
|
|
id: number;
|
|
|
|
}
|
2023-03-29 14:58:28 +08:00
|
|
|
}
|