From 338c87fcc9375c2a1d676386af453527f506119b Mon Sep 17 00:00:00 2001 From: Adam Coffman Date: Tue, 29 Oct 2024 15:52:48 -0500 Subject: [PATCH] temporarily allow variant and exon coordinates as activity subjects --- client/src/app/generated/civic.apollo.ts | 3 +++ client/src/app/generated/server.model.graphql | 2 ++ client/src/app/generated/server.schema.json | 12 ++++++++++++ .../types/activities/activity_subject_input_type.rb | 2 +- 4 files changed, 18 insertions(+), 1 deletion(-) diff --git a/client/src/app/generated/civic.apollo.ts b/client/src/app/generated/civic.apollo.ts index 3db9875b9..5f808b8a7 100644 --- a/client/src/app/generated/civic.apollo.ts +++ b/client/src/app/generated/civic.apollo.ts @@ -129,6 +129,7 @@ export enum ActivitySubjectInput { Assertion = 'ASSERTION', Comment = 'COMMENT', EvidenceItem = 'EVIDENCE_ITEM', + ExonCoordinate = 'EXON_COORDINATE', Feature = 'FEATURE', Flag = 'FLAG', MolecularProfile = 'MOLECULAR_PROFILE', @@ -137,6 +138,7 @@ export enum ActivitySubjectInput { Source = 'SOURCE', SourceSuggestion = 'SOURCE_SUGGESTION', Variant = 'VARIANT', + VariantCoordinate = 'VARIANT_COORDINATE', VariantGroup = 'VARIANT_GROUP' } @@ -5251,6 +5253,7 @@ export type QueryEvidenceItemsArgs = { evidenceType?: InputMaybe; first?: InputMaybe; id?: InputMaybe; + ids?: InputMaybe>; last?: InputMaybe; molecularProfileId?: InputMaybe; molecularProfileName?: InputMaybe; diff --git a/client/src/app/generated/server.model.graphql b/client/src/app/generated/server.model.graphql index 5f6103bf0..523f5e7b4 100644 --- a/client/src/app/generated/server.model.graphql +++ b/client/src/app/generated/server.model.graphql @@ -159,6 +159,7 @@ enum ActivitySubjectInput { ASSERTION COMMENT EVIDENCE_ITEM + EXON_COORDINATE FEATURE FLAG MOLECULAR_PROFILE @@ -167,6 +168,7 @@ enum ActivitySubjectInput { SOURCE SOURCE_SUGGESTION VARIANT + VARIANT_COORDINATE VARIANT_GROUP } diff --git a/client/src/app/generated/server.schema.json b/client/src/app/generated/server.schema.json index 7b899f155..6ef82b2e8 100644 --- a/client/src/app/generated/server.schema.json +++ b/client/src/app/generated/server.schema.json @@ -1063,6 +1063,18 @@ "description": null, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "EXON_COORDINATE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANT_COORDINATE", + "description": null, + "isDeprecated": false, + "deprecationReason": null } ], "possibleTypes": null diff --git a/server/app/graphql/types/activities/activity_subject_input_type.rb b/server/app/graphql/types/activities/activity_subject_input_type.rb index b1533c335..7c6087732 100644 --- a/server/app/graphql/types/activities/activity_subject_input_type.rb +++ b/server/app/graphql/types/activities/activity_subject_input_type.rb @@ -13,6 +13,6 @@ class ActivitySubjectInputType < Types::BaseEnum value 'REVISION_SET', value: 'RevisionSet' value 'COMMENT', value: 'Comment' value 'EXON_COORDINATE', value: 'ExonCoordinate' - value 'GENE_COORDINATE', value: 'GeneCoordinate' + value 'VARIANT_COORDINATE', value: 'VariantCoordinate' end end