@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.
- package/FronteggStoreOptions.d.ts +6 -0
- package/Localizations/AdminPortalLocalizations/roles.d.ts +11 -0
- package/Metadata/index.js +0 -1
- package/ThemeOptions/LoginBoxTheme/SocialLoginsTheme.d.ts +0 -2
- package/index.js +1 -1
- package/node/Metadata/index.js +0 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -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
|
@@ -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
package/node/Metadata/index.js
CHANGED
package/node/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frontegg/types",
|
|
3
|
-
"version": "6.
|
|
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.
|
|
9
|
+
"@frontegg/redux-store": "6.180.0-alpha.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|