@truedat/core 4.40.7 → 4.40.8

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.
Files changed (2) hide show
  1. package/package.json +3 -3
  2. package/src/routes.js +10 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/core",
3
- "version": "4.40.7",
3
+ "version": "4.40.8",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -32,7 +32,7 @@
32
32
  "@babel/plugin-transform-modules-commonjs": "^7.15.0",
33
33
  "@babel/preset-env": "^7.15.0",
34
34
  "@babel/preset-react": "^7.14.5",
35
- "@truedat/test": "4.40.5",
35
+ "@truedat/test": "4.40.8",
36
36
  "babel-jest": "^27.0.6",
37
37
  "babel-plugin-dynamic-import-node": "^2.3.3",
38
38
  "babel-plugin-lodash": "^3.3.4",
@@ -106,5 +106,5 @@
106
106
  "react-dom": ">= 16.8.6 < 17",
107
107
  "semantic-ui-react": ">= 0.88.2 < 2.1"
108
108
  },
109
- "gitHead": "57ce60d30f6238ab63207ae402dfc0bc0e5c934a"
109
+ "gitHead": "b3570c4151f142384ee7201d05f72ed274f2eeb9"
110
110
  }
package/src/routes.js CHANGED
@@ -86,15 +86,20 @@ export const PROFILE_EXECUTION =
86
86
  "/profileGroups/:group_id/profileExecutions/:id";
87
87
  export const PROFILE_GROUP = "/profileGroups/:id";
88
88
  export const QUALITY_DASHBOARD = "/quality_dashboard";
89
+ export const REMEDIATION_PLAN = "/rule_results/:rule_result_id/remediation";
90
+ export const REMEDIATION_EDIT =
91
+ "/rules/:id/implementations/:implementation_id/ruleResults/:rule_result_id/remediation/edit";
92
+ export const REMEDIATION_NEW =
93
+ "/rules/:id/implementations/:implementation_id/ruleResults/:rule_result_id/remediation/new";
89
94
  export const ROLE = "/roles/:id";
90
95
  export const ROLES = "/roles";
91
96
  export const ROLES_NEW = "/roles/new";
92
- export const RULE = "/rules/:id";
97
+ export const RULE = "/rules/:id(\\d+)";
93
98
  export const RULES = "/rules";
94
99
  export const RULE_EDIT = "/rules/:id/edit";
95
100
  export const RULE_EVENTS = "/rules/:id/events";
96
101
  export const RULE_IMPLEMENTATION =
97
- "/rules/:id/implementations/:implementation_id";
102
+ "/rules/:id/implementations/:implementation_id(\\d+)";
98
103
  export const RULE_IMPLEMENTATIONS = "/rules/:id/implementations";
99
104
  export const RULE_IMPLEMENTATION_EVENTS =
100
105
  "/rules/:id/implementations/:implementation_id/events";
@@ -238,6 +243,9 @@ const routes = {
238
243
  PROFILE_EXECUTION,
239
244
  PROFILE_GROUP,
240
245
  QUALITY_DASHBOARD,
246
+ REMEDIATION_PLAN,
247
+ REMEDIATION_EDIT,
248
+ REMEDIATION_NEW,
241
249
  ROLE,
242
250
  ROLES_NEW,
243
251
  ROLES,