style: 增加应用商店列表和同步功能

This commit is contained in:
zhengkunwang223
2022-09-22 16:16:04 +08:00
committed by zhengkunwang223
parent 12dc630c89
commit 367623293c
49 changed files with 16481 additions and 114 deletions

View File

@@ -0,0 +1,42 @@
import { ReqPage } from '.';
export namespace App {
export interface App {
name: string;
icon: string;
key: string;
tags: Tag[];
shortDesc: string;
author: string;
source: string;
type: string;
}
export interface Tag {
key: string;
name: string;
}
export interface AppResPage {
total: number;
canUpdate: boolean;
version: string;
items: App.App[];
tags: App.Tag[];
}
export interface AppDetail {
name: string;
icon: string;
description: string;
sourceLink: string;
versions: string[];
readme: string;
athor: string;
}
export interface AppReq extends ReqPage {
name: string;
types: string[];
}
}