@tc-libs/user 1.26.0 → 1.27.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.27.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@tc-libs/authentication": "1.
|
|
6
|
-
"@tc-libs/service": "1.
|
|
7
|
-
"@tc-libs/database": "1.
|
|
5
|
+
"@tc-libs/authentication": "1.27.0",
|
|
6
|
+
"@tc-libs/service": "1.27.0",
|
|
7
|
+
"@tc-libs/database": "1.27.0"
|
|
8
8
|
},
|
|
9
9
|
"type": "commonjs",
|
|
10
10
|
"main": "./src/index.js",
|
|
@@ -48,10 +48,10 @@ export interface IUserAgreements {
|
|
|
48
48
|
commercial: IFlagAcceptance;
|
|
49
49
|
}
|
|
50
50
|
export interface IUserBirthday {
|
|
51
|
-
day?: number;
|
|
52
|
-
month?: number;
|
|
53
|
-
year?: number;
|
|
54
|
-
date?: Date;
|
|
51
|
+
day?: number | null;
|
|
52
|
+
month?: number | null;
|
|
53
|
+
year?: number | null;
|
|
54
|
+
date?: Date | null;
|
|
55
55
|
}
|
|
56
56
|
/**
|
|
57
57
|
* Interface representing the structure of user reset password details.
|
|
@@ -186,7 +186,7 @@ export interface IBaseUser extends IDatabaseMongoBaseEntityAbstract {
|
|
|
186
186
|
resetPassword?: IUserResetPassword;
|
|
187
187
|
confirmation: IUserEmailConfirmation;
|
|
188
188
|
passwordHistory?: IUserPasswordHistory[];
|
|
189
|
-
login?: IUserLoginInfo;
|
|
189
|
+
login?: IUserLoginInfo | null;
|
|
190
190
|
social?: IUserSocialInfo;
|
|
191
191
|
agreements: IUserAgreements;
|
|
192
192
|
notifications: IUserNotifications;
|