resurgence-data 1.0.13 → 1.0.14
Sign up to get free protection for your applications and to get access to all the features.
@@ -18,3 +18,13 @@ export interface ResetPasswordEmailRequest {
|
|
18
18
|
}
|
19
19
|
export interface NewUserEmailRequest extends ResetPasswordEmailRequest {
|
20
20
|
}
|
21
|
+
export interface UpdateAuthenticationModel {
|
22
|
+
id: string;
|
23
|
+
userId?: string;
|
24
|
+
password?: string | null;
|
25
|
+
token?: string | null;
|
26
|
+
tokenExpiry?: Date | null;
|
27
|
+
active?: boolean;
|
28
|
+
twoFactorEnabled?: boolean;
|
29
|
+
role?: string;
|
30
|
+
}
|
package/dist/user/user.js
CHANGED
@@ -23,6 +23,7 @@ __decorate([
|
|
23
23
|
__metadata("design:type", String)
|
24
24
|
], CreateUserDTO.prototype, "lastName", void 0);
|
25
25
|
__decorate([
|
26
|
+
(0, class_validator_1.IsEmail)(undefined, { message: "Please enter a valid email address" }),
|
26
27
|
(0, class_validator_1.IsString)({ message: "Please enter a valid email address." }),
|
27
28
|
__metadata("design:type", String)
|
28
29
|
], CreateUserDTO.prototype, "emailAddress", void 0);
|