grm-shared-library 1.0.219 → 1.0.221
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/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export * from './modules/workflow/index';
|
|
|
12
12
|
export * from './interfaces/server-message';
|
|
13
13
|
export * from './interfaces/i-request-with-user';
|
|
14
14
|
export * from './interfaces/validated-user';
|
|
15
|
+
export * from './interfaces/jwt-payload';
|
|
15
16
|
export * from './kafka/index';
|
|
16
17
|
export * from './decorators/case-decorators';
|
|
17
18
|
export * from './exceptions/index';
|
package/dist/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __exportStar(require("./modules/workflow/index"), exports);
|
|
|
30
30
|
__exportStar(require("./interfaces/server-message"), exports);
|
|
31
31
|
__exportStar(require("./interfaces/i-request-with-user"), exports);
|
|
32
32
|
__exportStar(require("./interfaces/validated-user"), exports);
|
|
33
|
+
__exportStar(require("./interfaces/jwt-payload"), exports);
|
|
33
34
|
// Kafka
|
|
34
35
|
__exportStar(require("./kafka/index"), exports);
|
|
35
36
|
// Utilities
|
|
@@ -16,11 +16,6 @@ const match_decorator_1 = require("../validators/match.decorator");
|
|
|
16
16
|
class ChangePasswordDto {
|
|
17
17
|
}
|
|
18
18
|
exports.ChangePasswordDto = ChangePasswordDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, class_validator_1.IsNumber)(),
|
|
21
|
-
(0, class_validator_1.IsNotEmpty)(),
|
|
22
|
-
__metadata("design:type", Number)
|
|
23
|
-
], ChangePasswordDto.prototype, "userId", void 0);
|
|
24
19
|
__decorate([
|
|
25
20
|
(0, class_validator_1.IsString)(),
|
|
26
21
|
(0, class_validator_1.IsNotEmpty)(),
|
|
@@ -40,4 +35,4 @@ __decorate([
|
|
|
40
35
|
(0, class_validator_1.Matches)(password_regex_const_1.PASSWORD_REGEX, { message: password_regex_const_1.PASSWORD_ERROR_MESSAGE }),
|
|
41
36
|
(0, match_decorator_1.Match)('newPassword', { message: 'Passwords do not match' }),
|
|
42
37
|
__metadata("design:type", String)
|
|
43
|
-
], ChangePasswordDto.prototype, "
|
|
38
|
+
], ChangePasswordDto.prototype, "confirmNewPassword", void 0);
|