vona-module-a-user 5.0.36 → 5.0.37
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ILocaleRecord } from 'vona';
|
|
2
2
|
export interface IAuthUserProfilePropSlice {
|
|
3
3
|
value: string;
|
|
4
4
|
}
|
|
@@ -16,6 +16,6 @@ export interface IAuthUserProfile {
|
|
|
16
16
|
profileUrl?: string;
|
|
17
17
|
emails?: IAuthUserProfilePropSlice[];
|
|
18
18
|
photos?: IAuthUserProfilePropSlice[];
|
|
19
|
-
locale?: keyof
|
|
19
|
+
locale?: keyof ILocaleRecord;
|
|
20
20
|
confirmed?: boolean;
|
|
21
21
|
}
|
package/dist/types/user.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { TableIdentity } from 'table-identity';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ILocaleRecord } from 'vona';
|
|
3
3
|
import type { IAuthUserProfile } from './authProfile.ts';
|
|
4
4
|
export interface IUserNameRecord {
|
|
5
5
|
admin: never;
|
|
@@ -14,7 +14,7 @@ export interface IUser {
|
|
|
14
14
|
email?: string;
|
|
15
15
|
mobile?: string;
|
|
16
16
|
activated?: boolean;
|
|
17
|
-
locale?: keyof
|
|
17
|
+
locale?: keyof ILocaleRecord | undefined;
|
|
18
18
|
anonymous?: boolean;
|
|
19
19
|
}
|
|
20
20
|
export interface IUserAdapter {
|