Skip to content

Commit

Permalink
updated diseases, therapies type-policies
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcmichael committed Nov 4, 2024
1 parent bab3014 commit 5067085
Showing 1 changed file with 21 additions and 2 deletions.
23 changes: 21 additions & 2 deletions client/src/app/graphql/graphql.type-policies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,12 @@ export const CvcTypePolicies: StrictTypedTypePolicies = {
'status',
'submitterId',
]),
browseDiseases: relayStylePagination(['name', 'doid', 'geneNames', 'id']),
browseTherapies: relayStylePagination([
'name',
'doid',
'geneNames',
'id',
]),
events: relayStylePagination([
'subject',
'organizationId',
Expand Down Expand Up @@ -141,8 +146,22 @@ export const CvcTypePolicies: StrictTypedTypePolicies = {
'resolvingUserId',
'state',
]),
phenotypes: relayStylePagination(['hpoId', 'name', 'id']),
browsePhenotypes: relayStylePagination(['hpoId', 'name', 'id', 'url']),
variantTypes: relayStylePagination(['soid', 'name', 'id']),
browseDiseases: relayStylePagination([
'id',
'name',
'doid',
'diseaseUrl',
'features',
'assertionCount',
'evidenceItemCount',
'variantCount',
'featureCount',
'link',
'diseaseAliases',
'deprecated',
]),
therapies: relayStylePagination(['ncitId', 'name', 'id']),
clinicalTrials: relayStylePagination(['nctId', 'name', 'id']),
notifications: relayStylePagination([
Expand Down

0 comments on commit 5067085

Please sign in to comment.