@truedat/dd 4.53.2 → 4.53.4

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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [4.53.4] 2022-10-07
4
+
5
+ ### Fixed
6
+
7
+ - [TD-5098] Missing value modifier parameter translations, put key in Fragment
8
+
9
+ ## [4.53.3] 2022-10-07
10
+
11
+ ### Added
12
+
13
+ - [TD-5195] Support for global user filters
14
+
3
15
  ## [4.53.2] 2022-10-07
4
16
 
5
17
  ### Changed
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@truedat/dd",
3
- "version": "4.53.2",
3
+ "version": "4.53.4",
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.4",
35
35
  "@testing-library/react": "^12.0.0",
36
36
  "@testing-library/user-event": "^13.2.1",
37
- "@truedat/test": "4.53.2",
37
+ "@truedat/test": "4.53.4",
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.6.4",
91
- "@truedat/auth": "4.53.2",
92
- "@truedat/core": "4.53.2",
93
- "@truedat/df": "4.53.2",
91
+ "@truedat/auth": "4.53.4",
92
+ "@truedat/core": "4.53.4",
93
+ "@truedat/df": "4.53.4",
94
94
  "lodash": "^4.17.21",
95
95
  "path-to-regexp": "^1.7.0",
96
96
  "prop-types": "^15.8.1",
@@ -112,5 +112,5 @@
112
112
  "react-dom": ">= 16.8.6 < 17",
113
113
  "semantic-ui-react": ">= 0.88.2 < 2.1"
114
114
  },
115
- "gitHead": "e29af66624aad6ecce065ced88c8cc2e320d67e2"
115
+ "gitHead": "b21b4051e9370c3a28d4f0e43a53e34d3ccd59d5"
116
116
  }
@@ -33,12 +33,14 @@ describe("sagas: saveStructureFiltersSaga", () => {
33
33
  filterName: "a",
34
34
  filters: { country: ["A"] },
35
35
  scope: "data_structure",
36
+ isGlobal: true,
36
37
  };
37
38
  const requestData = {
38
39
  user_search_filter: {
39
40
  name: "a",
40
41
  filters: { country: ["A"] },
41
42
  scope: "data_structure",
43
+ is_global: true,
42
44
  },
43
45
  };
44
46
  it("should put a success action when a response is returned", () => {
@@ -5,10 +5,15 @@ import { API_USER_SEARCH_FILTERS } from "../api";
5
5
 
6
6
  export function* saveUserSearchFiltersSaga({ payload }) {
7
7
  try {
8
- const { filterName, filters, scope } = payload;
8
+ const { filterName, filters, scope, isGlobal } = payload;
9
9
  const url = API_USER_SEARCH_FILTERS;
10
10
  const requestData = {
11
- user_search_filter: { name: filterName, filters, scope },
11
+ user_search_filter: {
12
+ name: filterName,
13
+ filters,
14
+ scope,
15
+ is_global: isGlobal,
16
+ },
12
17
  };
13
18
  yield put({ ...saveUserSearchFilters.request() });
14
19
  const { data } = yield call(apiJsonPost, url, requestData, JSON_OPTS);