feat: 增加应用详情页
This commit is contained in:
committed by
zhengkunwang223
parent
367623293c
commit
da85e416ea
@@ -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[];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user