1
0
mirror of https://github.com/1Panel-dev/1Panel.git synced 2025-01-21 09:19:16 +08:00

46 lines
938 B
Go
Raw Normal View History

2022-09-23 16:33:55 +08:00
import { ReqPage, CommonModel } from '.';
export namespace App {
2022-09-23 16:33:55 +08:00
export interface App extends CommonModel {
name: string;
icon: string;
key: string;
tags: Tag[];
shortDesc: string;
author: string;
source: string;
type: string;
}
2022-09-23 16:33:55 +08:00
export interface AppDTO extends App {
versions: string[];
}
export interface Tag {
key: string;
name: string;
}
export interface AppResPage {
total: number;
canUpdate: boolean;
version: string;
items: App.App[];
tags: App.Tag[];
}
2022-09-23 16:33:55 +08:00
export interface AppDetail extends CommonModel {
appId: string;
icon: string;
2022-09-23 16:33:55 +08:00
version: string;
readme: string;
2022-09-23 16:33:55 +08:00
formFields: string;
dockerCompose: string;
}
export interface AppReq extends ReqPage {
name: string;
2022-09-23 16:33:55 +08:00
tags: string[];
}
}