@truedat/dd 6.3.6 → 6.4.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.
|
|
3
|
+
"version": "6.4.0",
|
|
4
4
|
"description": "Truedat Web Data Dictionary",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -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": "
|
|
118
|
+
"gitHead": "9c40abd00d7b919a4a4c0ed0d5975a1060c153c0"
|
|
119
119
|
}
|
package/src/api/queries.js
CHANGED
|
@@ -200,6 +200,7 @@ export const STRUCTURE_STRUCTURE_LINKS_QUERY = gql`
|
|
|
200
200
|
}
|
|
201
201
|
source {
|
|
202
202
|
id
|
|
203
|
+
alias
|
|
203
204
|
currentVersion {
|
|
204
205
|
name
|
|
205
206
|
pathWithIds {
|
|
@@ -214,6 +215,7 @@ export const STRUCTURE_STRUCTURE_LINKS_QUERY = gql`
|
|
|
214
215
|
}
|
|
215
216
|
target {
|
|
216
217
|
id
|
|
218
|
+
alias
|
|
217
219
|
currentVersion {
|
|
218
220
|
name
|
|
219
221
|
pathWithIds {
|
|
@@ -53,6 +53,7 @@ const dataStructureWithLinks = {
|
|
|
53
53
|
},
|
|
54
54
|
},
|
|
55
55
|
target: {
|
|
56
|
+
alias: "alias",
|
|
56
57
|
currentVersion: {
|
|
57
58
|
name: "STRUCTURE_2",
|
|
58
59
|
pathWithIds: [
|
|
@@ -171,7 +172,7 @@ describe("<StructureStructureLinks />", () => {
|
|
|
171
172
|
_.merge(renderOpts, { state: { structureActions } })
|
|
172
173
|
);
|
|
173
174
|
await waitFor(() => {
|
|
174
|
-
expect(getByRole("link", { name: /
|
|
175
|
+
expect(getByRole("link", { name: /alias/i })).toBeInTheDocument();
|
|
175
176
|
expect(getByRole("link", { name: /STRUCTURE_3/i })).toBeInTheDocument();
|
|
176
177
|
});
|
|
177
178
|
await waitFor(() => {
|
|
@@ -191,7 +192,7 @@ describe("<StructureStructureLinks />", () => {
|
|
|
191
192
|
renderOpts
|
|
192
193
|
);
|
|
193
194
|
await waitFor(() => {
|
|
194
|
-
expect(getByRole("link", { name: /
|
|
195
|
+
expect(getByRole("link", { name: /alias/i })).toBeInTheDocument();
|
|
195
196
|
expect(getByRole("link", { name: /STRUCTURE_3/i })).toBeInTheDocument();
|
|
196
197
|
});
|
|
197
198
|
expect(
|
|
@@ -211,7 +212,7 @@ describe("<StructureStructureLinks />", () => {
|
|
|
211
212
|
})
|
|
212
213
|
);
|
|
213
214
|
await waitFor(() => {
|
|
214
|
-
expect(getByRole("link", { name: /
|
|
215
|
+
expect(getByRole("link", { name: /alias/i })).toBeInTheDocument();
|
|
215
216
|
expect(getByRole("link", { name: /STRUCTURE_3/i })).toBeInTheDocument();
|
|
216
217
|
});
|
|
217
218
|
await waitFor(() => {
|