@bondsports/types 2.1.47 → 2.1.49
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/dto/activityTimes.dto.d.ts +3 -0
- package/dist/types/dto/activityTimes.dto.js.map +1 -1
- package/dist/types/entity/ActivityTimes.d.ts +3 -0
- package/dist/types/entity/ActivityTimes.js.map +1 -1
- package/dist/types/resources/dto/instructor.dto.d.ts +4 -3
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/dto/resource.dto.d.ts +3 -0
- package/dist/types/resources/dto/resource.dto.js +4 -1
- package/dist/types/resources/dto/resource.dto.js.map +1 -1
- package/dist/types/resources/entities/Resource.d.ts +3 -0
- package/dist/types/resources/entities/Resource.js.map +1 -1
- package/package.json +1 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,qBAAqB;
|
1
|
+
{"version":3,"file":"activityTimes.dto.js","sourceRoot":"","sources":["../../../src/types/dto/activityTimes.dto.ts"],"names":[],"mappings":";;;AACA,MAAa,qBAAqB;CAgBjC;AAhBD,sDAgBC"}
|
@@ -9,6 +9,9 @@ export declare class ActivityTimes extends BondBaseEntity {
|
|
9
9
|
dayOfWeek: number;
|
10
10
|
open: string;
|
11
11
|
close: string;
|
12
|
+
facilityId?: number;
|
13
|
+
groupId?: string;
|
14
|
+
isSameAsFacility: boolean;
|
12
15
|
deletedAt?: Date;
|
13
16
|
program: ProgramSeason;
|
14
17
|
availabilityStartDate: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"ActivityTimes.js","sourceRoot":"","sources":["../../../src/types/entity/ActivityTimes.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAOlD,MAAa,aAAc,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"ActivityTimes.js","sourceRoot":"","sources":["../../../src/types/entity/ActivityTimes.ts"],"names":[],"mappings":";;;AACA,qDAAkD;AAOlD,MAAa,aAAc,SAAQ,+BAAc;CA4BhD;AA5BD,sCA4BC"}
|
@@ -3,10 +3,9 @@ import { MediaDto } from '../../media/dto/media.dto';
|
|
3
3
|
import { Slot } from '../../reservations/entities/Slots';
|
4
4
|
import { Addon } from '../../reservations/entities/Addon';
|
5
5
|
import { PurchasedResourceDto } from '../../reservations/dto/purcased-resource.dto';
|
6
|
-
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
7
6
|
import { AddressDto, FacilityDto } from '../../dto/facilities.dto';
|
8
7
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
9
|
-
import { ResourceDependenciesDto } from './resource.dto';
|
8
|
+
import { ResourceDependenciesDto, ResourceScheduleDto } from './resource.dto';
|
10
9
|
export declare class InstructorResourceDto {
|
11
10
|
id: number;
|
12
11
|
organizationId: number;
|
@@ -25,7 +24,7 @@ export declare class InstructorResourceDto {
|
|
25
24
|
ages?: ResourceAgesEnum;
|
26
25
|
userId: number;
|
27
26
|
status: ActivityEnum;
|
28
|
-
|
27
|
+
schedule?: ResourceScheduleDto[];
|
29
28
|
facilities?: FacilityDto[];
|
30
29
|
slots?: Slot[];
|
31
30
|
addons?: Addon[];
|
@@ -37,6 +36,7 @@ export declare class InstructorResourceDto {
|
|
37
36
|
lastName: string;
|
38
37
|
address?: AddressDto;
|
39
38
|
programTypes?: ProgramTypesEnum[];
|
39
|
+
isBookableOnline?: boolean;
|
40
40
|
}
|
41
41
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
42
42
|
description?: string;
|
@@ -50,4 +50,5 @@ export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
50
50
|
userId: number;
|
51
51
|
status?: ActivityEnum;
|
52
52
|
sports?: SportsEnum[];
|
53
|
+
isBookableOnline?: boolean;
|
53
54
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAA8E;AAE9E,MAAa,qBAAqB;CA4DjC;AA5DD,sDA4DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAwB/D;AAxBD,kDAwBC"}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.SpaceResourceDto = exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
3
|
+
exports.ResourceScheduleDto = exports.ByResourceTypeDto = exports.UpdateResourceDetailsDto = exports.ByOrganizationIdAndResourceId = exports.ByOrganizationIdAndResourceTypeAndIdDto = exports.ByOrganizationFacilityIdDto = exports.ByOrganizationIdAndResourceTypeDto = exports.GetResourceByIdOptionsDto = exports.GetResourcesOfFacilityByTypeDto = exports.ResourceDependenciesDto = exports.SpaceResourceDto = exports.SimpleResourceDto = exports.ResourceDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
const organization_dto_1 = require("../../organization/dto/organization.dto");
|
6
6
|
class ResourceDto {
|
@@ -39,4 +39,7 @@ exports.UpdateResourceDetailsDto = UpdateResourceDetailsDto;
|
|
39
39
|
class ByResourceTypeDto {
|
40
40
|
}
|
41
41
|
exports.ByResourceTypeDto = ByResourceTypeDto;
|
42
|
+
class ResourceScheduleDto {
|
43
|
+
}
|
44
|
+
exports.ResourceScheduleDto = ResourceScheduleDto;
|
42
45
|
//# 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":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA4DjD;AA5DD,4CA4DC;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"}
|
1
|
+
{"version":3,"file":"resource.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/resource.dto.ts"],"names":[],"mappings":";;;AAAA,uDAA+E;AAoB/E,8EAA8E;AAG9E,MAAa,WAAW;CAIvB;AAJD,kCAIC;AAED,MAAa,iBAAkB,SAAQ,0BAAY;CAAG;AAAtD,8CAAsD;AAEtD,MAAa,gBAAiB,SAAQ,0BAAY;CA4DjD;AA5DD,4CA4DC;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"}
|
@@ -9,6 +9,7 @@ import { Addon } from '../../reservations/entities/Addon';
|
|
9
9
|
import { Instructor } from './Instructor';
|
10
10
|
import { Space } from './Space';
|
11
11
|
import { User } from '../../user/entities/User';
|
12
|
+
import { ResourceScheduleDto } from '../dto/resource.dto';
|
12
13
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
13
14
|
name: string;
|
14
15
|
resourceType: ResourceTypeEnum;
|
@@ -35,10 +36,12 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
35
36
|
slots?: Slot[];
|
36
37
|
addons?: Addon[];
|
37
38
|
facilityId: number;
|
39
|
+
isBookableOnline?: boolean;
|
38
40
|
facility: Facility;
|
39
41
|
purchasedResources: PurchasedResource[];
|
40
42
|
linkSEO: string;
|
41
43
|
instructor?: Instructor;
|
42
44
|
space?: Space;
|
43
45
|
user: User;
|
46
|
+
schedule?: ResourceScheduleDto[];
|
44
47
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;
|
1
|
+
{"version":3,"file":"Resource.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Resource.ts"],"names":[],"mappings":";;;AAuBA,oGAAiG;AAWjG,MAAa,QAAS,SAAQ,mEAAgC;CAyE7D;AAzED,4BAyEC"}
|