@truedat/dd 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 +8 -8
- package/src/components/__tests__/__snapshots__/EditDomainPopup.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/FilteredNav.spec.js.snap +3 -3
- package/src/components/__tests__/__snapshots__/GrantCrumbs.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/GrantDateFilter.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/GrantRequestApprovalPopup.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/GrantsDownloadButton.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/GrantsLabelResults.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/GrantsLoader.spec.js.snap +7 -7
- package/src/components/__tests__/__snapshots__/GrantsTable.spec.js.snap +14 -14
- package/src/components/__tests__/__snapshots__/LineageDownloadButton.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/LineageGroup.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/LineageResource.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/ProfileExecution.spec.js.snap +5 -5
- package/src/components/__tests__/__snapshots__/ProfileGroup.spec.js.snap +23 -23
- package/src/components/__tests__/__snapshots__/StructureDateFilter.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/StructureEvents.spec.js.snap +6 -6
- package/src/components/__tests__/__snapshots__/StructureGrantRequestButton.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/StructureNoteActions.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/StructureProfileButton.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/StructureRelations.spec.js.snap +14 -14
- package/src/components/__tests__/__snapshots__/StructureSearch.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/StructureSelector.spec.js.snap +7 -7
- package/src/components/__tests__/__snapshots__/StructureSelectorInputField.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/StructureSelectorInputFieldJoin.spec.js.snap +33 -33
- package/src/components/__tests__/__snapshots__/StructureTypesCrumbs.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/StructuresLabelResults.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/StructuresLoader.spec.js.snap +6 -6
- package/src/components/__tests__/__snapshots__/StructuresSearchResults.spec.js.snap +4 -4
- package/src/components/__tests__/__snapshots__/StructuresTable.spec.js.snap +16 -16
- package/src/components/__tests__/__snapshots__/StructuresUploadEventsTable.spec.js.snap +4 -4
- package/src/components/__tests__/__snapshots__/StructuresView.spec.js.snap +10 -10
- package/src/components/__tests__/__snapshots__/Tag.spec.js.snap +2 -2
- package/src/components/__tests__/__snapshots__/TagCrumbs.spec.js.snap +1 -1
- package/CHANGELOG.md +0 -1951
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dd",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.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": "5.
|
|
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": "^
|
|
47
|
-
"jest-environment-jsdom": "^
|
|
46
|
+
"jest": "^29.0.0",
|
|
47
|
+
"jest-environment-jsdom": "^29.0.0",
|
|
48
48
|
"react": "^16.14.0",
|
|
49
49
|
"react-dom": "^16.14.0",
|
|
50
50
|
"redux-saga-test-plan": "^4.0.4",
|
|
@@ -87,9 +87,9 @@
|
|
|
87
87
|
},
|
|
88
88
|
"dependencies": {
|
|
89
89
|
"@apollo/client": "^3.7.1",
|
|
90
|
-
"@truedat/auth": "5.
|
|
91
|
-
"@truedat/core": "5.
|
|
92
|
-
"@truedat/df": "5.
|
|
90
|
+
"@truedat/auth": "5.5.0",
|
|
91
|
+
"@truedat/core": "5.5.0",
|
|
92
|
+
"@truedat/df": "5.5.0",
|
|
93
93
|
"lodash": "^4.17.21",
|
|
94
94
|
"moment": "^2.29.4",
|
|
95
95
|
"path-to-regexp": "^1.7.0",
|
|
@@ -114,5 +114,5 @@
|
|
|
114
114
|
"react-dom": ">= 16.8.6 < 17",
|
|
115
115
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
116
116
|
},
|
|
117
|
-
"gitHead": "
|
|
117
|
+
"gitHead": "ca5e7f8fd1013de0b818798e05cbc1819a1d43ec"
|
|
118
118
|
}
|
|
@@ -16,7 +16,7 @@ exports[`<EditDomainPopup /> matches the latest snapshot 1`] = `
|
|
|
16
16
|
onOpen={[Function]}
|
|
17
17
|
open={false}
|
|
18
18
|
pinned={false}
|
|
19
|
-
popperModifiers={
|
|
19
|
+
popperModifiers={[]}
|
|
20
20
|
position="bottom right"
|
|
21
21
|
positionFixed={true}
|
|
22
22
|
size="large"
|
|
@@ -31,7 +31,7 @@ exports[`<EditDomainPopup /> matches the latest snapshot 1`] = `
|
|
|
31
31
|
/>
|
|
32
32
|
}
|
|
33
33
|
style={
|
|
34
|
-
|
|
34
|
+
{
|
|
35
35
|
"boxShadow": "none",
|
|
36
36
|
}
|
|
37
37
|
}
|
|
@@ -7,12 +7,12 @@ exports[`<FilteredNav /> matches the latest snapshot 1`] = `
|
|
|
7
7
|
/>
|
|
8
8
|
<StructureNav
|
|
9
9
|
childStructures={
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
[
|
|
11
|
+
{
|
|
12
12
|
"id": 1,
|
|
13
13
|
"name": "bank_capital",
|
|
14
14
|
},
|
|
15
|
-
|
|
15
|
+
{
|
|
16
16
|
"id": 2,
|
|
17
17
|
"name": "consumorenovables",
|
|
18
18
|
},
|
|
@@ -6,7 +6,7 @@ exports[`<GrantRequestApprovalPopup /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
content={
|
|
7
7
|
<Memo(Connect(GrantRequestApprovalForm))
|
|
8
8
|
grantRequest={
|
|
9
|
-
|
|
9
|
+
{
|
|
10
10
|
"id": 2,
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -21,7 +21,7 @@ exports[`<GrantRequestApprovalPopup /> matches the latest snapshot 1`] = `
|
|
|
21
21
|
onOpen={[Function]}
|
|
22
22
|
open={false}
|
|
23
23
|
pinned={false}
|
|
24
|
-
popperModifiers={
|
|
24
|
+
popperModifiers={[]}
|
|
25
25
|
position="bottom right"
|
|
26
26
|
positionFixed={true}
|
|
27
27
|
size="large"
|
|
@@ -7,13 +7,13 @@ exports[`<GrantsDownloadButton /> matches the latest snapshot 1`] = `
|
|
|
7
7
|
disabled={false}
|
|
8
8
|
eventsEnabled={true}
|
|
9
9
|
on={
|
|
10
|
-
|
|
10
|
+
[
|
|
11
11
|
"click",
|
|
12
12
|
"hover",
|
|
13
13
|
]
|
|
14
14
|
}
|
|
15
15
|
pinned={false}
|
|
16
|
-
popperModifiers={
|
|
16
|
+
popperModifiers={[]}
|
|
17
17
|
position="top right"
|
|
18
18
|
trigger={
|
|
19
19
|
<span
|
|
@@ -5,16 +5,16 @@ exports[`<GrantsLoader /> matches the latest snapshot 1`] = `
|
|
|
5
5
|
clearGrants={[MockFunction]}
|
|
6
6
|
fetchGrants={
|
|
7
7
|
[MockFunction] {
|
|
8
|
-
"calls":
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"calls": [
|
|
9
|
+
[
|
|
10
|
+
{
|
|
11
11
|
"onlyMyGrants": false,
|
|
12
|
-
"query":
|
|
12
|
+
"query": {},
|
|
13
13
|
},
|
|
14
14
|
],
|
|
15
15
|
],
|
|
16
|
-
"results":
|
|
17
|
-
|
|
16
|
+
"results": [
|
|
17
|
+
{
|
|
18
18
|
"type": "return",
|
|
19
19
|
"value": undefined,
|
|
20
20
|
},
|
|
@@ -22,6 +22,6 @@ exports[`<GrantsLoader /> matches the latest snapshot 1`] = `
|
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
grantsLoading={false}
|
|
25
|
-
query={
|
|
25
|
+
query={{}}
|
|
26
26
|
/>
|
|
27
27
|
`;
|
|
@@ -86,7 +86,7 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
86
86
|
content={
|
|
87
87
|
<userDecorator
|
|
88
88
|
user={
|
|
89
|
-
|
|
89
|
+
{
|
|
90
90
|
"email": "user1@example.com",
|
|
91
91
|
"full_name": "user_full_name_1",
|
|
92
92
|
"user_name": "user1",
|
|
@@ -101,18 +101,18 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
101
101
|
content={
|
|
102
102
|
<GrantTableStructureDecorator
|
|
103
103
|
data_structure_version={
|
|
104
|
-
|
|
104
|
+
{
|
|
105
105
|
"data_structure_id": 22075,
|
|
106
106
|
"description": "DEscripción",
|
|
107
|
-
"domain":
|
|
107
|
+
"domain": {
|
|
108
108
|
"external_id": "Demo Truedat",
|
|
109
109
|
"id": 3,
|
|
110
110
|
"name": "Demo Truedat",
|
|
111
|
-
"parent_ids":
|
|
111
|
+
"parent_ids": [],
|
|
112
112
|
"updated_at": "2020-07-21 07:45:41.068703Z",
|
|
113
113
|
},
|
|
114
114
|
"external_id": "sap:Clientes:KNA1",
|
|
115
|
-
"metadata":
|
|
115
|
+
"metadata": {},
|
|
116
116
|
"mutable_metadata": null,
|
|
117
117
|
"name": "KNA1",
|
|
118
118
|
}
|
|
@@ -144,8 +144,8 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
144
144
|
content={
|
|
145
145
|
<GenericObjectDecorator
|
|
146
146
|
data_structure_version={
|
|
147
|
-
|
|
148
|
-
"metadata":
|
|
147
|
+
{
|
|
148
|
+
"metadata": {},
|
|
149
149
|
}
|
|
150
150
|
}
|
|
151
151
|
/>
|
|
@@ -172,7 +172,7 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
172
172
|
content={
|
|
173
173
|
<userDecorator
|
|
174
174
|
user={
|
|
175
|
-
|
|
175
|
+
{
|
|
176
176
|
"email": "user2@example.com",
|
|
177
177
|
"full_name": "user_full_name_2",
|
|
178
178
|
"user_name": "user2",
|
|
@@ -187,18 +187,18 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
187
187
|
content={
|
|
188
188
|
<GrantTableStructureDecorator
|
|
189
189
|
data_structure_version={
|
|
190
|
-
|
|
190
|
+
{
|
|
191
191
|
"data_structure_id": 4570466,
|
|
192
192
|
"description": null,
|
|
193
|
-
"domain":
|
|
193
|
+
"domain": {
|
|
194
194
|
"external_id": "Truedat",
|
|
195
195
|
"id": 2,
|
|
196
196
|
"name": "Truedat",
|
|
197
|
-
"parent_ids":
|
|
197
|
+
"parent_ids": [],
|
|
198
198
|
"updated_at": "2020-07-28 13:21:21.938189Z",
|
|
199
199
|
},
|
|
200
200
|
"external_id": "postgres://postgres/td_metrics/public/concepts",
|
|
201
|
-
"metadata":
|
|
201
|
+
"metadata": {
|
|
202
202
|
"alias": "Truedat-PostgreSQL",
|
|
203
203
|
"database": "td_metrics",
|
|
204
204
|
"host": "postgres",
|
|
@@ -236,8 +236,8 @@ exports[`<GrantsTable /> matches the latest snapshot 1`] = `
|
|
|
236
236
|
content={
|
|
237
237
|
<GenericObjectDecorator
|
|
238
238
|
data_structure_version={
|
|
239
|
-
|
|
240
|
-
"metadata":
|
|
239
|
+
{
|
|
240
|
+
"metadata": {
|
|
241
241
|
"alias": "Truedat-PostgreSQL",
|
|
242
242
|
"database": "td_metrics",
|
|
243
243
|
"host": "postgres",
|
|
@@ -6,13 +6,13 @@ exports[`<LineageDownloadButton /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
disabled={false}
|
|
7
7
|
eventsEnabled={true}
|
|
8
8
|
on={
|
|
9
|
-
|
|
9
|
+
[
|
|
10
10
|
"click",
|
|
11
11
|
"hover",
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
pinned={false}
|
|
15
|
-
popperModifiers={
|
|
15
|
+
popperModifiers={[]}
|
|
16
16
|
position="top right"
|
|
17
17
|
trigger={
|
|
18
18
|
<span>
|
|
@@ -29,14 +29,14 @@ exports[`<LineageGroup /> matches the latest snapshot (selected) 1`] = `
|
|
|
29
29
|
disabled={false}
|
|
30
30
|
eventsEnabled={true}
|
|
31
31
|
on={
|
|
32
|
-
|
|
32
|
+
[
|
|
33
33
|
"click",
|
|
34
34
|
"hover",
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
open={true}
|
|
38
38
|
pinned={false}
|
|
39
|
-
popperModifiers={
|
|
39
|
+
popperModifiers={[]}
|
|
40
40
|
position="top left"
|
|
41
41
|
size="small"
|
|
42
42
|
trigger={
|
|
@@ -29,14 +29,14 @@ exports[`<LineageResource /> matches the latest snapshot (selected) 1`] = `
|
|
|
29
29
|
disabled={false}
|
|
30
30
|
eventsEnabled={true}
|
|
31
31
|
on={
|
|
32
|
-
|
|
32
|
+
[
|
|
33
33
|
"click",
|
|
34
34
|
"hover",
|
|
35
35
|
]
|
|
36
36
|
}
|
|
37
37
|
open={true}
|
|
38
38
|
pinned={false}
|
|
39
|
-
popperModifiers={
|
|
39
|
+
popperModifiers={[]}
|
|
40
40
|
position="top left"
|
|
41
41
|
size="small"
|
|
42
42
|
trigger={
|
|
@@ -4,7 +4,7 @@ exports[`<Event /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<FeedEvent>
|
|
5
5
|
<FeedLabel
|
|
6
6
|
icon={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"color": "green",
|
|
9
9
|
"name": "info circle",
|
|
10
10
|
}
|
|
@@ -74,18 +74,18 @@ exports[`<ProfileExecution /> matches the latest snapshot 1`] = `
|
|
|
74
74
|
/>
|
|
75
75
|
<EventFeed
|
|
76
76
|
events={
|
|
77
|
-
|
|
78
|
-
|
|
77
|
+
[
|
|
78
|
+
{
|
|
79
79
|
"inserted_at": "2019-09-20 17:01:00",
|
|
80
80
|
"message": "foo",
|
|
81
81
|
"type": "PENDING",
|
|
82
82
|
},
|
|
83
|
-
|
|
83
|
+
{
|
|
84
84
|
"inserted_at": "2019-09-20 17:08:00",
|
|
85
85
|
"message": "baz",
|
|
86
86
|
"type": "SUCCEEDED",
|
|
87
87
|
},
|
|
88
|
-
|
|
88
|
+
{
|
|
89
89
|
"inserted_at": "2019-09-20 17:06:00",
|
|
90
90
|
"message": "bar",
|
|
91
91
|
"type": "STARTED",
|
|
@@ -48,61 +48,61 @@ exports[`<ProfileGroup /> matches the latest snapshot 1`] = `
|
|
|
48
48
|
>
|
|
49
49
|
<ExecutionRow
|
|
50
50
|
execution={
|
|
51
|
-
|
|
52
|
-
"_embedded":
|
|
53
|
-
"data_structure":
|
|
51
|
+
{
|
|
52
|
+
"_embedded": {
|
|
53
|
+
"data_structure": {
|
|
54
54
|
"external_id": "foo",
|
|
55
55
|
"id": 1,
|
|
56
56
|
},
|
|
57
|
-
"latest":
|
|
58
|
-
"ancestry":
|
|
59
|
-
|
|
57
|
+
"latest": {
|
|
58
|
+
"ancestry": [
|
|
59
|
+
{
|
|
60
60
|
"data_structure_id": 2,
|
|
61
61
|
"name": "bar",
|
|
62
62
|
},
|
|
63
63
|
],
|
|
64
64
|
"name": "baz",
|
|
65
65
|
},
|
|
66
|
-
"profile":
|
|
66
|
+
"profile": {
|
|
67
67
|
"updated_at": "2019-09-20 10:55:00",
|
|
68
|
-
"value":
|
|
68
|
+
"value": {
|
|
69
69
|
"foo": "bar",
|
|
70
70
|
},
|
|
71
71
|
},
|
|
72
|
-
"profile_events":
|
|
73
|
-
|
|
72
|
+
"profile_events": [
|
|
73
|
+
{
|
|
74
74
|
"message": "foo",
|
|
75
75
|
"type": "PENDING",
|
|
76
76
|
},
|
|
77
77
|
],
|
|
78
78
|
},
|
|
79
79
|
"id": 2,
|
|
80
|
-
"profileGroup":
|
|
81
|
-
"_embedded":
|
|
82
|
-
"executions":
|
|
83
|
-
|
|
84
|
-
"_embedded":
|
|
85
|
-
"data_structure":
|
|
80
|
+
"profileGroup": {
|
|
81
|
+
"_embedded": {
|
|
82
|
+
"executions": [
|
|
83
|
+
{
|
|
84
|
+
"_embedded": {
|
|
85
|
+
"data_structure": {
|
|
86
86
|
"external_id": "foo",
|
|
87
87
|
"id": 1,
|
|
88
88
|
},
|
|
89
|
-
"latest":
|
|
90
|
-
"ancestry":
|
|
91
|
-
|
|
89
|
+
"latest": {
|
|
90
|
+
"ancestry": [
|
|
91
|
+
{
|
|
92
92
|
"data_structure_id": 2,
|
|
93
93
|
"name": "bar",
|
|
94
94
|
},
|
|
95
95
|
],
|
|
96
96
|
"name": "baz",
|
|
97
97
|
},
|
|
98
|
-
"profile":
|
|
98
|
+
"profile": {
|
|
99
99
|
"updated_at": "2019-09-20 10:55:00",
|
|
100
|
-
"value":
|
|
100
|
+
"value": {
|
|
101
101
|
"foo": "bar",
|
|
102
102
|
},
|
|
103
103
|
},
|
|
104
|
-
"profile_events":
|
|
105
|
-
|
|
104
|
+
"profile_events": [
|
|
105
|
+
{
|
|
106
106
|
"message": "foo",
|
|
107
107
|
"type": "PENDING",
|
|
108
108
|
},
|
|
@@ -11,12 +11,12 @@ exports[`<StructureEvents /> matches the latest snapshot 1`] = `
|
|
|
11
11
|
id={1}
|
|
12
12
|
key="0"
|
|
13
13
|
payload={
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
16
|
"field": "Column",
|
|
17
17
|
"value": 5,
|
|
18
18
|
},
|
|
19
|
-
|
|
19
|
+
{
|
|
20
20
|
"field": "id",
|
|
21
21
|
"value": 6,
|
|
22
22
|
},
|
|
@@ -29,12 +29,12 @@ exports[`<StructureEvents /> matches the latest snapshot 1`] = `
|
|
|
29
29
|
id={2}
|
|
30
30
|
key="1"
|
|
31
31
|
payload={
|
|
32
|
-
|
|
33
|
-
|
|
32
|
+
[
|
|
33
|
+
{
|
|
34
34
|
"field": "Column",
|
|
35
35
|
"value": 7,
|
|
36
36
|
},
|
|
37
|
-
|
|
37
|
+
{
|
|
38
38
|
"field": "id",
|
|
39
39
|
"value": 3,
|
|
40
40
|
},
|
|
@@ -14,7 +14,7 @@ exports[`<StructureGrantRequestButton /> matches latest snapshot 1`] = `
|
|
|
14
14
|
`;
|
|
15
15
|
|
|
16
16
|
exports[`<StructureGrantRequestButton /> renders nothing if does not have permissions 1`] = `
|
|
17
|
-
|
|
17
|
+
{
|
|
18
18
|
"asFragment": [Function],
|
|
19
19
|
"baseElement": <body>
|
|
20
20
|
<div />
|
|
@@ -6,13 +6,13 @@ exports[`<StructureProfileButton /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
disabled={false}
|
|
7
7
|
eventsEnabled={true}
|
|
8
8
|
on={
|
|
9
|
-
|
|
9
|
+
[
|
|
10
10
|
"click",
|
|
11
11
|
"hover",
|
|
12
12
|
]
|
|
13
13
|
}
|
|
14
14
|
pinned={false}
|
|
15
|
-
popperModifiers={
|
|
15
|
+
popperModifiers={[]}
|
|
16
16
|
position="top center"
|
|
17
17
|
trigger={
|
|
18
18
|
<span>
|
|
@@ -45,16 +45,16 @@ exports[`<StructureRelations /> matches the latest snapshot 1`] = `
|
|
|
45
45
|
>
|
|
46
46
|
<StructureRelationRow
|
|
47
47
|
columns={
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
[
|
|
49
|
+
{
|
|
50
50
|
"fieldSelector": [Function],
|
|
51
51
|
"name": "name",
|
|
52
52
|
},
|
|
53
|
-
|
|
53
|
+
{
|
|
54
54
|
"fieldSelector": [Function],
|
|
55
55
|
"name": "type",
|
|
56
56
|
},
|
|
57
|
-
|
|
57
|
+
{
|
|
58
58
|
"fieldSelector": [Function],
|
|
59
59
|
"name": "relation_type_name",
|
|
60
60
|
},
|
|
@@ -62,14 +62,14 @@ exports[`<StructureRelations /> matches the latest snapshot 1`] = `
|
|
|
62
62
|
}
|
|
63
63
|
key="0"
|
|
64
64
|
relation={
|
|
65
|
-
|
|
65
|
+
{
|
|
66
66
|
"id": 1,
|
|
67
|
-
"relation_type":
|
|
67
|
+
"relation_type": {
|
|
68
68
|
"description": "relation type 1",
|
|
69
69
|
"id": 1,
|
|
70
70
|
"name": "used_by",
|
|
71
71
|
},
|
|
72
|
-
"structure":
|
|
72
|
+
"structure": {
|
|
73
73
|
"id": 1,
|
|
74
74
|
"name": "Structure 1",
|
|
75
75
|
"type": "Some Type 1",
|
|
@@ -79,16 +79,16 @@ exports[`<StructureRelations /> matches the latest snapshot 1`] = `
|
|
|
79
79
|
/>
|
|
80
80
|
<StructureRelationRow
|
|
81
81
|
columns={
|
|
82
|
-
|
|
83
|
-
|
|
82
|
+
[
|
|
83
|
+
{
|
|
84
84
|
"fieldSelector": [Function],
|
|
85
85
|
"name": "name",
|
|
86
86
|
},
|
|
87
|
-
|
|
87
|
+
{
|
|
88
88
|
"fieldSelector": [Function],
|
|
89
89
|
"name": "type",
|
|
90
90
|
},
|
|
91
|
-
|
|
91
|
+
{
|
|
92
92
|
"fieldSelector": [Function],
|
|
93
93
|
"name": "relation_type_name",
|
|
94
94
|
},
|
|
@@ -96,14 +96,14 @@ exports[`<StructureRelations /> matches the latest snapshot 1`] = `
|
|
|
96
96
|
}
|
|
97
97
|
key="1"
|
|
98
98
|
relation={
|
|
99
|
-
|
|
99
|
+
{
|
|
100
100
|
"id": 2,
|
|
101
|
-
"relation_type":
|
|
101
|
+
"relation_type": {
|
|
102
102
|
"description": "relation type 1",
|
|
103
103
|
"id": 1,
|
|
104
104
|
"name": "used_by",
|
|
105
105
|
},
|
|
106
|
-
"structure":
|
|
106
|
+
"structure": {
|
|
107
107
|
"id": 1,
|
|
108
108
|
"name": "Structure 2",
|
|
109
109
|
"type": "Some Type 2",
|
|
@@ -15,14 +15,14 @@ exports[`<StructureSelector /> matches the latest snapshot 1`] = `
|
|
|
15
15
|
/>
|
|
16
16
|
<StructuresSearchResults
|
|
17
17
|
columns={
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
[
|
|
19
|
+
{
|
|
20
20
|
"name": "name",
|
|
21
21
|
},
|
|
22
|
-
|
|
22
|
+
{
|
|
23
23
|
"name": "system",
|
|
24
24
|
},
|
|
25
|
-
|
|
25
|
+
{
|
|
26
26
|
"name": "group",
|
|
27
27
|
},
|
|
28
28
|
]
|
|
@@ -31,11 +31,11 @@ exports[`<StructureSelector /> matches the latest snapshot 1`] = `
|
|
|
31
31
|
selectedStructure={null}
|
|
32
32
|
size="small"
|
|
33
33
|
structures={
|
|
34
|
-
|
|
35
|
-
|
|
34
|
+
[
|
|
35
|
+
{
|
|
36
36
|
"id": 1,
|
|
37
37
|
},
|
|
38
|
-
|
|
38
|
+
{
|
|
39
39
|
"id": 2,
|
|
40
40
|
},
|
|
41
41
|
]
|
|
@@ -15,10 +15,10 @@ exports[`<StructureSelectorInputField /> matches the latest snapshot 1`] = `
|
|
|
15
15
|
/>
|
|
16
16
|
</div>
|
|
17
17
|
<Connect(StructureSelector)
|
|
18
|
-
defaultFilters={
|
|
18
|
+
defaultFilters={{}}
|
|
19
19
|
onSelect={[Function]}
|
|
20
20
|
selectedStructure={
|
|
21
|
-
|
|
21
|
+
{
|
|
22
22
|
"id": "value",
|
|
23
23
|
}
|
|
24
24
|
}
|