@trackunit/iris-app-runtime-core 1.8.32 → 1.8.34
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/index.cjs.js +34 -2
- package/index.esm.js +34 -2
- package/package.json +4 -4
package/index.cjs.js
CHANGED
|
@@ -395,9 +395,9 @@ const NavigationRuntime = {
|
|
|
395
395
|
const api = await getHostConnector();
|
|
396
396
|
return api.gotoAdmin(url);
|
|
397
397
|
},
|
|
398
|
-
|
|
398
|
+
gotoAlerts: async (url) => {
|
|
399
399
|
const api = await getHostConnector();
|
|
400
|
-
return api.
|
|
400
|
+
return api.gotoAlerts(url);
|
|
401
401
|
},
|
|
402
402
|
gotoMarketplace: async (options) => {
|
|
403
403
|
const api = await getHostConnector();
|
|
@@ -411,6 +411,38 @@ const NavigationRuntime = {
|
|
|
411
411
|
const api = await getHostConnector();
|
|
412
412
|
return api.hasAccessTo(options);
|
|
413
413
|
},
|
|
414
|
+
getAssetHomeUrl: async (assetId, options) => {
|
|
415
|
+
const api = await getHostConnector();
|
|
416
|
+
return api.getAssetHomeUrl(assetId, options);
|
|
417
|
+
},
|
|
418
|
+
getSiteHomeUrl: async (siteId, options) => {
|
|
419
|
+
const api = await getHostConnector();
|
|
420
|
+
return api.getSiteHomeUrl(siteId, options);
|
|
421
|
+
},
|
|
422
|
+
getCustomerHomeUrl: async (customerId, options) => {
|
|
423
|
+
const api = await getHostConnector();
|
|
424
|
+
return api.getCustomerHomeUrl(customerId, options);
|
|
425
|
+
},
|
|
426
|
+
getAppLibraryUrl: async (irisAppId) => {
|
|
427
|
+
const api = await getHostConnector();
|
|
428
|
+
return api.getAppLibraryUrl(irisAppId);
|
|
429
|
+
},
|
|
430
|
+
getFleetAppUrl: async (options) => {
|
|
431
|
+
const api = await getHostConnector();
|
|
432
|
+
return api.getFleetAppUrl(options);
|
|
433
|
+
},
|
|
434
|
+
getAdminUrl: async (url) => {
|
|
435
|
+
const api = await getHostConnector();
|
|
436
|
+
return api.getAdminUrl(url);
|
|
437
|
+
},
|
|
438
|
+
getAlertsUrl: async (url) => {
|
|
439
|
+
const api = await getHostConnector();
|
|
440
|
+
return api.getAlertsUrl(url);
|
|
441
|
+
},
|
|
442
|
+
getMarketplaceUrl: async (options) => {
|
|
443
|
+
const api = await getHostConnector();
|
|
444
|
+
return api.getMarketplaceUrl(options);
|
|
445
|
+
},
|
|
414
446
|
};
|
|
415
447
|
|
|
416
448
|
const ParamsRuntime = {
|
package/index.esm.js
CHANGED
|
@@ -393,9 +393,9 @@ const NavigationRuntime = {
|
|
|
393
393
|
const api = await getHostConnector();
|
|
394
394
|
return api.gotoAdmin(url);
|
|
395
395
|
},
|
|
396
|
-
|
|
396
|
+
gotoAlerts: async (url) => {
|
|
397
397
|
const api = await getHostConnector();
|
|
398
|
-
return api.
|
|
398
|
+
return api.gotoAlerts(url);
|
|
399
399
|
},
|
|
400
400
|
gotoMarketplace: async (options) => {
|
|
401
401
|
const api = await getHostConnector();
|
|
@@ -409,6 +409,38 @@ const NavigationRuntime = {
|
|
|
409
409
|
const api = await getHostConnector();
|
|
410
410
|
return api.hasAccessTo(options);
|
|
411
411
|
},
|
|
412
|
+
getAssetHomeUrl: async (assetId, options) => {
|
|
413
|
+
const api = await getHostConnector();
|
|
414
|
+
return api.getAssetHomeUrl(assetId, options);
|
|
415
|
+
},
|
|
416
|
+
getSiteHomeUrl: async (siteId, options) => {
|
|
417
|
+
const api = await getHostConnector();
|
|
418
|
+
return api.getSiteHomeUrl(siteId, options);
|
|
419
|
+
},
|
|
420
|
+
getCustomerHomeUrl: async (customerId, options) => {
|
|
421
|
+
const api = await getHostConnector();
|
|
422
|
+
return api.getCustomerHomeUrl(customerId, options);
|
|
423
|
+
},
|
|
424
|
+
getAppLibraryUrl: async (irisAppId) => {
|
|
425
|
+
const api = await getHostConnector();
|
|
426
|
+
return api.getAppLibraryUrl(irisAppId);
|
|
427
|
+
},
|
|
428
|
+
getFleetAppUrl: async (options) => {
|
|
429
|
+
const api = await getHostConnector();
|
|
430
|
+
return api.getFleetAppUrl(options);
|
|
431
|
+
},
|
|
432
|
+
getAdminUrl: async (url) => {
|
|
433
|
+
const api = await getHostConnector();
|
|
434
|
+
return api.getAdminUrl(url);
|
|
435
|
+
},
|
|
436
|
+
getAlertsUrl: async (url) => {
|
|
437
|
+
const api = await getHostConnector();
|
|
438
|
+
return api.getAlertsUrl(url);
|
|
439
|
+
},
|
|
440
|
+
getMarketplaceUrl: async (options) => {
|
|
441
|
+
const api = await getHostConnector();
|
|
442
|
+
return api.getMarketplaceUrl(options);
|
|
443
|
+
},
|
|
412
444
|
};
|
|
413
445
|
|
|
414
446
|
const ParamsRuntime = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@trackunit/iris-app-runtime-core",
|
|
3
|
-
"version": "1.8.
|
|
3
|
+
"version": "1.8.34",
|
|
4
4
|
"repository": "https://github.com/Trackunit/manager",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"engines": {
|
|
@@ -9,9 +9,9 @@
|
|
|
9
9
|
"dependencies": {
|
|
10
10
|
"penpal": "^6.2.2",
|
|
11
11
|
"jest-fetch-mock": "^3.0.3",
|
|
12
|
-
"@trackunit/react-core-contexts-api": "1.8.
|
|
13
|
-
"@trackunit/iris-app-runtime-core-api": "1.7.
|
|
14
|
-
"@trackunit/react-test-setup": "1.4.
|
|
12
|
+
"@trackunit/react-core-contexts-api": "1.8.34",
|
|
13
|
+
"@trackunit/iris-app-runtime-core-api": "1.7.34",
|
|
14
|
+
"@trackunit/react-test-setup": "1.4.31"
|
|
15
15
|
},
|
|
16
16
|
"module": "./index.esm.js",
|
|
17
17
|
"main": "./index.cjs.js",
|