feat: 增加应用详情页

This commit is contained in:
zhengkunwang223
2022-09-23 16:33:55 +08:00
committed by zhengkunwang223
parent 367623293c
commit da85e416ea
21 changed files with 299 additions and 196 deletions

View File

@@ -1,7 +1,7 @@
import { ReqPage } from '.';
import { ReqPage, CommonModel } from '.';
export namespace App {
export interface App {
export interface App extends CommonModel {
name: string;
icon: string;
key: string;
@@ -12,6 +12,10 @@ export namespace App {
type: string;
}
export interface AppDTO extends App {
versions: string[];
}
export interface Tag {
key: string;
name: string;
@@ -25,18 +29,17 @@ export namespace App {
tags: App.Tag[];
}
export interface AppDetail {
name: string;
export interface AppDetail extends CommonModel {
appId: string;
icon: string;
description: string;
sourceLink: string;
versions: string[];
version: string;
readme: string;
athor: string;
formFields: string;
dockerCompose: string;
}
export interface AppReq extends ReqPage {
name: string;
types: string[];
tags: string[];
}
}