UIKit/lib/model/customTariffs.ts
2024-03-27 15:09:54 +03:00

13 lines
375 B
TypeScript

import { CustomPrivilegeWithAmount } from "./privilege";
type ServiceKey = string;
export type PrivilegeWithoutPrice = Omit<CustomPrivilegeWithAmount, "price">;
export type CustomTariffUserValues = Record<string, number>;
export type CustomTariffUserValuesMap = Record<ServiceKey, CustomTariffUserValues>;
export type ServiceKeyToPriceMap = Record<ServiceKey, number>;