add unit support
This commit is contained in:
1 parent
46da57bbf9
commit
25649410bc
11 files changed
+79
-126
No files matched your search
@@ -50,11 +50,16 @@ export interface IPackage {
|
||||
price: number;
|
||||
}
|
||||
|
||||
export enum IApiUnit {
|
||||
COUNT = 'Count'
|
||||
}
|
||||
|
||||
export interface IApi {
|
||||
id: string;
|
||||
path: string;
|
||||
endpoint: string;
|
||||
price?: number;
|
||||
unit?: IApiUnit;
|
||||
title?: string;
|
||||
introduction?: string;
|
||||
apply_count?: number;
|
||||
|
||||
Reference in new issue
Block a user