@frontegg/types 7.74.0 → 7.75.0-alpha.1

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,8 +1,11 @@
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> ? {
5
+ [P in keyof T]?: DeepPartial<T[P]>;
6
+ } : T;
4
7
  type Languages = 'en' | 'he';
5
- export type LocalizationsOverrides = Partial<{
8
+ export type LocalizationsOverrides = DeepPartial<{
6
9
  [k in Languages]: LocalizationOverrides;
7
10
  }> & {
8
11
  defaultLanguage?: Languages;
@@ -221,11 +221,7 @@ export interface SignupLocalization {
221
221
  * strings in signup page
222
222
  */
223
223
  signup: {
224
- account: Omit<SignupLocalizationOptions, 'title'> & {
225
- title?: string;
226
- };
227
- user: Omit<SignupLocalizationOptions, 'title'> & {
228
- title?: string;
229
- };
224
+ account: SignupLocalizationOptions;
225
+ user: SignupLocalizationOptions;
230
226
  } & SignupLocalizationOptions;
231
227
  }
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.74.0
1
+ /** @license Frontegg v7.75.0-alpha.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.74.0
1
+ /** @license Frontegg v7.75.0-alpha.1
2
2
  *
3
3
  * This source code is licensed under the MIT license found in the
4
4
  * LICENSE file in the root directory of this source tree.
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@frontegg/types",
3
- "version": "7.74.0",
3
+ "version": "7.75.0-alpha.1",
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.74.0",
9
+ "@frontegg/redux-store": "7.75.0-alpha.1",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },