refactor: price
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
export interface EntityId {
|
||||
id: number;
|
||||
}
|
||||
export type PriceType = "subscription" | "payment";
|
||||
export type PriceSubscriptionDuration = "month" | "quarter" | "year";
|
||||
export type Price = {
|
||||
title: string,
|
||||
limit: number,
|
||||
pid: string,
|
||||
desc: string,
|
||||
type: PriceType,
|
||||
sub_dur?: PriceSubscriptionDuration
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user