Migrate new service (#1)
This commit is contained in:
1 parent
f13ca37d63
commit
28da0263dc
109 files changed
+1160
-1053
No files matched your search
@@ -0,0 +1,28 @@
|
||||
import { IApi, IPackage } from './api';
|
||||
|
||||
export interface IService {
|
||||
id: string;
|
||||
title: string;
|
||||
unit?: string;
|
||||
price?: number;
|
||||
description?: string;
|
||||
free_amount?: number;
|
||||
applied_count?: number;
|
||||
applied?: boolean;
|
||||
tags?: string[];
|
||||
thumbnail?: string;
|
||||
introduction?: string;
|
||||
apis?: IApi[];
|
||||
api_ids?: string[];
|
||||
packages?: IPackage[];
|
||||
package_ids?: string[];
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
}
|
||||
|
||||
export interface IServiceListResponse {
|
||||
count: number;
|
||||
items: IService[];
|
||||
}
|
||||
|
||||
export type IServiceDetailResponse = IService;
|
||||
Reference in new issue
Block a user