@bondsports/types 2.1.54 → 2.1.55

Sign up to get free protection for your applications and to get access to all the features.
@@ -4,6 +4,7 @@ import { Address } from './Address';
4
4
  import { Media } from '../media/entities/Media';
5
5
  import { OpeningTime } from './OpeningTime';
6
6
  import { OrganizationConnectionBaseEntity } from './OrganizationConnectionBaseEntity';
7
+ import { Product } from '../product-pricing/entities/Product';
7
8
  export declare class Facility extends OrganizationConnectionBaseEntity {
8
9
  name: string;
9
10
  description?: string;
@@ -29,4 +30,5 @@ export declare class Facility extends OrganizationConnectionBaseEntity {
29
30
  ordinal: number;
30
31
  locationId?: string;
31
32
  linkSEO: string;
33
+ products: Product[];
32
34
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAgBA,yFAAsF;AAEtF,MAAa,QAAS,SAAQ,mEAAgC;CAiD7D;AAjDD,4BAiDC"}
1
+ {"version":3,"file":"Facility.js","sourceRoot":"","sources":["../../../src/types/entity/Facility.ts"],"names":[],"mappings":";;;AAgBA,yFAAsF;AAGtF,MAAa,QAAS,SAAQ,mEAAgC;CAmD7D;AAnDD,4BAmDC"}
@@ -18,6 +18,7 @@ import { ResourceSetting } from '../../resource-settings/entities/resource-setti
18
18
  import { AddonTimePeriodEnum, ProductSubTypesEnum, ProductTypesEnum } from '../../services/enums.service';
19
19
  import { IChildProduct, IResourcesAvailability } from '../../services/interfaces.service';
20
20
  import { ProductResourceDto } from '../dto/product-resource.dto';
21
+ import { Facility } from '../../entity/Facility';
21
22
  export declare class Product extends OrganizationConnectionBaseEntity {
22
23
  name: string;
23
24
  quantity: number;
@@ -71,4 +72,5 @@ export declare class Product extends OrganizationConnectionBaseEntity {
71
72
  lineItems: LineItems[];
72
73
  productsUsers: ProductsUsers[];
73
74
  purchasedResources: PurchasedResource[];
75
+ facilities: Facility[];
74
76
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAiBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgH5D;AAhHD,0BAgHC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAiBA,oGAAiG;AAkBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAkH5D;AAlHD,0BAkHC"}
@@ -0,0 +1,6 @@
1
+ import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
+ export declare class ProductToFacility extends BondBaseEntity {
3
+ productId: number;
4
+ facilityId: number;
5
+ deletedAt?: Date;
6
+ }
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ProductToFacility = void 0;
4
+ const BondBaseEntity_1 = require("../../entity/BondBaseEntity");
5
+ class ProductToFacility extends BondBaseEntity_1.BondBaseEntity {
6
+ }
7
+ exports.ProductToFacility = ProductToFacility;
8
+ //# sourceMappingURL=ProductToFacility.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAG7D,MAAa,iBAAkB,SAAQ,+BAAc;CAMpD;AAND,8CAMC"}
@@ -1 +1,2 @@
1
1
  export * from './Product';
2
+ export * from './ProductToFacility';
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Product"), exports);
18
+ __exportStar(require("./ProductToFacility"), exports);
18
19
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAA0B;AAC1B,sDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.54",
3
+ "version": "2.1.55",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {