@truedat/dd 6.16.3 → 7.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/dd",
3
- "version": "6.16.3",
3
+ "version": "7.0.0",
4
4
  "description": "Truedat Web Data Dictionary",
5
5
  "sideEffects": false,
6
6
  "jsnext:main": "src/index.js",
@@ -34,7 +34,7 @@
34
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": "6.15.2",
37
+ "@truedat/test": "7.0.0",
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",
@@ -88,9 +88,9 @@
88
88
  },
89
89
  "dependencies": {
90
90
  "@apollo/client": "^3.7.1",
91
- "@truedat/auth": "6.15.2",
92
- "@truedat/core": "6.15.2",
93
- "@truedat/df": "6.15.2",
91
+ "@truedat/auth": "7.0.0",
92
+ "@truedat/core": "7.0.0",
93
+ "@truedat/df": "7.0.0",
94
94
  "lodash": "^4.17.21",
95
95
  "moment": "^2.29.4",
96
96
  "path-to-regexp": "^1.7.0",
@@ -115,5 +115,5 @@
115
115
  "react-dom": ">= 16.8.6 < 17",
116
116
  "semantic-ui-react": ">= 2.0.3 < 2.2"
117
117
  },
118
- "gitHead": "9ac7bd2ddab3f16be28269b3203e568c269cbd0e"
118
+ "gitHead": "ed0cd1a5e055b34afea0942cc461e1ecc9218dd1"
119
119
  }
@@ -76,7 +76,7 @@ export const StructuresViewContent = ({ embedded, customView }) => {
76
76
  {!customView ? (
77
77
  <>
78
78
  <StructuresOptions hasFilterApplied={hasFilterApplied} {...actions} />
79
- <SearchWidget dateFilter />
79
+ <SearchWidget dateFilter searchField="last_change_at" />
80
80
  </>
81
81
  ) : null}
82
82
 
@@ -6,8 +6,8 @@ import { StructureSelector } from "../StructureSelector";
6
6
  const data = {
7
7
  _actions: { bulkUpdate: {} },
8
8
  data: [
9
- { id: 1, name: "1", updated_at: "2021-12-10T12:22:37.797978Z" },
10
- { id: 2, name: "2", updated_at: "2021-12-10T12:22:37.797978Z" },
9
+ { id: 1, name: "1", last_change_at: "2021-12-10T12:22:37.797978Z" },
10
+ { id: 2, name: "2", last_change_at: "2021-12-10T12:22:37.797978Z" },
11
11
  ],
12
12
  headers: { "x-total-count": 2 },
13
13
  };
@@ -56,7 +56,7 @@ const messages = {
56
56
  "structures.loading.header": "Header",
57
57
  "structure.type.undefined.text": "text",
58
58
  "structure.relation.relation_type_name": "relation",
59
- "structure.updated_at": "Updated at",
59
+ "structure.last_change_at": "Updated at",
60
60
  "structure.type": "type",
61
61
  },
62
62
  };
@@ -27,7 +27,7 @@ jest.mock("@truedat/dd/hooks/useStructures", () => {
27
27
  user_permissions: {
28
28
  request_grant: true,
29
29
  },
30
- updated_at: "2023-04-27",
30
+ last_change_at: "2023-04-27",
31
31
  }));
32
32
 
33
33
  const data = { data: structures };
@@ -58,6 +58,7 @@ jest.mock("@truedat/dd/hooks/useStructures", () => {
58
58
  const messages = {
59
59
  en: {
60
60
  ...en,
61
+ "structure.last_change_at": "Last changed",
61
62
  "search.placeholder": "Searching ...",
62
63
  },
63
64
  };
@@ -99,7 +100,7 @@ describe("<StructuresGrantRequestView />", () => {
99
100
  structureFields: [],
100
101
  structure_type: undefined,
101
102
  type: "table",
102
- updated_at: "2023-04-27",
103
+ last_change_at: "2023-04-27",
103
104
  user_permissions: {
104
105
  request_grant: true,
105
106
  },
@@ -46,8 +46,8 @@ export const defaultStructureColumns = [
46
46
  },
47
47
  { name: "group", width: 1 },
48
48
  {
49
- name: "updated_at",
50
- sort: { name: "updated_at" },
49
+ name: "last_change_at",
50
+ sort: { name: "last_change_at" },
51
51
  fieldDecorator: dateDecorator,
52
52
  width: 1,
53
53
  },