@frontegg/types 7.17.0 → 7.19.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/ContextOptions.d.ts +1 -37
- package/index.js +1 -1
- package/node/index.js +1 -1
- package/package.json +2 -2
package/ContextOptions.d.ts
CHANGED
|
@@ -1,37 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export interface ContextOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Backend API baseUrl, visit https://portal.frontegg.com/administration/domain to get your Frontegg baseUrl
|
|
5
|
-
*/
|
|
6
|
-
baseUrl: string | ((url: string) => string);
|
|
7
|
-
/**
|
|
8
|
-
* Frontegg clientId. Identifier from your Frontegg workspace account.
|
|
9
|
-
*/
|
|
10
|
-
clientId?: string;
|
|
11
|
-
/**
|
|
12
|
-
* Will be used to identify the application, use only for multi applications
|
|
13
|
-
*/
|
|
14
|
-
appId?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Whether or not to send Fetch request with Credentials to the Backend
|
|
17
|
-
* default: 'include'
|
|
18
|
-
*/
|
|
19
|
-
requestCredentials?: RequestCredentials;
|
|
20
|
-
tenantResolver?: () => Promise<ResolvedTenantResult> | ResolvedTenantResult;
|
|
21
|
-
tokenResolver?: () => Promise<string> | string;
|
|
22
|
-
additionalQueryParamsResolver?: () => Promise<KeyValuePair[]> | KeyValuePair[];
|
|
23
|
-
additionalHeadersResolver?: () => Promise<KeyValuePair[]> | KeyValuePair[];
|
|
24
|
-
currentUserRoles?: string[];
|
|
25
|
-
urlPrefix?: string;
|
|
26
|
-
/**
|
|
27
|
-
* @deprecated
|
|
28
|
-
*/
|
|
29
|
-
logLevel?: LogLevel;
|
|
30
|
-
/**
|
|
31
|
-
* @deprecated, use auditsOptions.* and not contextOptions.auditsOptions
|
|
32
|
-
*/
|
|
33
|
-
auditsOptions?: {
|
|
34
|
-
virtualScroll?: boolean;
|
|
35
|
-
};
|
|
36
|
-
metadataHeaders?: MetadataHeaders;
|
|
37
|
-
}
|
|
1
|
+
export type { ContextOptions } from '@frontegg/rest-api';
|
package/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": "7.
|
|
3
|
+
"version": "7.19.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.
|
|
9
|
+
"@frontegg/redux-store": "7.19.0",
|
|
10
10
|
"csstype": "^3.0.9",
|
|
11
11
|
"deepmerge": "^4.2.2"
|
|
12
12
|
},
|