feat: 应用安装页面 已安装应用列表
This commit is contained in:
committed by
zhengkunwang223
parent
da85e416ea
commit
f7263934f9
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user