@bondsports/types 2.2.52 → 2.2.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,9 @@
1
1
  import { BondBaseEntity } from './BondBaseEntity';
2
2
  import { Facility } from './Facility';
3
+ import { Resource } from '../resources/entities/Resource';
3
4
  export declare class FacilityToResource extends BondBaseEntity {
4
5
  facilityId: number;
5
6
  resourceId: number;
6
7
  facility: Facility;
8
+ resource: Resource;
7
9
  }
@@ -1 +1 @@
1
- {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAGlD,MAAa,kBAAmB,SAAQ,+BAAc;CAMrD;AAND,gDAMC"}
1
+ {"version":3,"file":"FacilityToResource.js","sourceRoot":"","sources":["../../../src/types/entity/FacilityToResource.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAIlD,MAAa,kBAAmB,SAAQ,+BAAc;CAQrD;AARD,gDAQC"}
@@ -70,6 +70,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery implements
70
70
  includeResourceMetadata?: boolean;
71
71
  includeActivityTimes?: boolean;
72
72
  includeFacilities?: boolean;
73
+ searchByFacility?: boolean;
73
74
  }
74
75
  export declare class UpdateSpaceDto extends UpdateResourceDto {
75
76
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAsB3D;AAtBD,0DAsBC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
1
+ {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAwD;AAcxD,iDAA6F;AAE7F,MAAa,gBAAiB,SAAQ,8BAAe;CAkBpD;AAlBD,4CAkBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,cAAe,SAAQ,sCAAuB;CA8B1D;AA9BD,wCA8BC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AACD,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,2BAA2B;CAIvC;AAJD,kEAIC;AAED,MAAa,wBAAwB;CAIpC;AAJD,4DAIC;AAED,MAAa,gCAAgC;CAI5C;AAJD,4EAIC;AAED,MAAa,uBAAwB,SAAQ,6BAAe;CAwB3D;AAxBD,0DAwBC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -18,6 +18,7 @@ export interface IGetResourcesOptions {
18
18
  includeActivityTimes?: boolean;
19
19
  includeResourceMetadata?: boolean;
20
20
  includeFacilities?: boolean;
21
+ searchByFacility?: boolean;
21
22
  }
22
23
  export interface IGetResourceByIdsOptions {
23
24
  includeAdditionalData?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.2.52",
3
+ "version": "2.2.54",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {