@bondsports/types 2.2.49 → 2.2.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/cart/types/interfaces/cart.interfaces.d.ts +5 -1
- package/dist/types/user/dto/index.d.ts +1 -0
- package/dist/types/user/dto/index.js +1 -0
- package/dist/types/user/dto/index.js.map +1 -1
- package/dist/types/user/dto/user.dto.d.ts +2 -23
- package/dist/types/user/dto/user.dto.js +1 -7
- package/dist/types/user/dto/user.dto.js.map +1 -1
- package/dist/types/user/dto/userPass.dto.d.ts +24 -0
- package/dist/types/user/dto/userPass.dto.js +11 -0
- package/dist/types/user/dto/userPass.dto.js.map +1 -0
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { UserAnswersDto } from '../../../dto/application.dto';
|
|
2
2
|
import { Product } from '../../../product-pricing/entities/Product';
|
|
3
3
|
import { ResourceDto } from '../../../resources/dto/resource.dto';
|
|
4
|
-
import { CurrencyEnum, PlatformsEnum } from '../../../services/enums.service';
|
|
4
|
+
import { CurrencyEnum, PlatformsEnum, ResourceNameTypeEnum } from '../../../services/enums.service';
|
|
5
5
|
import { IPricesOfProductsResults } from '../../../services/interfaces.service';
|
|
6
6
|
import { Cart } from '../../entities/cart.entity';
|
|
7
7
|
export interface ICreateCart {
|
|
@@ -52,3 +52,7 @@ export interface IUpdateCartOptions {
|
|
|
52
52
|
updateActiveTime?: boolean;
|
|
53
53
|
updateFetchedTime?: boolean;
|
|
54
54
|
}
|
|
55
|
+
export type ResourceTypeToInfoMap = Map<ResourceNameTypeEnum, {
|
|
56
|
+
resourcesIds: number[];
|
|
57
|
+
productsIds: number[];
|
|
58
|
+
}>;
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./user-settings.dto"), exports);
|
|
18
18
|
__exportStar(require("./user.dto"), exports);
|
|
19
|
+
__exportStar(require("./userPass.dto"), exports);
|
|
19
20
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,6CAA2B"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/types/user/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC;AACpC,6CAA2B;AAC3B,iDAA+B"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { IdDto, PaginationResultDto } from '../../dto/general.dto';
|
|
4
|
-
import { SimpleProductDto } from '../../product-pricing/dto/product.dto';
|
|
5
|
-
import { SimpleSessionDto } from '../../programs-seasons/dto/program-seasons.dto';
|
|
6
|
-
import { SimpleProgramDto } from '../../programs/dto/program.dto';
|
|
7
|
-
import { SimpleResourceDto } from '../../resources/dto/resource.dto';
|
|
1
|
+
import { AddressDto } from '../../dto/facilities.dto';
|
|
2
|
+
import { IdDto } from '../../dto/general.dto';
|
|
8
3
|
export declare class UserIdDto {
|
|
9
4
|
userId: number;
|
|
10
5
|
}
|
|
@@ -30,22 +25,6 @@ export declare class UserWithContactInfoDto extends SimpleUserDto {
|
|
|
30
25
|
email: string;
|
|
31
26
|
address?: AddressDto;
|
|
32
27
|
}
|
|
33
|
-
export declare class UserPassDto {
|
|
34
|
-
id: number;
|
|
35
|
-
organizationId: number;
|
|
36
|
-
passesLeft: number;
|
|
37
|
-
totalPasses: number;
|
|
38
|
-
user: SimpleUserDto;
|
|
39
|
-
program: SimpleProgramDto;
|
|
40
|
-
session: SimpleSessionDto;
|
|
41
|
-
product: SimpleProductDto;
|
|
42
|
-
resources: SimpleResourceDto[];
|
|
43
|
-
facility: SimpleFacilityDto;
|
|
44
|
-
events: SimpleEventDto[];
|
|
45
|
-
}
|
|
46
|
-
export declare class UsersPassesResultDto extends PaginationResultDto {
|
|
47
|
-
data: UserPassDto[];
|
|
48
|
-
}
|
|
49
28
|
export declare class InstructorUserDto extends UserWithContactInfoDto {
|
|
50
29
|
isAssigned: boolean;
|
|
51
30
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InstructorUserDto = exports.
|
|
3
|
+
exports.InstructorUserDto = exports.UserWithContactInfoDto = exports.SimpleUserDto = exports.UserIdsDto = 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
|
}
|
|
@@ -23,12 +23,6 @@ exports.SimpleUserDto = SimpleUserDto;
|
|
|
23
23
|
class UserWithContactInfoDto extends SimpleUserDto {
|
|
24
24
|
}
|
|
25
25
|
exports.UserWithContactInfoDto = UserWithContactInfoDto;
|
|
26
|
-
class UserPassDto {
|
|
27
|
-
}
|
|
28
|
-
exports.UserPassDto = UserPassDto;
|
|
29
|
-
class UsersPassesResultDto extends general_dto_1.PaginationResultDto {
|
|
30
|
-
}
|
|
31
|
-
exports.UsersPassesResultDto = UsersPassesResultDto;
|
|
32
26
|
class InstructorUserDto extends UserWithContactInfoDto {
|
|
33
27
|
}
|
|
34
28
|
exports.InstructorUserDto = InstructorUserDto;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"user.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/user.dto.ts"],"names":[],"mappings":";;;AACA,uDAA8C;AAE9C,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,UAAU;CAEtB;AAFD,gCAEC;AAED,MAAa,aAAc,SAAQ,mBAAK;CAMvC;AAND,sCAMC;AAED,MAAa,sBAAuB,SAAQ,aAAa;CAMxD;AAND,wDAMC;AAED,MAAa,iBAAkB,SAAQ,sBAAsB;CAE5D;AAFD,8CAEC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { SimpleUserDto } from "./user.dto";
|
|
2
|
+
import { SimpleProgramDto } from "../../programs/dto/program.dto";
|
|
3
|
+
import { SimpleSessionDto } from "../../programs-seasons/dto/program-seasons.dto";
|
|
4
|
+
import { SimpleProductDto } from "../../product-pricing/dto/product.dto";
|
|
5
|
+
import { SimpleResourceDto } from "../../resources/dto/resource.dto";
|
|
6
|
+
import { SimpleFacilityDto } from "../../dto/facilities.dto";
|
|
7
|
+
import { SimpleEventDto } from "../../dto/events.dto";
|
|
8
|
+
import { PaginationResultDto } from "../../dto/general.dto";
|
|
9
|
+
export declare class UserPassDto {
|
|
10
|
+
id: number;
|
|
11
|
+
organizationId: number;
|
|
12
|
+
passesLeft: number;
|
|
13
|
+
totalPasses: number;
|
|
14
|
+
user: SimpleUserDto;
|
|
15
|
+
program: SimpleProgramDto;
|
|
16
|
+
session: SimpleSessionDto;
|
|
17
|
+
product: SimpleProductDto;
|
|
18
|
+
resources: SimpleResourceDto[];
|
|
19
|
+
facility: SimpleFacilityDto;
|
|
20
|
+
events: SimpleEventDto[];
|
|
21
|
+
}
|
|
22
|
+
export declare class UsersPassesResultDto extends PaginationResultDto {
|
|
23
|
+
data: UserPassDto[];
|
|
24
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsersPassesResultDto = exports.UserPassDto = void 0;
|
|
4
|
+
const general_dto_1 = require("../../dto/general.dto");
|
|
5
|
+
class UserPassDto {
|
|
6
|
+
}
|
|
7
|
+
exports.UserPassDto = UserPassDto;
|
|
8
|
+
class UsersPassesResultDto extends general_dto_1.PaginationResultDto {
|
|
9
|
+
}
|
|
10
|
+
exports.UsersPassesResultDto = UsersPassesResultDto;
|
|
11
|
+
//# sourceMappingURL=userPass.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userPass.dto.js","sourceRoot":"","sources":["../../../../src/types/user/dto/userPass.dto.ts"],"names":[],"mappings":";;;AAOA,uDAA4D;AAE5D,MAAa,WAAW;CAsBvB;AAtBD,kCAsBC;AAGD,MAAa,oBAAqB,SAAQ,iCAAmB;CAE5D;AAFD,oDAEC"}
|