Skip to content

Commit

Permalink
Add Graphql call
Browse files Browse the repository at this point in the history
  • Loading branch information
blevine-transcend committed Jan 16, 2025
1 parent 38cd215 commit dedd876
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
32 changes: 8 additions & 24 deletions src/graphql/gqls/siloDiscoveryRecommendation.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { gql } from 'graphql-request';

export const SILO_DISCOVERY_RECOMMENDATIONS = gql`
query TranscendCliVendors($first: Int!, $offset: Int!) {
query TranscendCliSiloDiscoveryRecommendations(
$first: Int
$input: SiloDiscoveryRecommendationsInput!
$filterBy: SiloDiscoveryRecommendationFiltersInput
) {
vendors(
first: $first
offset: $offset
Expand All @@ -13,32 +17,12 @@ export const SILO_DISCOVERY_RECOMMENDATIONS = gql`
]
) {
nodes {
id
title
description
dataProcessingAgreementLink
contactName
contactEmail
contactPhone
address
headquarterCountry
headquarterSubDivision
websiteUrl
businessEntity {
resourceId
lastDiscoveredAt
suggestedCatalog {
title
}
teams {
name
}
owners {
email
}
attributeValues {
attributeKey {
name
}
name
}
}
}
}
Expand Down
1 change: 1 addition & 0 deletions src/graphql/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,3 +83,4 @@ export * from './syncAgentFiles';
export * from './syncVendors';
export * from './syncDataCategories';
export * from './syncProcessingPurposes';
export * from './fetchAllSiloDiscoveryRecommendations';

0 comments on commit dedd876

Please sign in to comment.