@bondsports/types 2.2.137 → 2.2.138
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
|
|
1
1
|
import { ActivityTimesDto } from '../../dto/activityTimes.dto';
|
2
|
-
import { FacilityDto } from '../../dto/facilities.dto';
|
2
|
+
import { FacilityDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
3
|
import { IdAndNameDto, IdDto, IncludeAdditionalDataDto } from '../../dto/general.dto';
|
4
4
|
import { MediaDto } from '../../media/dto/media.dto';
|
5
5
|
import { ByOrganizationIdDto } from '../../organization/dto/organization.dto';
|
@@ -11,6 +11,8 @@ import { Slot } from '../../reservations/entities/slot.entity';
|
|
11
11
|
import { ActivityEnum, OrderByEnum, ProgramTypesEnum, ResourceAgesEnum, ResourceNameTypeEnum, ResourceTypeEnum, SportsEnum } from '../../services/enums.service';
|
12
12
|
import { InvalidResourceReasonsEnum, OrderByResourceEnum } from '../types/enums/resources.enums';
|
13
13
|
import { IGetResourceByIdsOptions, IGetResourcesOptions } from '../types/interfaces/resource.interfaces';
|
14
|
+
import { SpaceResourceDto } from './space.dto';
|
15
|
+
import { InstructorResourceDto } from './instructor.dto';
|
14
16
|
export declare class ResourceDto implements IResource {
|
15
17
|
id?: number;
|
16
18
|
type: ResourceNameTypeEnum;
|
@@ -108,3 +110,7 @@ export declare class UpdateResourceDto {
|
|
108
110
|
isBookableOnline?: boolean;
|
109
111
|
relatedProductsIds?: number[];
|
110
112
|
}
|
113
|
+
export declare class SimpleFacilityWithResourcesDto extends SimpleFacilityDto {
|
114
|
+
organizationId: number;
|
115
|
+
resources: (SpaceResourceDto | InstructorResourceDto)[];
|
116
|
+
}
|
@@ -1,6 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
|
3
|
+
exports.SimpleFacilityWithResourcesDto = exports.UpdateResourceDto = exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.BaseResourceDto = exports.SimpleResourceDto = exports.InvalidResourceDto = exports.ResourceDto = void 0;
|
4
|
+
const facilities_dto_1 = require("../../dto/facilities.dto");
|
4
5
|
const general_dto_1 = require("../../dto/general.dto");
|
5
6
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
7
|
class ResourceDto {
|
@@ -48,4 +49,7 @@ exports.ResourceScheduleDto = ResourceScheduleDto;
|
|
48
49
|
class UpdateResourceDto {
|
49
50
|
}
|
50
51
|
exports.UpdateResourceDto = UpdateResourceDto;
|
52
|
+
class SimpleFacilityWithResourcesDto extends facilities_dto_1.SimpleFacilityDto {
|
53
|
+
}
|
54
|
+
exports.SimpleFacilityWithResourcesDto = SimpleFacilityWithResourcesDto;
|
51
55
|
//# sourceMappingURL=resource.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AACA,6DAA0E;AAC1E,uDAAsF;AAEtF,8EAA8E;AAoB9E,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;AAED,MAAa,8BAA+B,SAAQ,kCAAiB;CAIpE;AAJD,wEAIC"}
|