@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,4 +1,5 @@
1
1
  import { CMCComponentProps } from './base-component';
2
- export interface ChangePasswordFormProps extends CMCComponentProps {
2
+ export interface ChangePasswordFormProps extends CMCComponentProps<{
3
3
  onCompleteCallback?: (success: boolean) => void;
4
+ }> {
4
5
  }
@@ -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<{
@@ -7,6 +7,9 @@ export type Localizations = {
7
7
  [k in Languages]: Localization;
8
8
  } & {
9
9
  defaultLanguage?: Languages;
10
+ autoTranslate?: {
11
+ enabled?: boolean;
12
+ };
10
13
  };
11
14
  export interface ValidationLocalization {
12
15
  /**
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.75.0-alpha.2
1
+ /** @license Frontegg v7.75.0
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.75.0-alpha.2
1
+ /** @license Frontegg v7.75.0
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.75.0-alpha.2",
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-alpha.2",
9
+ "@frontegg/redux-store": "7.75.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },