@bondsports/types 2.1.53 → 2.1.54

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,7 +1,8 @@
1
1
  import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
2
2
  import { PaginationQuery } from '../../dto/general.dto';
3
- import { ActivityEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
3
+ import { ActivityEnum, OrderByEnum, ResourceAgesEnum, ResourceSubTypeEnum, ResourceTypeEnum, SpacePropertiesEnum, SurfacesEnum } from '../../services/enums.service';
4
4
  import { ResourceDependenciesDto, UpdateResourceDto } from './resource.dto';
5
+ import { OrderByResourceEnum } from '../types/enums/resources.enums';
5
6
  export declare class SpaceByIdDto {
6
7
  spaceId: number;
7
8
  }
@@ -49,6 +50,8 @@ export declare class FindResourcesOptionsDto extends PaginationQuery {
49
50
  facilitiesIds?: number[];
50
51
  types?: ResourceTypeEnum[];
51
52
  resourcesIds?: number[];
53
+ orderBy?: OrderByResourceEnum;
54
+ order?: OrderByEnum;
52
55
  }
53
56
  export declare class UpdateSpaceDto extends UpdateResourceDto {
54
57
  name?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"space.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/space.dto.ts"],"names":[],"mappings":";;;AACA,uDAA+D;AAS/D,iDAAsG;AAEtG,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;CAQ3D;AARD,0DAQC;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":";;;AACA,uDAA+D;AAU/D,iDAAsG;AAGtG,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;CAY3D;AAZD,0DAYC;AAED,MAAa,cAAe,SAAQ,gCAAiB;CAkBpD;AAlBD,wCAkBC;AAED,MAAa,eAAe;CAE3B;AAFD,0CAEC"}
@@ -3,5 +3,8 @@ export declare enum OrderByResourceEnum {
3
3
  NAME = "name",
4
4
  CREATED_AT = "createdAt",
5
5
  RESOURCE_TYPE = "resourceType",
6
+ FIRST_NAME = "firstName",
7
+ LAST_NAME = "lastName",
8
+ EMAIL = "email",
6
9
  STATUS = "status"
7
10
  }
@@ -7,6 +7,9 @@ var OrderByResourceEnum;
7
7
  OrderByResourceEnum["NAME"] = "name";
8
8
  OrderByResourceEnum["CREATED_AT"] = "createdAt";
9
9
  OrderByResourceEnum["RESOURCE_TYPE"] = "resourceType";
10
+ OrderByResourceEnum["FIRST_NAME"] = "firstName";
11
+ OrderByResourceEnum["LAST_NAME"] = "lastName";
12
+ OrderByResourceEnum["EMAIL"] = "email";
10
13
  OrderByResourceEnum["STATUS"] = "status";
11
14
  })(OrderByResourceEnum = exports.OrderByResourceEnum || (exports.OrderByResourceEnum = {}));
12
15
  //# sourceMappingURL=resources.enums.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,wCAAiB,CAAA;AAClB,CAAC,EANW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAM9B"}
1
+ {"version":3,"file":"resources.enums.js","sourceRoot":"","sources":["../../../../../src/types/resources/types/enums/resources.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC9B,gCAAS,CAAA;IACT,oCAAa,CAAA;IACb,+CAAwB,CAAA;IACxB,qDAA8B,CAAA;IAC9B,+CAAwB,CAAA;IACxB,6CAAsB,CAAA;IACtB,sCAAe,CAAA;IACf,wCAAiB,CAAA;AAClB,CAAC,EATW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAS9B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bondsports/types",
3
- "version": "2.1.53",
3
+ "version": "2.1.54",
4
4
  "description": "backend types module for Bond-Sports",
5
5
  "main": "./dist/index.js",
6
6
  "scripts": {