Files
ColdBreeze-chat-web/src/types/common.ts
T
2023-01-09 09:41:58 +08:00

14 lines
312 B
TypeScript

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
}