@bondsports/types 2.1.50 → 2.1.51
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/general.dto.d.ts +6 -0
- package/dist/types/dto/general.dto.js +4 -1
- package/dist/types/dto/general.dto.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +9 -1
- package/dist/types/user/dto/user.dto.js +7 -1
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/package.json +1 -1
@@ -1,3 +1,4 @@
|
|
1
|
+
import { OrderByEnum } from '../services/enums.service';
|
1
2
|
export declare class FindOneParams {
|
2
3
|
id: number;
|
3
4
|
}
|
@@ -65,3 +66,8 @@ export declare class CronQueryParamsDto {
|
|
65
66
|
export declare class IncludeAdditionalDataDto {
|
66
67
|
includeAdditionalData?: boolean;
|
67
68
|
}
|
69
|
+
export declare class PaginatedSearchDto extends PaginationQuery {
|
70
|
+
search?: string;
|
71
|
+
orderBy?: string;
|
72
|
+
order?: OrderByEnum;
|
73
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
3
|
+
exports.PaginatedSearchDto = exports.IncludeAdditionalDataDto = exports.CronQueryParamsDto = exports.GenericResponseDto = exports.IdsQueryDto = exports.IdsOptionalDto = exports.IdsDto = exports.AuthenticatedRequestDto = exports.IdAndNameDto = exports.IdDto = exports.PaginationResultDto = exports.PaginationMetaDto = exports.PaginationRangeQuery = exports.IData = exports.PaginationQuery = exports.HUNDRED_PERCENT = exports.MINIMUM_ALLOWED_PERCENTAGE = exports.MINIMUM_ALLOWED_PRICE = exports.DEFAULT_PAGE = exports.DEFAULT_MINIMUM_ITEMS_PER_PAGE = exports.DEFAULT_MAXIMUM_ITEMS_PER_PAGE = exports.FindOneParams = void 0;
|
4
4
|
class FindOneParams {
|
5
5
|
}
|
6
6
|
exports.FindOneParams = FindOneParams;
|
@@ -68,4 +68,7 @@ exports.CronQueryParamsDto = CronQueryParamsDto;
|
|
68
68
|
class IncludeAdditionalDataDto {
|
69
69
|
}
|
70
70
|
exports.IncludeAdditionalDataDto = IncludeAdditionalDataDto;
|
71
|
+
class PaginatedSearchDto extends PaginationQuery {
|
72
|
+
}
|
73
|
+
exports.PaginatedSearchDto = PaginatedSearchDto;
|
71
74
|
//# sourceMappingURL=general.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;
|
1
|
+
{"version":3,"file":"general.dto.js","sourceRoot":"","sources":["../../../src/types/dto/general.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,aAAa;CAEzB;AAFD,sCAEC;AAEY,QAAA,8BAA8B,GAAG,GAAG,CAAC;AACrC,QAAA,8BAA8B,GAAG,EAAE,CAAC;AACpC,QAAA,YAAY,GAAG,CAAC,CAAC;AAEjB,QAAA,qBAAqB,GAAG,GAAG,CAAC;AAC5B,QAAA,0BAA0B,GAAG,IAAI,CAAC;AAClC,QAAA,eAAe,GAAG,GAAG,CAAC;AAEnC,MAAa,eAAe;IAC3B,YAAY,KAA4E;;QAQxF,SAAI,GAAI,oBAAY,CAAC;QAErB,iBAAY,GAAI,sCAA8B,CAAC;QAT9C,IAAI,CAAC,IAAI,GAAG,CAAA,KAAK,aA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impleFacilityDto } from '../../dto/facilities.dto';
|
2
|
+
import { AddressDto, SimpleFacilityDto } from '../../dto/facilities.dto';
|
3
3
|
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
4
4
|
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
5
5
|
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
@@ -21,6 +21,11 @@ export declare class SimpleUserDto extends IdDto {
|
|
21
21
|
firstName: string;
|
22
22
|
lastName: string;
|
23
23
|
}
|
24
|
+
export declare class UserWithContactInfoDto extends SimpleUserDto {
|
25
|
+
phoneNumber: string;
|
26
|
+
email: string;
|
27
|
+
address?: AddressDto;
|
28
|
+
}
|
24
29
|
export declare class UserPassDto {
|
25
30
|
id: number;
|
26
31
|
organizationId: number;
|
@@ -37,3 +42,6 @@ export declare class UserPassDto {
|
|
37
42
|
export declare class UsersPassesResultDto extends PaginationResultDto {
|
38
43
|
data: UserPassDto[];
|
39
44
|
}
|
45
|
+
export declare class InstructorUserDto extends UserWithContactInfoDto {
|
46
|
+
isAssigned: boolean;
|
47
|
+
}
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.UsersPassesResultDto = exports.UserPassDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
3
|
+
exports.InstructorUserDto = exports.UsersPassesResultDto = exports.UserPassDto = exports.UserWithContactInfoDto = exports.SimpleUserDto = exports.ByOrganizationAndUserDto = exports.FindUserRegistrationsDto = exports.FindByFamilyAccountIdDto = exports.UserIdDto = void 0;
|
4
4
|
const general_dto_1 = require("../../dto/general.dto");
|
5
5
|
class UserIdDto {
|
6
6
|
}
|
@@ -17,10 +17,16 @@ exports.ByOrganizationAndUserDto = ByOrganizationAndUserDto;
|
|
17
17
|
class SimpleUserDto extends general_dto_1.IdDto {
|
18
18
|
}
|
19
19
|
exports.SimpleUserDto = SimpleUserDto;
|
20
|
+
class UserWithContactInfoDto extends SimpleUserDto {
|
21
|
+
}
|
22
|
+
exports.UserWithContactInfoDto = UserWithContactInfoDto;
|
20
23
|
class UserPassDto {
|
21
24
|
}
|
22
25
|
exports.UserPassDto = UserPassDto;
|
23
26
|
class UsersPassesResultDto extends general_dto_1.PaginationResultDto {
|
24
27
|
}
|
25
28
|
exports.UsersPassesResultDto = UsersPassesResultDto;
|
29
|
+
class InstructorUserDto extends UserWithContactInfoDto {
|
30
|
+
}
|
31
|
+
exports.InstructorUserDto = InstructorUserDto;
|
26
32
|
//# sourceMappingURL=user.dto.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AAEA,uDAAmE;AAMnE,MAAa,SAAS;CAErB;AAFD,8BAEC;AAED,MAAa,wBAAwB;CAEpC;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,wBAAwB;CAErE;AAFD,4DAEC;AAED,MAAa,wBAAyB,SAAQ,SAAS;CAEtD;AAFD,4DAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAIvC;AAJD,sCAIC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAED,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
|