Skip to content

Commit

Permalink
feat(ui) Finalize support for all entity types on forms (#10915)
Browse files Browse the repository at this point in the history
  • Loading branch information
chriscollins3456 authored Jul 15, 2024
1 parent 8967db0 commit 36fd614
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions datahub-web-react/src/Mocks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1254,6 +1254,7 @@ export const glossaryNode5 = {

export const sampleTag = {
urn: 'urn:li:tag:abc-sample-tag',
type: EntityType.Tag,
name: 'abc-sample-tag',
description: 'sample tag description',
ownership: {
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/graphql/container.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
query getContainer($urn: String!) {
container(urn: $urn) {
urn
type
exists
lastIngested
platform {
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/dashboard.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getDashboard($urn: String!) {
dashboard(urn: $urn) {
urn
type
...dashboardFields
privileges {
...entityPrivileges
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/dataJob.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getDataJob($urn: String!) {
dataJob(urn: $urn) {
urn
type
...dataJobFields
privileges {
...entityPrivileges
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/dataPlatform.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getDataPlatform($urn: String!) {
dataPlatform(urn: $urn) {
urn
type
...platformFields
}
}
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/dataProduct.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getDataProduct($urn: String!) {
dataProduct(urn: $urn) {
urn
type
...dataProductFields
privileges {
...entityPrivileges
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/graphql/dataset.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
query getDataProfiles($urn: String!, $limit: Int, $startTime: Long, $endTime: Long) {
dataset(urn: $urn) {
urn
type
datasetProfiles(limit: $limit, startTimeMillis: $startTime, endTimeMillis: $endTime) {
rowCount
columnCount
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/mlFeature.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getMLFeature($urn: String!) {
mlFeature(urn: $urn) {
urn
type
...nonRecursiveMLFeature
privileges {
...entityPrivileges
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/mlFeatureTable.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getMLFeatureTable($urn: String!) {
mlFeatureTable(urn: $urn) {
urn
type
...nonRecursiveMLFeatureTable
privileges {
...entityPrivileges
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/mlModel.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getMLModel($urn: String!) {
mlModel(urn: $urn) {
urn
type
...nonRecursiveMLModel
features: relationships(input: { types: ["Consumes"], direction: OUTGOING, start: 0, count: 100 }) {
start
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/mlModelGroup.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getMLModelGroup($urn: String!) {
mlModelGroup(urn: $urn) {
urn
type
...nonRecursiveMLModelGroupFields
incoming: relationships(
input: {
Expand Down
2 changes: 2 additions & 0 deletions datahub-web-react/src/graphql/mlPrimaryKey.graphql
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
query getMLPrimaryKey($urn: String!) {
mlPrimaryKey(urn: $urn) {
urn
type
...nonRecursiveMLPrimaryKey
privileges {
...entityPrivileges
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/graphql/tag.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
query getTag($urn: String!) {
tag(urn: $urn) {
urn
type
name
description
properties {
Expand Down
1 change: 1 addition & 0 deletions datahub-web-react/src/graphql/user.graphql
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
query getUser($urn: String!, $groupsCount: Int!) {
corpUser(urn: $urn) {
urn
type
username
isNativeUser
exists
Expand Down

0 comments on commit 36fd614

Please sign in to comment.