feat: 应用安装页面 已安装应用列表

This commit is contained in:
zhengkunwang223
2022-09-26 16:32:40 +08:00
committed by zhengkunwang223
parent da85e416ea
commit f7263934f9
28 changed files with 708 additions and 169 deletions

View File

@@ -34,7 +34,7 @@ export namespace App {
icon: string;
version: string;
readme: string;
formFields: string;
params: AppParams;
dockerCompose: string;
}
@@ -42,4 +42,37 @@ export namespace App {
name: string;
tags: string[];
}
export interface AppParams {
formFields: FromField[];
}
export interface FromField {
type: string;
labelZh: string;
labelEn: string;
required: boolean;
default: any;
envKey: string;
}
export interface AppInstall {
appDetailId: number;
params: any;
}
export interface AppInstalled extends CommonModel {
containerName: string;
version: string;
appId: string;
appDetailId: string;
params: string;
status: string;
description: string;
message: string;
appName: string;
total: number;
ready: number;
icon: string;
}
}