@bondsports/types 2.2.50 → 2.2.51

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,7 @@
1
1
  import { UserAnswersDto } from '../../../dto/application.dto';
2
2
  import { Product } from '../../../product-pricing/entities/Product';
3
3
  import { ResourceDto } from '../../../resources/dto/resource.dto';
4
- import { CurrencyEnum, PlatformsEnum } from '../../../services/enums.service';
4
+ import { CurrencyEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
5
5
  import { IPricesOfProductsResults } from '../../../services/interfaces.service';
6
6
  import { Cart } from '../../entities/cart.entity';
7
7
  export interface ICreateCart {
@@ -52,3 +52,7 @@ export interface IUpdateCartOptions {
52
52
  updateActiveTime?: boolean;
53
53
  updateFetchedTime?: boolean;
54
54
  }
55
+ export type ResourceTypeToInfoMap = Map<ResourceNameTypeEnum, {
56
+ resourcesIds: number[];
57
+ productsIds: number[];
58
+ }>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.50",
3
+ "version": "2.2.51",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {