@marianmeres/collection-types 2.15.0 → 2.17.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/dist/account.d.ts +9 -1
- package/package.json +1 -1
package/dist/account.d.ts
CHANGED
|
@@ -8,6 +8,14 @@ export interface AccountData {
|
|
|
8
8
|
email: string;
|
|
9
9
|
roles?: string[];
|
|
10
10
|
isVerified?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Preferred UI/email language (ISO-639-1). Absent on accounts created before
|
|
13
|
+
* the field existed, and on any account whose stored value the deployment no
|
|
14
|
+
* longer offers — both cases resolve to the app default at READ time. Never
|
|
15
|
+
* rewrite it in place to "repair" it: a narrowing that is later widened back
|
|
16
|
+
* would have silently destroyed the user's real preference.
|
|
17
|
+
*/
|
|
18
|
+
locale?: string;
|
|
11
19
|
/** Index signature for Model<T> compatibility */
|
|
12
20
|
[key: string]: unknown;
|
|
13
21
|
}
|
|
@@ -28,7 +36,7 @@ export interface TokenData {
|
|
|
28
36
|
[key: string]: unknown;
|
|
29
37
|
}
|
|
30
38
|
/** Supported OAuth provider names */
|
|
31
|
-
export type OAuthProvider = "google" | "facebook" | "apple" | "twitter";
|
|
39
|
+
export type OAuthProvider = "google" | "microsoft" | "facebook" | "apple" | "twitter";
|
|
32
40
|
/** OAuth connection model data (links accounts to OAuth providers) */
|
|
33
41
|
export interface OAuthConnectionData {
|
|
34
42
|
/** OAuth provider name */
|