@frontegg/types 7.68.0 → 7.69.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.
@@ -18,12 +18,14 @@ export interface YupInstance {
18
18
  export interface YupString {
19
19
  required: (message?: string) => YupString;
20
20
  email: (message?: string) => YupString;
21
+ typeError: (message?: string) => YupString;
21
22
  }
22
23
  /**
23
24
  * Minimal Yup number schema.
24
25
  */
25
26
  export interface YupNumber {
26
27
  required: (message?: string) => YupNumber;
28
+ typeError: (message?: string) => YupNumber;
27
29
  }
28
30
  /**
29
31
  * Minimal Yup boolean schema.
@@ -31,6 +33,7 @@ export interface YupNumber {
31
33
  export interface YupBoolean {
32
34
  required: (message?: string) => YupBoolean;
33
35
  oneOf: (values: any[], message?: string) => YupBoolean;
36
+ typeError: (message?: string) => YupBoolean;
34
37
  }
35
38
  /**
36
39
  * Minimal Yup object schema.
@@ -123,8 +123,9 @@ export interface SignupPageComponentsTheme {
123
123
  * This function will be called before rendering the signup form
124
124
  * and will receive the default signup fields, the Yup instance and the translation function
125
125
  * The function should return the modified array of form field configurations
126
+ * Use string js code to be evaluated at runtime
126
127
  */
127
- overrideSignupFields?: OverrideSignupFields;
128
+ overrideSignupFields?: OverrideSignupFields | string;
128
129
  /**
129
130
  * If true, beside the password field will be displayed a confirmation password field
130
131
  * Default is false
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.68.0
1
+ /** @license Frontegg v7.69.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.68.0
1
+ /** @license Frontegg v7.69.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.68.0",
3
+ "version": "7.69.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.68.0",
9
+ "@frontegg/redux-store": "7.69.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },