add package support

This commit is contained in:
AceDataCloud committed 2023-02-26 01:42:31 +08:00
1 parent 9bd46bbccb
commit e66cb2196b
20 files changed
+277 -21

No files matched your search

+7
View File
@@ -44,6 +44,12 @@ export interface IResponse {
headers: ISchema;
}
export interface IPackage {
id: string;
amount: number;
price: number;
}
export interface IApi {
id: string;
path: string;
@@ -62,6 +68,7 @@ export interface IApi {
document?: IDocument;
document_id?: string;
service?: IService;
packages?: IPackage[];
service_id?: string;
created_at?: string;
updated_at?: string;