@truedat/dq 4.56.6 → 4.56.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.56.7] 2022-11-28
4
+
5
+ ### Added
6
+
7
+ - # [TD-4179] inserted_at and updated_at columns on Implementations
8
+
3
9
  ## [4.56.6] 2022-11-28
4
10
 
5
11
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dq",
3
- "version": "4.56.6",
3
+ "version": "4.56.7",
4
4
  "description": "Truedat Web Data Quality Module",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -22,26 +22,25 @@
22
22
  "eslint:fix": "eslint --fix src/**"
23
23
  },
24
24
  "devDependencies": {
25
- "@babel/cli": "^7.17.10",
26
- "@babel/core": "^7.18.0",
27
- "@babel/plugin-proposal-class-properties": "^7.17.12",
28
- "@babel/plugin-proposal-object-rest-spread": "^7.18.0",
29
- "@babel/plugin-proposal-optional-chaining": "^7.17.12",
25
+ "@babel/cli": "^7.19.3",
26
+ "@babel/core": "^7.20.5",
27
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
28
+ "@babel/plugin-proposal-object-rest-spread": "^7.20.2",
29
+ "@babel/plugin-proposal-optional-chaining": "^7.18.9",
30
30
  "@babel/plugin-syntax-dynamic-import": "^7.8.3",
31
- "@babel/plugin-transform-modules-commonjs": "^7.18.0",
32
- "@babel/preset-env": "^7.18.0",
33
- "@babel/preset-react": "^7.17.12",
34
- "@testing-library/jest-dom": "^5.16.4",
31
+ "@babel/plugin-transform-modules-commonjs": "^7.19.6",
32
+ "@babel/preset-env": "^7.20.2",
33
+ "@babel/preset-react": "^7.18.6",
34
+ "@testing-library/jest-dom": "^5.16.5",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.56.6",
37
+ "@truedat/test": "4.56.7",
38
38
  "babel-jest": "^28.1.0",
39
39
  "babel-plugin-dynamic-import-node": "^2.3.3",
40
40
  "babel-plugin-lodash": "^3.3.4",
41
41
  "babel-plugin-react-intl": "^5.1.18",
42
42
  "babel-plugin-transform-semantic-ui-react-imports": "^1.4.1",
43
43
  "enzyme": "^3.11.0",
44
- "enzyme-adapter-react-16": "^1.15.6",
45
44
  "enzyme-to-json": "^3.6.2",
46
45
  "identity-obj-proxy": "^3.0.0",
47
46
  "jest": "^28.1.0",
@@ -50,7 +49,7 @@
50
49
  "react-dom": "^16.14.0",
51
50
  "redux-saga-test-plan": "^4.0.4",
52
51
  "rimraf": "^3.0.2",
53
- "semantic-ui-react": "^2.0.3"
52
+ "semantic-ui-react": "^2.1.4"
54
53
  },
55
54
  "jest": {
56
55
  "maxWorkers": "50%",
@@ -92,10 +91,11 @@
92
91
  ]
93
92
  },
94
93
  "dependencies": {
95
- "@apollo/client": "^3.7.0",
96
- "@truedat/core": "4.56.6",
97
- "@truedat/df": "4.56.6",
94
+ "@apollo/client": "^3.7.1",
95
+ "@truedat/core": "4.56.7",
96
+ "@truedat/df": "4.56.7",
98
97
  "graphql": "^15.5.3",
98
+ "moment": "^2.29.4",
99
99
  "path-to-regexp": "^1.7.0",
100
100
  "prop-types": "^15.8.1",
101
101
  "rc-slider": "^8.6.1",
@@ -104,15 +104,16 @@
104
104
  "react-redux": "^7.2.4",
105
105
  "react-router-dom": "^5.2.0",
106
106
  "redux": "^4.1.1",
107
- "redux-saga": "^1.1.3",
107
+ "redux-saga": "^1.2.1",
108
108
  "redux-saga-routines": "^3.2.3",
109
- "reselect": "^4.0.0",
110
- "semantic-ui-calendar-react": "^0.15.3"
109
+ "reselect": "^4.1.7",
110
+ "semantic-ui-calendar-react": "^0.15.3",
111
+ "semantic-ui-react": "^2.1.4"
111
112
  },
112
113
  "peerDependencies": {
113
114
  "react": ">= 16.8.6 < 17",
114
115
  "react-dom": ">= 16.8.6 < 17",
115
- "semantic-ui-react": ">= 0.88.2 < 2.1"
116
+ "semantic-ui-react": ">= 2.0.3 < 2.2"
116
117
  },
117
- "gitHead": "4291488ebae029cd8910dbd45ada4ef2e66bfecc"
118
+ "gitHead": "e321b6e541c2205813236081e4c9c5eab34f0007"
118
119
  }
@@ -122,7 +122,7 @@ export const newRuleImplementationProps = {
122
122
  },
123
123
  type: "Table",
124
124
  },
125
- join_type: "inner"
125
+ join_type: "inner",
126
126
  },
127
127
  ],
128
128
  deleted_at: null,
@@ -58,8 +58,15 @@ export const DatasetForm = ({
58
58
  });
59
59
  };
60
60
 
61
- const getStructureAttrs = (structure) =>
62
- _.pick(["id", "name", "path", "system", "type", "headers"])(structure);
61
+ const getStructureAttrs = ({
62
+ id,
63
+ name,
64
+ original_name,
65
+ path,
66
+ system,
67
+ type,
68
+ headers,
69
+ }) => ({ id, name: original_name || name, path, system, type, headers });
63
70
 
64
71
  const hasChangedStructure = (index, value) =>
65
72
  _.path("structure.id")(value) !==
@@ -537,6 +537,7 @@ export default {
537
537
  "Implementation template",
538
538
  "ruleImplementations.props.implementation_type": "Type",
539
539
  "ruleImplementations.props.inserted_at": "Inserted at",
540
+ "ruleImplementations.props.updated_at": "Updated at",
540
541
  "ruleImplementations.props.last_change_at": "Last change at",
541
542
  "ruleImplementations.props.last_execution_at": "Last Execution",
542
543
  "ruleImplementations.props.minimum": "Threshold",
@@ -553,6 +553,7 @@ export default {
553
553
  "Plantilla de implementación",
554
554
  "ruleImplementations.props.implementation_type": "Tipo",
555
555
  "ruleImplementations.props.inserted_at": "Insertado",
556
+ "ruleImplementations.props.updated_at": "Actualizado",
556
557
  "ruleImplementations.props.last_change_at": "Fecha de última modificación",
557
558
  "ruleImplementations.props.last_execution_at": "Última ejecución",
558
559
  "ruleImplementations.props.minimum": "Valor umbral",
@@ -20,6 +20,8 @@ const pickFields = _.pick([
20
20
  "results",
21
21
  "event_type",
22
22
  "event_inserted_at",
23
+ "inserted_at",
24
+ "updated_at",
23
25
  "deleted_at",
24
26
  "result_type",
25
27
  "minimum",
@@ -91,6 +91,16 @@ export const defaultImplementationColumns = [
91
91
  sort: { name: "execution_result_info.result" },
92
92
  width: 2,
93
93
  },
94
+ {
95
+ name: "inserted_at",
96
+ fieldSelector: ({ inserted_at }) => ({ value: inserted_at }),
97
+ fieldDecorator: DateTime,
98
+ },
99
+ {
100
+ name: "updated_at",
101
+ fieldSelector: ({ updated_at }) => ({ value: updated_at }),
102
+ fieldDecorator: DateTime,
103
+ },
94
104
  ];
95
105
 
96
106
  const getColumns = (state) => state.ruleImplementationColumns;