@bondsports/types 2.2.109 → 2.2.111
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/reservations/dto/slot.dto.d.ts +0 -1
- package/dist/types/reservations/dto/slot.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +3 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/types/enums/resources.enums.d.ts +4 -0
- package/dist/types/resources/types/enums/resources.enums.js +6 -1
- package/dist/types/resources/types/enums/resources.enums.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;
|
1
|
+
{"version":3,"file":"slot.dto.js","sourceRoot":"","sources":["../../../../src/types/reservations/dto/slot.dto.ts"],"names":[],"mappings":";;;AAoBA,MAAa,sBAAsB;CAIlC;AAJD,wDAIC;AAED,MAAa,uBAAuB;CAYnC;AAZD,0DAYC;AAED,MAAa,WAAY,SAAQ,uBAAuB;CA8CvD;AA9CD,kCA8CC;AAED,MAAa,OAAQ,SAAQ,WAAW;CAkCvC;AAlCD,0BAkCC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,YAAY;CAExB;AAFD,oCAEC;AAED,MAAa,WAAW;CAEvB;AAFD,kCAEC;AAED,MAAa,oBAAoB;CAIhC;AAJD,oDAIC;AAED,MAAa,YAAa,SAAQ,WAAW;CAsB5C;AAtBD,oCAsBC;AAED,MAAa,oBAAoB;CAKhC;AALD,oDAKC;AAED,MAAa,gBAAgB;CAc5B;AAdD,4CAcC"}
|
@@ -9,7 +9,7 @@ import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.d
|
|
9
9
|
import { Addon } from '../../reservations/entities/addon.entity';
|
10
10
|
import { Slot } from '../../reservations/entities/slot.entity';
|
11
11
|
import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
|
-
import { OrderByResourceEnum } from '../types/enums/resources.enums';
|
12
|
+
import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
|
13
13
|
import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
14
14
|
export declare class ResourceDto implements IResource {
|
15
15
|
id?: number;
|
@@ -20,6 +20,8 @@ export declare class ResourceDto implements IResource {
|
|
20
20
|
}
|
21
21
|
export declare class InvalidResourceDto extends ResourceDto {
|
22
22
|
name?: string;
|
23
|
+
reasonType: InvalidResourceReasonsEnum;
|
24
|
+
reasons?: IdAndNameDto[];
|
23
25
|
}
|
24
26
|
export declare class SimpleResourceDto extends IdAndNameDto {
|
25
27
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAkB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAsF;AAEtF,8EAA8E;AAkB9E,MAAa,WAAW;CAUvB;AAVD,kCAUC;AAED,MAAa,kBAAmB,SAAQ,WAAW;CAMlD;AAND,gDAMC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,eAAgB,SAAQ,mBAAK;CAgDzC;AAhDD,0CAgDC;AAED,MAAa,uBAAuB;CAInC;AAJD,0DAIC;AAED,MAAa,+BAA+B;CAY3C;AAZD,0EAYC;AAED,MAAa,yBAA0B,SAAQ,sCAAwB;CAQtE;AARD,8DAQC;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;CAwB7B;AAxBD,8CAwBC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.OrderByResourceEnum = void 0;
|
3
|
+
exports.InvalidResourceReasonsEnum = exports.OrderByResourceEnum = void 0;
|
4
4
|
var OrderByResourceEnum;
|
5
5
|
(function (OrderByResourceEnum) {
|
6
6
|
OrderByResourceEnum["ID"] = "id";
|
@@ -12,4 +12,9 @@ var OrderByResourceEnum;
|
|
12
12
|
OrderByResourceEnum["EMAIL"] = "email";
|
13
13
|
OrderByResourceEnum["STATUS"] = "status";
|
14
14
|
})(OrderByResourceEnum = exports.OrderByResourceEnum || (exports.OrderByResourceEnum = {}));
|
15
|
+
var InvalidResourceReasonsEnum;
|
16
|
+
(function (InvalidResourceReasonsEnum) {
|
17
|
+
InvalidResourceReasonsEnum["FACILITY"] = "facility";
|
18
|
+
InvalidResourceReasonsEnum["SPORT"] = "sport";
|
19
|
+
})(InvalidResourceReasonsEnum = exports.InvalidResourceReasonsEnum || (exports.InvalidResourceReasonsEnum = {}));
|
15
20
|
//# 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,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"}
|
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;AAED,IAAY,0BAGX;AAHD,WAAY,0BAA0B;IACrC,mDAAqB,CAAA;IACrB,6CAAe,CAAA;AAChB,CAAC,EAHW,0BAA0B,GAA1B,kCAA0B,KAA1B,kCAA0B,QAGrC"}
|