@tc-libs/user 1.19.0 → 1.26.0
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tc-libs/user",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@tc-libs/authentication": "1.
|
|
6
|
-
"@tc-libs/service": "1.
|
|
7
|
-
"@tc-libs/database": "1.
|
|
5
|
+
"@tc-libs/authentication": "1.26.0",
|
|
6
|
+
"@tc-libs/service": "1.26.0",
|
|
7
|
+
"@tc-libs/database": "1.26.0"
|
|
8
8
|
},
|
|
9
9
|
"type": "commonjs",
|
|
10
10
|
"main": "./src/index.js",
|
|
@@ -63,9 +63,9 @@ export interface IUserBirthday {
|
|
|
63
63
|
* @property {Date} [ts] - The timestamp when the reset password was requested.
|
|
64
64
|
*/
|
|
65
65
|
export interface IUserResetPassword {
|
|
66
|
-
code?: string;
|
|
67
|
-
tmpPassword?: string;
|
|
68
|
-
ts?: Date;
|
|
66
|
+
code?: string | null;
|
|
67
|
+
tmpPassword?: string | null;
|
|
68
|
+
ts?: Date | null;
|
|
69
69
|
}
|
|
70
70
|
/**
|
|
71
71
|
* Interface representing the history of user passwords.
|
|
@@ -86,8 +86,9 @@ export interface IUserPasswordHistory {
|
|
|
86
86
|
* @property {Date} [ts] - The timestamp of the confirmation code.
|
|
87
87
|
*/
|
|
88
88
|
export interface IUserEmailConfirmation {
|
|
89
|
-
code?: string;
|
|
90
|
-
|
|
89
|
+
code?: string | null;
|
|
90
|
+
redirect?: string | null;
|
|
91
|
+
ts?: Date | null;
|
|
91
92
|
}
|
|
92
93
|
/**
|
|
93
94
|
* Interface representing user login information.
|