@trackunit/react-core-contexts-test 1.7.48 → 1.7.50-alpha-fb1493a185d.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/index.cjs.js CHANGED
@@ -210,6 +210,9 @@ const mockNavigationContext = {
210
210
  gotoSiteHome: (siteId, options) => {
211
211
  return Promise.resolve(true);
212
212
  },
213
+ gotoGroupHome: (groupId, options) => {
214
+ return Promise.resolve(true);
215
+ },
213
216
  gotoAppLibrary: (irisAppId) => {
214
217
  return Promise.resolve(true);
215
218
  },
@@ -237,6 +240,9 @@ const mockNavigationContext = {
237
240
  getSiteHomeUrl: (siteId, options) => {
238
241
  return Promise.resolve(`/sites/${siteId}/overview`);
239
242
  },
243
+ getGroupHomeUrl: (groupId, options) => {
244
+ return Promise.resolve(`/groups/${groupId}/home`);
245
+ },
240
246
  getCustomerHomeUrl: (customerId, options) => {
241
247
  return Promise.resolve(customerId ? `/customers/${customerId}/info` : `/customers`);
242
248
  },
package/index.esm.js CHANGED
@@ -208,6 +208,9 @@ const mockNavigationContext = {
208
208
  gotoSiteHome: (siteId, options) => {
209
209
  return Promise.resolve(true);
210
210
  },
211
+ gotoGroupHome: (groupId, options) => {
212
+ return Promise.resolve(true);
213
+ },
211
214
  gotoAppLibrary: (irisAppId) => {
212
215
  return Promise.resolve(true);
213
216
  },
@@ -235,6 +238,9 @@ const mockNavigationContext = {
235
238
  getSiteHomeUrl: (siteId, options) => {
236
239
  return Promise.resolve(`/sites/${siteId}/overview`);
237
240
  },
241
+ getGroupHomeUrl: (groupId, options) => {
242
+ return Promise.resolve(`/groups/${groupId}/home`);
243
+ },
238
244
  getCustomerHomeUrl: (customerId, options) => {
239
245
  return Promise.resolve(customerId ? `/customers/${customerId}/info` : `/customers`);
240
246
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@trackunit/react-core-contexts-test",
3
- "version": "1.7.48",
3
+ "version": "1.7.50-alpha-fb1493a185d.0",
4
4
  "repository": "https://github.com/Trackunit/manager",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "engines": {
@@ -11,10 +11,10 @@
11
11
  "@testing-library/react": "16.2.0",
12
12
  "react": "19.0.0",
13
13
  "graphql": "^16.10.0",
14
- "@trackunit/react-core-contexts-api": "1.8.45",
15
- "@trackunit/react-core-hooks": "1.7.48",
16
- "@trackunit/shared-utils": "1.9.42",
17
- "@trackunit/react-test-setup": "1.4.42",
14
+ "@trackunit/react-core-contexts-api": "1.8.47-alpha-fb1493a185d.0",
15
+ "@trackunit/react-core-hooks": "1.7.50-alpha-fb1493a185d.0",
16
+ "@trackunit/shared-utils": "1.9.43-alpha-fb1493a185d.0",
17
+ "@trackunit/react-test-setup": "1.4.43-alpha-fb1493a185d.0",
18
18
  "@tanstack/react-router": "1.114.29",
19
19
  "@tanstack/router-core": "1.114.29",
20
20
  "es-toolkit": "^1.39.10"