From 478f83cc64a9ae2fea7788c0323689fc0cf68a92 Mon Sep 17 00:00:00 2001 From: Joshua McMichael Date: Mon, 4 Nov 2024 12:32:14 -0600 Subject: [PATCH] fixed type policies --- .../src/app/graphql/graphql.type-policies.ts | 21 +++++++------------ 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/client/src/app/graphql/graphql.type-policies.ts b/client/src/app/graphql/graphql.type-policies.ts index 62e766915..b3503f2e0 100644 --- a/client/src/app/graphql/graphql.type-policies.ts +++ b/client/src/app/graphql/graphql.type-policies.ts @@ -75,9 +75,9 @@ export const CvcTypePolicies: StrictTypedTypePolicies = { ]), browseTherapies: relayStylePagination([ 'name', - 'doid', - 'geneNames', - 'id', + 'ncitId', + 'therapyAlias', + 'sortBy', ]), events: relayStylePagination([ 'subject', @@ -146,21 +146,14 @@ export const CvcTypePolicies: StrictTypedTypePolicies = { 'resolvingUserId', 'state', ]), - browsePhenotypes: relayStylePagination(['hpoId', 'name', 'id', 'url']), + browsePhenotypes: relayStylePagination(['hpoId', 'name', 'sortBy']), variantTypes: relayStylePagination(['soid', 'name', 'id']), browseDiseases: relayStylePagination([ - 'id', 'name', 'doid', - 'diseaseUrl', - 'features', - 'assertionCount', - 'evidenceItemCount', - 'variantCount', - 'featureCount', - 'link', - 'diseaseAliases', - 'deprecated', + 'diseaseAlias', + 'featureName', + 'sortBy', ]), therapies: relayStylePagination(['ncitId', 'name', 'id']), clinicalTrials: relayStylePagination(['nctId', 'name', 'id']),