Files
ColdBreeze-chat-web/src/types/common.ts
T
2023-02-06 07:35:31 +08:00

17 lines
421 B
TypeScript

export interface EntityId {
id: number;
}
export type Theme = "auto" | "dark" | "light";
export type AuthType = "register" | "login";
export type PriceType = "subscription" | "payment";
export type PriceSubscriptionDuration = "month" | "quarter" | "year";
export type Price = {
title: string,
price: string,
limit: number,
pid: string,
desc: string,
type: PriceType,
sub_dur?: PriceSubscriptionDuration
}