tweak: price type

This commit is contained in:
Tristan Yang
2023-02-15 10:03:17 +08:00
parent 6d4aec4c4c
commit 7a53a3af86
+6 -6
View File
@@ -3,14 +3,14 @@ export interface EntityId {
}
export type Theme = "auto" | "dark" | "light";
export type AuthType = "register" | "login";
export type PriceType = "subscription" | "payment";
export type PriceType = "subscription" | "payment" | "booking";
export type PriceSubscriptionDuration = "month" | "quarter" | "year";
export type Price = {
title: string,
price: string,
limit: number,
pid: string,
desc: string,
title?: string,
price?: string,
limit?: number,
pid?: string,
desc?: string,
type: PriceType,
sub_dur?: PriceSubscriptionDuration
}