@truedat/cx 5.4.2 → 5.5.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/cx",
3
- "version": "5.4.2",
3
+ "version": "5.5.0",
4
4
  "description": "Truedat Web Connectors",
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": "5.3.3",
37
+ "@truedat/test": "5.5.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",
@@ -43,8 +43,8 @@
43
43
  "enzyme": "^3.11.0",
44
44
  "enzyme-to-json": "^3.6.2",
45
45
  "identity-obj-proxy": "^3.0.0",
46
- "jest": "^28.1.0",
47
- "jest-environment-jsdom": "^28.1.0",
46
+ "jest": "^29.0.0",
47
+ "jest-environment-jsdom": "^29.0.0",
48
48
  "jest-localstorage-mock": "^2.4.14",
49
49
  "react": "^16.14.0",
50
50
  "react-dom": "^16.14.0",
@@ -91,7 +91,7 @@
91
91
  },
92
92
  "dependencies": {
93
93
  "@apollo/client": "^3.7.1",
94
- "@truedat/core": "5.4.2",
94
+ "@truedat/core": "5.5.0",
95
95
  "lodash": "^4.17.21",
96
96
  "match-sorter": "^6.3.1",
97
97
  "moment": "^2.29.4",
@@ -112,5 +112,5 @@
112
112
  "react-dom": ">= 16.8.6 < 17",
113
113
  "semantic-ui-react": ">= 2.0.3 < 2.2"
114
114
  },
115
- "gitHead": "09ddfaaacecfd66661249fe1f2009794cc5e4362"
115
+ "gitHead": "ca5e7f8fd1013de0b818798e05cbc1819a1d43ec"
116
116
  }
@@ -37,11 +37,11 @@ exports[`<Configuration /> matches the latest snapshot 1`] = `
37
37
  >
38
38
  <lazy
39
39
  template={
40
- Object {
41
- "content": Array [
42
- Object {
43
- "fields": Array [
44
- Object {
40
+ {
41
+ "content": [
42
+ {
43
+ "fields": [
44
+ {
45
45
  "cardinality": "1",
46
46
  "disabled": true,
47
47
  "label": "a",
@@ -8,10 +8,10 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
8
8
  <CardContent>
9
9
  <CardHeader
10
10
  as={
11
- Object {
11
+ {
12
12
  "$$typeof": Symbol(react.forward_ref),
13
13
  "displayName": "Link",
14
- "propTypes": Object {
14
+ "propTypes": {
15
15
  "innerRef": [Function],
16
16
  "onClick": [Function],
17
17
  "replace": [Function],
@@ -46,7 +46,7 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
46
46
  <Memo(MemoizedFormattedMessage)
47
47
  id="configurations.actions.delete.confirmation.content"
48
48
  values={
49
- Object {
49
+ {
50
50
  "external_id": <b>
51
51
  con_url
52
52
  </b>,
@@ -79,10 +79,10 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
79
79
  <CardContent>
80
80
  <CardHeader
81
81
  as={
82
- Object {
82
+ {
83
83
  "$$typeof": Symbol(react.forward_ref),
84
84
  "displayName": "Link",
85
- "propTypes": Object {
85
+ "propTypes": {
86
86
  "innerRef": [Function],
87
87
  "onClick": [Function],
88
88
  "replace": [Function],
@@ -117,7 +117,7 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
117
117
  <Memo(MemoizedFormattedMessage)
118
118
  id="configurations.actions.delete.confirmation.content"
119
119
  values={
120
- Object {
120
+ {
121
121
  "external_id": <b>
122
122
  id1
123
123
  </b>,
@@ -150,10 +150,10 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
150
150
  <CardContent>
151
151
  <CardHeader
152
152
  as={
153
- Object {
153
+ {
154
154
  "$$typeof": Symbol(react.forward_ref),
155
155
  "displayName": "Link",
156
- "propTypes": Object {
156
+ "propTypes": {
157
157
  "innerRef": [Function],
158
158
  "onClick": [Function],
159
159
  "replace": [Function],
@@ -188,7 +188,7 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
188
188
  <Memo(MemoizedFormattedMessage)
189
189
  id="configurations.actions.delete.confirmation.content"
190
190
  values={
191
- Object {
191
+ {
192
192
  "external_id": <b>
193
193
  id2
194
194
  </b>,
@@ -221,10 +221,10 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
221
221
  <CardContent>
222
222
  <CardHeader
223
223
  as={
224
- Object {
224
+ {
225
225
  "$$typeof": Symbol(react.forward_ref),
226
226
  "displayName": "Link",
227
- "propTypes": Object {
227
+ "propTypes": {
228
228
  "innerRef": [Function],
229
229
  "onClick": [Function],
230
230
  "replace": [Function],
@@ -259,7 +259,7 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
259
259
  <Memo(MemoizedFormattedMessage)
260
260
  id="configurations.actions.delete.confirmation.content"
261
261
  values={
262
- Object {
262
+ {
263
263
  "external_id": <b>
264
264
  id3
265
265
  </b>,
@@ -292,10 +292,10 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
292
292
  <CardContent>
293
293
  <CardHeader
294
294
  as={
295
- Object {
295
+ {
296
296
  "$$typeof": Symbol(react.forward_ref),
297
297
  "displayName": "Link",
298
- "propTypes": Object {
298
+ "propTypes": {
299
299
  "innerRef": [Function],
300
300
  "onClick": [Function],
301
301
  "replace": [Function],
@@ -330,7 +330,7 @@ exports[`<ConfigurationCards /> matches the latest snapshot 1`] = `
330
330
  <Memo(MemoizedFormattedMessage)
331
331
  id="configurations.actions.delete.confirmation.content"
332
332
  values={
333
- Object {
333
+ {
334
334
  "external_id": <b>
335
335
  id4
336
336
  </b>,
@@ -6,15 +6,15 @@ exports[`<ConfigurationLoader /> matches the latest snapshot 1`] = `
6
6
  configurationLoading={true}
7
7
  fetchConfiguration={
8
8
  [MockFunction] {
9
- "calls": Array [
10
- Array [
11
- Object {
9
+ "calls": [
10
+ [
11
+ {
12
12
  "external_id": 1,
13
13
  },
14
14
  ],
15
15
  ],
16
- "results": Array [
17
- Object {
16
+ "results": [
17
+ {
18
18
  "type": "return",
19
19
  "value": undefined,
20
20
  },
@@ -5,7 +5,7 @@ exports[`<ConfigurationTokenLoader /> matches the latest snapshot 1`] = `
5
5
  clearConfigurationToken={[MockFunction]}
6
6
  clearDashboardDomains={[MockFunction]}
7
7
  configurationTokenLoading={false}
8
- dashboardDomains={Array []}
8
+ dashboardDomains={[]}
9
9
  dashboardId={1}
10
10
  externalId="externalId"
11
11
  signConfiguration={[MockFunction]}
@@ -7,10 +7,10 @@ exports[`<Configurations /> matches the latest snapshot 1`] = `
7
7
  >
8
8
  <Button
9
9
  as={
10
- Object {
10
+ {
11
11
  "$$typeof": Symbol(react.forward_ref),
12
12
  "displayName": "Link",
13
- "propTypes": Object {
13
+ "propTypes": {
14
14
  "innerRef": [Function],
15
15
  "onClick": [Function],
16
16
  "replace": [Function],
@@ -52,7 +52,7 @@ exports[`<Configurations /> matches the latest snapshot 1`] = `
52
52
  <GridColumn>
53
53
  <Input
54
54
  icon={
55
- Object {
55
+ {
56
56
  "link": true,
57
57
  "name": "search",
58
58
  }
@@ -66,8 +66,8 @@ exports[`<Configurations /> matches the latest snapshot 1`] = `
66
66
  </Grid>
67
67
  <Connect(ConfigurationCards)
68
68
  configurations={
69
- Array [
70
- Object {
69
+ [
70
+ {
71
71
  "external_id": "eid1",
72
72
  "id": 1,
73
73
  },
@@ -6,11 +6,11 @@ exports[`<ConfigurationsLoader /> matches the latest snapshot 1`] = `
6
6
  configurationsLoading={true}
7
7
  fetchConfigurations={
8
8
  [MockFunction] {
9
- "calls": Array [
10
- Array [],
9
+ "calls": [
10
+ [],
11
11
  ],
12
- "results": Array [
13
- Object {
12
+ "results": [
13
+ {
14
14
  "type": "return",
15
15
  "value": undefined,
16
16
  },
@@ -26,12 +26,12 @@ exports[`<Job /> matches the latest snapshot 1`] = `
26
26
  />
27
27
  <EventFeed
28
28
  events={
29
- Array [
30
- Object {
29
+ [
30
+ {
31
31
  "inserted_at": "2020-01-01T00:01:02.000Z",
32
32
  "type": "STARTED",
33
33
  },
34
- Object {
34
+ {
35
35
  "inserted_at": "2020-01-01T00:01:03.000Z",
36
36
  "message": "something went wrong",
37
37
  "type": "FAILED",
@@ -5,10 +5,10 @@ exports[`<JobBreadcrumbs /> matches the latest snapshot 1`] = `
5
5
  <BreadcrumbSection
6
6
  active={false}
7
7
  as={
8
- Object {
8
+ {
9
9
  "$$typeof": Symbol(react.forward_ref),
10
10
  "displayName": "Link",
11
- "propTypes": Object {
11
+ "propTypes": {
12
12
  "innerRef": [Function],
13
13
  "onClick": [Function],
14
14
  "replace": [Function],
@@ -4,8 +4,8 @@ exports[`<EditSource /> matches the latest snapshot 1`] = `
4
4
  <injectIntl(SourceFormLoader)
5
5
  onSubmit={[MockFunction]}
6
6
  source={
7
- Object {
8
- "config": Object {
7
+ {
8
+ "config": {
9
9
  "a": 1,
10
10
  },
11
11
  "external_id": "Micro1",
@@ -6,8 +6,8 @@ exports[`<Source /> matches the latest snapshot 1`] = `
6
6
  <Segment>
7
7
  <SourceHeader
8
8
  source={
9
- Object {
10
- "config": Object {
9
+ {
10
+ "config": {
11
11
  "a": 1,
12
12
  },
13
13
  "external_id": "Micro1",
@@ -17,8 +17,8 @@ exports[`<Source /> matches the latest snapshot 1`] = `
17
17
  />
18
18
  <SourceDetail
19
19
  source={
20
- Object {
21
- "config": Object {
20
+ {
21
+ "config": {
22
22
  "a": 1,
23
23
  },
24
24
  "external_id": "Micro1",
@@ -42,13 +42,13 @@ exports[`<SourceForm /> with multiple templates matches the latest snapshot 1`]
42
42
  name="type"
43
43
  onChange={[Function]}
44
44
  options={
45
- Array [
46
- Object {
45
+ [
46
+ {
47
47
  "key": 35,
48
48
  "text": "a",
49
49
  "value": "a",
50
50
  },
51
- Object {
51
+ {
52
52
  "key": 36,
53
53
  "text": "app-admin",
54
54
  "value": "micro",
@@ -71,12 +71,12 @@ exports[`<SourceForm /> with multiple templates matches the latest snapshot 1`]
71
71
  />
72
72
  </label>
73
73
  <lazy
74
- content={Object {}}
74
+ content={{}}
75
75
  onChange={[Function]}
76
76
  template={
77
- Object {
78
- "content": Array [
79
- Object {
77
+ {
78
+ "content": [
79
+ {
80
80
  "cardinality": "1",
81
81
  "disabled": true,
82
82
  "group": "New Group 1",
package/CHANGELOG.md DELETED
@@ -1,184 +0,0 @@
1
- # Changelog
2
-
3
- ## [4.58.4] 2022-12-22
4
-
5
- ### Added
6
-
7
- - [TD-4300] Draft and rejected translations
8
-
9
- ## [4.50.1] 2022-08-22
10
-
11
- ### Fixed
12
-
13
- - [TD-5056] Configuration can't be saved
14
-
15
- ## [4.48.2] 2022-07-08
16
-
17
- ### Changed
18
-
19
- - [TD-4995] Support localization of template fields and fixed values
20
-
21
- ## [4.44.4] 2022-05-19
22
-
23
- ### Changed
24
-
25
- - Use `lowerDeburrTrim` function from `@truedat/core`
26
-
27
- ## [4.41.4] 2022-04-04
28
-
29
- ### Added
30
-
31
- - [TD-4126] Improved source views to include a tab with the source's jobs
32
-
33
- ### Changed
34
-
35
- - [TD-4450] Use GraphQL API for querying and mutating sources, avoiding use of
36
- global state
37
-
38
- ## [4.38.2] 2022-02-18
39
-
40
- ### Changed
41
-
42
- - [TD-2511] Source update now modify each config field individually
43
-
44
- ## [4.37.4] 2022-02-04
45
-
46
- ### Changed
47
-
48
- - [TD-4424] Disable user filters while job filters are loading
49
-
50
- ## [4.36.9] 2022-01-24
51
-
52
- ### Changed
53
-
54
- - [TD-4125] Improvements to sources views
55
-
56
- ## [4.32.0] 2021-11-08
57
-
58
- ### Added
59
-
60
- - [TD-4099] Add source events subscriptions
61
-
62
- ## [4.30.0] 2021-10-06
63
-
64
- ### Changed
65
-
66
- - [TD-3603] Update react-intl version to v5
67
-
68
- ## [4.20.0] 2021-05-05
69
-
70
- ### Added
71
-
72
- - [TD-3500] Sign configuration secrets
73
-
74
- ## [4.16.0] 2021-03-10
75
-
76
- ### Changed
77
-
78
- - [TD-2951] Allow to show job to non admin users
79
-
80
- ## [4.14.2] 2020-02-15
81
-
82
- ### Fixed
83
-
84
- - [TD-3207] Order job types list
85
-
86
- ## [4.14.1] 2020-02-15
87
-
88
- ### Added
89
-
90
- - [TD-3207] i18n of job types
91
-
92
- ## [4.10.10] 2020-12-11
93
-
94
- ### Added
95
-
96
- - [TD-2960] Add tooltip to describe button actions
97
-
98
- ## [4.10.4] 2020-12-04
99
-
100
- ### Changed
101
-
102
- - [TD-3141] Relax peer dependencies, support `semantic-ui-react` 2.0.x
103
-
104
- ## [4.10.1] 2020-12-02
105
-
106
- ### Added
107
-
108
- - [TD-3106] Search and filter by job type
109
-
110
- ## [4.9.1] 2020-11-27
111
-
112
- ### Added
113
-
114
- - [TD-2949] As an admin user I want to run my connectors manually
115
-
116
- ## [4.8.2] 2020-11-10
117
-
118
- ### Added
119
-
120
- - [TD-2727] Job detail view
121
-
122
- ## [4.3.6] 2020-09-04
123
-
124
- ### Added
125
-
126
- - [TD-2908] Support for configurations
127
-
128
- ## [4.0.0] 2020-07-01
129
-
130
- New major version for Truedat 4.0, no changes
131
-
132
- ## [3.19.0] 2020-03-26
133
-
134
- ### Changed
135
-
136
- - [TD-2281] Use hooks instead of higher-order components for authorization
137
-
138
- ## [3.16.10] 2020-02-24
139
-
140
- ### Fixed
141
-
142
- - Some components were missing required router properties
143
-
144
- ## [3.16.8] 2020-02-23
145
-
146
- ### Changed
147
-
148
- - Use hooks instead of Higher Order Components where easier
149
-
150
- ## [3.16.7] 2020-02-22
151
-
152
- ### Changed
153
-
154
- - Updated dev dependencies
155
-
156
- ## [3.16.5] 2020-02-19
157
-
158
- ### Changed
159
-
160
- - Updated `react-intl` to 3.12
161
-
162
- ## [3.16.2] 2020-02-13
163
-
164
- ### Changed
165
-
166
- - Use `end_date` as default sort order
167
-
168
- ## [3.16.1] 2020-02-13
169
-
170
- ### Added
171
-
172
- - [TD-2313] Support for activating/deactivating sources
173
-
174
- ## [3.15.6] 2020-02-05
175
-
176
- ### Added
177
-
178
- - [TD-2217] Job search
179
-
180
- ## [3.14.3] 2020-01-23
181
-
182
- ### Added
183
-
184
- - [TD-2215] Connectors Management