@bondsports/types 2.2.131 → 2.2.132

Sign up to get free protection for your applications and to get access to all the features.
@@ -21,6 +21,7 @@ import { IChildProduct, IResourcesAvailability } from '../../services/interfaces
21
21
  import { ProductResourceDto } from '../dto/product-resource.dto';
22
22
  import { ProductStateEnum } from '../types/enums/product.enums';
23
23
  import { IPricingSchedule } from '../types/interfaces/product-pricing.interfaces';
24
+ import { ProductToFacility } from './ProductToFacility';
24
25
  export declare class Product extends OrganizationConnectionBaseEntity {
25
26
  name: string;
26
27
  quantity: number;
@@ -77,6 +78,7 @@ export declare class Product extends OrganizationConnectionBaseEntity {
77
78
  productsUsers: ProductsUsers[];
78
79
  purchasedResources: PurchasedResource[];
79
80
  facilities: Facility[];
81
+ productToFacilities: ProductToFacility[];
80
82
  pricingSchedules?: IPricingSchedule[];
81
83
  timezone?: string;
82
84
  spacesIds?: number[];
@@ -1 +1 @@
1
- {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAmBjG,MAAa,OAAQ,SAAQ,mEAAgC;CA8H5D;AA9HD,0BA8HC"}
1
+ {"version":3,"file":"Product.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/Product.ts"],"names":[],"mappings":";;;AAkBA,oGAAiG;AAoBjG,MAAa,OAAQ,SAAQ,mEAAgC;CAgI5D;AAhID,0BAgIC"}
@@ -1,8 +1,10 @@
1
1
  import { BondBaseEntity } from '../../entity/BondBaseEntity';
2
2
  import { Facility } from '../../entity/Facility';
3
+ import { Product } from './Product';
3
4
  export declare class ProductToFacility extends BondBaseEntity {
4
5
  productId: number;
5
6
  facilityId: number;
6
7
  deletedAt?: Date;
7
8
  facility: Facility;
9
+ product: Product;
8
10
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAI7D,MAAa,iBAAkB,SAAQ,+BAAc;CAQpD;AARD,8CAQC"}
1
+ {"version":3,"file":"ProductToFacility.js","sourceRoot":"","sources":["../../../../src/types/product-pricing/entities/ProductToFacility.ts"],"names":[],"mappings":";;;AAAA,gEAA6D;AAK7D,MAAa,iBAAkB,SAAQ,+BAAc;CAUpD;AAVD,8CAUC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.131",
3
+ "version": "2.2.132",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {