@truedat/core 5.20.3 → 6.0.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": "5.20.3",
3
+ "version": "6.0.0",
4
4
  "description": "Truedat Web Core",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -35,7 +35,7 @@
35
35
  "@testing-library/jest-dom": "^5.16.5",
36
36
  "@testing-library/react": "^12.0.0",
37
37
  "@testing-library/user-event": "^13.2.1",
38
- "@truedat/test": "5.12.2",
38
+ "@truedat/test": "6.0.0",
39
39
  "babel-jest": "^28.1.0",
40
40
  "babel-plugin-dynamic-import-node": "^2.3.3",
41
41
  "babel-plugin-lodash": "^3.3.4",
@@ -117,5 +117,5 @@
117
117
  "react-dom": ">= 16.8.6 < 17",
118
118
  "semantic-ui-react": ">= 2.0.3 < 2.2"
119
119
  },
120
- "gitHead": "11ee6981b87a3c8f2b99c7101b42cafc29dc4896"
120
+ "gitHead": "3627c716252d2920a5b70ee1f8e84c7afd3a991a"
121
121
  }
@@ -1,12 +1,28 @@
1
1
  import React from "react";
2
2
  import { useAuthorized } from "../hooks";
3
- import { DATA_VIEWS, FUNCTIONS, QUALITY_CONTROLS } from "../routes";
3
+ import {
4
+ DATA_VIEWS,
5
+ FUNCTIONS,
6
+ QUALITY_CONTROLS_PUBLISHED,
7
+ QUALITY_CONTROLS_DEPRECATED,
8
+ QUALITY_CONTROLS_DRAFTS,
9
+ QUALITY_CONTROLS_EXECUTION_GROUPS,
10
+ } from "../routes";
4
11
  import Submenu from "./Submenu";
5
12
 
6
13
  export const ITEMS = [
7
14
  { name: "dataViews", routes: [DATA_VIEWS] },
8
15
  { name: "functions", routes: [FUNCTIONS] },
9
- { name: "quality_controls", routes: [QUALITY_CONTROLS] },
16
+ { name: "quality_controls_published", routes: [QUALITY_CONTROLS_PUBLISHED] },
17
+ {
18
+ name: "quality_controls_deprecated",
19
+ routes: [QUALITY_CONTROLS_DEPRECATED],
20
+ },
21
+ { name: "quality_controls_drafts", routes: [QUALITY_CONTROLS_DRAFTS] },
22
+ {
23
+ name: "quality_controls_execution_groups",
24
+ routes: [QUALITY_CONTROLS_EXECUTION_GROUPS],
25
+ },
10
26
  ];
11
27
 
12
28
  export default function QxMenu() {
package/src/routes.js CHANGED
@@ -146,11 +146,19 @@ export const PROFILE_EXECUTION =
146
146
  "/profileGroups/:group_id/profileExecutions/:id";
147
147
  export const PROFILE_GROUP = "/profileGroups/:id";
148
148
  export const QUALITY_CONTROLS = "/qualityControls";
149
+ export const QUALITY_CONTROLS_DEPRECATED = "/qualityControls/deprecated";
150
+ export const QUALITY_CONTROLS_DRAFTS = "/qualityControls/drafts";
151
+ export const QUALITY_CONTROLS_PUBLISHED = "/qualityControls";
152
+ export const QUALITY_CONTROLS_EXECUTION_GROUPS =
153
+ "/qualityControls/executionGroups";
154
+ export const QUALITY_CONTROLS_EXECUTION_GROUP =
155
+ "/qualityControls/executionGroups/:id";
149
156
  export const QUALITY_CONTROL_NEW = "/qualityControls/new";
150
157
  export const QUALITY_CONTROL_EDIT = "/qualityControls/:id/edit";
151
158
  export const QUALITY_CONTROL_NEW_DRAFT = "/qualityControls/:id/new_draft";
152
159
  export const QUALITY_CONTROL = "/qualityControls/:id";
153
160
  export const QUALITY_CONTROL_HISTORY = "/qualityControls/:id/history";
161
+
154
162
  export const QUALITY_DASHBOARD = "/quality_dashboard";
155
163
  export const REFERENCE_DATASET = "/referenceDatasets/:id";
156
164
  export const REFERENCE_DATASETS = "/referenceDatasets";
@@ -352,6 +360,11 @@ const routes = {
352
360
  PROFILE_EXECUTION,
353
361
  PROFILE_GROUP,
354
362
  QUALITY_CONTROLS,
363
+ QUALITY_CONTROLS_DEPRECATED,
364
+ QUALITY_CONTROLS_DRAFTS,
365
+ QUALITY_CONTROLS_PUBLISHED,
366
+ QUALITY_CONTROLS_EXECUTION_GROUPS,
367
+ QUALITY_CONTROLS_EXECUTION_GROUP,
355
368
  QUALITY_CONTROL_NEW,
356
369
  QUALITY_CONTROL_EDIT,
357
370
  QUALITY_CONTROL_NEW_DRAFT,