@frontegg/types 6.178.0 → 6.180.0-alpha.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.
@@ -20,6 +20,12 @@ export interface AuthOptions extends Partial<Omit<AuthState, 'routes'>> {
20
20
  * Origins that are allowed to clear idle session timeout from
21
21
  */
22
22
  clearIdleTimeoutAllowedOrigins?: string[];
23
+ /**
24
+ * Advanced options for social logins flow
25
+ */
26
+ socialLoginOptions?: {
27
+ promptConsent?: boolean;
28
+ };
23
29
  /**
24
30
  * Advanced options for hosted login mode
25
31
  */
@@ -62,6 +62,9 @@ export interface RolesLocalization {
62
62
  createRole: string;
63
63
  existingRoleNameValidation: string;
64
64
  copyPermissionsFrom: string;
65
+ search: string;
66
+ noPermissionsFound: string;
67
+ permissionsRequiredError: string;
65
68
  };
66
69
  /**
67
70
  * Add new role dialog strings
@@ -113,6 +116,8 @@ export interface RolesLocalization {
113
116
  permissions: string;
114
117
  defaultRole: string;
115
118
  emptyChipsMessage: string;
119
+ search: string;
120
+ managePermissions: string;
116
121
  };
117
122
  roles_deleteRole: {
118
123
  title: string;
@@ -120,4 +125,10 @@ export interface RolesLocalization {
120
125
  cancel: string;
121
126
  deleteRole: string;
122
127
  };
128
+ roles_managePermissions: {
129
+ title: string;
130
+ cancel: string;
131
+ save: string;
132
+ permissionsRequiredError: string;
133
+ };
123
134
  }
package/Metadata/index.js CHANGED
@@ -17,7 +17,6 @@ const defaultMetadata = {
17
17
  },
18
18
  roles: {
19
19
  visibility: 'hidden',
20
- featureFlag: 'fe-roles-page',
21
20
  permissions: ['fe.secure.read.roles']
22
21
  },
23
22
  users: {
@@ -38,7 +38,6 @@ export interface SocialLoginsThemeOptions extends BaseThemeOptions, SocialLogins
38
38
  containerStyle?: ExtendedCSSProperties;
39
39
  buttonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
40
40
  iconsOnly?: boolean;
41
- promptConsent?: boolean;
42
41
  googleIcon?: SocialLoginCustomComponent<'googleIcon'>;
43
42
  googleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
44
43
  microsoftIcon?: SocialLoginCustomComponent<'microsoftIcon'>;
@@ -62,7 +61,6 @@ export interface SocialLoginsTheme extends BaseTheme {
62
61
  containerStyle?: ExtendedCSSProperties;
63
62
  buttonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
64
63
  iconsOnly?: boolean;
65
- promptConsent?: boolean;
66
64
  googleIcon?: SocialLoginCustomComponent<'googleIcon'>;
67
65
  googleButtonStyle?: Omit<ButtonThemeOptions, 'disabled'>;
68
66
  microsoftIcon?: SocialLoginCustomComponent<'microsoftIcon'>;
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.178.0
1
+ /** @license Frontegg v6.180.0-alpha.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.
@@ -30,7 +30,6 @@ const defaultMetadata = {
30
30
  },
31
31
  roles: {
32
32
  visibility: 'hidden',
33
- featureFlag: 'fe-roles-page',
34
33
  permissions: ['fe.secure.read.roles']
35
34
  },
36
35
  users: {
package/node/index.js CHANGED
@@ -1,4 +1,4 @@
1
- /** @license Frontegg v6.178.0
1
+ /** @license Frontegg v6.180.0-alpha.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": "6.178.0",
3
+ "version": "6.180.0-alpha.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": "6.178.0",
9
+ "@frontegg/redux-store": "6.180.0-alpha.0",
10
10
  "csstype": "^3.0.9",
11
11
  "deepmerge": "^4.2.2"
12
12
  },