Skip to content

Commit a8e373e

Browse files
authored
feat(graphql): Miscellaneous query additions (#9855)
1 parent 29ca570 commit a8e373e

File tree

3 files changed

+21
-0
lines changed

3 files changed

+21
-0
lines changed

datahub-web-react/src/graphql/dataPlatform.graphql

+8
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,11 @@ query getDataPlatform($urn: String!) {
33
...platformFields
44
}
55
}
6+
7+
query getDataPlatforms($urns: [String!]!) {
8+
entities(urns: $urns) {
9+
... on DataPlatform {
10+
...platformFields
11+
}
12+
}
13+
}

datahub-web-react/src/graphql/post.graphql

+3
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ query listPosts($input: ListPostsInput!) {
77
urn
88
type
99
postType
10+
lastModified {
11+
time
12+
}
1013
content {
1114
contentType
1215
title

datahub-web-react/src/graphql/preview.graphql

+10
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,16 @@ fragment entityPreview on Entity {
295295
...deprecationFields
296296
}
297297
}
298+
... on MLFeature {
299+
name
300+
description
301+
ownership {
302+
...ownershipFields
303+
}
304+
deprecation {
305+
...deprecationFields
306+
}
307+
}
298308
... on MLModelGroup {
299309
name
300310
origin

0 commit comments

Comments
 (0)