@frontegg/types 7.75.0-alpha.2 → 7.75.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.
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Localization, ValidationLocalization } from './LocalizationType';
|
|
2
2
|
import { LoginBoxLocalization } from './LoginBoxLocalization';
|
|
3
3
|
import { AdminPortalLocalization } from './AdminPortalLocalizations';
|
|
4
|
-
type DeepPartial<T> = T extends string ? T : T extends Record<string, any> ? {
|
|
4
|
+
export type DeepPartial<T> = T extends string ? T : T extends Record<string, any> ? {
|
|
5
5
|
[P in keyof T]?: DeepPartial<T[P]>;
|
|
6
6
|
} : T;
|
|
7
7
|
type Languages = 'en' | 'he';
|
|
@@ -9,6 +9,9 @@ export type LocalizationsOverrides = DeepPartial<{
|
|
|
9
9
|
[k in Languages]: LocalizationOverrides;
|
|
10
10
|
}> & {
|
|
11
11
|
defaultLanguage?: Languages;
|
|
12
|
+
autoTranslate?: {
|
|
13
|
+
enabled?: boolean;
|
|
14
|
+
};
|
|
12
15
|
};
|
|
13
16
|
export type ValidationLocalizationOverrides = Partial<ValidationLocalization>;
|
|
14
17
|
export type LoginBoxLocalizationOverrides = Partial<{
|
package/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "7.75.0
|
|
3
|
+
"version": "7.75.0",
|
|
4
4
|
"main": "./node/index.js",
|
|
5
5
|
"author": "Frontegg LTD",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"dependencies": {
|
|
8
8
|
"@babel/runtime": "^7.18.6",
|
|
9
|
-
"@frontegg/redux-store": "7.75.0
|
|
9
|
+
"@frontegg/redux-store": "7.75.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|