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;
|
||||
|
||||
@@ -2,10 +2,15 @@ import { IPackage } from '../api';
|
||||
import { IDocument } from '../document';
|
||||
import { IService } from '../service';
|
||||
|
||||
export enum IProxyUnit {
|
||||
MB = 'MB'
|
||||
}
|
||||
|
||||
export interface IProxy {
|
||||
id: string;
|
||||
path: string;
|
||||
endpoint: string;
|
||||
unit?: IProxyUnit;
|
||||
price?: number;
|
||||
title?: string;
|
||||
introduction?: string;
|
||||
|
||||
Reference in new issue
Block a user