@bondsports/types 2.1.46 → 2.1.48
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/resources/dto/instructor.dto.d.ts +7 -6
- package/dist/types/resources/dto/instructor.dto.js.map +1 -1
- package/dist/types/resources/entities/Instructor.d.ts +0 -2
- package/dist/types/resources/entities/Instructor.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/dist/types/user/entities/User.d.ts +2 -0
- package/dist/types/user/entities/User.js.map +1 -1
- package/package.json +1 -1
@@ -4,7 +4,7 @@ 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
6
|
import { ActivityTimesDto } from '../../programs-seasons/dto/program-seasons.dto';
|
7
|
-
import { FacilityDto } from '../../dto/facilities.dto';
|
7
|
+
import { AddressDto, FacilityDto } from '../../dto/facilities.dto';
|
8
8
|
import { BasicActivityTimesDto } from '../../dto/activityTimes.dto';
|
9
9
|
import { ResourceDependenciesDto } from './resource.dto';
|
10
10
|
export declare class InstructorResourceDto {
|
@@ -13,7 +13,6 @@ export declare class InstructorResourceDto {
|
|
13
13
|
createdAt: Date;
|
14
14
|
updatedAt: Date;
|
15
15
|
deletedAt?: Date;
|
16
|
-
name: string;
|
17
16
|
resourceType: ResourceTypeEnum;
|
18
17
|
description?: string;
|
19
18
|
longDescription?: string;
|
@@ -34,10 +33,13 @@ export declare class InstructorResourceDto {
|
|
34
33
|
linkSEO: string;
|
35
34
|
email?: string;
|
36
35
|
phoneNumber?: string;
|
36
|
+
firstName: string;
|
37
|
+
lastName: string;
|
38
|
+
address?: AddressDto;
|
37
39
|
programTypes?: ProgramTypesEnum[];
|
40
|
+
isBookableOnline?: boolean;
|
38
41
|
}
|
39
42
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
40
|
-
name: string;
|
41
43
|
description?: string;
|
42
44
|
longDescription?: string;
|
43
45
|
activityTimes: BasicActivityTimesDto[];
|
@@ -48,7 +50,6 @@ export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
48
50
|
isAddon?: boolean;
|
49
51
|
userId: number;
|
50
52
|
status?: ActivityEnum;
|
51
|
-
|
52
|
-
|
53
|
-
sports: SportsEnum[];
|
53
|
+
sports?: SportsEnum[];
|
54
|
+
isBookableOnline?: boolean;
|
54
55
|
}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAyD;AAEzD,MAAa,qBAAqB;
|
1
|
+
{"version":3,"file":"instructor.dto.js","sourceRoot":"","sources":["../../../../src/types/resources/dto/instructor.dto.ts"],"names":[],"mappings":";;;AAeA,iDAAyD;AAEzD,MAAa,qBAAqB;CA4DjC;AA5DD,sDA4DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAwB/D;AAxBD,kDAwBC"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAE7D,MAAa,UAAW,SAAQ,+BAAc;
|
1
|
+
{"version":3,"file":"Instructor.js","sourceRoot":"","sources":["../../../../src/types/resources/entities/Instructor.ts"],"names":[],"mappings":";;;AAGA,gEAA6D;AAE7D,MAAa,UAAW,SAAQ,+BAAc;CAQ7C;AARD,gCAQC"}
|
@@ -8,6 +8,7 @@ import { Slot } from '../../reservations/entities/Slots';
|
|
8
8
|
import { Addon } from '../../reservations/entities/Addon';
|
9
9
|
import { Instructor } from './Instructor';
|
10
10
|
import { Space } from './Space';
|
11
|
+
import { User } from '../../user/entities/User';
|
11
12
|
export declare class Resource extends OrganizationConnectionBaseEntity {
|
12
13
|
name: string;
|
13
14
|
resourceType: ResourceTypeEnum;
|
@@ -34,9 +35,11 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
34
35
|
slots?: Slot[];
|
35
36
|
addons?: Addon[];
|
36
37
|
facilityId: number;
|
38
|
+
isBookableOnline?: boolean;
|
37
39
|
facility: Facility;
|
38
40
|
purchasedResources: PurchasedResource[];
|
39
41
|
linkSEO: string;
|
40
42
|
instructor?: Instructor;
|
41
43
|
space?: Space;
|
44
|
+
user: User;
|
42
45
|
}
|
@@ -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;AAUjG,MAAa,QAAS,SAAQ,mEAAgC;CAuE7D;AAvED,4BAuEC"}
|
@@ -11,6 +11,7 @@ import { PaymentNote } from '../../payment/entities/PaymentNote';
|
|
11
11
|
import { UserRole } from '../../roles/entities/UserRole';
|
12
12
|
import { GenderEnum, ResourceNameTypeEnum } from '../../services/enums.service';
|
13
13
|
import { Athlete } from './Athlete';
|
14
|
+
import { Resource } from '../../resources/entities/Resource';
|
14
15
|
export declare class User extends BondBaseEntity {
|
15
16
|
firstName?: string;
|
16
17
|
lastName?: string;
|
@@ -51,6 +52,7 @@ export declare class User extends BondBaseEntity {
|
|
51
52
|
invoiceNotes: InvoiceNote[];
|
52
53
|
paymentNotes: PaymentNote[];
|
53
54
|
customers: Customer[];
|
55
|
+
resources?: Resource[];
|
54
56
|
}
|
55
57
|
export declare class IUserInOrganization extends User {
|
56
58
|
organizationId: number;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/types/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;
|
1
|
+
{"version":3,"file":"User.js","sourceRoot":"","sources":["../../../../src/types/user/entities/User.ts"],"names":[],"mappings":";;;AAEA,gEAA6D;AAc7D,MAAa,IAAK,SAAQ,+BAAc;CAgFvC;AAhFD,oBAgFC;AAED,MAAa,mBAAoB,SAAQ,IAAI;CAI5C;AAJD,kDAIC"}
|