@frontegg/types 6.65.0 → 6.66.0-alpha.1
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/Localizations/AdminPortalLocalizations/auditLogs.d.ts +4 -0
- package/Localizations/LoginBoxLocalization/impersonate.d.ts +27 -0
- package/Localizations/LoginBoxLocalization/impersonate.js +1 -0
- package/Localizations/LoginBoxLocalization/index.d.ts +3 -1
- package/Localizations/LoginBoxLocalization/index.js +1 -0
- package/index.js +1 -1
- package/node/Localizations/LoginBoxLocalization/impersonate.js +5 -0
- package/node/Localizations/LoginBoxLocalization/index.js +13 -0
- package/node/index.js +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export interface ImpersonateLocalization {
|
|
2
|
+
/**
|
|
3
|
+
* strings on impersonate page
|
|
4
|
+
*/
|
|
5
|
+
impersonate: {
|
|
6
|
+
/**
|
|
7
|
+
* Impersonate page title
|
|
8
|
+
*/
|
|
9
|
+
title: string;
|
|
10
|
+
/**
|
|
11
|
+
* Title to be displayed if impersonate failed
|
|
12
|
+
*/
|
|
13
|
+
failedTitle: string;
|
|
14
|
+
/**
|
|
15
|
+
* Description message to be displayed if impersonate failed
|
|
16
|
+
*/
|
|
17
|
+
failedMessage: string;
|
|
18
|
+
/**
|
|
19
|
+
* Title to be displayed if actor token expired
|
|
20
|
+
*/
|
|
21
|
+
expiredTitle: string;
|
|
22
|
+
/**
|
|
23
|
+
* Description message to be displayed if actor token expired
|
|
24
|
+
*/
|
|
25
|
+
expiredMessage: string;
|
|
26
|
+
};
|
|
27
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -7,6 +7,7 @@ import { AcceptInvitationLocalization } from './acceptInvitation';
|
|
|
7
7
|
import { ActivateAccountLocalization } from './activateAccount';
|
|
8
8
|
import { RecoveryMfaLocalization } from './recoveryMfa';
|
|
9
9
|
import { ResetPhoneNumberLocalization } from './resetPhoneNumber';
|
|
10
|
+
import { ImpersonateLocalization } from './impersonate';
|
|
10
11
|
export * from './login';
|
|
11
12
|
export * from './signup';
|
|
12
13
|
export * from './forgetPassword';
|
|
@@ -17,4 +18,5 @@ export * from './acceptInvitation';
|
|
|
17
18
|
export * from './activateAccount';
|
|
18
19
|
export * from './recoveryMfa';
|
|
19
20
|
export * from './SplitPageTypes';
|
|
20
|
-
export
|
|
21
|
+
export * from './impersonate';
|
|
22
|
+
export declare type LoginBoxLocalization = LoginLocalization & SignupLocalization & ForgetPasswordLocalization & ResetPhoneNumberLocalization & ResetPasswordLocalization & SocialLoginsLocalization & AcceptInvitationLocalization & ActivateAccountLocalization & ImpersonateLocalization & RecoveryMfaLocalization;
|
package/index.js
CHANGED
|
@@ -132,4 +132,17 @@ Object.keys(_SplitPageTypes).forEach(function (key) {
|
|
|
132
132
|
return _SplitPageTypes[key];
|
|
133
133
|
}
|
|
134
134
|
});
|
|
135
|
+
});
|
|
136
|
+
|
|
137
|
+
var _impersonate = require("./impersonate");
|
|
138
|
+
|
|
139
|
+
Object.keys(_impersonate).forEach(function (key) {
|
|
140
|
+
if (key === "default" || key === "__esModule") return;
|
|
141
|
+
if (key in exports && exports[key] === _impersonate[key]) return;
|
|
142
|
+
Object.defineProperty(exports, key, {
|
|
143
|
+
enumerable: true,
|
|
144
|
+
get: function () {
|
|
145
|
+
return _impersonate[key];
|
|
146
|
+
}
|
|
147
|
+
});
|
|
135
148
|
});
|
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.66.0-alpha.1",
|
|
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.66.0-alpha.1",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|