front-hub/src/model/customTariffs.ts

18 lines
458 B
TypeScript
Raw Normal View History

2023-06-11 10:07:47 +00:00
import { PrivilegeWithAmount } from "./privilege";
2023-05-27 11:50:21 +00:00
export type CustomTariffUserValues = Record<string, number>;
export type CustomTariffUserValuesMap = Record<string, CustomTariffUserValues>;
2023-06-11 10:07:47 +00:00
export type SummaryPriceMap = Record<string, number>;
export interface CustomTariff {
name: string;
price?: number;
isCustom: boolean;
privilegies: PrivilegeWithAmount[];
updatedAt?: string;
isDeleted?: boolean;
createdAt?: string;
}