@frontegg/types 7.84.0-alpha.1 → 7.84.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.
@@ -316,6 +316,22 @@ export interface UsersLocalization {
316
316
  * Phone number input tooltip for extra information
317
317
  */
318
318
  phoneTooltip: string;
319
+ /**
320
+ * Username input label
321
+ */
322
+ usernameInputLabel: string;
323
+ /**
324
+ * Error message displayed if username is empty
325
+ */
326
+ usernameIsRequired: string;
327
+ /**
328
+ * Error message displayed if username is invalid
329
+ */
330
+ usernameInvalid: string;
331
+ /**
332
+ * Error message displayed when username already exists
333
+ */
334
+ usernameAlreadyExists: string;
319
335
  /**
320
336
  * User roles select input label
321
337
  */
@@ -28,15 +28,18 @@ export declare enum PrivacyPageFields {
28
28
  }
29
29
  export declare enum InviteUserModalFields {
30
30
  Name = "name",
31
- PhoneNumber = "phoneNumber"
31
+ PhoneNumber = "phoneNumber",
32
+ Username = "username"
32
33
  }
33
34
  export interface MapInviteUserFieldToAppearance extends Record<keyof InviteUserModalFields, HiddenOrEdit> {
34
35
  [InviteUserModalFields.Name]: HiddenOrEdit;
35
36
  [InviteUserModalFields.PhoneNumber]: HiddenOrEdit;
37
+ [InviteUserModalFields.Username]: HiddenOrEdit;
36
38
  }
37
39
  export interface MapInviteUserFieldToSettings extends Record<keyof InviteUserModalFields, FieldSettings> {
38
40
  [InviteUserModalFields.Name]: FieldSettings;
39
41
  [InviteUserModalFields.PhoneNumber]: FieldSettings;
42
+ [InviteUserModalFields.Username]: FieldSettings;
40
43
  }
41
44
  export interface MapPrivacyFieldToAppearance extends Record<keyof PrivacyPageFields, HiddenOrEdit> {
42
45
  [PrivacyPageFields.LoginSessions]: HiddenOrEdit;
@@ -15,6 +15,7 @@ export let InviteUserModalFields;
15
15
  (function (InviteUserModalFields) {
16
16
  InviteUserModalFields["Name"] = "name";
17
17
  InviteUserModalFields["PhoneNumber"] = "phoneNumber";
18
+ InviteUserModalFields["Username"] = "username";
18
19
  })(InviteUserModalFields || (InviteUserModalFields = {}));
19
20
  export let AccountPageFields;
20
21
  (function (AccountPageFields) {
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.84.0-alpha.1
1
+ /** @license Frontegg v7.84.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.
@@ -24,6 +24,7 @@ exports.InviteUserModalFields = InviteUserModalFields;
24
24
  (function (InviteUserModalFields) {
25
25
  InviteUserModalFields["Name"] = "name";
26
26
  InviteUserModalFields["PhoneNumber"] = "phoneNumber";
27
+ InviteUserModalFields["Username"] = "username";
27
28
  })(InviteUserModalFields || (exports.InviteUserModalFields = InviteUserModalFields = {}));
28
29
  let AccountPageFields;
29
30
  exports.AccountPageFields = AccountPageFields;
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v7.84.0-alpha.1
1
+ /** @license Frontegg v7.84.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.84.0-alpha.1",
3
+ "version": "7.84.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.84.0-alpha.1",
9
+ "@frontegg/redux-store": "7.84.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },