@bondsports/types 2.1.46 → 2.1.47
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 +5 -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 +2 -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,12 @@ 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[];
|
38
40
|
}
|
39
41
|
export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
40
|
-
name: string;
|
41
42
|
description?: string;
|
42
43
|
longDescription?: string;
|
43
44
|
activityTimes: BasicActivityTimesDto[];
|
@@ -48,7 +49,5 @@ export declare class CreateInstructorDto extends ResourceDependenciesDto {
|
|
48
49
|
isAddon?: boolean;
|
49
50
|
userId: number;
|
50
51
|
status?: ActivityEnum;
|
51
|
-
|
52
|
-
email?: string;
|
53
|
-
sports: SportsEnum[];
|
52
|
+
sports?: SportsEnum[];
|
54
53
|
}
|
@@ -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;CA0DjC;AA1DD,sDA0DC;AAED,MAAa,mBAAoB,SAAQ,sCAAuB;CAsB/D;AAtBD,kDAsBC"}
|
@@ -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;
|
@@ -39,4 +40,5 @@ export declare class Resource extends OrganizationConnectionBaseEntity {
|
|
39
40
|
linkSEO: string;
|
40
41
|
instructor?: Instructor;
|
41
42
|
space?: Space;
|
43
|
+
user: User;
|
42
44
|
}
|
@@ -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;CAqE7D;AArED,4BAqEC"}
|
@@ -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"}
|