remove fields from cart types

This commit is contained in:
nflnkr 2024-03-26 17:27:58 +03:00
parent 3a8b8b1b42
commit a3a934e404
2 changed files with 1 additions and 5 deletions

@ -21,15 +21,11 @@ export type ServiceCartData = {
serviceKey: string; serviceKey: string;
tariffs: TariffCartData[]; tariffs: TariffCartData[];
price: number; price: number;
appliedServiceDiscount: Discount | null;
}; };
export type CartData = { export type CartData = {
services: ServiceCartData[]; services: ServiceCartData[];
priceBeforeDiscounts: number; priceBeforeDiscounts: number;
priceAfterDiscounts: number; priceAfterDiscounts: number;
appliedCartPurchasesDiscount: Discount | null;
appliedLoyaltyDiscount: Discount | null;
allAppliedDiscounts: Discount[]; allAppliedDiscounts: Discount[];
appliedDiscountsByPrivilegeId: Map<string, Set<Discount>>;
}; };

@ -1,6 +1,6 @@
{ {
"name": "@frontend/kitui", "name": "@frontend/kitui",
"version": "1.0.70", "version": "1.0.71",
"description": "test", "description": "test",
"main": "./dist/index.js", "main": "./dist/index.js",
"module": "./dist/index.js", "module": "./dist/index.js",