@truedat/core 8.2.3 → 8.3.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "8.2.3",
3
+ "version": "8.3.0",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "module": "src/index.js",
@@ -48,7 +48,7 @@
48
48
  "@testing-library/jest-dom": "^6.6.3",
49
49
  "@testing-library/react": "^16.3.0",
50
50
  "@testing-library/user-event": "^14.6.1",
51
- "@truedat/test": "8.2.3",
51
+ "@truedat/test": "8.3.0",
52
52
  "identity-obj-proxy": "^3.0.0",
53
53
  "jest": "^29.7.0",
54
54
  "redux-saga-test-plan": "^4.0.6"
@@ -85,5 +85,5 @@
85
85
  "slate-react": "^0.22.10",
86
86
  "swr": "^2.3.3"
87
87
  },
88
- "gitHead": "8e3f74fa7c3c0e071d3c46d161dde80454c26a15"
88
+ "gitHead": "d1abe685a3ae0cd2999e7bb62d3c0fd56522095f"
89
89
  }
package/src/routes.js CHANGED
@@ -85,6 +85,7 @@ export const GRANT_APPROVAL_RULES = "/grantApprovalRules";
85
85
  export const GRANT = "/grants/:id";
86
86
  export const GRANTS = "/grants";
87
87
  export const GRANTS_REQUESTS_CHECKOUT = "/grantsRequests/checkout";
88
+ export const GRANTS_REQUESTS_RESULT = "/grantsRequests/result";
88
89
  export const GRANT_REQUEST = "/grantRequests/:id";
89
90
  export const GRANT_REQUESTS = "/grantRequests";
90
91
  export const GRANT_REQUESTS_APPROVALS_RESULT =
@@ -363,6 +364,7 @@ const routes = {
363
364
  GRANT_APPROVAL_RULES,
364
365
  GRANTS,
365
366
  GRANTS_REQUESTS_CHECKOUT,
367
+ GRANTS_REQUESTS_RESULT,
366
368
  GRANT_REQUEST,
367
369
  GRANT_REQUESTS,
368
370
  GRANT_REQUESTS_APPROVALS_RESULT,
package/src/webContext.js CHANGED
@@ -1,6 +1,10 @@
1
1
  import { use, createContext, useState } from "react";
2
2
 
3
- const defaultContext = { disable_td_ai: false, structureTabs: {} };
3
+ const defaultContext = {
4
+ disable_td_ai: false,
5
+ structureTabs: {},
6
+ scopesWithRelations: [],
7
+ };
4
8
  export const WebContext = createContext(defaultContext);
5
9
  export const WebContextProvider = ({ children, value = {} }) => {
6
10
  const [alertMessage, setAlertMessage] = useState({});