@c8y/options 1021.81.0 → 1022.3.2
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/package.json +2 -2
- package/src/ApplicationOptions.d.ts +17 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@c8y/options",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1022.3.2",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"author": "Cumulocity",
|
|
6
6
|
"description": "Cumulocity application options",
|
|
@@ -17,6 +17,6 @@
|
|
|
17
17
|
"options"
|
|
18
18
|
],
|
|
19
19
|
"peerDependencies": {
|
|
20
|
-
"@c8y/client": "
|
|
20
|
+
"@c8y/client": "1022.3.2"
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -283,6 +283,23 @@ export interface ApplicationOptions {
|
|
|
283
283
|
* This setting allows to switch between realtime and interval-based refresh methods.
|
|
284
284
|
*/
|
|
285
285
|
alarmsRefreshType?: 'interval' | 'realtime';
|
|
286
|
+
/**
|
|
287
|
+
* A map of import paths to their corresponding URLs.
|
|
288
|
+
* This is used to resolve module paths when loading remote modules
|
|
289
|
+
* (e.g. in the HTML-Widget). The keys are the import paths and the values are the URLs.
|
|
290
|
+
*
|
|
291
|
+
* You can also add a js file but need to copy it. Or you can add a node module name but
|
|
292
|
+
* this need to have a single entry point. Otherwise you need to copy the files.
|
|
293
|
+
*/
|
|
294
|
+
importMap?: {
|
|
295
|
+
[key: string]: string;
|
|
296
|
+
};
|
|
297
|
+
/**
|
|
298
|
+
* Defines to which path the user will be redirected in case he is not logged in yet.
|
|
299
|
+
*
|
|
300
|
+
* This needs to be used for e.g. people who embed the application in an iframe in order to redirect to a none index.html file.
|
|
301
|
+
*/
|
|
302
|
+
loginRedirectPath?: string;
|
|
286
303
|
}
|
|
287
304
|
|
|
288
305
|
export interface MapDefaultConfig {
|