Skip to content

Commit

Permalink
fixed type policies
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcmichael committed Nov 4, 2024
1 parent 5067085 commit 478f83c
Showing 1 changed file with 7 additions and 14 deletions.
21 changes: 7 additions & 14 deletions client/src/app/graphql/graphql.type-policies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,9 +75,9 @@ export const CvcTypePolicies: StrictTypedTypePolicies = {
]),
browseTherapies: relayStylePagination([
'name',
'doid',
'geneNames',
'id',
'ncitId',
'therapyAlias',
'sortBy',
]),
events: relayStylePagination([
'subject',
Expand Down Expand Up @@ -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']),
Expand Down

0 comments on commit 478f83c

Please sign in to comment.