@bondsports/types 2.1.69 → 2.1.70

Sign up to get free protection for your applications and to get access to all the features.
@@ -53,10 +53,11 @@ export declare class ResourceDependenciesDto {
53
53
  blockedResourcesIds?: number[];
54
54
  }
55
55
  export declare class GetResourcesOfFacilityByTypeDto implements IGetFacilityResourcesOptions {
56
+ nameSearch?: string;
56
57
  includeActivityTimes: boolean;
57
58
  includeResourceMetadata: boolean;
58
59
  order?: OrderByEnum;
59
- orderBy: OrderByResourceEnum;
60
+ sortBy?: OrderByResourceEnum;
60
61
  resourceTypes?: ResourceTypeEnum[];
61
62
  }
62
63
  export declare class GetResourceByIdOptionsDto extends IncludeAdditionalDataDto implements IGetResourceByIdsOptions {
@@ -1 +1 @@
1
- {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA8DjD;AA9DD,4CA8DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAU3C;AAVD,0EAUC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAItE;AAJD,8DAIC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
1
+ {"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAqB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA8DjD;AA9DD,4CA8DC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAItE;AAJD,8DAIC;AAED,MAAa,kCAAmC,SAAQ,sCAAmB;CAE1E;AAFD,gFAEC;AAED,MAAa,2BAA4B,SAAQ,sCAAmB;CAEnE;AAFD,kEAEC;AAED,MAAa,uCAAwC,SAAQ,kCAAkC;CAE9F;AAFD,0FAEC;AAED,MAAa,6BAA8B,SAAQ,sCAAmB;CAErE;AAFD,sEAEC;AAED,MAAa,wBAAwB;CAUpC;AAVD,4DAUC;AAED,MAAa,iBAAiB;CAE7B;AAFD,8CAEC;AAED,MAAa,mBAAmB;CAE/B;AAFD,kDAEC;AAED,MAAa,iBAAiB;CAsB7B;AAtBD,8CAsBC"}
@@ -50,7 +50,7 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
50
50
  facilitiesIds?: number[];
51
51
  types?: ResourceTypeEnum[];
52
52
  resourcesIds?: number[];
53
- orderBy?: OrderByResourceEnum;
53
+ sortBy?: OrderByResourceEnum;
54
54
  order?: OrderByEnum;
55
55
  sports?: SportsEnum[];
56
56
  statuses?: ActivityEnum[];
@@ -10,8 +10,9 @@ export interface IGetFacilityResourcesOptions {
10
10
  includeActivityTimes?: boolean;
11
11
  includeResourceMetadata?: boolean;
12
12
  order?: OrderByEnum;
13
- orderBy?: OrderByResourceEnum;
13
+ sortBy?: OrderByResourceEnum;
14
14
  resourceTypes?: ResourceTypeEnum[];
15
+ nameSearch?: string;
15
16
  }
16
17
  export interface IGetResourceByIdsOptions {
17
18
  includeAdditionalData?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.69",
3
+ "version": "2.1.70",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {