diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 591b67910..671baad40 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -11,7 +11,7 @@ jobs: runs-on: 'ubuntu-latest' strategy: matrix: - ruby: ['3.2', '3.3'] + ruby: ['3.3'] services: postgres: image: postgres:13 diff --git a/client/src/app/components/activities/activity-feed/activity-feed.gql b/client/src/app/components/activities/activity-feed/activity-feed.gql index 4d0ccb9ee..db359c73c 100644 --- a/client/src/app/components/activities/activity-feed/activity-feed.gql +++ b/client/src/app/components/activities/activity-feed/activity-feed.gql @@ -32,7 +32,7 @@ query ActivityFeed( $last: Int $before: String $after: String - $userId: Int + $userId: [Int!] #$organizationId: Int #$eventType: EventAction #$mode: EventFeedMode @@ -115,7 +115,7 @@ fragment activityFeedNode on ActivityInterface { ... on Revision { revisionSetId } - ... on Variant { + ... on VariantInterface { deprecated feature { id diff --git a/client/src/app/components/events/event-feed/event-feed.gql b/client/src/app/components/events/event-feed/event-feed.gql index f3dab3438..23dc82756 100644 --- a/client/src/app/components/events/event-feed/event-feed.gql +++ b/client/src/app/components/events/event-feed/event-feed.gql @@ -115,7 +115,7 @@ fragment eventFeedNode on Event { ... on Revision { revisionSetId } - ... on Variant { + ... on VariantInterface { deprecated feature { id diff --git a/client/src/app/components/flags/flag-popover/flag-popover.query.gql b/client/src/app/components/flags/flag-popover/flag-popover.query.gql index a66091098..65c055b07 100644 --- a/client/src/app/components/flags/flag-popover/flag-popover.query.gql +++ b/client/src/app/components/flags/flag-popover/flag-popover.query.gql @@ -17,7 +17,7 @@ fragment flagPopover on Flag { id link name - ...on Variant { + ...on VariantInterface { deprecated feature { id diff --git a/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.html b/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.html new file mode 100644 index 000000000..b699c3f22 --- /dev/null +++ b/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.html @@ -0,0 +1,109 @@ +@if(variant.__typename == "FactorVariant") { + + + + {{ variant.name }} + + + + + + + + + + + + + + + {{ + alias + }} + + + + None specified + + + + + + + + + + + + + None specified + + + + + + + + + + + + view + {{ + variant.molecularProfiles.totalCount - + this.displayMps.length + }} + more + + + + + + + + + + +} diff --git a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.less b/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.less similarity index 100% rename from client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.less rename to client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.less diff --git a/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.ts b/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.ts new file mode 100644 index 000000000..b0950c506 --- /dev/null +++ b/client/src/app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component.ts @@ -0,0 +1,78 @@ +import { Component, Input, OnInit } from '@angular/core' +import { VariantMolecularProfileCardFieldsFragment } from '@app/generated/civic.apollo' +import { LinkableMolecularProfile } from '../molecular-profile-tag/molecular-profile-tag.component' + +import { CommonModule } from '@angular/common' +import { CvcVariantTagModule } from '@app/components/variants/variant-tag/variant-tag.module' +import { NzTagModule } from 'ng-zorro-antd/tag' +import { NzIconModule } from 'ng-zorro-antd/icon' +import { NzGridModule } from 'ng-zorro-antd/grid' +import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' +import { NzTypographyModule } from 'ng-zorro-antd/typography' +import { CvcEmptyRevisableModule } from '@app/components/shared/empty-revisable/empty-revisable.module' +import { CvcTagListModule } from '@app/components/shared/tag-list/tag-list.module' +import { CvcVariantTypeTagModule } from '@app/components/variant-types/variant-type-tag/variant-type-tag.module' +import { CvcLinkTagModule } from '@app/components/shared/link-tag/link-tag.module' +import { NzCardModule } from 'ng-zorro-antd/card' +import { CvcPipesModule } from '@app/core/pipes/pipes.module' +import { CvcMolecularProfileTagModule } from '../molecular-profile-tag/molecular-profile-tag.module' +import { RouterModule } from '@angular/router' +import { NzCollapseModule } from 'ng-zorro-antd/collapse' +import { CvcCoordinatesCardModule } from '@app/components/variants/coordinates-card/coordinates-card.module' +import { NzSpaceModule } from 'ng-zorro-antd/space' +import { CvcFeatureTagModule } from '@app/components/features/feature-tag/feature-tag.module' +import { CvcFeatureVariantTagModule } from '@app/components/shared/feature-variant-tag/feature-variant-tag.module' + +@Component({ + selector: 'cvc-mp-factor-variant-card', + templateUrl: './molecular-profile-factor-variant-card.component.html', + styleUrls: ['./molecular-profile-factor-variant-card.component.less'], + standalone: true, + imports: [ + CommonModule, + RouterModule, + NzTagModule, + NzIconModule, + NzGridModule, + NzDescriptionsModule, + NzTypographyModule, + NzCardModule, + NzCollapseModule, + NzSpaceModule, + CvcPipesModule, + CvcVariantTagModule, + CvcFeatureTagModule, + CvcEmptyRevisableModule, + CvcTagListModule, + CvcVariantTypeTagModule, + CvcLinkTagModule, + CvcTagListModule, + CvcMolecularProfileTagModule, + CvcCoordinatesCardModule, + CvcFeatureVariantTagModule, + ], +}) +export class CvcMolecularProfileFactorVariantCardComponent implements OnInit { + @Input() variant!: VariantMolecularProfileCardFieldsFragment + @Input() currentMolecularProfileId!: number + + displayMps: LinkableMolecularProfile[] = [] + + ngOnInit() { + if (this.variant === undefined) { + throw new Error('Must pass a Variant into the MP Variant Card Component') + } + + if (this.currentMolecularProfileId === undefined) { + throw new Error('Must pass a MP ID into the MP Variant Card Component') + } + + if (this.variant.__typename !== 'FactorVariant') { + throw new Error('This card is for FactorVariant variant types only.') + } + + this.displayMps = this.variant.molecularProfiles.nodes.filter( + (mp) => mp.id != this.currentMolecularProfileId + ) + } +} diff --git a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.html b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.html similarity index 98% rename from client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.html rename to client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.html index 41b4226a7..6748c8ccc 100644 --- a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.html +++ b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.html @@ -1,3 +1,4 @@ +@if(variant.__typename == "GeneVariant") { + nzTitle="Gene Variant"> @@ -201,3 +202,4 @@ +} diff --git a/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.less b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.less new file mode 100644 index 000000000..3e2f98759 --- /dev/null +++ b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.less @@ -0,0 +1,3 @@ +.card-title { + font-size: 120%; +} diff --git a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.ts b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.ts similarity index 67% rename from client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.ts rename to client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.ts index 113d1c72b..1f8942a0a 100644 --- a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.component.ts +++ b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.component.ts @@ -3,11 +3,11 @@ import { VariantMolecularProfileCardFieldsFragment } from '@app/generated/civic. import { LinkableMolecularProfile } from '../molecular-profile-tag/molecular-profile-tag.component' @Component({ - selector: 'cvc-mp-variant-card', - templateUrl: './molecular-profile-variant-card.component.html', - styleUrls: ['./molecular-profile-variant-card.component.less'], + selector: 'cvc-mp-gene-variant-card', + templateUrl: './molecular-profile-gene-variant-card.component.html', + styleUrls: ['./molecular-profile-gene-variant-card.component.less'], }) -export class CvcMolecularProfileVariantCardComponent implements OnInit { +export class CvcMolecularProfileGeneVariantCardComponent implements OnInit { @Input() variant!: VariantMolecularProfileCardFieldsFragment @Input() currentMolecularProfileId!: number @@ -22,6 +22,10 @@ export class CvcMolecularProfileVariantCardComponent implements OnInit { throw new Error('Must pass a MP ID into the MP Variant Card Component') } + if (this.variant.__typename !== 'GeneVariant') { + throw new Error('This card is for GeneVariant variant types only.') + } + this.displayMps = this.variant.molecularProfiles.nodes.filter( (mp) => mp.id != this.currentMolecularProfileId ) diff --git a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.module.ts b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.module.ts similarity index 86% rename from client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.module.ts rename to client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.module.ts index 4ff4d3fd8..ae5d27a18 100644 --- a/client/src/app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.module.ts +++ b/client/src/app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.module.ts @@ -3,7 +3,6 @@ import { CommonModule } from '@angular/common' import { CvcVariantTagModule } from '@app/components/variants/variant-tag/variant-tag.module' import { NzTagModule } from 'ng-zorro-antd/tag' import { NzIconModule } from 'ng-zorro-antd/icon' -import { CvcMolecularProfileVariantCardComponent } from './molecular-profile-variant-card.component' import { NzGridModule } from 'ng-zorro-antd/grid' import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' import { NzTypographyModule } from 'ng-zorro-antd/typography' @@ -20,9 +19,10 @@ import { CvcCoordinatesCardModule } from '@app/components/variants/coordinates-c import { NzSpaceModule } from 'ng-zorro-antd/space' import { CvcFeatureTagModule } from '@app/components/features/feature-tag/feature-tag.module' import { CvcFeatureVariantTagModule } from '@app/components/shared/feature-variant-tag/feature-variant-tag.module' +import { CvcMolecularProfileGeneVariantCardComponent } from './molecular-profile-gene-variant-card.component' @NgModule({ - declarations: [CvcMolecularProfileVariantCardComponent], + declarations: [CvcMolecularProfileGeneVariantCardComponent], imports: [ CommonModule, RouterModule, @@ -44,8 +44,8 @@ import { CvcFeatureVariantTagModule } from '@app/components/shared/feature-varia CvcTagListModule, CvcMolecularProfileTagModule, CvcCoordinatesCardModule, - CvcFeatureVariantTagModule + CvcFeatureVariantTagModule, ], - exports: [CvcMolecularProfileVariantCardComponent], + exports: [CvcMolecularProfileGeneVariantCardComponent], }) -export class CvcMolecularProfileVariantCardModule {} +export class CvcMolecularProfileGeneVariantCardModule {} diff --git a/client/src/app/components/revisions/revision-popover/revision-popover.query.gql b/client/src/app/components/revisions/revision-popover/revision-popover.query.gql index a0f8efbb9..efc8d9ad9 100644 --- a/client/src/app/components/revisions/revision-popover/revision-popover.query.gql +++ b/client/src/app/components/revisions/revision-popover/revision-popover.query.gql @@ -23,7 +23,7 @@ fragment revisionPopover on Revision { id link name - ... on Variant { + ... on VariantInterface { deprecated feature { id diff --git a/client/src/app/components/variants/coordinates-card/coordinates-card.component.html b/client/src/app/components/variants/coordinates-card/coordinates-card.component.html index 7c33ecbe9..6b419a870 100644 --- a/client/src/app/components/variants/coordinates-card/coordinates-card.component.html +++ b/client/src/app/components/variants/coordinates-card/coordinates-card.component.html @@ -1,7 +1,9 @@ + @if(variant.__typename == "GeneVariant") { + } - + {{ coords.representativeTranscript }} @@ -131,8 +138,13 @@ - + {{ coords.representativeTranscript }} diff --git a/client/src/app/components/variants/coordinates-card/coordinates-card.component.ts b/client/src/app/components/variants/coordinates-card/coordinates-card.component.ts index 4c25b85b9..aa241e45e 100644 --- a/client/src/app/components/variants/coordinates-card/coordinates-card.component.ts +++ b/client/src/app/components/variants/coordinates-card/coordinates-card.component.ts @@ -5,7 +5,6 @@ import { CoordinatesCardQuery, CoordinatesCardQueryVariables, Maybe, - Variant, } from '@app/generated/civic.apollo' import { QueryRef } from 'apollo-angular' import { Observable } from 'rxjs' diff --git a/client/src/app/components/variants/coordinates-card/coordinates-card.query.gql b/client/src/app/components/variants/coordinates-card/coordinates-card.query.gql index c8fd0656a..cd2fea9ad 100644 --- a/client/src/app/components/variants/coordinates-card/coordinates-card.query.gql +++ b/client/src/app/components/variants/coordinates-card/coordinates-card.query.gql @@ -4,23 +4,25 @@ query CoordinatesCard($variantId: Int!) { } } -fragment CoordinatesCardFields on Variant { +fragment CoordinatesCardFields on VariantInterface { id name - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop + ... on GeneVariant { + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop + } + referenceBases + variantBases } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases } diff --git a/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.html b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.html new file mode 100644 index 000000000..a11ff520a --- /dev/null +++ b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.html @@ -0,0 +1,162 @@ +@if(variant.__typename == "FactorVariant") { + + + + + + + + + + + + + + {{ + alias + }} + + + + None specified + + + + + + + + + + + + None specified + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + by + + + + Created + + ({{ variant.creationActivity.createdAt | timeAgo }}) + + + + + + by + + + + Deprecated + + ({{ variant.deprecationActivity.createdAt | timeAgo }}) + + + + + + + + + + + + + + + + + + NCIt: {{ variant.ncitId }} + + + + + + + + + + + + + + + +} diff --git a/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.less b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.less new file mode 100644 index 000000000..b2848ee08 --- /dev/null +++ b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.less @@ -0,0 +1,9 @@ +@import "themes/overrides/descriptions-overrides.less"; +:host { + display: block; +} + +nz-space, +nz-space-item { + width: 100%; +} diff --git a/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.ts b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.ts new file mode 100644 index 000000000..91cf5189c --- /dev/null +++ b/client/src/app/components/variants/factor-variant-summary/factor-variant-summary.page.ts @@ -0,0 +1,55 @@ +import { CommonModule } from '@angular/common' +import { Component, Input, OnInit } from '@angular/core' +import { CvcTagListModule } from '@app/components/shared/tag-list/tag-list.module' + +import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' +import { NzGridModule } from 'ng-zorro-antd/grid' +import { NzTagModule } from 'ng-zorro-antd/tag' +import { CvcVariantTypeTagModule } from '@app/components/variant-types/variant-type-tag/variant-type-tag.module' +import { CvcCoordinatesCardModule } from '../coordinates-card/coordinates-card.module' +import { CvcLinkTagModule } from '@app/components/shared/link-tag/link-tag.module' +import { NzCardModule } from 'ng-zorro-antd/card' +import { CvcEmptyRevisableModule } from '@app/components/shared/empty-revisable/empty-revisable.module' +import { CvcMolecularProfilesTableModule } from '@app/components/molecular-profiles/molecular-profile-table/molecular-profile-table.module' +import { CvcMyVariantInfoModule } from '../my-variant-info/my-variant-info.module' +import { PushPipe } from '@ngrx/component' +import { VariantSummaryFieldsFragment } from '@app/generated/civic.apollo' +import { CvcUserTagModule } from '@app/components/users/user-tag/user-tag.module' +import { CvcFeatureTagModule } from '@app/components/features/feature-tag/feature-tag.module' +import { CvcPipesModule } from '@app/core/pipes/pipes.module' +import { CvcNcitDetailsComponent } from '@app/components/factors/ncit-details/ncit-details.component' + +@Component({ + standalone: true, + selector: 'cvc-factor-variant-summary', + templateUrl: './factor-variant-summary.page.html', + styleUrls: ['./factor-variant-summary.page.less'], + imports: [ + CommonModule, + PushPipe, + NzGridModule, + NzDescriptionsModule, + NzTagModule, + NzCardModule, + CvcEmptyRevisableModule, + CvcTagListModule, + CvcVariantTypeTagModule, + CvcCoordinatesCardModule, + CvcLinkTagModule, + CvcUserTagModule, + CvcFeatureTagModule, + CvcMolecularProfilesTableModule, + CvcMyVariantInfoModule, + CvcPipesModule, + CvcNcitDetailsComponent, + ], +}) +export class CvcFactorVariantSummaryComponent implements OnInit { + @Input() variant!: VariantSummaryFieldsFragment + + ngOnInit() { + if (this.variant == undefined) { + throw new Error('Must pass FactorVariant into FactorVariant summary') + } + } +} diff --git a/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.html b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.html new file mode 100644 index 000000000..0a6b699fa --- /dev/null +++ b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.html @@ -0,0 +1,271 @@ +@if(variant.__typename == "GeneVariant") { + + + + + + + + + + + + + + {{ + alias + }} + + + + None specified + + + + + + + + + + + + None specified + + + + + + + + {{ + desc + }} + + + + None specified + + + + + + + + {{ variant.maneSelectTranscript }} + + + + None found + + + + + + + + + + + + + + + + + + + + + + by + + + + Created + + ({{ variant.creationActivity.createdAt | timeAgo }}) + + + + + + by + + + + Deprecated + + ({{ variant.deprecationActivity.createdAt | timeAgo }}) + + + + + + + + + + + + + + + + + + {{ variant.alleleRegistryId }} + + + Unregistered + + + + + + + + + + {{ id }} + + + + + + + {{ variant.clinvarIds[0] }} + + + + None provided + + + + + + Variant Report + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +} diff --git a/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.less b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.less new file mode 100644 index 000000000..b2848ee08 --- /dev/null +++ b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.less @@ -0,0 +1,9 @@ +@import "themes/overrides/descriptions-overrides.less"; +:host { + display: block; +} + +nz-space, +nz-space-item { + width: 100%; +} diff --git a/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.ts b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.ts new file mode 100644 index 000000000..8f25c021c --- /dev/null +++ b/client/src/app/components/variants/gene-variant-summary/gene-variant-summary.page.ts @@ -0,0 +1,53 @@ +import { CommonModule } from '@angular/common' +import { Component, Input, OnInit } from '@angular/core' +import { CvcTagListModule } from '@app/components/shared/tag-list/tag-list.module' + +import { NzDescriptionsModule } from 'ng-zorro-antd/descriptions' +import { NzGridModule } from 'ng-zorro-antd/grid' +import { NzTagModule } from 'ng-zorro-antd/tag' +import { CvcVariantTypeTagModule } from '@app/components/variant-types/variant-type-tag/variant-type-tag.module' +import { CvcCoordinatesCardModule } from '../coordinates-card/coordinates-card.module' +import { CvcLinkTagModule } from '@app/components/shared/link-tag/link-tag.module' +import { NzCardModule } from 'ng-zorro-antd/card' +import { CvcEmptyRevisableModule } from '@app/components/shared/empty-revisable/empty-revisable.module' +import { CvcMolecularProfilesTableModule } from '@app/components/molecular-profiles/molecular-profile-table/molecular-profile-table.module' +import { CvcMyVariantInfoModule } from '../my-variant-info/my-variant-info.module' +import { PushPipe } from '@ngrx/component' +import { VariantSummaryFieldsFragment } from '@app/generated/civic.apollo' +import { CvcUserTagModule } from '@app/components/users/user-tag/user-tag.module' +import { CvcFeatureTagModule } from '@app/components/features/feature-tag/feature-tag.module' +import { CvcPipesModule } from '@app/core/pipes/pipes.module' + +@Component({ + standalone: true, + selector: 'cvc-gene-variant-summary', + templateUrl: './gene-variant-summary.page.html', + styleUrls: ['./gene-variant-summary.page.less'], + imports: [ + CommonModule, + PushPipe, + NzGridModule, + NzDescriptionsModule, + NzTagModule, + NzCardModule, + CvcEmptyRevisableModule, + CvcTagListModule, + CvcVariantTypeTagModule, + CvcCoordinatesCardModule, + CvcLinkTagModule, + CvcUserTagModule, + CvcFeatureTagModule, + CvcMolecularProfilesTableModule, + CvcMyVariantInfoModule, + CvcPipesModule, + ], +}) +export class CvcGeneVariantSummaryComponent implements OnInit { + @Input() variant!: VariantSummaryFieldsFragment + + ngOnInit() { + if (this.variant == undefined) { + throw new Error('Must pass GeneVariant into GeneVariant summary') + } + } +} diff --git a/client/src/app/components/variants/variant-popover/variant-popover.component.html b/client/src/app/components/variants/variant-popover/variant-popover.component.html index 8785005f5..9c1ede6e8 100644 --- a/client/src/app/components/variants/variant-popover/variant-popover.component.html +++ b/client/src/app/components/variants/variant-popover/variant-popover.component.html @@ -38,6 +38,7 @@ nzTitle="Allele Registry ID" nzSpan="2" *ngIf=" + variant.__typename == 'GeneVariant' && variant.alleleRegistryId && variant.alleleRegistryId != 'unregistered' "> diff --git a/client/src/app/components/variants/variant-popover/variant-popover.query.gql b/client/src/app/components/variants/variant-popover/variant-popover.query.gql index 19376ed3c..7faba1301 100644 --- a/client/src/app/components/variants/variant-popover/variant-popover.query.gql +++ b/client/src/app/components/variants/variant-popover/variant-popover.query.gql @@ -4,11 +4,13 @@ query VariantPopover($variantId: Int!) { } } -fragment variantPopoverFields on Variant { +fragment variantPopoverFields on VariantInterface { id name variantAliases - alleleRegistryId + ... on GeneVariant { + alleleRegistryId + } feature { id name diff --git a/client/src/app/components/variants/variants-menu/variants-menu.component.ts b/client/src/app/components/variants/variants-menu/variants-menu.component.ts index 4fb859785..016225b7e 100644 --- a/client/src/app/components/variants/variants-menu/variants-menu.component.ts +++ b/client/src/app/components/variants/variants-menu/variants-menu.component.ts @@ -8,7 +8,6 @@ import { PageInfo, VariantMenuSortColumns, SortDirection, - VariantConnection, MenuVariantTypeFragment, VariantTypesForFeatureGQL, } from '@app/generated/civic.apollo' @@ -45,7 +44,6 @@ export class CvcVariantsMenuComponent implements OnInit { private debouncedQuery = new Subject() private result$!: Observable> - connection$!: Observable private initialQueryVars!: VariantsMenuQueryVariables pageSize = 50 @@ -77,21 +75,22 @@ export class CvcVariantsMenuComponent implements OnInit { startWith(true) ) - this.connection$ = this.result$.pipe( + const connection$ = this.result$.pipe( map((r) => r.data?.variants), filter(isNonNulled) - ) as Observable + ) - this.pageInfo$ = this.connection$.pipe( + this.pageInfo$ = connection$.pipe( map((c) => c.pageInfo), filter(isNonNulled) ) - this.menuVariants$ = this.connection$.pipe( - map((c) => c.edges.map((e) => e.node), filter(isNonNulled)) + this.menuVariants$ = connection$.pipe( + map((c) => c.nodes), + filter(isNonNulled) ) - this.totalVariants$ = this.connection$.pipe(map((c) => c.totalCount)) + this.totalVariants$ = connection$.pipe(map((c) => c.totalCount)) this.debouncedQuery .pipe(debounceTime(500), untilDestroyed(this)) diff --git a/client/src/app/components/variants/variants-menu/variants-menu.gql b/client/src/app/components/variants/variants-menu/variants-menu.gql index 6c1ce9292..90aaed734 100644 --- a/client/src/app/components/variants/variants-menu/variants-menu.gql +++ b/client/src/app/components/variants/variants-menu/variants-menu.gql @@ -27,11 +27,8 @@ query VariantsMenu( hasPreviousPage hasNextPage } - edges { - cursor - node { - ...menuVariant - } + nodes { + ...menuVariant } } } @@ -57,7 +54,7 @@ fragment menuVariantType on BrowseVariantType { link } -fragment menuVariant on Variant { +fragment menuVariant on VariantInterface { id name link diff --git a/client/src/app/components/variants/variants-table/variants-table.component.html b/client/src/app/components/variants/variants-table/variants-table.component.html index 52b1f9131..9749c4eb6 100644 --- a/client/src/app/components/variants/variants-table/variants-table.component.html +++ b/client/src/app/components/variants/variants-table/variants-table.component.html @@ -53,6 +53,11 @@ [nzSortFn]="true"> Variant + + Category + + + + + + + + + + + + {{ variant.category }} + + Variant Curation SOP", + label: 'Name', + required: true, + rows: 1, + }, + }, + { + key: 'aliases', + type: 'tag-multi-input', + props: { + label: 'Aliases', + description: + 'List any aliases commonly used to refer to this Variant', + placeholder: 'Enter Alias and hit return', + }, + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsiveIndexed: [ + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, xl: 12, xxl: 8 }, + ], + }, + }, + fieldGroup: [ + { + key: 'variantTypeIds', + type: 'variant-type-multi-select', + }, + { + key: 'ncitId', + type: 'base-input', + props: { + placeholder: 'NCI Thesaurus Code', + description: + 'Enter the NCI Thesaurus ID for this Factor Variant', + label: 'NCI Thesaurus ID', + required: false, + }, + }, + ], + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + spanIndexed: [24, 12, 12], + }, + }, + fieldGroup: [ + { + key: 'comment', + type: 'base-textarea', + props: { + label: 'Comment', + placeholder: 'Please enter a comment describing your revisions.', + required: true, + minLength: 10, + }, + }, + { + type: 'cvc-cancel-button', + }, + { + key: 'organizationId', + type: 'org-submit-button', + props: { + submitLabel: 'Submit Variant Revisions', + align: 'right', + }, + }, + ], + }, + ], + }, +] +export const factorVariantReviseFields: FormlyFieldConfig[] = + assignFieldConfigDefaultValues( + formFieldConfig, + factorVariantReviseFormInitialModel + ) diff --git a/client/src/app/forms/config/variant-revise/variant-revise.form.html b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.html similarity index 100% rename from client/src/app/forms/config/variant-revise/variant-revise.form.html rename to client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.html diff --git a/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.module.ts b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.module.ts new file mode 100644 index 000000000..0f2c94094 --- /dev/null +++ b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core' +import { CommonModule } from '@angular/common' +import { NzFormModule } from 'ng-zorro-antd/form' +import { NzButtonModule } from 'ng-zorro-antd/button' +import { CvcForms2Module } from '@app/forms/forms.module' +import { NgxJsonViewerModule } from 'ngx-json-viewer' +import { LetDirective, PushPipe } from '@ngrx/component' +import { CvcFormSubmissionStatusDisplayModule } from '@app/forms/components/form-submission-status-display/form-submission-status-display.module' +import { CvcFactorVariantReviseForm } from './factor-variant-revise.form' + +@NgModule({ + declarations: [CvcFactorVariantReviseForm], + imports: [ + CommonModule, + LetDirective, + PushPipe, + NzFormModule, + NzButtonModule, + CvcForms2Module, + CvcFormSubmissionStatusDisplayModule, + + NgxJsonViewerModule, // debug + ], + exports: [CvcFactorVariantReviseForm], +}) +export class CvcFactorVariantReviseFormModule {} diff --git a/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.ts b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.ts new file mode 100644 index 000000000..f4f788fdc --- /dev/null +++ b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.form.ts @@ -0,0 +1,100 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + Input, + OnInit, +} from '@angular/core' +import { UntypedFormGroup } from '@angular/forms' +import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy' +import { FormlyFieldConfig } from '@ngx-formly/core' +import { + MutationState, + MutatorWithState, +} from '@app/core/utilities/mutation-state-wrapper' +import { NetworkErrorsService } from '@app/core/services/network-errors.service' +import { FactorVariantReviseModel } from '@app/forms/models/factor-variant-revise.model' +import { + FactorVariantRevisableFieldsGQL, + SuggestFactorVariantRevisionGQL, + SuggestFactorVariantRevisionMutation, + SuggestFactorVariantRevisionMutationVariables, +} from '@app/generated/civic.apollo' +import { factorVariantReviseFields } from './factor-variant-revise.form.config' +import { + factorVariantFormModelToReviseInput, + factorVariantToModelFields, +} from '@app/forms/utilities/factor-variant-to-model-fields' + +@UntilDestroy() +@Component({ + selector: 'cvc-factor-variant-revise-form', + templateUrl: './factor-variant-revise.form.html', + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class CvcFactorVariantReviseForm implements OnInit, AfterViewInit { + @Input() variantId!: number + model?: FactorVariantReviseModel + form: UntypedFormGroup + fields: FormlyFieldConfig[] + + reviseVariantMutator: MutatorWithState< + SuggestFactorVariantRevisionGQL, + SuggestFactorVariantRevisionMutation, + SuggestFactorVariantRevisionMutationVariables + > + + mutationState?: MutationState + url?: string + + constructor( + private revisableFieldsGQL: FactorVariantRevisableFieldsGQL, + private submitRevisionsGQL: SuggestFactorVariantRevisionGQL, + private networkErrorService: NetworkErrorsService, + private cdr: ChangeDetectorRef + ) { + this.form = new UntypedFormGroup({}) + this.fields = factorVariantReviseFields + this.reviseVariantMutator = new MutatorWithState(networkErrorService) + } + + ngOnInit() { + this.url = `/variants/${this.variantId}/revisions` + } + + ngAfterViewInit(): void { + this.revisableFieldsGQL + .fetch({ variantId: this.variantId }) + .pipe(untilDestroyed(this)) + .subscribe({ + next: ({ data: { variant } }) => { + if (variant && variant.__typename == 'FactorVariant') { + this.model = { + id: variant.id, + fields: factorVariantToModelFields(variant), + } + this.cdr.detectChanges() + } + }, + error: (error) => { + console.error('Error retrieving Variant.') + console.error(error) + }, + complete: () => {}, + }) + } + + onSubmit(model: FactorVariantReviseModel) { + if (!this.variantId) { + return + } + let input = factorVariantFormModelToReviseInput(this.variantId, model) + if (input) { + this.mutationState = this.reviseVariantMutator.mutate( + this.submitRevisionsGQL, + { input: input } + ) + } + } +} diff --git a/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.query.gql b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.query.gql new file mode 100644 index 000000000..ac03b8b44 --- /dev/null +++ b/client/src/app/forms/config/factor-variant-revise/factor-variant-revise.query.gql @@ -0,0 +1,37 @@ +query FactorVariantRevisableFields($variantId: Int!) { + variant(id: $variantId) { + id + ... on FactorVariant { + ...RevisableFactorVariantFields + } + } +} + +fragment RevisableFactorVariantFields on FactorVariant { + name + feature { + id + name + } + variantAliases + variantTypes { + id + name + soid + } + ncitId +} + +mutation SuggestFactorVariantRevision($input: SuggestFactorVariantRevisionInput!) { + suggestFactorVariantRevision(input: $input) { + clientMutationId + variant { + id + } + results { + id + fieldName + newlyCreated + } + } +} diff --git a/client/src/app/forms/config/variant-revise/variant-revise.form.config.ts b/client/src/app/forms/config/factor-variant-revise/variant-revise.form.config.ts similarity index 98% rename from client/src/app/forms/config/variant-revise/variant-revise.form.config.ts rename to client/src/app/forms/config/factor-variant-revise/variant-revise.form.config.ts index 773576b3b..ff35f4cf3 100644 --- a/client/src/app/forms/config/variant-revise/variant-revise.form.config.ts +++ b/client/src/app/forms/config/factor-variant-revise/variant-revise.form.config.ts @@ -1,6 +1,6 @@ import { AbstractControl } from '@angular/forms' import { Chromosomes } from '@app/forms/utilities/input-formatters' -import { variantReviseFormInitialModel } from '@app/forms/models/variant-revise.model' +import { geneVariantReviseFormInitialModel } from '@app/forms/models/gene-variant-revise.model' import assignFieldConfigDefaultValues from '@app/forms/utilities/assign-field-default-values' import { CvcFormCardWrapperProps } from '@app/forms/wrappers/form-card/form-card.wrapper' import { CvcFormLayoutWrapperProps } from '@app/forms/wrappers/form-layout/form-layout.wrapper' @@ -359,5 +359,8 @@ const formFieldConfig: FormlyFieldConfig[] = [ ], }, ] -export const variantReviseFields: FormlyFieldConfig[] = - assignFieldConfigDefaultValues(formFieldConfig, variantReviseFormInitialModel) +export const geneVariantReviseFields: FormlyFieldConfig[] = + assignFieldConfigDefaultValues( + formFieldConfig, + geneVariantReviseFormInitialModel + ) diff --git a/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.config.ts b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.config.ts new file mode 100644 index 000000000..2eedb98dc --- /dev/null +++ b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.config.ts @@ -0,0 +1,367 @@ +import { AbstractControl } from '@angular/forms' +import { Chromosomes } from '@app/forms/utilities/input-formatters' +import { geneVariantReviseFormInitialModel } from '@app/forms/models/gene-variant-revise.model' +import assignFieldConfigDefaultValues from '@app/forms/utilities/assign-field-default-values' +import { CvcFormCardWrapperProps } from '@app/forms/wrappers/form-card/form-card.wrapper' +import { CvcFormLayoutWrapperProps } from '@app/forms/wrappers/form-layout/form-layout.wrapper' +import { FormlyFieldConfig } from '@ngx-formly/core' +import { CvcFormRowWrapperProps } from '@app/forms/wrappers/form-row/form-row.wrapper' +import { CvcOrgSubmitButtonFieldConfig } from '@app/forms/types/org-submit-button/org-submit-button.type' + +const formFieldConfig: FormlyFieldConfig[] = [ + { + wrappers: ['form-layout'], + props: { + showDevPanel: false, + }, + fieldGroup: [ + { + key: 'clientMutationId', + props: { + hidden: true, + }, + }, + { + key: 'fields', + wrappers: ['form-card'], + props: { + formCardOptions: { title: 'Revise Variant' }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsiveIndexed: [ + { xs: 24, md: 12, lg: 8 }, + { xs: 24, md: 12, lg: 8 }, + { xs: 24, lg: 8 }, + ], + }, + }, + fieldGroup: [ + { + key: 'featureId', + type: 'feature-select', + props: { + description: 'Enter an Entrez Gene for this Variant', + required: true, + canChangeFeatureType: false, + }, + }, + { + key: 'name', + type: 'base-input', + props: { + placeholder: 'Enter a name for this Variant', + description: + "Enter the name of the Variant according to the Variant Curation SOP", + label: 'Name', + required: true, + rows: 1, + }, + }, + { + key: 'aliases', + type: 'tag-multi-input', + props: { + label: 'Aliases', + description: + 'List any aliases commonly used to refer to this Variant', + placeholder: 'Enter Alias and hit return', + }, + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsiveIndexed: [ + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, xl: 12, xxl: 8 }, + ], + }, + }, + fieldGroup: [ + { + key: 'hgvsDescriptions', + type: 'tag-multi-input', + props: { + label: 'HGVS Descriptions', + description: + 'Enter any HGVS nomenclature descriptions of this Variant', + tooltip: + 'Human Genome Variation Society nomenclature descriptions', + placeholder: 'Enter HGVS and hit return', + }, + }, + { + key: 'variantTypeIds', + type: 'variant-type-multi-select', + }, + { + key: 'clinvarIds', + type: 'clinvar-multi-input', + wrappers: ['form-field'], + props: { + label: 'ClinVar IDs', + }, + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + span: 24, + }, + }, + fieldGroup: [ + { + wrappers: ['form-card'], + props: { + formCardOptions: { + title: `Primary (5') Coordinates`, + size: 'small', + }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsive: { xs: 24, md: 12, lg: 8, xxl: 6 }, + }, + }, + fieldGroup: [ + { + key: 'referenceBuild', + type: 'reference-build-select', + }, + { + key: 'ensemblVersion', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^\d{2,3}$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" does not appear to be an Ensembl version number`, + }, + }, + props: { + label: 'Ensembl Version', + description: + 'Enter a valid Ensembl database version (e.g. 75)', + }, + }, + { + key: 'referenceBases', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^[ACTG\\]+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" contains invalid characters.`, + }, + }, + props: { + label: 'Reference Bases', + description: + 'The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank)', + }, + }, + { + key: 'variantBases', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^[ACTG\\]+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" contains invalid characters.`, + }, + }, + props: { + label: 'Variant Bases', + description: + 'The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank)', + }, + }, + { + key: 'chromosome', + type: 'base-select', + props: { + label: 'Chromosome', + options: Chromosomes, + description: + 'Specify the chromosome in which this variant occurs (e.g. 17).', + }, + }, + { + key: 'start', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Start coordinate must be numeric', + }, + }, + props: { + label: 'Start', + description: + 'Enter the left/first coordinate of this variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'stop', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Stop coordinate must be numeric', + }, + }, + props: { + label: 'Stop', + description: + 'Provide the right/second coordinate of this variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'representativeTranscript', + type: 'base-input', + props: { + label: 'Representative Transcript', + description: + 'Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl).', + }, + }, + ], + }, + ], + }, + { + wrappers: ['form-card'], + props: { + formCardOptions: { + title: `Secondary (3') Coordinates`, + size: 'small', + }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsive: { xs: 24, md: 12, lg: 8, xxl: 6 }, + }, + }, + fieldGroup: [ + { + key: 'chromosome2', + type: 'base-select', + props: { + label: 'Chromosome', + options: Chromosomes, + description: + 'If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner.', + }, + }, + { + key: 'start2', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Start coordinate must be numeric', + }, + }, + props: { + label: 'Start', + description: + 'Enter the left/first coordinate of this 3-prime partner fusion variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'stop2', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Stop coordinate must be numeric', + }, + }, + props: { + label: 'Stop', + description: + 'Provide the right/second coordinate of this 3-prime partner fusion variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'representativeTranscript2', + type: 'base-input', + props: { + label: 'Representative Transcript', + description: + 'Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl).', + }, + }, + ], + }, + ], + }, + ], + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + spanIndexed: [24, 12, 12], + }, + }, + fieldGroup: [ + { + key: 'comment', + type: 'base-textarea', + props: { + label: 'Comment', + placeholder: 'Please enter a comment describing your revisions.', + required: true, + minLength: 10, + }, + }, + { + type: 'cvc-cancel-button', + }, + { + key: 'organizationId', + type: 'org-submit-button', + props: { + submitLabel: 'Submit Variant Revisions', + align: 'right', + }, + }, + ], + }, + ], + }, +] +export const geneVariantReviseFields: FormlyFieldConfig[] = + assignFieldConfigDefaultValues( + formFieldConfig, + geneVariantReviseFormInitialModel + ) diff --git a/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.html b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.html new file mode 100644 index 000000000..4cba0f61e --- /dev/null +++ b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.html @@ -0,0 +1,32 @@ + + + Revision(s) submitted! You will be redirected to the Revisions page or can view them here. + +
+ + +
+ Loading Variant... +
+ diff --git a/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.module.ts b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.module.ts new file mode 100644 index 000000000..01a239377 --- /dev/null +++ b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.module.ts @@ -0,0 +1,26 @@ +import { NgModule } from '@angular/core' +import { CommonModule } from '@angular/common' +import { NzFormModule } from 'ng-zorro-antd/form' +import { NzButtonModule } from 'ng-zorro-antd/button' +import { CvcForms2Module } from '@app/forms/forms.module' +import { NgxJsonViewerModule } from 'ngx-json-viewer' +import { LetDirective, PushPipe } from '@ngrx/component' +import { CvcFormSubmissionStatusDisplayModule } from '@app/forms/components/form-submission-status-display/form-submission-status-display.module' +import { CvcGeneVariantReviseForm } from './gene-variant-revise.form' + +@NgModule({ + declarations: [CvcGeneVariantReviseForm], + imports: [ + CommonModule, + LetDirective, + PushPipe, + NzFormModule, + NzButtonModule, + CvcForms2Module, + CvcFormSubmissionStatusDisplayModule, + + NgxJsonViewerModule, // debug + ], + exports: [CvcGeneVariantReviseForm], +}) +export class CvcGeneVariantReviseFormModule {} diff --git a/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.ts b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.ts new file mode 100644 index 000000000..57943ed72 --- /dev/null +++ b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.form.ts @@ -0,0 +1,100 @@ +import { + AfterViewInit, + ChangeDetectionStrategy, + ChangeDetectorRef, + Component, + Input, + OnInit, +} from '@angular/core' +import { UntypedFormGroup } from '@angular/forms' +import { + GeneVariantRevisableFieldsGQL, + SuggestGeneVariantRevisionGQL, + SuggestGeneVariantRevisionMutation, + SuggestGeneVariantRevisionMutationVariables, +} from '@app/generated/civic.apollo' +import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy' +import { FormlyFieldConfig } from '@ngx-formly/core' +import { + MutationState, + MutatorWithState, +} from '@app/core/utilities/mutation-state-wrapper' +import { NetworkErrorsService } from '@app/core/services/network-errors.service' +import { GeneVariantReviseModel } from '@app/forms/models/gene-variant-revise.model' +import { geneVariantReviseFields } from './gene-variant-revise.form.config' +import { + geneVariantFormModelToReviseInput, + geneVariantToModelFields, +} from '@app/forms/utilities/gene-variant-to-model-fields' + +@UntilDestroy() +@Component({ + selector: 'cvc-gene-variant-revise-form', + templateUrl: './gene-variant-revise.form.html', + changeDetection: ChangeDetectionStrategy.OnPush, +}) +export class CvcGeneVariantReviseForm implements OnInit, AfterViewInit { + @Input() variantId!: number + model?: GeneVariantReviseModel + form: UntypedFormGroup + fields: FormlyFieldConfig[] + + reviseVariantMutator: MutatorWithState< + SuggestGeneVariantRevisionGQL, + SuggestGeneVariantRevisionMutation, + SuggestGeneVariantRevisionMutationVariables + > + + mutationState?: MutationState + url?: string + + constructor( + private revisableFieldsGQL: GeneVariantRevisableFieldsGQL, + private submitRevisionsGQL: SuggestGeneVariantRevisionGQL, + private networkErrorService: NetworkErrorsService, + private cdr: ChangeDetectorRef + ) { + this.form = new UntypedFormGroup({}) + this.fields = geneVariantReviseFields + this.reviseVariantMutator = new MutatorWithState(networkErrorService) + } + + ngOnInit() { + this.url = `/variants/${this.variantId}/revisions` + } + + ngAfterViewInit(): void { + this.revisableFieldsGQL + .fetch({ variantId: this.variantId }) + .pipe(untilDestroyed(this)) + .subscribe({ + next: ({ data: { variant } }) => { + if (variant && variant.__typename == 'GeneVariant') { + this.model = { + id: variant.id, + fields: geneVariantToModelFields(variant), + } + this.cdr.detectChanges() + } + }, + error: (error) => { + console.error('Error retrieving Variant.') + console.error(error) + }, + complete: () => {}, + }) + } + + onSubmit(model: GeneVariantReviseModel) { + if (!this.variantId) { + return + } + let input = geneVariantFormModelToReviseInput(this.variantId, model) + if (input) { + this.mutationState = this.reviseVariantMutator.mutate( + this.submitRevisionsGQL, + { input: input } + ) + } + } +} diff --git a/client/src/app/forms/config/variant-revise/variant-revise.query.gql b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.query.gql similarity index 65% rename from client/src/app/forms/config/variant-revise/variant-revise.query.gql rename to client/src/app/forms/config/gene-variant-revise/gene-variant-revise.query.gql index 2258f00cd..5de1293ca 100644 --- a/client/src/app/forms/config/variant-revise/variant-revise.query.gql +++ b/client/src/app/forms/config/gene-variant-revise/gene-variant-revise.query.gql @@ -1,11 +1,13 @@ -query VariantRevisableFields($variantId: Int!) { +query GeneVariantRevisableFields($variantId: Int!) { variant(id: $variantId) { - ...RevisableVariantFields + id + ... on GeneVariant { + ...RevisableGeneVariantFields + } } } -fragment RevisableVariantFields on Variant { - id +fragment RevisableGeneVariantFields on GeneVariant { name feature { id @@ -39,8 +41,8 @@ fragment CoordinateFields on Coordinate { stop } -mutation SuggestVariantRevision($input: SuggestVariantRevisionInput!) { - suggestVariantRevision(input: $input) { +mutation SuggestGeneVariantRevision($input: SuggestGeneVariantRevisionInput!) { + suggestGeneVariantRevision(input: $input) { clientMutationId variant { id diff --git a/client/src/app/forms/config/gene-variant-revise/variant-revise.form.config.ts b/client/src/app/forms/config/gene-variant-revise/variant-revise.form.config.ts new file mode 100644 index 000000000..ff35f4cf3 --- /dev/null +++ b/client/src/app/forms/config/gene-variant-revise/variant-revise.form.config.ts @@ -0,0 +1,366 @@ +import { AbstractControl } from '@angular/forms' +import { Chromosomes } from '@app/forms/utilities/input-formatters' +import { geneVariantReviseFormInitialModel } from '@app/forms/models/gene-variant-revise.model' +import assignFieldConfigDefaultValues from '@app/forms/utilities/assign-field-default-values' +import { CvcFormCardWrapperProps } from '@app/forms/wrappers/form-card/form-card.wrapper' +import { CvcFormLayoutWrapperProps } from '@app/forms/wrappers/form-layout/form-layout.wrapper' +import { FormlyFieldConfig } from '@ngx-formly/core' +import { CvcFormRowWrapperProps } from '@app/forms/wrappers/form-row/form-row.wrapper' +import { CvcOrgSubmitButtonFieldConfig } from '@app/forms/types/org-submit-button/org-submit-button.type' + +const formFieldConfig: FormlyFieldConfig[] = [ + { + wrappers: ['form-layout'], + props: { + showDevPanel: false, + }, + fieldGroup: [ + { + key: 'clientMutationId', + props: { + hidden: true, + }, + }, + { + key: 'fields', + wrappers: ['form-card'], + props: { + formCardOptions: { title: 'Revise Variant' }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsiveIndexed: [ + { xs: 24, md: 12, lg: 8 }, + { xs: 24, md: 12, lg: 8 }, + { xs: 24, lg: 8 }, + ], + }, + }, + fieldGroup: [ + { + key: 'featureId', + type: 'feature-select', + props: { + description: 'Enter an Entrez Gene for this Variant', + required: true, + }, + }, + { + key: 'name', + type: 'base-input', + props: { + placeholder: 'Enter a name for this Variant', + description: + "Enter the name of the Variant according to the Variant Curation SOP", + label: 'Name', + required: true, + rows: 1, + }, + }, + { + key: 'aliases', + type: 'tag-multi-input', + props: { + label: 'Aliases', + description: + 'List any aliases commonly used to refer to this Variant', + placeholder: 'Enter Alias and hit return', + }, + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsiveIndexed: [ + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, lg: 12, xl: 6, xxl: 8 }, + { xs: 24, xl: 12, xxl: 8 }, + ], + }, + }, + fieldGroup: [ + { + key: 'hgvsDescriptions', + type: 'tag-multi-input', + props: { + label: 'HGVS Descriptions', + description: + 'Enter any HGVS nomenclature descriptions of this Variant', + tooltip: + 'Human Genome Variation Society nomenclature descriptions', + placeholder: 'Enter HGVS and hit return', + }, + }, + { + key: 'variantTypeIds', + type: 'variant-type-multi-select', + }, + { + key: 'clinvarIds', + type: 'clinvar-multi-input', + wrappers: ['form-field'], + props: { + label: 'ClinVar IDs', + }, + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + span: 24, + }, + }, + fieldGroup: [ + { + wrappers: ['form-card'], + props: { + formCardOptions: { + title: `Primary (5') Coordinates`, + size: 'small', + }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsive: { xs: 24, md: 12, lg: 8, xxl: 6 }, + }, + }, + fieldGroup: [ + { + key: 'referenceBuild', + type: 'reference-build-select', + }, + { + key: 'ensemblVersion', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^\d{2,3}$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" does not appear to be an Ensembl version number`, + }, + }, + props: { + label: 'Ensembl Version', + description: + 'Enter a valid Ensembl database version (e.g. 75)', + }, + }, + { + key: 'referenceBases', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^[ACTG\\]+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" contains invalid characters.`, + }, + }, + props: { + label: 'Reference Bases', + description: + 'The nucleotide(s) of the reference genome affected by the variant. Only used for SNVs and Indels (otherwise leave blank)', + }, + }, + { + key: 'variantBases', + type: 'base-input', + validators: { + nccnVersionNumber: { + expression: (c: AbstractControl) => + c.value ? /^[ACTG\\]+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + `"${field.formControl?.value}" contains invalid characters.`, + }, + }, + props: { + label: 'Variant Bases', + description: + 'The nucleotide(s) of the variant allele. Only used for SNVs and Indels (otherwise leave blank)', + }, + }, + { + key: 'chromosome', + type: 'base-select', + props: { + label: 'Chromosome', + options: Chromosomes, + description: + 'Specify the chromosome in which this variant occurs (e.g. 17).', + }, + }, + { + key: 'start', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Start coordinate must be numeric', + }, + }, + props: { + label: 'Start', + description: + 'Enter the left/first coordinate of this variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'stop', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Stop coordinate must be numeric', + }, + }, + props: { + label: 'Stop', + description: + 'Provide the right/second coordinate of this variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'representativeTranscript', + type: 'base-input', + props: { + label: 'Representative Transcript', + description: + 'Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl).', + }, + }, + ], + }, + ], + }, + { + wrappers: ['form-card'], + props: { + formCardOptions: { + title: `Secondary (3') Coordinates`, + size: 'small', + }, + }, + fieldGroup: [ + { + wrappers: ['form-row'], + props: { + formRowOptions: { + responsive: { xs: 24, md: 12, lg: 8, xxl: 6 }, + }, + }, + fieldGroup: [ + { + key: 'chromosome2', + type: 'base-select', + props: { + label: 'Chromosome', + options: Chromosomes, + description: + 'If this variant is a fusion (e.g. BCR-ABL1), specify the chromosome name, coordinates, and representative transcript for the 3-prime partner.', + }, + }, + { + key: 'start2', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Start coordinate must be numeric', + }, + }, + props: { + label: 'Start', + description: + 'Enter the left/first coordinate of this 3-prime partner fusion variant. Must be ≤ the Stop coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'stop2', + type: 'base-input', + validators: { + isNumeric: { + expression: (c: AbstractControl) => + c.value ? /^\d+$/.test(c.value) : true, + message: (_: any, field: FormlyFieldConfig) => + 'Stop coordinate must be numeric', + }, + }, + props: { + label: 'Stop', + description: + 'Provide the right/second coordinate of this 3-prime partner fusion variant. Must be ≥ the Start coordinate. Coordinate must be compatible with the selected reference build.', + }, + }, + { + key: 'representativeTranscript2', + type: 'base-input', + props: { + label: 'Representative Transcript', + description: + 'Specify a transcript ID, including version number (e.g. ENST00000348159.4, the canonical transcript defined by Ensembl).', + }, + }, + ], + }, + ], + }, + ], + }, + ], + }, + { + wrappers: ['form-row'], + props: { + formRowOptions: { + spanIndexed: [24, 12, 12], + }, + }, + fieldGroup: [ + { + key: 'comment', + type: 'base-textarea', + props: { + label: 'Comment', + placeholder: 'Please enter a comment describing your revisions.', + required: true, + minLength: 10, + }, + }, + { + type: 'cvc-cancel-button', + }, + { + key: 'organizationId', + type: 'org-submit-button', + props: { + submitLabel: 'Submit Variant Revisions', + align: 'right', + }, + }, + ], + }, + ], + }, +] +export const geneVariantReviseFields: FormlyFieldConfig[] = + assignFieldConfigDefaultValues( + formFieldConfig, + geneVariantReviseFormInitialModel + ) diff --git a/client/src/app/forms/config/variant-revise/variant-revise.form.module.ts b/client/src/app/forms/config/variant-revise/variant-revise.form.module.ts deleted file mode 100644 index 544c9ee88..000000000 --- a/client/src/app/forms/config/variant-revise/variant-revise.form.module.ts +++ /dev/null @@ -1,29 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { NzFormModule } from 'ng-zorro-antd/form'; -import { NzButtonModule } from 'ng-zorro-antd/button'; -import { CvcForms2Module } from '@app/forms/forms.module'; -import { NgxJsonViewerModule } from 'ngx-json-viewer'; -import { LetDirective, PushPipe } from '@ngrx/component'; -import { CvcFormSubmissionStatusDisplayModule } from '@app/forms/components/form-submission-status-display/form-submission-status-display.module'; -import { CvcVariantReviseForm } from './variant-revise.form'; - -@NgModule({ - declarations: [ - CvcVariantReviseForm - ], - imports: [ - CommonModule, - LetDirective, PushPipe, - NzFormModule, - NzButtonModule, - CvcForms2Module, - CvcFormSubmissionStatusDisplayModule, - - NgxJsonViewerModule, // debug - ], - exports: [ - CvcVariantReviseForm - ] -}) -export class CvcVariantReviseFormModule { } diff --git a/client/src/app/forms/config/variant-revise/variant-revise.form.ts b/client/src/app/forms/config/variant-revise/variant-revise.form.ts deleted file mode 100644 index 2f9943289..000000000 --- a/client/src/app/forms/config/variant-revise/variant-revise.form.ts +++ /dev/null @@ -1,84 +0,0 @@ -import { - AfterViewInit, - ChangeDetectionStrategy, - ChangeDetectorRef, - Component, - Input, - OnInit, -} from '@angular/core' -import { UntypedFormGroup } from '@angular/forms' -import { SuggestVariantRevisionGQL, SuggestVariantRevisionMutation, SuggestVariantRevisionMutationVariables, VariantRevisableFieldsGQL } from '@app/generated/civic.apollo' -import { UntilDestroy, untilDestroyed } from '@ngneat/until-destroy' -import { FormlyFieldConfig } from '@ngx-formly/core' -import { MutationState, MutatorWithState } from '@app/core/utilities/mutation-state-wrapper' -import { NetworkErrorsService } from '@app/core/services/network-errors.service' -import { VariantReviseModel } from '@app/forms/models/variant-revise.model' -import { variantReviseFields } from './variant-revise.form.config' -import { variantFormModelToReviseInput, variantToModelFields } from '@app/forms/utilities/variant-to-model-fields' - -@UntilDestroy() -@Component({ - selector: 'cvc-variant-revise-form', - templateUrl: './variant-revise.form.html', - changeDetection: ChangeDetectionStrategy.OnPush, -}) -export class CvcVariantReviseForm implements OnInit, AfterViewInit { - @Input() variantId!: number - model?: VariantReviseModel - form: UntypedFormGroup - fields: FormlyFieldConfig[] - - reviseVariantMutator: MutatorWithState< - SuggestVariantRevisionGQL, - SuggestVariantRevisionMutation, - SuggestVariantRevisionMutationVariables - > - - mutationState?: MutationState - url?: string - - constructor( - private revisableFieldsGQL: VariantRevisableFieldsGQL, - private submitRevisionsGQL: SuggestVariantRevisionGQL, - private networkErrorService: NetworkErrorsService, - private cdr: ChangeDetectorRef - ) { - this.form = new UntypedFormGroup({}) - this.fields = variantReviseFields - this.reviseVariantMutator = new MutatorWithState(networkErrorService) - } - - ngOnInit() { - this.url = `/variants/${this.variantId }/revisions` - } - - ngAfterViewInit(): void { - this.revisableFieldsGQL - .fetch({ variantId: this.variantId }) - .pipe(untilDestroyed(this)) - .subscribe({ - next: ({ data: { variant } }) => { - if (variant) { - this.model = { - id: variant.id, - fields: variantToModelFields(variant), - } - this.cdr.detectChanges() - } - }, - error: (error) => { - console.error('Error retrieving Variant.') - console.error(error) - }, - complete: () => { }, - }) - } - - onSubmit(model: VariantReviseModel) { - if(!this.variantId) {return} - let input = variantFormModelToReviseInput(this.variantId, model) - if (input) { - this.mutationState = this.reviseVariantMutator.mutate(this.submitRevisionsGQL, { input: input}) - } - } -} diff --git a/client/src/app/forms/models/factor-variant-fields.model.ts b/client/src/app/forms/models/factor-variant-fields.model.ts new file mode 100644 index 000000000..fb7f6be4b --- /dev/null +++ b/client/src/app/forms/models/factor-variant-fields.model.ts @@ -0,0 +1,7 @@ +export type FactorVariantFields = { + name?: string + aliases?: string[] + variantTypeIds?: number[] + featureId?: number + ncitId?: string +} diff --git a/client/src/app/forms/models/factor-variant-revise.model.ts b/client/src/app/forms/models/factor-variant-revise.model.ts new file mode 100644 index 000000000..818da9c0c --- /dev/null +++ b/client/src/app/forms/models/factor-variant-revise.model.ts @@ -0,0 +1,22 @@ +import { FormReviseBaseModel } from './form-revise-base.model' +import { FactorVariantFields } from './factor-variant-fields.model' + +export interface FactorVariantReviseModel extends FormReviseBaseModel { + fields: FactorVariantFields +} + +export const factorVariantReviseFieldsDefaults: FactorVariantFields = { + name: undefined, + aliases: undefined, + variantTypeIds: undefined, + featureId: undefined, + ncitId: undefined, +} + +export const factorVariantReviseFormInitialModel: FactorVariantReviseModel = { + id: undefined, + clientMutationId: undefined, + fields: factorVariantReviseFieldsDefaults, + comment: undefined, + organizationId: undefined, +} diff --git a/client/src/app/forms/models/variant-fields.model.ts b/client/src/app/forms/models/gene-variant-fields.model.ts similarity index 82% rename from client/src/app/forms/models/variant-fields.model.ts rename to client/src/app/forms/models/gene-variant-fields.model.ts index 150e7572f..e4dcbd54a 100644 --- a/client/src/app/forms/models/variant-fields.model.ts +++ b/client/src/app/forms/models/gene-variant-fields.model.ts @@ -1,6 +1,6 @@ -import { ReferenceBuild } from "@app/generated/civic.apollo" +import { ReferenceBuild } from '@app/generated/civic.apollo' -export type VariantFields = { +export type GeneVariantFields = { name?: string aliases?: string[] hgvsDescriptions?: string[] diff --git a/client/src/app/forms/models/variant-revise.model.ts b/client/src/app/forms/models/gene-variant-revise.model.ts similarity index 59% rename from client/src/app/forms/models/variant-revise.model.ts rename to client/src/app/forms/models/gene-variant-revise.model.ts index 3da747aaa..3a650b383 100644 --- a/client/src/app/forms/models/variant-revise.model.ts +++ b/client/src/app/forms/models/gene-variant-revise.model.ts @@ -1,11 +1,11 @@ import { FormReviseBaseModel } from './form-revise-base.model' -import { VariantFields } from './variant-fields.model' +import { GeneVariantFields } from './gene-variant-fields.model' -export interface VariantReviseModel extends FormReviseBaseModel { - fields: VariantFields +export interface GeneVariantReviseModel extends FormReviseBaseModel { + fields: GeneVariantFields } -export const variantReviseFieldsDefaults: VariantFields = { +export const geneVariantReviseFieldsDefaults: GeneVariantFields = { name: undefined, aliases: undefined, hgvsDescriptions: undefined, @@ -23,13 +23,13 @@ export const variantReviseFieldsDefaults: VariantFields = { representativeTranscript2: undefined, featureId: undefined, referenceBases: undefined, - variantBases: undefined + variantBases: undefined, } -export const variantReviseFormInitialModel: VariantReviseModel = { +export const geneVariantReviseFormInitialModel: GeneVariantReviseModel = { id: undefined, clientMutationId: undefined, - fields: variantReviseFieldsDefaults, + fields: geneVariantReviseFieldsDefaults, comment: undefined, - organizationId: undefined + organizationId: undefined, } diff --git a/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.module.ts b/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.module.ts index 846f5cfec..ee70679dc 100644 --- a/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.module.ts +++ b/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.module.ts @@ -1,11 +1,10 @@ import { NgModule } from '@angular/core' import { CommonModule } from '@angular/common' import { VariantReviseTestPage } from './variant-revise-test.page' -import { CvcVariantReviseFormModule } from '@app/forms/config/variant-revise/variant-revise.form.module' +import { CvcGeneVariantReviseFormModule } from '@app/forms/config/gene-variant-revise/gene-variant-revise.form.module' @NgModule({ declarations: [VariantReviseTestPage], - imports: [CommonModule, CvcVariantReviseFormModule], + imports: [CommonModule, CvcGeneVariantReviseFormModule], }) export class VariantReviseTestModule {} - diff --git a/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.page.html b/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.page.html index 0d5b44a62..c747c5617 100644 --- a/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.page.html +++ b/client/src/app/forms/test-pages/variant-revise-test/variant-revise-test.page.html @@ -1 +1,2 @@ - \ No newline at end of file + + diff --git a/client/src/app/forms/types/feature-select/feature-select.type.html b/client/src/app/forms/types/feature-select/feature-select.type.html index 50d8ff65f..5e9caaa09 100644 --- a/client/src/app/forms/types/feature-select/feature-select.type.html +++ b/client/src/app/forms/types/feature-select/feature-select.type.html @@ -3,6 +3,7 @@ > - selectedFeatureType: FeatureInstanceTypes = this.defaultOptions.featureType + selectedFeatureType?: FeatureInstanceTypes = this.props.featureType onFeatureType$?: BehaviorSubject> = new BehaviorSubject>(undefined) @@ -105,6 +106,7 @@ export class CvcFeatureSelectField } ngAfterViewInit(): void { + this.selectedFeatureType = this.props.featureType this.configureBaseField() // mixin fn this.configureEntitySelectField({ // mixin fn diff --git a/client/src/app/forms/types/variant-select/variant-select.query.gql b/client/src/app/forms/types/variant-select/variant-select.query.gql index 7e3c2fae4..26271c7c0 100644 --- a/client/src/app/forms/types/variant-select/variant-select.query.gql +++ b/client/src/app/forms/types/variant-select/variant-select.query.gql @@ -18,7 +18,7 @@ query VariantSelectTag($variantId: Int!) { } } -fragment VariantSelectTypeaheadFields on Variant { +fragment VariantSelectTypeaheadFields on VariantInterface { id name link diff --git a/client/src/app/forms/utilities/factor-variant-to-model-fields.ts b/client/src/app/forms/utilities/factor-variant-to-model-fields.ts new file mode 100644 index 000000000..d964a2e0d --- /dev/null +++ b/client/src/app/forms/utilities/factor-variant-to-model-fields.ts @@ -0,0 +1,43 @@ +import { + Maybe, + RevisableFactorVariantFieldsFragment, + SuggestFactorVariantRevisionInput, +} from '@app/generated/civic.apollo' +import * as fmt from '@app/forms/utilities/input-formatters' +import { FactorVariantReviseModel } from '../models/factor-variant-revise.model' +import { FactorVariantFields } from '../models/factor-variant-fields.model' + +export function factorVariantToModelFields( + variant: RevisableFactorVariantFieldsFragment +): FactorVariantFields { + return { + name: variant.name, + aliases: variant.variantAliases, + variantTypeIds: variant.variantTypes.map((vt) => vt.id), + featureId: variant.feature.id, + ncitId: variant.ncitId, + } +} + +export function factorVariantFormModelToReviseInput( + vid: number, + model: FactorVariantReviseModel +): Maybe { + const fields = model.fields + if (!model.comment || !fields.name || !fields.featureId) { + return undefined + } + + return { + id: vid, + fields: { + name: fields.name, + aliases: fields.aliases || [], + variantTypeIds: fields.variantTypeIds || [], + featureId: fields.featureId, + ncitId: fmt.toNullableString(fields.ncitId), + }, + organizationId: model.organizationId, + comment: model.comment!, + } +} diff --git a/client/src/app/forms/utilities/variant-to-model-fields.ts b/client/src/app/forms/utilities/gene-variant-to-model-fields.ts similarity index 85% rename from client/src/app/forms/utilities/variant-to-model-fields.ts rename to client/src/app/forms/utilities/gene-variant-to-model-fields.ts index c91e9c505..91901b3bf 100644 --- a/client/src/app/forms/utilities/variant-to-model-fields.ts +++ b/client/src/app/forms/utilities/gene-variant-to-model-fields.ts @@ -1,16 +1,16 @@ import { ClinvarInput, Maybe, - RevisableVariantFieldsFragment, - SuggestVariantRevisionInput, + RevisableGeneVariantFieldsFragment, + SuggestGeneVariantRevisionInput, } from '@app/generated/civic.apollo' import * as fmt from '@app/forms/utilities/input-formatters' -import { VariantReviseModel } from '../models/variant-revise.model' -import { VariantFields } from '../models/variant-fields.model' +import { GeneVariantReviseModel } from '../models/gene-variant-revise.model' +import { GeneVariantFields } from '../models/gene-variant-fields.model' -export function variantToModelFields( - variant: RevisableVariantFieldsFragment -): VariantFields { +export function geneVariantToModelFields( + variant: RevisableGeneVariantFieldsFragment +): GeneVariantFields { return { name: variant.name, aliases: variant.variantAliases, @@ -35,10 +35,10 @@ export function variantToModelFields( } } -export function variantFormModelToReviseInput( +export function geneVariantFormModelToReviseInput( vid: number, - model: VariantReviseModel -): Maybe { + model: GeneVariantReviseModel +): Maybe { const fields = model.fields if (!model.comment || !fields.name || !fields.featureId) { return undefined diff --git a/client/src/app/generated/civic.apollo-helpers.ts b/client/src/app/generated/civic.apollo-helpers.ts index 84d7b0d20..457a3aa10 100644 --- a/client/src/app/generated/civic.apollo-helpers.ts +++ b/client/src/app/generated/civic.apollo-helpers.ts @@ -39,7 +39,7 @@ export type ActivityInterfaceFieldPolicy = { user?: FieldPolicy | FieldReadFunction, verbiage?: FieldPolicy | FieldReadFunction }; -export type ActivityInterfaceConnectionKeySpecifier = ('activityTypes' | 'edges' | 'nodes' | 'pageCount' | 'pageInfo' | 'participatingOrganizations' | 'totalCount' | 'unfilteredCount' | 'uniqueParticipants' | ActivityInterfaceConnectionKeySpecifier)[]; +export type ActivityInterfaceConnectionKeySpecifier = ('activityTypes' | 'edges' | 'nodes' | 'pageCount' | 'pageInfo' | 'participatingOrganizations' | 'subjectTypes' | 'totalCount' | 'unfilteredCount' | 'uniqueParticipants' | ActivityInterfaceConnectionKeySpecifier)[]; export type ActivityInterfaceConnectionFieldPolicy = { activityTypes?: FieldPolicy | FieldReadFunction, edges?: FieldPolicy | FieldReadFunction, @@ -47,6 +47,7 @@ export type ActivityInterfaceConnectionFieldPolicy = { pageCount?: FieldPolicy | FieldReadFunction, pageInfo?: FieldPolicy | FieldReadFunction, participatingOrganizations?: FieldPolicy | FieldReadFunction, + subjectTypes?: FieldPolicy | FieldReadFunction, totalCount?: FieldPolicy | FieldReadFunction, unfilteredCount?: FieldPolicy | FieldReadFunction, uniqueParticipants?: FieldPolicy | FieldReadFunction @@ -337,9 +338,10 @@ export type BrowseTherapyEdgeFieldPolicy = { cursor?: FieldPolicy | FieldReadFunction, node?: FieldPolicy | FieldReadFunction }; -export type BrowseVariantKeySpecifier = ('aliases' | 'diseases' | 'featureId' | 'featureLink' | 'featureName' | 'id' | 'link' | 'name' | 'therapies' | 'variantTypes' | BrowseVariantKeySpecifier)[]; +export type BrowseVariantKeySpecifier = ('aliases' | 'category' | 'diseases' | 'featureId' | 'featureLink' | 'featureName' | 'id' | 'link' | 'name' | 'therapies' | 'variantTypes' | BrowseVariantKeySpecifier)[]; export type BrowseVariantFieldPolicy = { aliases?: FieldPolicy | FieldReadFunction, + category?: FieldPolicy | FieldReadFunction, diseases?: FieldPolicy | FieldReadFunction, featureId?: FieldPolicy | FieldReadFunction, featureLink?: FieldPolicy | FieldReadFunction, @@ -846,6 +848,32 @@ export type FactorFieldPolicy = { sources?: FieldPolicy | FieldReadFunction, variants?: FieldPolicy | FieldReadFunction }; +export type FactorVariantKeySpecifier = ('comments' | 'creationActivity' | 'deprecated' | 'deprecationActivity' | 'deprecationReason' | 'events' | 'feature' | 'flagged' | 'flags' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'molecularProfiles' | 'name' | 'ncitDetails' | 'ncitId' | 'revisions' | 'singleVariantMolecularProfile' | 'singleVariantMolecularProfileId' | 'variantAliases' | 'variantTypes' | FactorVariantKeySpecifier)[]; +export type FactorVariantFieldPolicy = { + comments?: FieldPolicy | FieldReadFunction, + creationActivity?: FieldPolicy | FieldReadFunction, + deprecated?: FieldPolicy | FieldReadFunction, + deprecationActivity?: FieldPolicy | FieldReadFunction, + deprecationReason?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + feature?: FieldPolicy | FieldReadFunction, + flagged?: FieldPolicy | FieldReadFunction, + flags?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lastAcceptedRevisionEvent?: FieldPolicy | FieldReadFunction, + lastCommentEvent?: FieldPolicy | FieldReadFunction, + lastSubmittedRevisionEvent?: FieldPolicy | FieldReadFunction, + link?: FieldPolicy | FieldReadFunction, + molecularProfiles?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + ncitDetails?: FieldPolicy | FieldReadFunction, + ncitId?: FieldPolicy | FieldReadFunction, + revisions?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfile?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfileId?: FieldPolicy | FieldReadFunction, + variantAliases?: FieldPolicy | FieldReadFunction, + variantTypes?: FieldPolicy | FieldReadFunction +}; export type FdaCodeKeySpecifier = ('code' | 'description' | FdaCodeKeySpecifier)[]; export type FdaCodeFieldPolicy = { code?: FieldPolicy | FieldReadFunction, @@ -982,6 +1010,42 @@ export type GeneEdgeFieldPolicy = { cursor?: FieldPolicy | FieldReadFunction, node?: FieldPolicy | FieldReadFunction }; +export type GeneVariantKeySpecifier = ('alleleRegistryId' | 'clinvarIds' | 'comments' | 'creationActivity' | 'deprecated' | 'deprecationActivity' | 'deprecationReason' | 'ensemblVersion' | 'events' | 'feature' | 'flagged' | 'flags' | 'hgvsDescriptions' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'maneSelectTranscript' | 'molecularProfiles' | 'myVariantInfo' | 'name' | 'openCravatUrl' | 'primaryCoordinates' | 'referenceBases' | 'referenceBuild' | 'revisions' | 'secondaryCoordinates' | 'singleVariantMolecularProfile' | 'singleVariantMolecularProfileId' | 'variantAliases' | 'variantBases' | 'variantTypes' | GeneVariantKeySpecifier)[]; +export type GeneVariantFieldPolicy = { + alleleRegistryId?: FieldPolicy | FieldReadFunction, + clinvarIds?: FieldPolicy | FieldReadFunction, + comments?: FieldPolicy | FieldReadFunction, + creationActivity?: FieldPolicy | FieldReadFunction, + deprecated?: FieldPolicy | FieldReadFunction, + deprecationActivity?: FieldPolicy | FieldReadFunction, + deprecationReason?: FieldPolicy | FieldReadFunction, + ensemblVersion?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + feature?: FieldPolicy | FieldReadFunction, + flagged?: FieldPolicy | FieldReadFunction, + flags?: FieldPolicy | FieldReadFunction, + hgvsDescriptions?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lastAcceptedRevisionEvent?: FieldPolicy | FieldReadFunction, + lastCommentEvent?: FieldPolicy | FieldReadFunction, + lastSubmittedRevisionEvent?: FieldPolicy | FieldReadFunction, + link?: FieldPolicy | FieldReadFunction, + maneSelectTranscript?: FieldPolicy | FieldReadFunction, + molecularProfiles?: FieldPolicy | FieldReadFunction, + myVariantInfo?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + openCravatUrl?: FieldPolicy | FieldReadFunction, + primaryCoordinates?: FieldPolicy | FieldReadFunction, + referenceBases?: FieldPolicy | FieldReadFunction, + referenceBuild?: FieldPolicy | FieldReadFunction, + revisions?: FieldPolicy | FieldReadFunction, + secondaryCoordinates?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfile?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfileId?: FieldPolicy | FieldReadFunction, + variantAliases?: FieldPolicy | FieldReadFunction, + variantBases?: FieldPolicy | FieldReadFunction, + variantTypes?: FieldPolicy | FieldReadFunction +}; export type LeaderboardOrganizationKeySpecifier = ('actionCount' | 'description' | 'eventCount' | 'events' | 'id' | 'memberCount' | 'members' | 'mostRecentActivityTimestamp' | 'name' | 'orgAndSuborgsStatsHash' | 'orgStatsHash' | 'profileImagePath' | 'rank' | 'ranks' | 'subGroups' | 'url' | LeaderboardOrganizationKeySpecifier)[]; export type LeaderboardOrganizationFieldPolicy = { actionCount?: FieldPolicy | FieldReadFunction, @@ -1213,7 +1277,7 @@ export type MolecularProfileTextSegmentKeySpecifier = ('text' | MolecularProfile export type MolecularProfileTextSegmentFieldPolicy = { text?: FieldPolicy | FieldReadFunction }; -export type MutationKeySpecifier = ('acceptRevisions' | 'addComment' | 'addDisease' | 'addRemoteCitation' | 'addTherapy' | 'createFeature' | 'createMolecularProfile' | 'createVariant' | 'deprecateComplexMolecularProfile' | 'deprecateFeature' | 'deprecateVariant' | 'editUser' | 'flagEntity' | 'moderateAssertion' | 'moderateEvidenceItem' | 'rejectRevisions' | 'resolveFlag' | 'submitAssertion' | 'submitEvidence' | 'submitVariantGroup' | 'subscribe' | 'suggestAssertionRevision' | 'suggestEvidenceItemRevision' | 'suggestFactorRevision' | 'suggestGeneRevision' | 'suggestMolecularProfileRevision' | 'suggestSource' | 'suggestVariantGroupRevision' | 'suggestVariantRevision' | 'unsubscribe' | 'updateCoi' | 'updateNotificationStatus' | 'updateSourceSuggestionStatus' | MutationKeySpecifier)[]; +export type MutationKeySpecifier = ('acceptRevisions' | 'addComment' | 'addDisease' | 'addRemoteCitation' | 'addTherapy' | 'createFeature' | 'createMolecularProfile' | 'createVariant' | 'deprecateComplexMolecularProfile' | 'deprecateFeature' | 'deprecateVariant' | 'editUser' | 'flagEntity' | 'moderateAssertion' | 'moderateEvidenceItem' | 'rejectRevisions' | 'resolveFlag' | 'submitAssertion' | 'submitEvidence' | 'submitVariantGroup' | 'subscribe' | 'suggestAssertionRevision' | 'suggestEvidenceItemRevision' | 'suggestFactorRevision' | 'suggestFactorVariantRevision' | 'suggestGeneRevision' | 'suggestGeneVariantRevision' | 'suggestMolecularProfileRevision' | 'suggestSource' | 'suggestVariantGroupRevision' | 'unsubscribe' | 'updateCoi' | 'updateNotificationStatus' | 'updateSourceSuggestionStatus' | MutationKeySpecifier)[]; export type MutationFieldPolicy = { acceptRevisions?: FieldPolicy | FieldReadFunction, addComment?: FieldPolicy | FieldReadFunction, @@ -1239,11 +1303,12 @@ export type MutationFieldPolicy = { suggestAssertionRevision?: FieldPolicy | FieldReadFunction, suggestEvidenceItemRevision?: FieldPolicy | FieldReadFunction, suggestFactorRevision?: FieldPolicy | FieldReadFunction, + suggestFactorVariantRevision?: FieldPolicy | FieldReadFunction, suggestGeneRevision?: FieldPolicy | FieldReadFunction, + suggestGeneVariantRevision?: FieldPolicy | FieldReadFunction, suggestMolecularProfileRevision?: FieldPolicy | FieldReadFunction, suggestSource?: FieldPolicy | FieldReadFunction, suggestVariantGroupRevision?: FieldPolicy | FieldReadFunction, - suggestVariantRevision?: FieldPolicy | FieldReadFunction, unsubscribe?: FieldPolicy | FieldReadFunction, updateCoi?: FieldPolicy | FieldReadFunction, updateNotificationStatus?: FieldPolicy | FieldReadFunction, @@ -1854,12 +1919,24 @@ export type SuggestFactorRevisionPayloadFieldPolicy = { factor?: FieldPolicy | FieldReadFunction, results?: FieldPolicy | FieldReadFunction }; +export type SuggestFactorVariantRevisionPayloadKeySpecifier = ('clientMutationId' | 'results' | 'variant' | SuggestFactorVariantRevisionPayloadKeySpecifier)[]; +export type SuggestFactorVariantRevisionPayloadFieldPolicy = { + clientMutationId?: FieldPolicy | FieldReadFunction, + results?: FieldPolicy | FieldReadFunction, + variant?: FieldPolicy | FieldReadFunction +}; export type SuggestGeneRevisionPayloadKeySpecifier = ('clientMutationId' | 'gene' | 'results' | SuggestGeneRevisionPayloadKeySpecifier)[]; export type SuggestGeneRevisionPayloadFieldPolicy = { clientMutationId?: FieldPolicy | FieldReadFunction, gene?: FieldPolicy | FieldReadFunction, results?: FieldPolicy | FieldReadFunction }; +export type SuggestGeneVariantRevisionPayloadKeySpecifier = ('clientMutationId' | 'results' | 'variant' | SuggestGeneVariantRevisionPayloadKeySpecifier)[]; +export type SuggestGeneVariantRevisionPayloadFieldPolicy = { + clientMutationId?: FieldPolicy | FieldReadFunction, + results?: FieldPolicy | FieldReadFunction, + variant?: FieldPolicy | FieldReadFunction +}; export type SuggestMolecularProfileRevisionPayloadKeySpecifier = ('clientMutationId' | 'molecularProfile' | 'results' | SuggestMolecularProfileRevisionPayloadKeySpecifier)[]; export type SuggestMolecularProfileRevisionPayloadFieldPolicy = { clientMutationId?: FieldPolicy | FieldReadFunction, @@ -1904,12 +1981,6 @@ export type SuggestVariantGroupRevisionPayloadFieldPolicy = { results?: FieldPolicy | FieldReadFunction, variantGroup?: FieldPolicy | FieldReadFunction }; -export type SuggestVariantRevisionPayloadKeySpecifier = ('clientMutationId' | 'results' | 'variant' | SuggestVariantRevisionPayloadKeySpecifier)[]; -export type SuggestVariantRevisionPayloadFieldPolicy = { - clientMutationId?: FieldPolicy | FieldReadFunction, - results?: FieldPolicy | FieldReadFunction, - variant?: FieldPolicy | FieldReadFunction -}; export type TherapyKeySpecifier = ('id' | 'link' | 'myChemInfo' | 'name' | 'ncitId' | 'therapyAliases' | 'therapyUrl' | TherapyKeySpecifier)[]; export type TherapyFieldPolicy = { id?: FieldPolicy | FieldReadFunction, @@ -2026,59 +2097,34 @@ export type ValidationErrorsFieldPolicy = { genericErrors?: FieldPolicy | FieldReadFunction, validationErrors?: FieldPolicy | FieldReadFunction }; -export type VariantKeySpecifier = ('alleleRegistryId' | 'clinvarIds' | 'comments' | 'creationActivity' | 'deprecated' | 'deprecationActivity' | 'deprecationReason' | 'ensemblVersion' | 'events' | 'feature' | 'flagged' | 'flags' | 'hgvsDescriptions' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'maneSelectTranscript' | 'molecularProfiles' | 'myVariantInfo' | 'name' | 'openCravatUrl' | 'primaryCoordinates' | 'referenceBases' | 'referenceBuild' | 'revisions' | 'secondaryCoordinates' | 'singleVariantMolecularProfile' | 'singleVariantMolecularProfileId' | 'variantAliases' | 'variantBases' | 'variantTypes' | VariantKeySpecifier)[]; +export type VariantKeySpecifier = ('comments' | 'creationActivity' | 'deprecated' | 'deprecationActivity' | 'deprecationReason' | 'events' | 'feature' | 'flagged' | 'flags' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'molecularProfiles' | 'name' | 'revisions' | 'singleVariantMolecularProfile' | 'singleVariantMolecularProfileId' | 'variantAliases' | 'variantTypes' | VariantKeySpecifier)[]; export type VariantFieldPolicy = { - alleleRegistryId?: FieldPolicy | FieldReadFunction, - clinvarIds?: FieldPolicy | FieldReadFunction, comments?: FieldPolicy | FieldReadFunction, creationActivity?: FieldPolicy | FieldReadFunction, deprecated?: FieldPolicy | FieldReadFunction, deprecationActivity?: FieldPolicy | FieldReadFunction, deprecationReason?: FieldPolicy | FieldReadFunction, - ensemblVersion?: FieldPolicy | FieldReadFunction, events?: FieldPolicy | FieldReadFunction, feature?: FieldPolicy | FieldReadFunction, flagged?: FieldPolicy | FieldReadFunction, flags?: FieldPolicy | FieldReadFunction, - hgvsDescriptions?: FieldPolicy | FieldReadFunction, id?: FieldPolicy | FieldReadFunction, lastAcceptedRevisionEvent?: FieldPolicy | FieldReadFunction, lastCommentEvent?: FieldPolicy | FieldReadFunction, lastSubmittedRevisionEvent?: FieldPolicy | FieldReadFunction, link?: FieldPolicy | FieldReadFunction, - maneSelectTranscript?: FieldPolicy | FieldReadFunction, molecularProfiles?: FieldPolicy | FieldReadFunction, - myVariantInfo?: FieldPolicy | FieldReadFunction, name?: FieldPolicy | FieldReadFunction, - openCravatUrl?: FieldPolicy | FieldReadFunction, - primaryCoordinates?: FieldPolicy | FieldReadFunction, - referenceBases?: FieldPolicy | FieldReadFunction, - referenceBuild?: FieldPolicy | FieldReadFunction, revisions?: FieldPolicy | FieldReadFunction, - secondaryCoordinates?: FieldPolicy | FieldReadFunction, singleVariantMolecularProfile?: FieldPolicy | FieldReadFunction, singleVariantMolecularProfileId?: FieldPolicy | FieldReadFunction, variantAliases?: FieldPolicy | FieldReadFunction, - variantBases?: FieldPolicy | FieldReadFunction, variantTypes?: FieldPolicy | FieldReadFunction }; export type VariantAliasKeySpecifier = ('name' | VariantAliasKeySpecifier)[]; export type VariantAliasFieldPolicy = { name?: FieldPolicy | FieldReadFunction }; -export type VariantConnectionKeySpecifier = ('edges' | 'nodes' | 'pageCount' | 'pageInfo' | 'totalCount' | VariantConnectionKeySpecifier)[]; -export type VariantConnectionFieldPolicy = { - edges?: FieldPolicy | FieldReadFunction, - nodes?: FieldPolicy | FieldReadFunction, - pageCount?: FieldPolicy | FieldReadFunction, - pageInfo?: FieldPolicy | FieldReadFunction, - totalCount?: FieldPolicy | FieldReadFunction -}; -export type VariantEdgeKeySpecifier = ('cursor' | 'node' | VariantEdgeKeySpecifier)[]; -export type VariantEdgeFieldPolicy = { - cursor?: FieldPolicy | FieldReadFunction, - node?: FieldPolicy | FieldReadFunction -}; export type VariantGroupKeySpecifier = ('comments' | 'description' | 'events' | 'flagged' | 'flags' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'name' | 'revisions' | 'sources' | 'variants' | VariantGroupKeySpecifier)[]; export type VariantGroupFieldPolicy = { comments?: FieldPolicy | FieldReadFunction, @@ -2109,6 +2155,43 @@ export type VariantGroupEdgeFieldPolicy = { cursor?: FieldPolicy | FieldReadFunction, node?: FieldPolicy | FieldReadFunction }; +export type VariantInterfaceKeySpecifier = ('comments' | 'creationActivity' | 'deprecated' | 'deprecationActivity' | 'deprecationReason' | 'events' | 'feature' | 'flagged' | 'flags' | 'id' | 'lastAcceptedRevisionEvent' | 'lastCommentEvent' | 'lastSubmittedRevisionEvent' | 'link' | 'molecularProfiles' | 'name' | 'revisions' | 'singleVariantMolecularProfile' | 'singleVariantMolecularProfileId' | 'variantAliases' | 'variantTypes' | VariantInterfaceKeySpecifier)[]; +export type VariantInterfaceFieldPolicy = { + comments?: FieldPolicy | FieldReadFunction, + creationActivity?: FieldPolicy | FieldReadFunction, + deprecated?: FieldPolicy | FieldReadFunction, + deprecationActivity?: FieldPolicy | FieldReadFunction, + deprecationReason?: FieldPolicy | FieldReadFunction, + events?: FieldPolicy | FieldReadFunction, + feature?: FieldPolicy | FieldReadFunction, + flagged?: FieldPolicy | FieldReadFunction, + flags?: FieldPolicy | FieldReadFunction, + id?: FieldPolicy | FieldReadFunction, + lastAcceptedRevisionEvent?: FieldPolicy | FieldReadFunction, + lastCommentEvent?: FieldPolicy | FieldReadFunction, + lastSubmittedRevisionEvent?: FieldPolicy | FieldReadFunction, + link?: FieldPolicy | FieldReadFunction, + molecularProfiles?: FieldPolicy | FieldReadFunction, + name?: FieldPolicy | FieldReadFunction, + revisions?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfile?: FieldPolicy | FieldReadFunction, + singleVariantMolecularProfileId?: FieldPolicy | FieldReadFunction, + variantAliases?: FieldPolicy | FieldReadFunction, + variantTypes?: FieldPolicy | FieldReadFunction +}; +export type VariantInterfaceConnectionKeySpecifier = ('edges' | 'nodes' | 'pageCount' | 'pageInfo' | 'totalCount' | VariantInterfaceConnectionKeySpecifier)[]; +export type VariantInterfaceConnectionFieldPolicy = { + edges?: FieldPolicy | FieldReadFunction, + nodes?: FieldPolicy | FieldReadFunction, + pageCount?: FieldPolicy | FieldReadFunction, + pageInfo?: FieldPolicy | FieldReadFunction, + totalCount?: FieldPolicy | FieldReadFunction +}; +export type VariantInterfaceEdgeKeySpecifier = ('cursor' | 'node' | VariantInterfaceEdgeKeySpecifier)[]; +export type VariantInterfaceEdgeFieldPolicy = { + cursor?: FieldPolicy | FieldReadFunction, + node?: FieldPolicy | FieldReadFunction +}; export type VariantTypeKeySpecifier = ('description' | 'id' | 'link' | 'name' | 'soid' | 'url' | VariantTypeKeySpecifier)[]; export type VariantTypeFieldPolicy = { description?: FieldPolicy | FieldReadFunction, @@ -2491,6 +2574,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | FactorKeySpecifier | (() => undefined | FactorKeySpecifier), fields?: FactorFieldPolicy, }, + FactorVariant?: Omit & { + keyFields?: false | FactorVariantKeySpecifier | (() => undefined | FactorVariantKeySpecifier), + fields?: FactorVariantFieldPolicy, + }, FdaCode?: Omit & { keyFields?: false | FdaCodeKeySpecifier | (() => undefined | FdaCodeKeySpecifier), fields?: FdaCodeFieldPolicy, @@ -2543,6 +2630,10 @@ export type StrictTypedTypePolicies = { keyFields?: false | GeneEdgeKeySpecifier | (() => undefined | GeneEdgeKeySpecifier), fields?: GeneEdgeFieldPolicy, }, + GeneVariant?: Omit & { + keyFields?: false | GeneVariantKeySpecifier | (() => undefined | GeneVariantKeySpecifier), + fields?: GeneVariantFieldPolicy, + }, LeaderboardOrganization?: Omit & { keyFields?: false | LeaderboardOrganizationKeySpecifier | (() => undefined | LeaderboardOrganizationKeySpecifier), fields?: LeaderboardOrganizationFieldPolicy, @@ -2855,10 +2946,18 @@ export type StrictTypedTypePolicies = { keyFields?: false | SuggestFactorRevisionPayloadKeySpecifier | (() => undefined | SuggestFactorRevisionPayloadKeySpecifier), fields?: SuggestFactorRevisionPayloadFieldPolicy, }, + SuggestFactorVariantRevisionPayload?: Omit & { + keyFields?: false | SuggestFactorVariantRevisionPayloadKeySpecifier | (() => undefined | SuggestFactorVariantRevisionPayloadKeySpecifier), + fields?: SuggestFactorVariantRevisionPayloadFieldPolicy, + }, SuggestGeneRevisionPayload?: Omit & { keyFields?: false | SuggestGeneRevisionPayloadKeySpecifier | (() => undefined | SuggestGeneRevisionPayloadKeySpecifier), fields?: SuggestGeneRevisionPayloadFieldPolicy, }, + SuggestGeneVariantRevisionPayload?: Omit & { + keyFields?: false | SuggestGeneVariantRevisionPayloadKeySpecifier | (() => undefined | SuggestGeneVariantRevisionPayloadKeySpecifier), + fields?: SuggestGeneVariantRevisionPayloadFieldPolicy, + }, SuggestMolecularProfileRevisionPayload?: Omit & { keyFields?: false | SuggestMolecularProfileRevisionPayloadKeySpecifier | (() => undefined | SuggestMolecularProfileRevisionPayloadKeySpecifier), fields?: SuggestMolecularProfileRevisionPayloadFieldPolicy, @@ -2879,10 +2978,6 @@ export type StrictTypedTypePolicies = { keyFields?: false | SuggestVariantGroupRevisionPayloadKeySpecifier | (() => undefined | SuggestVariantGroupRevisionPayloadKeySpecifier), fields?: SuggestVariantGroupRevisionPayloadFieldPolicy, }, - SuggestVariantRevisionPayload?: Omit & { - keyFields?: false | SuggestVariantRevisionPayloadKeySpecifier | (() => undefined | SuggestVariantRevisionPayloadKeySpecifier), - fields?: SuggestVariantRevisionPayloadFieldPolicy, - }, Therapy?: Omit & { keyFields?: false | TherapyKeySpecifier | (() => undefined | TherapyKeySpecifier), fields?: TherapyFieldPolicy, @@ -2943,14 +3038,6 @@ export type StrictTypedTypePolicies = { keyFields?: false | VariantAliasKeySpecifier | (() => undefined | VariantAliasKeySpecifier), fields?: VariantAliasFieldPolicy, }, - VariantConnection?: Omit & { - keyFields?: false | VariantConnectionKeySpecifier | (() => undefined | VariantConnectionKeySpecifier), - fields?: VariantConnectionFieldPolicy, - }, - VariantEdge?: Omit & { - keyFields?: false | VariantEdgeKeySpecifier | (() => undefined | VariantEdgeKeySpecifier), - fields?: VariantEdgeFieldPolicy, - }, VariantGroup?: Omit & { keyFields?: false | VariantGroupKeySpecifier | (() => undefined | VariantGroupKeySpecifier), fields?: VariantGroupFieldPolicy, @@ -2963,6 +3050,18 @@ export type StrictTypedTypePolicies = { keyFields?: false | VariantGroupEdgeKeySpecifier | (() => undefined | VariantGroupEdgeKeySpecifier), fields?: VariantGroupEdgeFieldPolicy, }, + VariantInterface?: Omit & { + keyFields?: false | VariantInterfaceKeySpecifier | (() => undefined | VariantInterfaceKeySpecifier), + fields?: VariantInterfaceFieldPolicy, + }, + VariantInterfaceConnection?: Omit & { + keyFields?: false | VariantInterfaceConnectionKeySpecifier | (() => undefined | VariantInterfaceConnectionKeySpecifier), + fields?: VariantInterfaceConnectionFieldPolicy, + }, + VariantInterfaceEdge?: Omit & { + keyFields?: false | VariantInterfaceEdgeKeySpecifier | (() => undefined | VariantInterfaceEdgeKeySpecifier), + fields?: VariantInterfaceEdgeFieldPolicy, + }, VariantType?: Omit & { keyFields?: false | VariantTypeKeySpecifier | (() => undefined | VariantTypeKeySpecifier), fields?: VariantTypeFieldPolicy, diff --git a/client/src/app/generated/civic.apollo.ts b/client/src/app/generated/civic.apollo.ts index 584d3c95b..609f6e3c8 100644 --- a/client/src/app/generated/civic.apollo.ts +++ b/client/src/app/generated/civic.apollo.ts @@ -54,7 +54,7 @@ export type AcceptRevisionsInput = { revisionSetId?: InputMaybe; }; -/** Autogenerated return type of AcceptRevisions */ +/** Autogenerated return type of AcceptRevisions. */ export type AcceptRevisionsPayload = { __typename: 'AcceptRevisionsPayload'; /** A unique identifier for the client performing the mutation. */ @@ -102,6 +102,7 @@ export type ActivityInterfaceConnection = { pageInfo: PageInfo; /** List of all organizations who are involved in this activity stream. */ participatingOrganizations: Array; + subjectTypes: Array; /** The total number of records in this filtered collection. */ totalCount: Scalars['Int']; /** @@ -122,6 +123,20 @@ export type ActivityInterfaceEdge = { node?: Maybe; }; +export enum ActivitySubjectInput { + Assertion = 'ASSERTION', + EvidenceItem = 'EVIDENCE_ITEM', + Feature = 'FEATURE', + Flag = 'FLAG', + MolecularProfile = 'MOLECULAR_PROFILE', + Revision = 'REVISION', + RevisionSet = 'REVISION_SET', + Source = 'SOURCE', + SourceSuggestion = 'SOURCE_SUGGESTION', + Variant = 'VARIANT', + VariantGroup = 'VARIANT_GROUP' +} + export enum ActivityTypeInput { AcceptRevisions = 'ACCEPT_REVISIONS', Comment = 'COMMENT', @@ -162,7 +177,7 @@ export type AddCommentInput = { title?: InputMaybe; }; -/** Autogenerated return type of AddComment */ +/** Autogenerated return type of AddComment. */ export type AddCommentPayload = { __typename: 'AddCommentPayload'; /** A unique identifier for the client performing the mutation. */ @@ -181,7 +196,7 @@ export type AddDiseaseInput = { name: Scalars['String']; }; -/** Autogenerated return type of AddDisease */ +/** Autogenerated return type of AddDisease. */ export type AddDiseasePayload = { __typename: 'AddDiseasePayload'; /** A unique identifier for the client performing the mutation. */ @@ -202,7 +217,7 @@ export type AddRemoteCitationInput = { sourceType: SourceSource; }; -/** Autogenerated return type of AddRemoteCitation */ +/** Autogenerated return type of AddRemoteCitation. */ export type AddRemoteCitationPayload = { __typename: 'AddRemoteCitationPayload'; /** A unique identifier for the client performing the mutation. */ @@ -221,7 +236,7 @@ export type AddTherapyInput = { ncitId?: InputMaybe; }; -/** Autogenerated return type of AddTherapy */ +/** Autogenerated return type of AddTherapy. */ export type AddTherapyPayload = { __typename: 'AddTherapyPayload'; /** A unique identifier for the client performing the mutation. */ @@ -791,6 +806,7 @@ export type BrowseTherapyEdge = { export type BrowseVariant = { __typename: 'BrowseVariant'; aliases: Array; + category: VariantCategories; diseases: Array; featureId: Scalars['Int']; featureLink: Scalars['String']; @@ -1198,7 +1214,7 @@ export type CreateFeatureInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of CreateFeature */ +/** Autogenerated return type of CreateFeature. */ export type CreateFeaturePayload = { __typename: 'CreateFeaturePayload'; /** A unique identifier for the client performing the mutation. */ @@ -1224,7 +1240,7 @@ export type CreateMolecularProfileInput = { structure: MolecularProfileComponentInput; }; -/** Autogenerated return type of CreateMolecularProfile */ +/** Autogenerated return type of CreateMolecularProfile. */ export type CreateMolecularProfilePayload = { __typename: 'CreateMolecularProfilePayload'; /** A unique identifier for the client performing the mutation. */ @@ -1264,7 +1280,7 @@ export type CreateVariantInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of CreateVariant */ +/** Autogenerated return type of CreateVariant. */ export type CreateVariantPayload = { __typename: 'CreateVariantPayload'; /** A unique identifier for the client performing the mutation. */ @@ -1274,7 +1290,7 @@ export type CreateVariantPayload = { /** True if the variant was newly created. False if the returned variant was already in the database. */ new: Scalars['Boolean']; /** The newly created Variant. */ - variant: Variant; + variant: VariantInterface; }; /** Enum representing Feature types that can be user-created */ @@ -1339,7 +1355,7 @@ export type DeprecateComplexMolecularProfileInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of DeprecateComplexMolecularProfile */ +/** Autogenerated return type of DeprecateComplexMolecularProfile. */ export type DeprecateComplexMolecularProfilePayload = { __typename: 'DeprecateComplexMolecularProfilePayload'; /** A unique identifier for the client performing the mutation. */ @@ -1359,7 +1375,7 @@ export type DeprecateFeatureActivity = ActivityInterface & { parsedNote: Array; subject: EventSubject; user: User; - variants: Array; + variants: Array; verbiage: Scalars['String']; }; @@ -1382,7 +1398,7 @@ export type DeprecateFeatureInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of DeprecateFeature */ +/** Autogenerated return type of DeprecateFeature. */ export type DeprecateFeaturePayload = { __typename: 'DeprecateFeaturePayload'; /** A unique identifier for the client performing the mutation. */ @@ -1395,7 +1411,7 @@ export type DeprecateFeaturePayload = { */ newlyDeprecatedMolecularProfiles?: Maybe>; /** The variants linked to this feature that are newly deprecated. */ - newlyDeprecatedVariants?: Maybe>; + newlyDeprecatedVariants?: Maybe>; }; export type DeprecateVariantActivity = ActivityInterface & { @@ -1431,7 +1447,7 @@ export type DeprecateVariantInput = { variantId: Scalars['Int']; }; -/** Autogenerated return type of DeprecateVariant */ +/** Autogenerated return type of DeprecateVariant. */ export type DeprecateVariantPayload = { __typename: 'DeprecateVariantPayload'; /** A unique identifier for the client performing the mutation. */ @@ -1442,7 +1458,7 @@ export type DeprecateVariantPayload = { */ newlyDeprecatedMolecularProfiles?: Maybe>; /** The deprecated Variant. */ - variant?: Maybe; + variant?: Maybe; }; export type Disease = { @@ -1526,7 +1542,7 @@ export type EditUserInput = { username: Scalars['String']; }; -/** Autogenerated return type of EditUser */ +/** Autogenerated return type of EditUser. */ export type EditUserPayload = { __typename: 'EditUserPayload'; /** A unique identifier for the client performing the mutation. */ @@ -1936,7 +1952,7 @@ export type Factor = Commentable & EventOriginObject & EventSubject & Flaggable revisions: RevisionConnection; sources: Array; /** List and filter variants. */ - variants: VariantConnection; + variants: VariantInterfaceConnection; }; @@ -2019,6 +2035,109 @@ export type FactorFields = { sourceIds: Array; }; +export type FactorVariant = Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions & { + __typename: 'FactorVariant'; + /** List and filter comments. */ + comments: CommentConnection; + creationActivity?: Maybe; + deprecated: Scalars['Boolean']; + deprecationActivity?: Maybe; + deprecationReason?: Maybe; + /** List and filter events for an object */ + events: EventConnection; + feature: Feature; + flagged: Scalars['Boolean']; + /** List and filter flags. */ + flags: FlagConnection; + id: Scalars['Int']; + lastAcceptedRevisionEvent?: Maybe; + lastCommentEvent?: Maybe; + lastSubmittedRevisionEvent?: Maybe; + link: Scalars['String']; + molecularProfiles: MolecularProfileConnection; + name: Scalars['String']; + ncitDetails?: Maybe; + ncitId?: Maybe; + /** List and filter revisions. */ + revisions: RevisionConnection; + singleVariantMolecularProfile: MolecularProfile; + singleVariantMolecularProfileId: Scalars['Int']; + variantAliases: Array; + variantTypes: Array; +}; + + +export type FactorVariantCommentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + mentionedEntity?: InputMaybe; + mentionedRole?: InputMaybe; + mentionedUserId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +export type FactorVariantEventsArgs = { + after?: InputMaybe; + before?: InputMaybe; + eventType?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + organizationId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +export type FactorVariantFlagsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + flaggingUserId?: InputMaybe; + last?: InputMaybe; + resolvingUserId?: InputMaybe; + sortBy?: InputMaybe; + state?: InputMaybe; +}; + + +export type FactorVariantMolecularProfilesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +export type FactorVariantRevisionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + fieldName?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + originatingUserId?: InputMaybe; + revisionSetId?: InputMaybe; + sortBy?: InputMaybe; + status?: InputMaybe; +}; + +/** Fields on a FactorVariant that curators may propose revisions to. */ +export type FactorVariantFields = { + /** List of aliases or alternate names for the Variant. */ + aliases: Array; + /** The ID of the Feature this Variant corresponds to. */ + featureId: Scalars['Int']; + /** The Variant's name. */ + name: Scalars['String']; + /** NCI Thesaurus concept ID for this Factor */ + ncitId: NullableStringInput; + /** List of IDs for the variant types for this Variant */ + variantTypeIds: Array; +}; + export type FdaCode = { __typename: 'FdaCode'; code: Scalars['String']; @@ -2053,7 +2172,7 @@ export type Feature = Commentable & EventOriginObject & EventSubject & Flaggable revisions: RevisionConnection; sources: Array; /** List and filter variants. */ - variants: VariantConnection; + variants: VariantInterfaceConnection; }; @@ -2274,7 +2393,7 @@ export type FlagEntityInput = { subject: FlaggableInput; }; -/** Autogenerated return type of FlagEntity */ +/** Autogenerated return type of FlagEntity. */ export type FlagEntityPayload = { __typename: 'FlagEntityPayload'; /** A unique identifier for the client performing the mutation. */ @@ -2359,7 +2478,7 @@ export type Gene = Commentable & EventOriginObject & EventSubject & Flaggable & revisions: RevisionConnection; sources: Array; /** List and filter variants. */ - variants: VariantConnection; + variants: VariantInterfaceConnection; }; @@ -2470,6 +2589,133 @@ export type GeneSearchFilter = { subFilters?: InputMaybe>; }; +export type GeneVariant = Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions & { + __typename: 'GeneVariant'; + alleleRegistryId?: Maybe; + clinvarIds: Array; + /** List and filter comments. */ + comments: CommentConnection; + creationActivity?: Maybe; + deprecated: Scalars['Boolean']; + deprecationActivity?: Maybe; + deprecationReason?: Maybe; + ensemblVersion?: Maybe; + /** List and filter events for an object */ + events: EventConnection; + feature: Feature; + flagged: Scalars['Boolean']; + /** List and filter flags. */ + flags: FlagConnection; + hgvsDescriptions: Array; + id: Scalars['Int']; + lastAcceptedRevisionEvent?: Maybe; + lastCommentEvent?: Maybe; + lastSubmittedRevisionEvent?: Maybe; + link: Scalars['String']; + maneSelectTranscript?: Maybe; + molecularProfiles: MolecularProfileConnection; + myVariantInfo?: Maybe; + name: Scalars['String']; + openCravatUrl?: Maybe; + primaryCoordinates?: Maybe; + referenceBases?: Maybe; + referenceBuild?: Maybe; + /** List and filter revisions. */ + revisions: RevisionConnection; + secondaryCoordinates?: Maybe; + singleVariantMolecularProfile: MolecularProfile; + singleVariantMolecularProfileId: Scalars['Int']; + variantAliases: Array; + variantBases?: Maybe; + variantTypes: Array; +}; + + +export type GeneVariantCommentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + mentionedEntity?: InputMaybe; + mentionedRole?: InputMaybe; + mentionedUserId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +export type GeneVariantEventsArgs = { + after?: InputMaybe; + before?: InputMaybe; + eventType?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + organizationId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +export type GeneVariantFlagsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + flaggingUserId?: InputMaybe; + last?: InputMaybe; + resolvingUserId?: InputMaybe; + sortBy?: InputMaybe; + state?: InputMaybe; +}; + + +export type GeneVariantMolecularProfilesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +export type GeneVariantRevisionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + fieldName?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + originatingUserId?: InputMaybe; + revisionSetId?: InputMaybe; + sortBy?: InputMaybe; + status?: InputMaybe; +}; + +/** Fields on a GeneVariant that curators may propose revisions to. */ +export type GeneVariantFields = { + /** List of aliases or alternate names for the Variant. */ + aliases: Array; + /** List of ClinVar IDs for the Variant. */ + clinvarIds: ClinvarInput; + /** The Ensembl database version. */ + ensemblVersion: NullableIntInput; + /** The ID of the Feature this Variant corresponds to. */ + featureId: Scalars['Int']; + /** List of HGVS descriptions for the Variant. */ + hgvsDescriptions: Array; + /** The Variant's name. */ + name: Scalars['String']; + /** The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner. */ + primaryCoordinates: CoordinateInput; + /** Reference bases for this variant */ + referenceBases: NullableStringInput; + /** The reference build for the genomic coordinates of this Variant. */ + referenceBuild: NullableReferenceBuildTypeInput; + /** In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null. */ + secondaryCoordinates: CoordinateInput; + /** Variant bases for this variant */ + variantBases: NullableStringInput; + /** List of IDs for the variant types for this Variant */ + variantTypeIds: Array; +}; + export type IntSearchInput = { comparisonOperator: IntSearchOperator; value: Scalars['Int']; @@ -2712,7 +2958,7 @@ export type ModerateAssertionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of ModerateAssertion */ +/** Autogenerated return type of ModerateAssertion. */ export type ModerateAssertionPayload = { __typename: 'ModerateAssertionPayload'; /** The moderated Assertion */ @@ -2751,7 +2997,7 @@ export type ModerateEvidenceItemInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of ModerateEvidenceItem */ +/** Autogenerated return type of ModerateEvidenceItem. */ export type ModerateEvidenceItemPayload = { __typename: 'ModerateEvidenceItemPayload'; /** A unique identifier for the client performing the mutation. */ @@ -2805,7 +3051,7 @@ export type MolecularProfile = Commentable & EventOriginObject & EventSubject & complexMolecularProfileCreationActivity?: Maybe; complexMolecularProfileDeprecationActivity?: Maybe; deprecated: Scalars['Boolean']; - deprecatedVariants: Array; + deprecatedVariants: Array; deprecationReason?: Maybe; description?: Maybe; /** List and filter events for an object */ @@ -2838,7 +3084,7 @@ export type MolecularProfile = Commentable & EventOriginObject & EventSubject & variantCreationActivity?: Maybe; variantDeprecationActivity?: Maybe; /** The collection of variants included in this molecular profile. Please note the name for their relation to each other. */ - variants: Array; + variants: Array; }; @@ -2988,7 +3234,7 @@ export type MolecularProfileFields = { export type MolecularProfileNamePreview = { __typename: 'MolecularProfileNamePreview'; - deprecatedVariants: Array; + deprecatedVariants: Array; /** The already existing MP matching this name, if it exists */ existingMolecularProfile?: Maybe; segments: Array; @@ -3092,16 +3338,18 @@ export type Mutation = { suggestEvidenceItemRevision?: Maybe; /** Suggest a Revision to a Feature entity of instance type "Factor". */ suggestFactorRevision?: Maybe; + /** Suggest a Revision to a Variant entity. */ + suggestFactorVariantRevision?: Maybe; /** Suggest a Revision to a Feature entity of instance type "Gene". */ suggestGeneRevision?: Maybe; + /** Suggest a Revision to a Variant entity. */ + suggestGeneVariantRevision?: Maybe; /** Suggest a Revision to a MolecularProfile entity. */ suggestMolecularProfileRevision?: Maybe; /** Suggest a source for curation in CIViC. */ suggestSource?: Maybe; /** Suggested a Revision to a Variant Group entity */ suggestVariantGroupRevision?: Maybe; - /** Suggest a Revision to a Variant entity. */ - suggestVariantRevision?: Maybe; /** Unsubscribe from a CIViC entity to stop receiving notifications about it. */ unsubscribe?: Maybe; /** Update the currentlly logged in User's Conflict of Interest statement */ @@ -3233,11 +3481,21 @@ export type MutationSuggestFactorRevisionArgs = { }; +export type MutationSuggestFactorVariantRevisionArgs = { + input: SuggestFactorVariantRevisionInput; +}; + + export type MutationSuggestGeneRevisionArgs = { input: SuggestGeneRevisionInput; }; +export type MutationSuggestGeneVariantRevisionArgs = { + input: SuggestGeneVariantRevisionInput; +}; + + export type MutationSuggestMolecularProfileRevisionArgs = { input: SuggestMolecularProfileRevisionInput; }; @@ -3253,11 +3511,6 @@ export type MutationSuggestVariantGroupRevisionArgs = { }; -export type MutationSuggestVariantRevisionArgs = { - input: SuggestVariantRevisionInput; -}; - - export type MutationUnsubscribeArgs = { input: UnsubscribeInput; }; @@ -3877,7 +4130,7 @@ export type Query = { users: UserConnection; validateRevisionsForAcceptance: ValidationErrors; /** Find a variant by CIViC ID */ - variant?: Maybe; + variant?: Maybe; /** Find a variant group by CIViC ID */ variantGroup?: Maybe; /** List and filter variant groups. */ @@ -3891,7 +4144,7 @@ export type Query = { /** List and filter Variant Types from the Sequence Ontology. */ variantTypes: BrowseVariantTypeConnection; /** List and filter variants. */ - variants: VariantConnection; + variants: VariantInterfaceConnection; viewer?: Maybe; }; @@ -3907,16 +4160,17 @@ export type QueryAcmgCodesTypeaheadArgs = { export type QueryActivitiesArgs = { - activityType?: InputMaybe; + activityType?: InputMaybe>; after?: InputMaybe; before?: InputMaybe; first?: InputMaybe; last?: InputMaybe; mode?: InputMaybe; - organizationId?: InputMaybe; + organizationId?: InputMaybe>; sortBy?: InputMaybe; - subject?: InputMaybe; - userId?: InputMaybe; + subject?: InputMaybe>; + subjectType?: InputMaybe>; + userId?: InputMaybe>; }; @@ -4035,6 +4289,7 @@ export type QueryBrowseVariantGroupsArgs = { export type QueryBrowseVariantsArgs = { after?: InputMaybe; before?: InputMaybe; + category?: InputMaybe; diseaseName?: InputMaybe; featureName?: InputMaybe; first?: InputMaybe; @@ -4511,6 +4766,7 @@ export type QueryVariantsArgs = { after?: InputMaybe; alleleRegistryId?: InputMaybe; before?: InputMaybe; + category?: InputMaybe; featureId?: InputMaybe; first?: InputMaybe; hasNoVariantType?: InputMaybe; @@ -4572,7 +4828,7 @@ export type RejectRevisionsInput = { revisionSetId?: InputMaybe; }; -/** Autogenerated return type of RejectRevisions */ +/** Autogenerated return type of RejectRevisions. */ export type RejectRevisionsPayload = { __typename: 'RejectRevisionsPayload'; /** A unique identifier for the client performing the mutation. */ @@ -4612,7 +4868,7 @@ export type ResolveFlagInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of ResolveFlag */ +/** Autogenerated return type of ResolveFlag. */ export type ResolveFlagPayload = { __typename: 'ResolveFlagPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5071,7 +5327,7 @@ export type SubmitAssertionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SubmitAssertion */ +/** Autogenerated return type of SubmitAssertion. */ export type SubmitAssertionPayload = { __typename: 'SubmitAssertionPayload'; /** The newly created Assertion */ @@ -5110,7 +5366,7 @@ export type SubmitEvidenceItemInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SubmitEvidenceItem */ +/** Autogenerated return type of SubmitEvidenceItem. */ export type SubmitEvidenceItemPayload = { __typename: 'SubmitEvidenceItemPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5140,7 +5396,7 @@ export type SubmitVariantGroupInput = { variantIds: Array; }; -/** Autogenerated return type of SubmitVariantGroup */ +/** Autogenerated return type of SubmitVariantGroup. */ export type SubmitVariantGroupPayload = { __typename: 'SubmitVariantGroupPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5198,7 +5454,7 @@ export type SubscribeInput = { subscribeToChildren?: InputMaybe; }; -/** Autogenerated return type of Subscribe */ +/** Autogenerated return type of Subscribe. */ export type SubscribePayload = { __typename: 'SubscribePayload'; /** A unique identifier for the client performing the mutation. */ @@ -5235,7 +5491,7 @@ export type SuggestAssertionRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestAssertionRevision */ +/** Autogenerated return type of SuggestAssertionRevision. */ export type SuggestAssertionRevisionPayload = { __typename: 'SuggestAssertionRevisionPayload'; /** The Assertion the user has proposed a Revision to. */ @@ -5274,7 +5530,7 @@ export type SuggestEvidenceItemRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestEvidenceItemRevision */ +/** Autogenerated return type of SuggestEvidenceItemRevision. */ export type SuggestEvidenceItemRevisionPayload = { __typename: 'SuggestEvidenceItemRevisionPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5313,7 +5569,7 @@ export type SuggestFactorRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestFactorRevision */ +/** Autogenerated return type of SuggestFactorRevision. */ export type SuggestFactorRevisionPayload = { __typename: 'SuggestFactorRevisionPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5330,18 +5586,18 @@ export type SuggestFactorRevisionPayload = { results: Array; }; -/** Autogenerated input type of SuggestGeneRevision */ -export type SuggestGeneRevisionInput = { +/** Autogenerated input type of SuggestFactorVariantRevision */ +export type SuggestFactorVariantRevisionInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Text describing the reason for the change. Will be attached to the Revision as a comment. */ - comment: Scalars['String']; + comment?: InputMaybe; /** - * The desired state of the Gene's editable fields if the change were applied. + * The desired state of the Variant's editable fields if the change were applied. * If no change is desired for a particular field, pass in the current value of that field. */ - fields: GeneFields; - /** The ID of the Feature of instance type "Gene" to suggest a Revision to. */ + fields: FactorVariantFields; + /** The ID of the Variant to suggest a Revision to. */ id: Scalars['Int']; /** * The ID of the organization to credit the user's contributions to. @@ -5352,13 +5608,11 @@ export type SuggestGeneRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestGeneRevision */ -export type SuggestGeneRevisionPayload = { - __typename: 'SuggestGeneRevisionPayload'; +/** Autogenerated return type of SuggestFactorVariantRevision. */ +export type SuggestFactorVariantRevisionPayload = { + __typename: 'SuggestFactorVariantRevisionPayload'; /** A unique identifier for the client performing the mutation. */ clientMutationId?: Maybe; - /** The Gene the user has proposed a Revision to. */ - gene: Gene; /** * A list of Revisions generated as a result of this suggestion. * If an existing Revision exactly matches the proposed one, it will be returned instead. @@ -5367,10 +5621,90 @@ export type SuggestGeneRevisionPayload = { * The changesetId can be used to group Revisions proposed at the same time. */ results: Array; + /** The Variant the user has proposed a Revision to. */ + variant: FactorVariant; }; -/** Autogenerated input type of SuggestMolecularProfileRevision */ -export type SuggestMolecularProfileRevisionInput = { +/** Autogenerated input type of SuggestGeneRevision */ +export type SuggestGeneRevisionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Text describing the reason for the change. Will be attached to the Revision as a comment. */ + comment: Scalars['String']; + /** + * The desired state of the Gene's editable fields if the change were applied. + * If no change is desired for a particular field, pass in the current value of that field. + */ + fields: GeneFields; + /** The ID of the Feature of instance type "Gene" to suggest a Revision to. */ + id: Scalars['Int']; + /** + * The ID of the organization to credit the user's contributions to. + * If the user belongs to a single organization or no organizations, this field is not required. + * This field is required if the user belongs to more than one organization. + * The user must belong to the organization provided. + */ + organizationId?: InputMaybe; +}; + +/** Autogenerated return type of SuggestGeneRevision. */ +export type SuggestGeneRevisionPayload = { + __typename: 'SuggestGeneRevisionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** The Gene the user has proposed a Revision to. */ + gene: Gene; + /** + * A list of Revisions generated as a result of this suggestion. + * If an existing Revision exactly matches the proposed one, it will be returned instead. + * This is indicated via the 'newlyCreated' Boolean. + * Revisions are stored on a per-field basis. + * The changesetId can be used to group Revisions proposed at the same time. + */ + results: Array; +}; + +/** Autogenerated input type of SuggestGeneVariantRevision */ +export type SuggestGeneVariantRevisionInput = { + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: InputMaybe; + /** Text describing the reason for the change. Will be attached to the Revision as a comment. */ + comment?: InputMaybe; + /** + * The desired state of the Variant's editable fields if the change were applied. + * If no change is desired for a particular field, pass in the current value of that field. + */ + fields: GeneVariantFields; + /** The ID of the Variant to suggest a Revision to. */ + id: Scalars['Int']; + /** + * The ID of the organization to credit the user's contributions to. + * If the user belongs to a single organization or no organizations, this field is not required. + * This field is required if the user belongs to more than one organization. + * The user must belong to the organization provided. + */ + organizationId?: InputMaybe; +}; + +/** Autogenerated return type of SuggestGeneVariantRevision. */ +export type SuggestGeneVariantRevisionPayload = { + __typename: 'SuggestGeneVariantRevisionPayload'; + /** A unique identifier for the client performing the mutation. */ + clientMutationId?: Maybe; + /** + * A list of Revisions generated as a result of this suggestion. + * If an existing Revision exactly matches the proposed one, it will be returned instead. + * This is indicated via the 'newlyCreated' Boolean. + * Revisions are stored on a per-field basis. + * The changesetId can be used to group Revisions proposed at the same time. + */ + results: Array; + /** The Variant the user has proposed a Revision to. */ + variant: GeneVariant; +}; + +/** Autogenerated input type of SuggestMolecularProfileRevision */ +export type SuggestMolecularProfileRevisionInput = { /** A unique identifier for the client performing the mutation. */ clientMutationId?: InputMaybe; /** Text describing the reason for the change. Will be attached to the Revision as a comment. */ @@ -5391,7 +5725,7 @@ export type SuggestMolecularProfileRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestMolecularProfileRevision */ +/** Autogenerated return type of SuggestMolecularProfileRevision. */ export type SuggestMolecularProfileRevisionPayload = { __typename: 'SuggestMolecularProfileRevisionPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5458,7 +5792,7 @@ export type SuggestSourceInput = { sourceId: Scalars['Int']; }; -/** Autogenerated return type of SuggestSource */ +/** Autogenerated return type of SuggestSource. */ export type SuggestSourcePayload = { __typename: 'SuggestSourcePayload'; /** A unique identifier for the client performing the mutation. */ @@ -5489,7 +5823,7 @@ export type SuggestVariantGroupRevisionInput = { organizationId?: InputMaybe; }; -/** Autogenerated return type of SuggestVariantGroupRevision */ +/** Autogenerated return type of SuggestVariantGroupRevision. */ export type SuggestVariantGroupRevisionPayload = { __typename: 'SuggestVariantGroupRevisionPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5506,45 +5840,6 @@ export type SuggestVariantGroupRevisionPayload = { variantGroup: VariantGroup; }; -/** Autogenerated input type of SuggestVariantRevision */ -export type SuggestVariantRevisionInput = { - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: InputMaybe; - /** Text describing the reason for the change. Will be attached to the Revision as a comment. */ - comment?: InputMaybe; - /** - * The desired state of the Variant's editable fields if the change were applied. - * If no change is desired for a particular field, pass in the current value of that field. - */ - fields: VariantFields; - /** The ID of the Variant to suggest a Revision to. */ - id: Scalars['Int']; - /** - * The ID of the organization to credit the user's contributions to. - * If the user belongs to a single organization or no organizations, this field is not required. - * This field is required if the user belongs to more than one organization. - * The user must belong to the organization provided. - */ - organizationId?: InputMaybe; -}; - -/** Autogenerated return type of SuggestVariantRevision */ -export type SuggestVariantRevisionPayload = { - __typename: 'SuggestVariantRevisionPayload'; - /** A unique identifier for the client performing the mutation. */ - clientMutationId?: Maybe; - /** - * A list of Revisions generated as a result of this suggestion. - * If an existing Revision exactly matches the proposed one, it will be returned instead. - * This is indicated via the 'newlyCreated' Boolean. - * Revisions are stored on a per-field basis. - * The changesetId can be used to group Revisions proposed at the same time. - */ - results: Array; - /** The Variant the user has proposed a Revision to. */ - variant: Variant; -}; - export enum TaggableEntity { Assertion = 'ASSERTION', EvidenceItem = 'EVIDENCE_ITEM', @@ -5637,7 +5932,7 @@ export type UnsubscribeInput = { unsubscribeFromChildren?: InputMaybe; }; -/** Autogenerated return type of Unsubscribe */ +/** Autogenerated return type of Unsubscribe. */ export type UnsubscribePayload = { __typename: 'UnsubscribePayload'; /** A unique identifier for the client performing the mutation. */ @@ -5656,7 +5951,7 @@ export type UpdateCoiInput = { statement?: InputMaybe; }; -/** Autogenerated return type of UpdateCoi */ +/** Autogenerated return type of UpdateCoi. */ export type UpdateCoiPayload = { __typename: 'UpdateCoiPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5674,7 +5969,7 @@ export type UpdateNotificationStatusInput = { newStatus: ReadStatus; }; -/** Autogenerated return type of UpdateNotificationStatus */ +/** Autogenerated return type of UpdateNotificationStatus. */ export type UpdateNotificationStatusPayload = { __typename: 'UpdateNotificationStatusPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5716,7 +6011,7 @@ export type UpdateSourceSuggestionStatusInput = { reason?: InputMaybe; }; -/** Autogenerated return type of UpdateSourceSuggestionStatus */ +/** Autogenerated return type of UpdateSourceSuggestionStatus. */ export type UpdateSourceSuggestionStatusPayload = { __typename: 'UpdateSourceSuggestionStatusPayload'; /** A unique identifier for the client performing the mutation. */ @@ -5882,44 +6177,32 @@ export type ValidationErrors = { validationErrors: Array; }; -export type Variant = Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & WithRevisions & { +export type Variant = Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions & { __typename: 'Variant'; - alleleRegistryId?: Maybe; - clinvarIds: Array; /** List and filter comments. */ comments: CommentConnection; creationActivity?: Maybe; deprecated: Scalars['Boolean']; deprecationActivity?: Maybe; deprecationReason?: Maybe; - ensemblVersion?: Maybe; /** List and filter events for an object */ events: EventConnection; feature: Feature; flagged: Scalars['Boolean']; /** List and filter flags. */ flags: FlagConnection; - hgvsDescriptions: Array; id: Scalars['Int']; lastAcceptedRevisionEvent?: Maybe; lastCommentEvent?: Maybe; lastSubmittedRevisionEvent?: Maybe; link: Scalars['String']; - maneSelectTranscript?: Maybe; molecularProfiles: MolecularProfileConnection; - myVariantInfo?: Maybe; name: Scalars['String']; - openCravatUrl?: Maybe; - primaryCoordinates?: Maybe; - referenceBases?: Maybe; - referenceBuild?: Maybe; /** List and filter revisions. */ revisions: RevisionConnection; - secondaryCoordinates?: Maybe; singleVariantMolecularProfile: MolecularProfile; singleVariantMolecularProfileId: Scalars['Int']; variantAliases: Array; - variantBases?: Maybe; variantTypes: Array; }; @@ -5986,6 +6269,11 @@ export type VariantAlias = { name: Scalars['String']; }; +export enum VariantCategories { + Factor = 'FACTOR', + Gene = 'GENE' +} + /** Representation of a Variant's membership in a Molecular Profile. */ export type VariantComponent = { /** When set to true, this means the NOT operator will be applied to the Variant in the Molecluar Profile. */ @@ -5994,21 +6282,6 @@ export type VariantComponent = { variantId: Scalars['Int']; }; -/** The connection type for Variant. */ -export type VariantConnection = { - __typename: 'VariantConnection'; - /** A list of edges. */ - edges: Array; - /** A list of nodes. */ - nodes: Array; - /** Total number of pages, based on filtered count and pagesize. */ - pageCount: Scalars['Int']; - /** Information to aid in pagination. */ - pageInfo: PageInfo; - /** The total number of records in this filtered collection. */ - totalCount: Scalars['Int']; -}; - export enum VariantDeprecationReason { Duplicate = 'DUPLICATE', FeatureDeprecated = 'FEATURE_DEPRECATED', @@ -6016,43 +6289,6 @@ export enum VariantDeprecationReason { Other = 'OTHER' } -/** An edge in a connection. */ -export type VariantEdge = { - __typename: 'VariantEdge'; - /** A cursor for use in pagination. */ - cursor: Scalars['String']; - /** The item at the end of the edge. */ - node?: Maybe; -}; - -/** Fields on a Variant that curators may propose revisions to. */ -export type VariantFields = { - /** List of aliases or alternate names for the Variant. */ - aliases: Array; - /** List of ClinVar IDs for the Variant. */ - clinvarIds: ClinvarInput; - /** The Ensembl database version. */ - ensemblVersion: NullableIntInput; - /** The ID of the Feature this Variant corresponds to. */ - featureId: Scalars['Int']; - /** List of HGVS descriptions for the Variant. */ - hgvsDescriptions: Array; - /** The Variant's name. */ - name: Scalars['String']; - /** The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner. */ - primaryCoordinates: CoordinateInput; - /** Reference bases for this variant */ - referenceBases: NullableStringInput; - /** The reference build for the genomic coordinates of this Variant. */ - referenceBuild: NullableReferenceBuildTypeInput; - /** In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null. */ - secondaryCoordinates: CoordinateInput; - /** Variant bases for this variant */ - variantBases: NullableStringInput; - /** List of IDs for the variant types for this Variant */ - variantTypeIds: Array; -}; - export type VariantGroup = Commentable & EventSubject & Flaggable & WithRevisions & { __typename: 'VariantGroup'; /** List and filter comments. */ @@ -6073,7 +6309,7 @@ export type VariantGroup = Commentable & EventSubject & Flaggable & WithRevision revisions: RevisionConnection; sources: Array; /** List and filter variants. */ - variants: VariantConnection; + variants: VariantInterfaceConnection; }; @@ -6186,6 +6422,122 @@ export enum VariantGroupsSortColumns { VariantNames = 'VARIANT_NAMES' } +/** A taggable/linkable component of a molecular profile */ +export type VariantInterface = { + /** List and filter comments. */ + comments: CommentConnection; + creationActivity?: Maybe; + deprecated: Scalars['Boolean']; + deprecationActivity?: Maybe; + deprecationReason?: Maybe; + /** List and filter events for an object */ + events: EventConnection; + feature: Feature; + flagged: Scalars['Boolean']; + /** List and filter flags. */ + flags: FlagConnection; + id: Scalars['Int']; + lastAcceptedRevisionEvent?: Maybe; + lastCommentEvent?: Maybe; + lastSubmittedRevisionEvent?: Maybe; + link: Scalars['String']; + molecularProfiles: MolecularProfileConnection; + name: Scalars['String']; + /** List and filter revisions. */ + revisions: RevisionConnection; + singleVariantMolecularProfile: MolecularProfile; + singleVariantMolecularProfileId: Scalars['Int']; + variantAliases: Array; + variantTypes: Array; +}; + + +/** A taggable/linkable component of a molecular profile */ +export type VariantInterfaceCommentsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + mentionedEntity?: InputMaybe; + mentionedRole?: InputMaybe; + mentionedUserId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +/** A taggable/linkable component of a molecular profile */ +export type VariantInterfaceEventsArgs = { + after?: InputMaybe; + before?: InputMaybe; + eventType?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + organizationId?: InputMaybe; + originatingUserId?: InputMaybe; + sortBy?: InputMaybe; +}; + + +/** A taggable/linkable component of a molecular profile */ +export type VariantInterfaceFlagsArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + flaggingUserId?: InputMaybe; + last?: InputMaybe; + resolvingUserId?: InputMaybe; + sortBy?: InputMaybe; + state?: InputMaybe; +}; + + +/** A taggable/linkable component of a molecular profile */ +export type VariantInterfaceMolecularProfilesArgs = { + after?: InputMaybe; + before?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; +}; + + +/** A taggable/linkable component of a molecular profile */ +export type VariantInterfaceRevisionsArgs = { + after?: InputMaybe; + before?: InputMaybe; + fieldName?: InputMaybe; + first?: InputMaybe; + last?: InputMaybe; + originatingUserId?: InputMaybe; + revisionSetId?: InputMaybe; + sortBy?: InputMaybe; + status?: InputMaybe; +}; + +/** The connection type for VariantInterface. */ +export type VariantInterfaceConnection = { + __typename: 'VariantInterfaceConnection'; + /** A list of edges. */ + edges: Array; + /** A list of nodes. */ + nodes: Array; + /** Total number of pages, based on filtered count and pagesize. */ + pageCount: Scalars['Int']; + /** Information to aid in pagination. */ + pageInfo: PageInfo; + /** The total number of records in this filtered collection. */ + totalCount: Scalars['Int']; +}; + +/** An edge in a connection. */ +export type VariantInterfaceEdge = { + __typename: 'VariantInterfaceEdge'; + /** A cursor for use in pagination. */ + cursor: Scalars['String']; + /** The item at the end of the edge. */ + node?: Maybe; +}; + export type VariantMenuSort = { /** Available columns for sorting */ column: VariantMenuSortColumns; @@ -6328,49 +6680,49 @@ export type ActivityFeedQueryVariables = Exact<{ last?: InputMaybe; before?: InputMaybe; after?: InputMaybe; - userId?: InputMaybe; + userId?: InputMaybe | Scalars['Int']>; }>; -export type ActivityFeedQuery = { __typename: 'Query', activities: { __typename: 'ActivityInterfaceConnection', pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, edges: Array<{ __typename: 'ActivityInterfaceEdge', cursor: string, node?: { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | undefined }> } }; +export type ActivityFeedQuery = { __typename: 'Query', activities: { __typename: 'ActivityInterfaceConnection', pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, edges: Array<{ __typename: 'ActivityInterfaceEdge', cursor: string, node?: { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | undefined }> } }; -export type ActivityFeedFragment = { __typename: 'ActivityInterfaceConnection', pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, edges: Array<{ __typename: 'ActivityInterfaceEdge', cursor: string, node?: { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | undefined }> }; +export type ActivityFeedFragment = { __typename: 'ActivityInterfaceConnection', pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, edges: Array<{ __typename: 'ActivityInterfaceEdge', cursor: string, node?: { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } } | undefined }> }; -type ActivityFeedNode_AcceptRevisionsActivity_Fragment = { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_AcceptRevisionsActivity_Fragment = { __typename: 'AcceptRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_CommentActivity_Fragment = { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_CommentActivity_Fragment = { __typename: 'CommentActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_CreateComplexMolecularProfileActivity_Fragment = { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_CreateComplexMolecularProfileActivity_Fragment = { __typename: 'CreateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_CreateFeatureActivity_Fragment = { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_CreateFeatureActivity_Fragment = { __typename: 'CreateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_CreateVariantActivity_Fragment = { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_CreateVariantActivity_Fragment = { __typename: 'CreateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_DeprecateComplexMolecularProfileActivity_Fragment = { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_DeprecateComplexMolecularProfileActivity_Fragment = { __typename: 'DeprecateComplexMolecularProfileActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_DeprecateFeatureActivity_Fragment = { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_DeprecateFeatureActivity_Fragment = { __typename: 'DeprecateFeatureActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_DeprecateVariantActivity_Fragment = { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_DeprecateVariantActivity_Fragment = { __typename: 'DeprecateVariantActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_FlagEntityActivity_Fragment = { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_FlagEntityActivity_Fragment = { __typename: 'FlagEntityActivity', id: number, verbiage: string, createdAt: any, flag: { __typename: 'Flag', id: number, name: string, link: string }, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_ModerateAssertionActivity_Fragment = { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_ModerateAssertionActivity_Fragment = { __typename: 'ModerateAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_ModerateEvidenceItemActivity_Fragment = { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_ModerateEvidenceItemActivity_Fragment = { __typename: 'ModerateEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_RejectRevisionsActivity_Fragment = { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_RejectRevisionsActivity_Fragment = { __typename: 'RejectRevisionsActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_ResolveFlagActivity_Fragment = { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_ResolveFlagActivity_Fragment = { __typename: 'ResolveFlagActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_SubmitAssertionActivity_Fragment = { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_SubmitAssertionActivity_Fragment = { __typename: 'SubmitAssertionActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_SubmitEvidenceItemActivity_Fragment = { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_SubmitEvidenceItemActivity_Fragment = { __typename: 'SubmitEvidenceItemActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_SuggestRevisionSetActivity_Fragment = { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_SuggestRevisionSetActivity_Fragment = { __typename: 'SuggestRevisionSetActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_SuggestSourceActivity_Fragment = { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_SuggestSourceActivity_Fragment = { __typename: 'SuggestSourceActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; -type ActivityFeedNode_UpdateSourceSuggestionStatusActivity_Fragment = { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; +type ActivityFeedNode_UpdateSourceSuggestionStatusActivity_Fragment = { __typename: 'UpdateSourceSuggestionStatusActivity', id: number, verbiage: string, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, user: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', name: string, id: number, link: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } }; export type ActivityFeedNodeFragment = ActivityFeedNode_AcceptRevisionsActivity_Fragment | ActivityFeedNode_CommentActivity_Fragment | ActivityFeedNode_CreateComplexMolecularProfileActivity_Fragment | ActivityFeedNode_CreateFeatureActivity_Fragment | ActivityFeedNode_CreateVariantActivity_Fragment | ActivityFeedNode_DeprecateComplexMolecularProfileActivity_Fragment | ActivityFeedNode_DeprecateFeatureActivity_Fragment | ActivityFeedNode_DeprecateVariantActivity_Fragment | ActivityFeedNode_FlagEntityActivity_Fragment | ActivityFeedNode_ModerateAssertionActivity_Fragment | ActivityFeedNode_ModerateEvidenceItemActivity_Fragment | ActivityFeedNode_RejectRevisionsActivity_Fragment | ActivityFeedNode_ResolveFlagActivity_Fragment | ActivityFeedNode_SubmitAssertionActivity_Fragment | ActivityFeedNode_SubmitEvidenceItemActivity_Fragment | ActivityFeedNode_SuggestRevisionSetActivity_Fragment | ActivityFeedNode_SuggestSourceActivity_Fragment | ActivityFeedNode_UpdateSourceSuggestionStatusActivity_Fragment; @@ -6469,9 +6821,9 @@ export type CommentPopoverQueryVariables = Exact<{ }>; -export type CommentPopoverQuery = { __typename: 'Query', comment?: { __typename: 'Comment', id: number, name: string, createdAt: any, title?: string | undefined, comment: string, commenter: { __typename: 'User', id: number, displayName: string, role: UserRole }, commentable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, name: string, link: string } | { __typename: 'Source', id: number, name: string, link: string } | { __typename: 'SourcePopover', id: number, name: string, link: string } | { __typename: 'Variant', deprecated: boolean, id: number, name: string, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, name: string, link: string } } | undefined }; +export type CommentPopoverQuery = { __typename: 'Query', comment?: { __typename: 'Comment', id: number, name: string, createdAt: any, title?: string | undefined, comment: string, commenter: { __typename: 'User', id: number, displayName: string, role: UserRole }, commentable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, name: string, link: string } | { __typename: 'Source', id: number, name: string, link: string } | { __typename: 'SourcePopover', id: number, name: string, link: string } | { __typename: 'Variant', deprecated: boolean, id: number, name: string, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, name: string, link: string } } | undefined }; -export type CommentPopoverFragment = { __typename: 'Comment', id: number, name: string, createdAt: any, title?: string | undefined, comment: string, commenter: { __typename: 'User', id: number, displayName: string, role: UserRole }, commentable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, name: string, link: string } | { __typename: 'Source', id: number, name: string, link: string } | { __typename: 'SourcePopover', id: number, name: string, link: string } | { __typename: 'Variant', deprecated: boolean, id: number, name: string, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, name: string, link: string } }; +export type CommentPopoverFragment = { __typename: 'Comment', id: number, name: string, createdAt: any, title?: string | undefined, comment: string, commenter: { __typename: 'User', id: number, displayName: string, role: UserRole }, commentable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, name: string, link: string } | { __typename: 'Source', id: number, name: string, link: string } | { __typename: 'SourcePopover', id: number, name: string, link: string } | { __typename: 'Variant', deprecated: boolean, id: number, name: string, link: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, name: string, link: string } }; export type DiseasePopoverQueryVariables = Exact<{ diseaseId: Scalars['Int']; @@ -6527,11 +6879,11 @@ export type EventFeedQueryVariables = Exact<{ }>; -export type EventFeedQuery = { __typename: 'Query', events: { __typename: 'EventConnection', eventTypes?: Array, unfilteredCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueParticipants?: Array<{ __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined }>, participatingOrganizations?: Array<{ __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined }>, edges: Array<{ __typename: 'EventEdge', cursor: string, node?: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined } | undefined }> } }; +export type EventFeedQuery = { __typename: 'Query', events: { __typename: 'EventConnection', eventTypes?: Array, unfilteredCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueParticipants?: Array<{ __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined }>, participatingOrganizations?: Array<{ __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined }>, edges: Array<{ __typename: 'EventEdge', cursor: string, node?: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined } | undefined }> } }; -export type EventFeedFragment = { __typename: 'EventConnection', eventTypes?: Array, unfilteredCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueParticipants?: Array<{ __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined }>, participatingOrganizations?: Array<{ __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined }>, edges: Array<{ __typename: 'EventEdge', cursor: string, node?: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined } | undefined }> }; +export type EventFeedFragment = { __typename: 'EventConnection', eventTypes?: Array, unfilteredCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueParticipants?: Array<{ __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined }>, participatingOrganizations?: Array<{ __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined }>, edges: Array<{ __typename: 'EventEdge', cursor: string, node?: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined } | undefined }> }; -export type EventFeedNodeFragment = { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }; +export type EventFeedNodeFragment = { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }; export type EvidencePopoverQueryVariables = Exact<{ evidenceId: Scalars['Int']; @@ -6582,9 +6934,9 @@ export type FeaturePopoverQueryVariables = Exact<{ }>; -export type FeaturePopoverQuery = { __typename: 'Query', feature?: { __typename: 'Feature', id: number, name: string, featureAliases: Array, featureInstance: { __typename: 'Factor' } | { __typename: 'Gene' }, variants: { __typename: 'VariantConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | undefined }; +export type FeaturePopoverQuery = { __typename: 'Query', feature?: { __typename: 'Feature', id: number, name: string, featureAliases: Array, featureInstance: { __typename: 'Factor' } | { __typename: 'Gene' }, variants: { __typename: 'VariantInterfaceConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | undefined }; -export type FeaturePopoverFragment = { __typename: 'Feature', id: number, name: string, featureAliases: Array, featureInstance: { __typename: 'Factor' } | { __typename: 'Gene' }, variants: { __typename: 'VariantConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; +export type FeaturePopoverFragment = { __typename: 'Feature', id: number, name: string, featureAliases: Array, featureInstance: { __typename: 'Factor' } | { __typename: 'Gene' }, variants: { __typename: 'VariantInterfaceConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; export type BrowseFeaturesQueryVariables = Exact<{ featureName?: InputMaybe; @@ -6617,20 +6969,20 @@ export type FlagListQueryVariables = Exact<{ }>; -export type FlagListQuery = { __typename: 'Query', flags: { __typename: 'FlagConnection', totalCount: number, unfilteredCountForSubject?: number | undefined, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueFlaggingUsers: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }>, uniqueResolvingUsers?: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }> | undefined, edges: Array<{ __typename: 'FlagEdge', node?: { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }> } }; +export type FlagListQuery = { __typename: 'Query', flags: { __typename: 'FlagConnection', totalCount: number, unfilteredCountForSubject?: number | undefined, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueFlaggingUsers: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }>, uniqueResolvingUsers?: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }> | undefined, edges: Array<{ __typename: 'FlagEdge', node?: { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }> } }; -export type FlagListFragment = { __typename: 'FlagConnection', totalCount: number, unfilteredCountForSubject?: number | undefined, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueFlaggingUsers: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }>, uniqueResolvingUsers?: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }> | undefined, edges: Array<{ __typename: 'FlagEdge', node?: { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }> }; +export type FlagListFragment = { __typename: 'FlagConnection', totalCount: number, unfilteredCountForSubject?: number | undefined, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, uniqueFlaggingUsers: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }>, uniqueResolvingUsers?: Array<{ __typename: 'User', username: string, id: number, profileImagePath?: string | undefined }> | undefined, edges: Array<{ __typename: 'FlagEdge', node?: { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }> }; -export type FlagFragment = { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; +export type FlagFragment = { __typename: 'Flag', id: number, state: FlagState, flaggable: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'BrowseFeature', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | { __typename: 'VariantGroup', id: number, name: string, link: string }, openActivity: { __typename: 'FlagEntityActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } }, resolutionActivity?: { __typename: 'ResolveFlagActivity', id: number, createdAt: any, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }>, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; export type FlagPopoverQueryVariables = Exact<{ flagId: Scalars['Int']; }>; -export type FlagPopoverQuery = { __typename: 'Query', flag?: { __typename: 'Flag', id: number, name: string, state: FlagState, createdAt: any, flaggingUser: { __typename: 'User', id: number, displayName: string, role: UserRole }, flaggable: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'BrowseFeature', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, openActivity: { __typename: 'FlagEntityActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } } | undefined }; +export type FlagPopoverQuery = { __typename: 'Query', flag?: { __typename: 'Flag', id: number, name: string, state: FlagState, createdAt: any, flaggingUser: { __typename: 'User', id: number, displayName: string, role: UserRole }, flaggable: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'BrowseFeature', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'FactorVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'GeneVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, openActivity: { __typename: 'FlagEntityActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } } | undefined }; -export type FlagPopoverFragment = { __typename: 'Flag', id: number, name: string, state: FlagState, createdAt: any, flaggingUser: { __typename: 'User', id: number, displayName: string, role: UserRole }, flaggable: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'BrowseFeature', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, openActivity: { __typename: 'FlagEntityActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } }; +export type FlagPopoverFragment = { __typename: 'Flag', id: number, name: string, state: FlagState, createdAt: any, flaggingUser: { __typename: 'User', id: number, displayName: string, role: UserRole }, flaggable: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'BrowseFeature', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'FactorVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'GeneVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, openActivity: { __typename: 'FlagEntityActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } }; export type QuicksearchQueryVariables = Exact<{ query: Scalars['String']; @@ -6808,9 +7160,9 @@ export type RevisionPopoverQueryVariables = Exact<{ }>; -export type RevisionPopoverQuery = { __typename: 'Query', revision?: { __typename: 'Revision', id: number, name: string, link: string, status: RevisionStatus, createdAt: any, creationActivity?: { __typename: 'SuggestRevisionSetActivity', user: { __typename: 'User', id: number, displayName: string, role: UserRole }, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, subject: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Flag', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Revision', id: number, link: string, name: string } | { __typename: 'RevisionSet', id: number, link: string, name: string } | { __typename: 'Source', id: number, link: string, name: string } | { __typename: 'SourcePopover', id: number, link: string, name: string } | { __typename: 'SourceSuggestion', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, linkoutData: { __typename: 'LinkoutData', name: string } } | undefined }; +export type RevisionPopoverQuery = { __typename: 'Query', revision?: { __typename: 'Revision', id: number, name: string, link: string, status: RevisionStatus, createdAt: any, creationActivity?: { __typename: 'SuggestRevisionSetActivity', user: { __typename: 'User', id: number, displayName: string, role: UserRole }, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, subject: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'FactorVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Flag', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'GeneVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Revision', id: number, link: string, name: string } | { __typename: 'RevisionSet', id: number, link: string, name: string } | { __typename: 'Source', id: number, link: string, name: string } | { __typename: 'SourcePopover', id: number, link: string, name: string } | { __typename: 'SourceSuggestion', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, linkoutData: { __typename: 'LinkoutData', name: string } } | undefined }; -export type RevisionPopoverFragment = { __typename: 'Revision', id: number, name: string, link: string, status: RevisionStatus, createdAt: any, creationActivity?: { __typename: 'SuggestRevisionSetActivity', user: { __typename: 'User', id: number, displayName: string, role: UserRole }, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, subject: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Flag', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Revision', id: number, link: string, name: string } | { __typename: 'RevisionSet', id: number, link: string, name: string } | { __typename: 'Source', id: number, link: string, name: string } | { __typename: 'SourcePopover', id: number, link: string, name: string } | { __typename: 'SourceSuggestion', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, linkoutData: { __typename: 'LinkoutData', name: string } }; +export type RevisionPopoverFragment = { __typename: 'Revision', id: number, name: string, link: string, status: RevisionStatus, createdAt: any, creationActivity?: { __typename: 'SuggestRevisionSetActivity', user: { __typename: 'User', id: number, displayName: string, role: UserRole }, parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, subject: { __typename: 'Assertion', id: number, link: string, name: string } | { __typename: 'EvidenceItem', id: number, link: string, name: string } | { __typename: 'Factor', id: number, link: string, name: string } | { __typename: 'FactorVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Feature', id: number, link: string, name: string } | { __typename: 'Flag', id: number, link: string, name: string } | { __typename: 'Gene', id: number, link: string, name: string } | { __typename: 'GeneVariant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'MolecularProfile', id: number, link: string, name: string } | { __typename: 'Revision', id: number, link: string, name: string } | { __typename: 'RevisionSet', id: number, link: string, name: string } | { __typename: 'Source', id: number, link: string, name: string } | { __typename: 'SourcePopover', id: number, link: string, name: string } | { __typename: 'SourceSuggestion', id: number, link: string, name: string } | { __typename: 'Variant', deprecated: boolean, id: number, link: string, name: string, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'VariantGroup', id: number, link: string, name: string }, linkoutData: { __typename: 'LinkoutData', name: string } }; export type RevisionsQueryVariables = Exact<{ subject?: InputMaybe; @@ -7027,9 +7379,9 @@ export type VariantGroupPopoverQueryVariables = Exact<{ }>; -export type VariantGroupPopoverQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', edges: Array<{ __typename: 'VariantEdge', node?: { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | undefined }> }, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, sourceType: SourceSource, link: string }> } | undefined }; +export type VariantGroupPopoverQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', edges: Array<{ __typename: 'VariantInterfaceEdge', node?: { __typename: 'FactorVariant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'GeneVariant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | undefined }> }, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, sourceType: SourceSource, link: string }> } | undefined }; -export type VariantGroupPopoverFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', edges: Array<{ __typename: 'VariantEdge', node?: { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | undefined }> }, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, sourceType: SourceSource, link: string }> }; +export type VariantGroupPopoverFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', edges: Array<{ __typename: 'VariantInterfaceEdge', node?: { __typename: 'FactorVariant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'GeneVariant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean, feature: { __typename: 'Feature', id: number, name: string, link: string } } | undefined }> }, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, sourceType: SourceSource, link: string }> }; export type BrowseVariantGroupsQueryVariables = Exact<{ first?: InputMaybe; @@ -7076,18 +7428,30 @@ export type CoordinatesCardQueryVariables = Exact<{ }>; -export type CoordinatesCardQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined } | undefined }; +export type CoordinatesCardQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'GeneVariant', referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, id: number, name: string, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined } | { __typename: 'Variant', id: number, name: string } | undefined }; + +type CoordinatesCardFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string }; -export type CoordinatesCardFieldsFragment = { __typename: 'Variant', id: number, name: string, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }; +type CoordinatesCardFields_GeneVariant_Fragment = { __typename: 'GeneVariant', referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, id: number, name: string, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }; + +type CoordinatesCardFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string }; + +export type CoordinatesCardFieldsFragment = CoordinatesCardFields_FactorVariant_Fragment | CoordinatesCardFields_GeneVariant_Fragment | CoordinatesCardFields_Variant_Fragment; export type VariantPopoverQueryVariables = Exact<{ variantId: Scalars['Int']; }>; -export type VariantPopoverQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | undefined }; +export type VariantPopoverQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | { __typename: 'GeneVariant', alleleRegistryId?: string | undefined, id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | { __typename: 'Variant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } } | undefined }; + +type VariantPopoverFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; + +type VariantPopoverFields_GeneVariant_Fragment = { __typename: 'GeneVariant', alleleRegistryId?: string | undefined, id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; -export type VariantPopoverFieldsFragment = { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; +type VariantPopoverFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number } }; + +export type VariantPopoverFieldsFragment = VariantPopoverFields_FactorVariant_Fragment | VariantPopoverFields_GeneVariant_Fragment | VariantPopoverFields_Variant_Fragment; export type VariantsMenuQueryVariables = Exact<{ featureId?: InputMaybe; @@ -7102,7 +7466,7 @@ export type VariantsMenuQueryVariables = Exact<{ }>; -export type VariantsMenuQuery = { __typename: 'Query', variants: { __typename: 'VariantConnection', totalCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasPreviousPage: boolean, hasNextPage: boolean }, edges: Array<{ __typename: 'VariantEdge', cursor: string, node?: { __typename: 'Variant', id: number, name: string, link: string, flagged: boolean } | undefined }> } }; +export type VariantsMenuQuery = { __typename: 'Query', variants: { __typename: 'VariantInterfaceConnection', totalCount: number, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasPreviousPage: boolean, hasNextPage: boolean }, nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, flagged: boolean } | { __typename: 'GeneVariant', id: number, name: string, link: string, flagged: boolean } | { __typename: 'Variant', id: number, name: string, link: string, flagged: boolean }> } }; export type VariantTypesForFeatureQueryVariables = Exact<{ featureId?: InputMaybe; @@ -7113,7 +7477,13 @@ export type VariantTypesForFeatureQuery = { __typename: 'Query', variantTypes: { export type MenuVariantTypeFragment = { __typename: 'BrowseVariantType', id: number, name: string, link: string }; -export type MenuVariantFragment = { __typename: 'Variant', id: number, name: string, link: string, flagged: boolean }; +type MenuVariant_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, link: string, flagged: boolean }; + +type MenuVariant_GeneVariant_Fragment = { __typename: 'GeneVariant', id: number, name: string, link: string, flagged: boolean }; + +type MenuVariant_Variant_Fragment = { __typename: 'Variant', id: number, name: string, link: string, flagged: boolean }; + +export type MenuVariantFragment = MenuVariant_FactorVariant_Fragment | MenuVariant_GeneVariant_Fragment | MenuVariant_Variant_Fragment; export type BrowseVariantsQueryVariables = Exact<{ variantName?: InputMaybe; @@ -7125,6 +7495,7 @@ export type BrowseVariantsQueryVariables = Exact<{ variantGroupId?: InputMaybe; variantTypeName?: InputMaybe; hasNoVariantType?: InputMaybe; + variantCategory?: InputMaybe; sortBy?: InputMaybe; first?: InputMaybe; last?: InputMaybe; @@ -7133,9 +7504,9 @@ export type BrowseVariantsQueryVariables = Exact<{ }>; -export type BrowseVariantsQuery = { __typename: 'Query', browseVariants: { __typename: 'BrowseVariantConnection', totalCount: number, filteredCount: number, pageCount: number, lastUpdated: any, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, startCursor?: string | undefined, hasPreviousPage: boolean }, edges: Array<{ __typename: 'BrowseVariantEdge', cursor: string, node?: { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> } | undefined }> } }; +export type BrowseVariantsQuery = { __typename: 'Query', browseVariants: { __typename: 'BrowseVariantConnection', totalCount: number, filteredCount: number, pageCount: number, lastUpdated: any, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, startCursor?: string | undefined, hasPreviousPage: boolean }, edges: Array<{ __typename: 'BrowseVariantEdge', cursor: string, node?: { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, category: VariantCategories, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> } | undefined }> } }; -export type BrowseVariantsFieldsFragment = { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> }; +export type BrowseVariantsFieldsFragment = { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, category: VariantCategories, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> }; export type ViewerBaseQueryVariables = Exact<{ [key: string]: never; }>; @@ -7204,7 +7575,7 @@ export type LinkableVariantQueryVariables = Exact<{ }>; -export type LinkableVariantQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, link: string } | undefined }; +export type LinkableVariantQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }; export type LinkableTherapyQueryVariables = Exact<{ therapyId: Scalars['Int']; @@ -7268,7 +7639,7 @@ export type DeprecateVariantMutationVariables = Exact<{ }>; -export type DeprecateVariantMutation = { __typename: 'Mutation', deprecateVariant?: { __typename: 'DeprecateVariantPayload', newlyDeprecatedMolecularProfiles?: Array<{ __typename: 'MolecularProfile', id: number }> | undefined, variant?: { __typename: 'Variant', id: number, name: string } | undefined } | undefined }; +export type DeprecateVariantMutation = { __typename: 'Mutation', deprecateVariant?: { __typename: 'DeprecateVariantPayload', newlyDeprecatedMolecularProfiles?: Array<{ __typename: 'MolecularProfile', id: number }> | undefined, variant?: { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | undefined } | undefined }; export type MolecularProfilesForVariantQueryVariables = Exact<{ variantId: Scalars['Int']; @@ -7372,6 +7743,22 @@ export type SuggestFactorRevisionMutationVariables = Exact<{ export type SuggestFactorRevisionMutation = { __typename: 'Mutation', suggestFactorRevision?: { __typename: 'SuggestFactorRevisionPayload', clientMutationId?: string | undefined, results: Array<{ __typename: 'RevisionResult', newlyCreated: boolean, id: number, fieldName: string }> } | undefined }; +export type FactorVariantRevisableFieldsQueryVariables = Exact<{ + variantId: Scalars['Int']; +}>; + + +export type FactorVariantRevisableFieldsQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }> } | { __typename: 'GeneVariant', id: number } | { __typename: 'Variant', id: number } | undefined }; + +export type RevisableFactorVariantFieldsFragment = { __typename: 'FactorVariant', name: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }> }; + +export type SuggestFactorVariantRevisionMutationVariables = Exact<{ + input: SuggestFactorVariantRevisionInput; +}>; + + +export type SuggestFactorVariantRevisionMutation = { __typename: 'Mutation', suggestFactorVariantRevision?: { __typename: 'SuggestFactorVariantRevisionPayload', clientMutationId?: string | undefined, variant: { __typename: 'FactorVariant', id: number }, results: Array<{ __typename: 'RevisionResult', id: number, fieldName: string, newlyCreated: boolean }> } | undefined }; + export type GeneRevisableFieldsQueryVariables = Exact<{ featureId: Scalars['Int']; }>; @@ -7388,6 +7775,24 @@ export type SuggestGeneRevisionMutationVariables = Exact<{ export type SuggestGeneRevisionMutation = { __typename: 'Mutation', suggestGeneRevision?: { __typename: 'SuggestGeneRevisionPayload', clientMutationId?: string | undefined, results: Array<{ __typename: 'RevisionResult', newlyCreated: boolean, id: number, fieldName: string }> } | undefined }; +export type GeneVariantRevisableFieldsQueryVariables = Exact<{ + variantId: Scalars['Int']; +}>; + + +export type GeneVariantRevisableFieldsQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number } | { __typename: 'GeneVariant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, clinvarIds: Array, ensemblVersion?: number | undefined, hgvsDescriptions: Array, referenceBuild?: ReferenceBuild | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }>, primaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined } | { __typename: 'Variant', id: number } | undefined }; + +export type RevisableGeneVariantFieldsFragment = { __typename: 'GeneVariant', name: string, variantAliases: Array, alleleRegistryId?: string | undefined, clinvarIds: Array, ensemblVersion?: number | undefined, hgvsDescriptions: Array, referenceBuild?: ReferenceBuild | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }>, primaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }; + +export type CoordinateFieldsFragment = { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined }; + +export type SuggestGeneVariantRevisionMutationVariables = Exact<{ + input: SuggestGeneVariantRevisionInput; +}>; + + +export type SuggestGeneVariantRevisionMutation = { __typename: 'Mutation', suggestGeneVariantRevision?: { __typename: 'SuggestGeneVariantRevisionPayload', clientMutationId?: string | undefined, variant: { __typename: 'GeneVariant', id: number }, results: Array<{ __typename: 'RevisionResult', id: number, fieldName: string, newlyCreated: boolean }> } | undefined }; + export type MolecularProfileRevisableFieldsQueryVariables = Exact<{ molecularProfileId: Scalars['Int']; }>; @@ -7418,32 +7823,14 @@ export type SourceSuggestionChecksQueryVariables = Exact<{ export type SourceSuggestionChecksQuery = { __typename: 'Query', source?: { __typename: 'Source', fullyCurated: boolean } | undefined, sourceSuggestions: { __typename: 'SourceSuggestionConnection', filteredCount: number } }; -export type VariantRevisableFieldsQueryVariables = Exact<{ - variantId: Scalars['Int']; -}>; - - -export type VariantRevisableFieldsQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, clinvarIds: Array, ensemblVersion?: number | undefined, hgvsDescriptions: Array, referenceBuild?: ReferenceBuild | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }>, primaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined } | undefined }; - -export type RevisableVariantFieldsFragment = { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, clinvarIds: Array, ensemblVersion?: number | undefined, hgvsDescriptions: Array, referenceBuild?: ReferenceBuild | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, name: string, soid: string }>, primaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }; - -export type CoordinateFieldsFragment = { __typename: 'Coordinate', chromosome?: string | undefined, representativeTranscript?: string | undefined, start?: number | undefined, stop?: number | undefined }; - -export type SuggestVariantRevisionMutationVariables = Exact<{ - input: SuggestVariantRevisionInput; -}>; - - -export type SuggestVariantRevisionMutation = { __typename: 'Mutation', suggestVariantRevision?: { __typename: 'SuggestVariantRevisionPayload', clientMutationId?: string | undefined, variant: { __typename: 'Variant', id: number }, results: Array<{ __typename: 'RevisionResult', id: number, fieldName: string, newlyCreated: boolean }> } | undefined }; - export type VariantGroupRevisableFieldsQueryVariables = Exact<{ variantGroupId: Scalars['Int']; }>; -export type VariantGroupRevisableFieldsQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', totalCount: number, edges: Array<{ __typename: 'VariantEdge', cursor: string, node?: { __typename: 'Variant', id: number, name: string, link: string } | undefined }>, nodes: Array<{ __typename: 'Variant', id: number, name: string, link: string }> }, sources: Array<{ __typename: 'Source', id: number, name: string, link: string }> } | undefined }; +export type VariantGroupRevisableFieldsQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', totalCount: number, edges: Array<{ __typename: 'VariantInterfaceEdge', cursor: string, node?: { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }>, nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string }> }, sources: Array<{ __typename: 'Source', id: number, name: string, link: string }> } | undefined }; -export type VariantGroupRevisableFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', totalCount: number, edges: Array<{ __typename: 'VariantEdge', cursor: string, node?: { __typename: 'Variant', id: number, name: string, link: string } | undefined }>, nodes: Array<{ __typename: 'Variant', id: number, name: string, link: string }> }, sources: Array<{ __typename: 'Source', id: number, name: string, link: string }> }; +export type VariantGroupRevisableFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', totalCount: number, edges: Array<{ __typename: 'VariantInterfaceEdge', cursor: string, node?: { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }>, nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string }> }, sources: Array<{ __typename: 'Source', id: number, name: string, link: string }> }; export type SuggestVariantGroupRevisionMutationVariables = Exact<{ input: SuggestVariantGroupRevisionInput; @@ -7457,9 +7844,9 @@ export type VariantGroupSubmittableFieldsQueryVariables = Exact<{ }>; -export type VariantGroupSubmittableFieldsQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', nodes: Array<{ __typename: 'Variant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } }> }, sources: Array<{ __typename: 'Source', id: number, link: string, citation?: string | undefined, sourceType: SourceSource }> } | undefined }; +export type VariantGroupSubmittableFieldsQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } } | { __typename: 'GeneVariant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } } | { __typename: 'Variant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } }> }, sources: Array<{ __typename: 'Source', id: number, link: string, citation?: string | undefined, sourceType: SourceSource }> } | undefined }; -export type SubmittableVariantGroupFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantConnection', nodes: Array<{ __typename: 'Variant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } }> }, sources: Array<{ __typename: 'Source', id: number, link: string, citation?: string | undefined, sourceType: SourceSource }> }; +export type SubmittableVariantGroupFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, description: string, variants: { __typename: 'VariantInterfaceConnection', nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } } | { __typename: 'GeneVariant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } } | { __typename: 'Variant', id: number, name: string, link: string, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string } }> }, sources: Array<{ __typename: 'Source', id: number, link: string, citation?: string | undefined, sourceType: SourceSource }> }; export type SubmitVariantGroupMutationVariables = Exact<{ input: SubmitVariantGroupInput; @@ -7487,7 +7874,7 @@ export type EntityTagsTestQueryVariables = Exact<{ }>; -export type EntityTagsTestQuery = { __typename: 'Query', evidenceItem?: { __typename: 'EvidenceItem', id: number, name: string, link: string } | undefined, molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, link: string } | undefined, gene?: { __typename: 'Gene', id: number, name: string, link: string } | undefined, variant?: { __typename: 'Variant', id: number, name: string, link: string } | undefined, therapy?: { __typename: 'Therapy', id: number, name: string, link: string } | undefined, disease?: { __typename: 'Disease', id: number, name: string, link: string } | undefined }; +export type EntityTagsTestQuery = { __typename: 'Query', evidenceItem?: { __typename: 'EvidenceItem', id: number, name: string, link: string } | undefined, molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, link: string } | undefined, gene?: { __typename: 'Gene', id: number, name: string, link: string } | undefined, variant?: { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined, therapy?: { __typename: 'Therapy', id: number, name: string, link: string } | undefined, disease?: { __typename: 'Disease', id: number, name: string, link: string } | undefined }; export type AcmgCodeSelectTypeaheadQueryVariables = Exact<{ code: Scalars['String']; @@ -7648,7 +8035,7 @@ export type PreviewMolecularProfileName2QueryVariables = Exact<{ }>; -export type PreviewMolecularProfileName2Query = { __typename: 'Query', previewMolecularProfileName: { __typename: 'MolecularProfileNamePreview', existingMolecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, link: string } | undefined, segments: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string }>, deprecatedVariants: Array<{ __typename: 'Variant', id: number, name: string, link: string }> } }; +export type PreviewMolecularProfileName2Query = { __typename: 'Query', previewMolecularProfileName: { __typename: 'MolecularProfileNamePreview', existingMolecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, link: string } | undefined, segments: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string }>, deprecatedVariants: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string }> } }; export type MpExpressionEditorPrepopulateQueryVariables = Exact<{ mpId: Scalars['Int']; @@ -7779,7 +8166,7 @@ export type VariantManagerQueryVariables = Exact<{ }>; -export type VariantManagerQuery = { __typename: 'Query', browseVariants: { __typename: 'BrowseVariantConnection', totalCount: number, filteredCount: number, pageCount: number, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, startCursor?: string | undefined, hasPreviousPage: boolean }, edges: Array<{ __typename: 'BrowseVariantEdge', cursor: string, node?: { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> } | undefined }> } }; +export type VariantManagerQuery = { __typename: 'Query', browseVariants: { __typename: 'BrowseVariantConnection', totalCount: number, filteredCount: number, pageCount: number, pageInfo: { __typename: 'PageInfo', endCursor?: string | undefined, hasNextPage: boolean, startCursor?: string | undefined, hasPreviousPage: boolean }, edges: Array<{ __typename: 'BrowseVariantEdge', cursor: string, node?: { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, category: VariantCategories, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }>, variantTypes: Array<{ __typename: 'LinkableVariantType', id: number, name: string, link: string }> } | undefined }> } }; export type VariantManagerFieldsFragment = { __typename: 'BrowseVariant', id: number, name: string, link: string, featureId: number, featureName: string, featureLink: string, diseases: Array<{ __typename: 'Disease', id: number, name: string, link: string }>, therapies: Array<{ __typename: 'Therapy', id: number, name: string, link: string }>, aliases: Array<{ __typename: 'VariantAlias', name: string }> }; @@ -7790,9 +8177,9 @@ export type QuickAddVariantMutationVariables = Exact<{ }>; -export type QuickAddVariantMutation = { __typename: 'Mutation', createVariant?: { __typename: 'CreateVariantPayload', clientMutationId?: string | undefined, new: boolean, variant: { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } } | undefined }; +export type QuickAddVariantMutation = { __typename: 'Mutation', createVariant?: { __typename: 'CreateVariantPayload', clientMutationId?: string | undefined, new: boolean, variant: { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } } | undefined }; -export type QuickAddVariantFieldsFragment = { __typename: 'CreateVariantPayload', clientMutationId?: string | undefined, new: boolean, variant: { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } }; +export type QuickAddVariantFieldsFragment = { __typename: 'CreateVariantPayload', clientMutationId?: string | undefined, new: boolean, variant: { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } }; export type VariantSelectTypeaheadQueryVariables = Exact<{ name: Scalars['String']; @@ -7800,16 +8187,22 @@ export type VariantSelectTypeaheadQueryVariables = Exact<{ }>; -export type VariantSelectTypeaheadQuery = { __typename: 'Query', variants: { __typename: 'VariantConnection', totalCount: number, edges: Array<{ __typename: 'VariantEdge', node?: { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | undefined }>, nodes: Array<{ __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }> } }; +export type VariantSelectTypeaheadQuery = { __typename: 'Query', variants: { __typename: 'VariantInterfaceConnection', totalCount: number, edges: Array<{ __typename: 'VariantInterfaceEdge', node?: { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | undefined }>, nodes: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }> } }; export type VariantSelectTagQueryVariables = Exact<{ variantId: Scalars['Int']; }>; -export type VariantSelectTagQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | undefined }; +export type VariantSelectTagQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } } | undefined }; + +type VariantSelectTypeaheadFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }; + +type VariantSelectTypeaheadFields_GeneVariant_Fragment = { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }; -export type VariantSelectTypeaheadFieldsFragment = { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }; +type VariantSelectTypeaheadFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, singleVariantMolecularProfileId: number, singleVariantMolecularProfile: { __typename: 'MolecularProfile', id: number, name: string, link: string, molecularProfileAliases: Array } }; + +export type VariantSelectTypeaheadFieldsFragment = VariantSelectTypeaheadFields_FactorVariant_Fragment | VariantSelectTypeaheadFields_GeneVariant_Fragment | VariantSelectTypeaheadFields_Variant_Fragment; export type VariantTypeSelectTypeaheadQueryVariables = Exact<{ name: Scalars['String']; @@ -7928,18 +8321,18 @@ export type MolecularProfileDetailQueryVariables = Exact<{ }>; -export type MolecularProfileDetailQuery = { __typename: 'Query', molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, deprecated: boolean, deprecationReason?: MolecularProfileDeprecationReason | undefined, molecularProfileAliases: Array, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, deprecatedVariants: Array<{ __typename: 'Variant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, variants: Array<{ __typename: 'Variant', id: number }> } | undefined }; +export type MolecularProfileDetailQuery = { __typename: 'Query', molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, deprecated: boolean, deprecationReason?: MolecularProfileDeprecationReason | undefined, molecularProfileAliases: Array, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, deprecatedVariants: Array<{ __typename: 'FactorVariant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'GeneVariant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Variant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, variants: Array<{ __typename: 'FactorVariant', id: number } | { __typename: 'GeneVariant', id: number } | { __typename: 'Variant', id: number }> } | undefined }; -export type MolecularProfileDetailFieldsFragment = { __typename: 'MolecularProfile', id: number, name: string, deprecated: boolean, deprecationReason?: MolecularProfileDeprecationReason | undefined, molecularProfileAliases: Array, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, deprecatedVariants: Array<{ __typename: 'Variant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, variants: Array<{ __typename: 'Variant', id: number }> }; +export type MolecularProfileDetailFieldsFragment = { __typename: 'MolecularProfile', id: number, name: string, deprecated: boolean, deprecationReason?: MolecularProfileDeprecationReason | undefined, molecularProfileAliases: Array, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, deprecatedVariants: Array<{ __typename: 'FactorVariant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'GeneVariant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } } | { __typename: 'Variant', deprecationReason?: VariantDeprecationReason | undefined, id: number, deprecated: boolean, name: string, link: string, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string } }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, variants: Array<{ __typename: 'FactorVariant', id: number } | { __typename: 'GeneVariant', id: number } | { __typename: 'Variant', id: number }> }; export type MolecularProfileSummaryQueryVariables = Exact<{ mpId: Scalars['Int']; }>; -export type MolecularProfileSummaryQuery = { __typename: 'Query', molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, description?: string | undefined, molecularProfileAliases: Array, molecularProfileScore: number, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, link: string, sourceType: SourceSource }>, variants: Array<{ __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, clinvarIds: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, hgvsDescriptions: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }>, parsedName: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean }>, complexMolecularProfileCreationActivity?: { __typename: 'CreateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, variantDeprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }; +export type MolecularProfileSummaryQuery = { __typename: 'Query', molecularProfile?: { __typename: 'MolecularProfile', id: number, name: string, description?: string | undefined, molecularProfileAliases: Array, molecularProfileScore: number, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, link: string, sourceType: SourceSource }>, variants: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }> }>, parsedName: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean }>, complexMolecularProfileCreationActivity?: { __typename: 'CreateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, variantDeprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }; -export type MolecularProfileSummaryFieldsFragment = { __typename: 'MolecularProfile', id: number, name: string, description?: string | undefined, molecularProfileAliases: Array, molecularProfileScore: number, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, link: string, sourceType: SourceSource }>, variants: Array<{ __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, clinvarIds: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, hgvsDescriptions: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }>, parsedName: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean }>, complexMolecularProfileCreationActivity?: { __typename: 'CreateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, variantDeprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; +export type MolecularProfileSummaryFieldsFragment = { __typename: 'MolecularProfile', id: number, name: string, description?: string | undefined, molecularProfileAliases: Array, molecularProfileScore: number, sources: Array<{ __typename: 'Source', id: number, citation?: string | undefined, link: string, sourceType: SourceSource }>, variants: Array<{ __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined } | { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined } | { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }> }>, parsedName: Array<{ __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'MolecularProfileTextSegment', text: string } | { __typename: 'Variant', id: number, name: string, link: string, deprecated: boolean }>, complexMolecularProfileCreationActivity?: { __typename: 'CreateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, variantDeprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, complexMolecularProfileDeprecationActivity?: { __typename: 'DeprecateComplexMolecularProfileActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; type MolecularProfileParsedName_Feature_Fragment = { __typename: 'Feature', id: number, name: string, link: string }; @@ -7949,7 +8342,13 @@ type MolecularProfileParsedName_Variant_Fragment = { __typename: 'Variant', id: export type MolecularProfileParsedNameFragment = MolecularProfileParsedName_Feature_Fragment | MolecularProfileParsedName_MolecularProfileTextSegment_Fragment | MolecularProfileParsedName_Variant_Fragment; -export type VariantMolecularProfileCardFieldsFragment = { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, clinvarIds: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, hgvsDescriptions: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined }; +type VariantMolecularProfileCardFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, link: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined }; + +type VariantMolecularProfileCardFields_GeneVariant_Fragment = { __typename: 'GeneVariant', id: number, name: string, link: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined }; + +type VariantMolecularProfileCardFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string, link: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, molecularProfiles: { __typename: 'MolecularProfileConnection', totalCount: number, nodes: Array<{ __typename: 'MolecularProfile', id: number, link: string, name: string, deprecated: boolean }> }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }> }; + +export type VariantMolecularProfileCardFieldsFragment = VariantMolecularProfileCardFields_FactorVariant_Fragment | VariantMolecularProfileCardFields_GeneVariant_Fragment | VariantMolecularProfileCardFields_Variant_Fragment; export type OrganizationDetailQueryVariables = Exact<{ organizationId: Scalars['Int']; @@ -8056,22 +8455,22 @@ export type UserNotificationsQueryVariables = Exact<{ }>; -export type UserNotificationsQuery = { __typename: 'Query', notifications: { __typename: 'NotificationConnection', eventTypes: Array, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, notificationSubjects: Array<{ __typename: 'EventSubjectWithCount', occuranceCount: number, subject?: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } | undefined }>, originatingUsers: Array<{ __typename: 'User', id: number, displayName: string }>, organizations: Array<{ __typename: 'Organization', id: number, name: string }>, edges: Array<{ __typename: 'NotificationEdge', node?: { __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined } | undefined }> } }; +export type UserNotificationsQuery = { __typename: 'Query', notifications: { __typename: 'NotificationConnection', eventTypes: Array, pageInfo: { __typename: 'PageInfo', startCursor?: string | undefined, endCursor?: string | undefined, hasNextPage: boolean, hasPreviousPage: boolean }, notificationSubjects: Array<{ __typename: 'EventSubjectWithCount', occuranceCount: number, subject?: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } | undefined }>, originatingUsers: Array<{ __typename: 'User', id: number, displayName: string }>, organizations: Array<{ __typename: 'Organization', id: number, name: string }>, edges: Array<{ __typename: 'NotificationEdge', node?: { __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined } | undefined }> } }; export type NotificationOrganizationFragment = { __typename: 'Organization', id: number, name: string }; export type NotificationOriginatingUsersFragment = { __typename: 'User', id: number, displayName: string }; -export type NotificationFeedSubjectsFragment = { __typename: 'EventSubjectWithCount', occuranceCount: number, subject?: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } | undefined }; +export type NotificationFeedSubjectsFragment = { __typename: 'EventSubjectWithCount', occuranceCount: number, subject?: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } | undefined }; -export type NotificationNodeFragment = { __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined }; +export type NotificationNodeFragment = { __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined }; export type UpdateNotificationStatusMutationVariables = Exact<{ input: UpdateNotificationStatusInput; }>; -export type UpdateNotificationStatusMutation = { __typename: 'Mutation', updateNotificationStatus?: { __typename: 'UpdateNotificationStatusPayload', notifications: Array<{ __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined }> } | undefined }; +export type UpdateNotificationStatusMutation = { __typename: 'Mutation', updateNotificationStatus?: { __typename: 'UpdateNotificationStatusPayload', notifications: Array<{ __typename: 'Notification', id: number, type: NotificationReason, seen: boolean, event: { __typename: 'Event', id: number, action: EventAction, createdAt: any, organization?: { __typename: 'Organization', id: number, name: string, profileImagePath?: string | undefined } | undefined, originatingUser: { __typename: 'User', id: number, username: string, displayName: string, role: UserRole, profileImagePath?: string | undefined }, subject?: { __typename: 'Assertion', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'EvidenceItem', status: EvidenceStatus, name: string, id: number, link: string } | { __typename: 'Factor', name: string, id: number, link: string } | { __typename: 'FactorVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'Feature', deprecated: boolean, id: number, link: string, name: string } | { __typename: 'Flag', name: string, id: number, link: string } | { __typename: 'Gene', name: string, id: number, link: string } | { __typename: 'GeneVariant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'MolecularProfile', deprecated: boolean, name: string, id: number, link: string } | { __typename: 'Revision', revisionSetId: number, name: string, id: number, link: string } | { __typename: 'RevisionSet', name: string, id: number, link: string } | { __typename: 'Source', citation?: string | undefined, sourceType: SourceSource, name: string, id: number, link: string } | { __typename: 'SourcePopover', name: string, id: number, link: string } | { __typename: 'SourceSuggestion', name: string, id: number, link: string } | { __typename: 'Variant', deprecated: boolean, name: string, id: number, link: string, feature: { __typename: 'Feature', id: number, link: string, name: string } } | { __typename: 'VariantGroup', name: string, id: number, link: string } | undefined, originatingObject?: { __typename: 'Assertion', id: number, name: string, link: string } | { __typename: 'Comment', id: number, name: string, link: string } | { __typename: 'EvidenceItem', id: number, name: string, link: string } | { __typename: 'Factor', id: number, name: string, link: string } | { __typename: 'FactorVariant', id: number, name: string, link: string } | { __typename: 'Feature', id: number, name: string, link: string } | { __typename: 'Flag', id: number, name: string, link: string } | { __typename: 'Gene', id: number, name: string, link: string } | { __typename: 'GeneVariant', id: number, name: string, link: string } | { __typename: 'MolecularProfile', id: number, name: string, link: string } | { __typename: 'Revision', id: number, revisionSetId: number, name: string, link: string } | { __typename: 'SourceSuggestion', id: number, name: string, link: string } | { __typename: 'Variant', id: number, name: string, link: string } | undefined }, subscription?: { __typename: 'Subscription', id: number, subscribable: { __typename: 'Assertion', id: number, name: string } | { __typename: 'EvidenceItem', id: number, name: string } | { __typename: 'Factor', id: number, name: string } | { __typename: 'FactorVariant', id: number, name: string } | { __typename: 'Feature', id: number, name: string } | { __typename: 'Flag', id: number, name: string } | { __typename: 'Gene', id: number, name: string } | { __typename: 'GeneVariant', id: number, name: string } | { __typename: 'MolecularProfile', id: number, name: string } | { __typename: 'Revision', id: number, name: string } | { __typename: 'RevisionSet', id: number, name: string } | { __typename: 'Source', id: number, name: string } | { __typename: 'SourcePopover', id: number, name: string } | { __typename: 'SourceSuggestion', id: number, name: string } | { __typename: 'Variant', id: number, name: string } | { __typename: 'VariantGroup', id: number, name: string } } | undefined }> } | undefined }; export type UnsubscribeMutationVariables = Exact<{ input: UnsubscribeInput; @@ -8094,9 +8493,9 @@ export type VariantGroupDetailQueryVariables = Exact<{ }>; -export type VariantGroupDetailQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, variants: { __typename: 'VariantConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | undefined }; +export type VariantGroupDetailQuery = { __typename: 'Query', variantGroup?: { __typename: 'VariantGroup', id: number, name: string, variants: { __typename: 'VariantInterfaceConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | undefined }; -export type VariantGroupDetailFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, variants: { __typename: 'VariantConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; +export type VariantGroupDetailFieldsFragment = { __typename: 'VariantGroup', id: number, name: string, variants: { __typename: 'VariantInterfaceConnection', totalCount: number }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; export type VariantGroupsSummaryQueryVariables = Exact<{ variantGroupId: Scalars['Int']; @@ -8119,18 +8518,34 @@ export type VariantDetailQueryVariables = Exact<{ }>; -export type VariantDetailQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | undefined }; +export type VariantDetailQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | { __typename: 'GeneVariant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | { __typename: 'Variant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } } | undefined }; + +type VariantDetailFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; + +type VariantDetailFields_GeneVariant_Fragment = { __typename: 'GeneVariant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; + +type VariantDetailFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; -export type VariantDetailFieldsFragment = { __typename: 'Variant', id: number, name: string, deprecated: boolean, deprecationReason?: VariantDeprecationReason | undefined, variantAliases: Array, deprecationActivity?: { __typename: 'DeprecateVariantActivity', parsedNote: Array<{ __typename: 'CommentTagSegment', entityId: number, displayName: string, tagType: TaggableEntity, status?: EvidenceStatus | undefined, deprecated?: boolean | undefined, link: string, revisionSetId?: number | undefined, feature?: { __typename: 'LinkableFeature', id: number, name: string, link: string } | undefined } | { __typename: 'CommentTextSegment', text: string } | { __typename: 'User', id: number, displayName: string, role: UserRole }> } | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number } }; +export type VariantDetailFieldsFragment = VariantDetailFields_FactorVariant_Fragment | VariantDetailFields_GeneVariant_Fragment | VariantDetailFields_Variant_Fragment; export type VariantSummaryQueryVariables = Exact<{ variantId: Scalars['Int']; }>; -export type VariantSummaryQuery = { __typename: 'Query', variant?: { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }; +export type VariantSummaryQuery = { __typename: 'Query', variant?: { __typename: 'FactorVariant', id: number, name: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined } | { __typename: 'GeneVariant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined } | { __typename: 'Variant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined } | undefined }; + +type VariantSummaryFields_FactorVariant_Fragment = { __typename: 'FactorVariant', id: number, name: string, variantAliases: Array, ncitId?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined }; + +type VariantSummaryFields_GeneVariant_Fragment = { __typename: 'GeneVariant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined }; + +type VariantSummaryFields_Variant_Fragment = { __typename: 'Variant', id: number, name: string, variantAliases: Array, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; -export type VariantSummaryFieldsFragment = { __typename: 'Variant', id: number, name: string, variantAliases: Array, alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, feature: { __typename: 'Feature', id: number, name: string, link: string }, variantTypes: Array<{ __typename: 'VariantType', id: number, link: string, soid: string, name: string }>, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, flags: { __typename: 'FlagConnection', totalCount: number }, revisions: { __typename: 'RevisionConnection', totalCount: number }, comments: { __typename: 'CommentConnection', totalCount: number }, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined, lastSubmittedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, lastAcceptedRevisionEvent?: { __typename: 'Event', originatingUser: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, creationActivity?: { __typename: 'CreateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined, deprecationActivity?: { __typename: 'DeprecateVariantActivity', createdAt: any, user: { __typename: 'User', id: number, displayName: string, role: UserRole, profileImagePath?: string | undefined } } | undefined }; +export type VariantSummaryFieldsFragment = VariantSummaryFields_FactorVariant_Fragment | VariantSummaryFields_GeneVariant_Fragment | VariantSummaryFields_Variant_Fragment; + +export type FactorVariantSummaryFieldsFragment = { __typename: 'FactorVariant', ncitId?: string | undefined, ncitDetails?: { __typename: 'NcitDetails', synonyms: Array<{ __typename: 'NcitSynonym', name: string, source: string }>, definitions: Array<{ __typename: 'NcitDefinition', definition: string, source: string }> } | undefined }; + +export type GeneVariantSummaryFieldsFragment = { __typename: 'GeneVariant', alleleRegistryId?: string | undefined, openCravatUrl?: string | undefined, maneSelectTranscript?: string | undefined, hgvsDescriptions: Array, clinvarIds: Array, referenceBuild?: ReferenceBuild | undefined, ensemblVersion?: number | undefined, referenceBases?: string | undefined, variantBases?: string | undefined, primaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, secondaryCoordinates?: { __typename: 'Coordinate', representativeTranscript?: string | undefined, chromosome?: string | undefined, start?: number | undefined, stop?: number | undefined } | undefined, myVariantInfo?: { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array } | undefined }; export type MyVariantInfoFieldsFragment = { __typename: 'MyVariantInfo', myVariantInfoId: string, caddConsequence: Array, caddDetail: Array, caddScore?: number | undefined, caddPhred?: number | undefined, clinvarClinicalSignificance: Array, clinvarHgvsCoding: Array, clinvarHgvsGenomic: Array, clinvarHgvsNonCoding: Array, clinvarHgvsProtein: Array, clinvarId?: number | undefined, clinvarOmim?: string | undefined, cosmicId?: string | undefined, dbnsfpInterproDomain: Array, dbsnpRsid?: string | undefined, eglClass?: string | undefined, eglHgvs: Array, eglProtein?: string | undefined, eglTranscript?: string | undefined, exacAlleleCount?: number | undefined, exacAlleleFrequency?: number | undefined, exacAlleleNumber?: number | undefined, fathmmMklPrediction?: string | undefined, fathmmMklScore?: number | undefined, fathmmPrediction: Array, fathmmScore: Array, fitconsScore?: number | undefined, gerp?: number | undefined, gnomadExomeAlleleCount?: number | undefined, gnomadExomeAlleleFrequency?: number | undefined, gnomadExomeAlleleNumber?: number | undefined, gnomadExomeFilter?: string | undefined, gnomadGenomeAlleleCount?: number | undefined, gnomadGenomeAlleleFrequency?: number | undefined, gnomadGenomeAlleleNumber?: number | undefined, gnomadGenomeFilter?: string | undefined, lrtPrediction?: string | undefined, lrtScore?: number | undefined, metalrPrediction?: string | undefined, metalrScore?: number | undefined, metasvmPrediction?: string | undefined, metasvmScore?: number | undefined, mutationassessorPrediction: Array, mutationassessorScore: Array, mutationtasterPrediction: Array, mutationtasterScore: Array, phastcons100way?: number | undefined, phastcons30way?: number | undefined, phyloP100way?: number | undefined, phyloP30way?: number | undefined, polyphen2HdivPrediction: Array, polyphen2HdivScore: Array, polyphen2HvarPrediction: Array, polyphen2HvarScore: Array, proveanPrediction: Array, proveanScore: Array, revelScore?: Array | undefined, siftPrediction: Array, siftScore: Array, siphy?: number | undefined, snpeffSnpEffect: Array, snpeffSnpImpact: Array }; @@ -8174,7 +8589,7 @@ export const ActivityFeedNodeFragmentDoc = gql` ... on Revision { revisionSetId } - ... on Variant { + ... on VariantInterface { deprecated feature { id @@ -8479,7 +8894,7 @@ export const EventFeedNodeFragmentDoc = gql` ... on Revision { revisionSetId } - ... on Variant { + ... on VariantInterface { deprecated feature { id @@ -8753,7 +9168,7 @@ export const FlagPopoverFragmentDoc = gql` id link name - ... on Variant { + ... on VariantInterface { deprecated feature { id @@ -8930,7 +9345,7 @@ export const RevisionPopoverFragmentDoc = gql` id link name - ... on Variant { + ... on VariantInterface { deprecated feature { id @@ -9276,33 +9691,37 @@ export const VariantTypeBrowseTableRowFieldsFragmentDoc = gql` } `; export const CoordinatesCardFieldsFragmentDoc = gql` - fragment CoordinatesCardFields on Variant { + fragment CoordinatesCardFields on VariantInterface { id name - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop + ... on GeneVariant { + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop + } + referenceBases + variantBases } - referenceBases - variantBases } `; export const VariantPopoverFieldsFragmentDoc = gql` - fragment variantPopoverFields on Variant { + fragment variantPopoverFields on VariantInterface { id name variantAliases - alleleRegistryId + ... on GeneVariant { + alleleRegistryId + } feature { id name @@ -9330,7 +9749,7 @@ export const MenuVariantTypeFragmentDoc = gql` } `; export const MenuVariantFragmentDoc = gql` - fragment menuVariant on Variant { + fragment menuVariant on VariantInterface { id name link @@ -9345,6 +9764,7 @@ export const BrowseVariantsFieldsFragmentDoc = gql` featureId featureName featureLink + category diseases { id name @@ -9556,20 +9976,24 @@ export const RevisableFactorFieldsFragmentDoc = gql` } } `; -export const RevisableGeneFieldsFragmentDoc = gql` - fragment RevisableGeneFields on Feature { - id - description - sources { +export const RevisableFactorVariantFieldsFragmentDoc = gql` + fragment RevisableFactorVariantFields on FactorVariant { + name + feature { id - sourceType - citation - citationId + name } + variantAliases + variantTypes { + id + name + soid + } + ncitId } `; -export const RevisableMolecularProfileFieldsFragmentDoc = gql` - fragment RevisableMolecularProfileFields on MolecularProfile { +export const RevisableGeneFieldsFragmentDoc = gql` + fragment RevisableGeneFields on Feature { id description sources { @@ -9578,8 +10002,6 @@ export const RevisableMolecularProfileFieldsFragmentDoc = gql` citation citationId } - molecularProfileAliases - isComplex } `; export const CoordinateFieldsFragmentDoc = gql` @@ -9590,9 +10012,8 @@ export const CoordinateFieldsFragmentDoc = gql` stop } `; -export const RevisableVariantFieldsFragmentDoc = gql` - fragment RevisableVariantFields on Variant { - id +export const RevisableGeneVariantFieldsFragmentDoc = gql` + fragment RevisableGeneVariantFields on GeneVariant { name feature { id @@ -9619,6 +10040,20 @@ export const RevisableVariantFieldsFragmentDoc = gql` variantBases } ${CoordinateFieldsFragmentDoc}`; +export const RevisableMolecularProfileFieldsFragmentDoc = gql` + fragment RevisableMolecularProfileFields on MolecularProfile { + id + description + sources { + id + sourceType + citation + citationId + } + molecularProfileAliases + isComplex +} + `; export const VariantGroupRevisableFieldsFragmentDoc = gql` fragment VariantGroupRevisableFields on VariantGroup { id @@ -9922,7 +10357,7 @@ export const VariantManagerFieldsFragmentDoc = gql` } `; export const VariantSelectTypeaheadFieldsFragmentDoc = gql` - fragment VariantSelectTypeaheadFields on Variant { + fragment VariantSelectTypeaheadFields on VariantInterface { id name link @@ -10325,19 +10760,121 @@ export const MolecularProfileDetailFieldsFragmentDoc = gql` flags(state: OPEN) { totalCount } - revisions(status: NEW) { - totalCount + revisions(status: NEW) { + totalCount + } + comments { + totalCount + } + variants { + id + } +} + ${ParsedCommentFragmentFragmentDoc}`; +export const MyVariantInfoFieldsFragmentDoc = gql` + fragment MyVariantInfoFields on MyVariantInfo { + myVariantInfoId + caddConsequence + caddDetail + caddScore + caddPhred + clinvarClinicalSignificance + clinvarHgvsCoding + clinvarHgvsGenomic + clinvarHgvsNonCoding + clinvarHgvsProtein + clinvarId + clinvarOmim + cosmicId + dbnsfpInterproDomain + dbsnpRsid + eglClass + eglHgvs + eglProtein + eglTranscript + exacAlleleCount + exacAlleleFrequency + exacAlleleNumber + fathmmMklPrediction + fathmmMklScore + fathmmPrediction + fathmmScore + fitconsScore + gerp + gnomadExomeAlleleCount + gnomadExomeAlleleFrequency + gnomadExomeAlleleNumber + gnomadExomeFilter + gnomadGenomeAlleleCount + gnomadGenomeAlleleFrequency + gnomadGenomeAlleleNumber + gnomadGenomeFilter + lrtPrediction + lrtScore + metalrPrediction + metalrScore + metasvmPrediction + metasvmScore + mutationassessorPrediction + mutationassessorScore + mutationtasterPrediction + mutationtasterScore + phastcons100way + phastcons30way + phyloP100way + phyloP30way + polyphen2HdivPrediction + polyphen2HdivScore + polyphen2HvarPrediction + polyphen2HvarScore + proveanPrediction + proveanScore + revelScore + siftPrediction + siftScore + siphy + snpeffSnpEffect + snpeffSnpImpact +} + `; +export const GeneVariantSummaryFieldsFragmentDoc = gql` + fragment GeneVariantSummaryFields on GeneVariant { + alleleRegistryId + openCravatUrl + maneSelectTranscript + hgvsDescriptions + clinvarIds + referenceBuild + ensemblVersion + primaryCoordinates { + representativeTranscript + chromosome + start + stop + } + secondaryCoordinates { + representativeTranscript + chromosome + start + stop } - comments { - totalCount + referenceBases + variantBases + myVariantInfo { + ...MyVariantInfoFields } - variants { - id +} + ${MyVariantInfoFieldsFragmentDoc}`; +export const FactorVariantSummaryFieldsFragmentDoc = gql` + fragment FactorVariantSummaryFields on FactorVariant { + ncitId + ncitDetails { + ...NcitDetails } } - ${ParsedCommentFragmentFragmentDoc}`; + ${NcitDetailsFragmentDoc}`; export const VariantMolecularProfileCardFieldsFragmentDoc = gql` - fragment VariantMolecularProfileCardFields on Variant { + fragment VariantMolecularProfileCardFields on VariantInterface { id name link @@ -10355,35 +10892,22 @@ export const VariantMolecularProfileCardFieldsFragmentDoc = gql` deprecated } } + ... on GeneVariant { + ...GeneVariantSummaryFields + } + ... on FactorVariant { + ...FactorVariantSummaryFields + } variantAliases - clinvarIds - alleleRegistryId - openCravatUrl variantTypes { id link soid name } - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases - hgvsDescriptions } - `; + ${GeneVariantSummaryFieldsFragmentDoc} +${FactorVariantSummaryFieldsFragmentDoc}`; export const MolecularProfileSummaryFieldsFragmentDoc = gql` fragment MolecularProfileSummaryFields on MolecularProfile { id @@ -10789,7 +11313,7 @@ export const VariantGroupSummaryFieldsFragmentDoc = gql` } `; export const VariantDetailFieldsFragmentDoc = gql` - fragment VariantDetailFields on Variant { + fragment VariantDetailFields on VariantInterface { id name deprecated @@ -10816,74 +11340,8 @@ export const VariantDetailFieldsFragmentDoc = gql` } } ${ParsedCommentFragmentFragmentDoc}`; -export const MyVariantInfoFieldsFragmentDoc = gql` - fragment MyVariantInfoFields on MyVariantInfo { - myVariantInfoId - caddConsequence - caddDetail - caddScore - caddPhred - clinvarClinicalSignificance - clinvarHgvsCoding - clinvarHgvsGenomic - clinvarHgvsNonCoding - clinvarHgvsProtein - clinvarId - clinvarOmim - cosmicId - dbnsfpInterproDomain - dbsnpRsid - eglClass - eglHgvs - eglProtein - eglTranscript - exacAlleleCount - exacAlleleFrequency - exacAlleleNumber - fathmmMklPrediction - fathmmMklScore - fathmmPrediction - fathmmScore - fitconsScore - gerp - gnomadExomeAlleleCount - gnomadExomeAlleleFrequency - gnomadExomeAlleleNumber - gnomadExomeFilter - gnomadGenomeAlleleCount - gnomadGenomeAlleleFrequency - gnomadGenomeAlleleNumber - gnomadGenomeFilter - lrtPrediction - lrtScore - metalrPrediction - metalrScore - metasvmPrediction - metasvmScore - mutationassessorPrediction - mutationassessorScore - mutationtasterPrediction - mutationtasterScore - phastcons100way - phastcons30way - phyloP100way - phyloP30way - polyphen2HdivPrediction - polyphen2HdivScore - polyphen2HvarPrediction - polyphen2HvarScore - proveanPrediction - proveanScore - revelScore - siftPrediction - siftScore - siphy - snpeffSnpEffect - snpeffSnpImpact -} - `; export const VariantSummaryFieldsFragmentDoc = gql` - fragment VariantSummaryFields on Variant { + fragment VariantSummaryFields on VariantInterface { id name feature { @@ -10893,33 +11351,12 @@ export const VariantSummaryFieldsFragmentDoc = gql` link } variantAliases - alleleRegistryId - openCravatUrl - maneSelectTranscript variantTypes { id link soid name } - hgvsDescriptions - clinvarIds - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases flags(state: OPEN) { totalCount } @@ -10929,9 +11366,6 @@ export const VariantSummaryFieldsFragmentDoc = gql` comments { totalCount } - myVariantInfo { - ...MyVariantInfoFields - } lastSubmittedRevisionEvent { originatingUser { id @@ -10966,8 +11400,15 @@ export const VariantSummaryFieldsFragmentDoc = gql` } createdAt } + ... on GeneVariant { + ...GeneVariantSummaryFields + } + ... on FactorVariant { + ...FactorVariantSummaryFields + } } - ${MyVariantInfoFieldsFragmentDoc}`; + ${GeneVariantSummaryFieldsFragmentDoc} +${FactorVariantSummaryFieldsFragmentDoc}`; export const ActivityCardDocument = gql` query ActivityCard($activityId: Int!) { activity(id: $activityId) { @@ -10987,7 +11428,7 @@ export const ActivityCardDocument = gql` } } export const ActivityFeedDocument = gql` - query ActivityFeed($first: Int, $last: Int, $before: String, $after: String, $userId: Int) { + query ActivityFeed($first: Int, $last: Int, $before: String, $after: String, $userId: [Int!]) { activities( first: $first last: $last @@ -12794,11 +13235,8 @@ export const VariantsMenuDocument = gql` hasPreviousPage hasNextPage } - edges { - cursor - node { - ...menuVariant - } + nodes { + ...menuVariant } } } @@ -12837,7 +13275,7 @@ export const VariantTypesForFeatureDocument = gql` } } export const BrowseVariantsDocument = gql` - query BrowseVariants($variantName: String, $featureName: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $variantTypeName: String, $hasNoVariantType: Boolean, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { + query BrowseVariants($variantName: String, $featureName: String, $diseaseName: String, $therapyName: String, $variantAlias: String, $variantTypeId: Int, $variantGroupId: Int, $variantTypeName: String, $hasNoVariantType: Boolean, $variantCategory: VariantCategories, $sortBy: VariantsSort, $first: Int, $last: Int, $before: String, $after: String) { browseVariants( variantName: $variantName featureName: $featureName @@ -12848,6 +13286,7 @@ export const BrowseVariantsDocument = gql` variantGroupId: $variantGroupId variantTypeName: $variantTypeName hasNoVariantType: $hasNoVariantType + category: $variantCategory sortBy: $sortBy first: $first last: $last @@ -13567,6 +14006,53 @@ export const SuggestFactorRevisionDocument = gql` export class SuggestFactorRevisionGQL extends Apollo.Mutation { document = SuggestFactorRevisionDocument; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const FactorVariantRevisableFieldsDocument = gql` + query FactorVariantRevisableFields($variantId: Int!) { + variant(id: $variantId) { + id + ... on FactorVariant { + ...RevisableFactorVariantFields + } + } +} + ${RevisableFactorVariantFieldsFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class FactorVariantRevisableFieldsGQL extends Apollo.Query { + document = FactorVariantRevisableFieldsDocument; + + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const SuggestFactorVariantRevisionDocument = gql` + mutation SuggestFactorVariantRevision($input: SuggestFactorVariantRevisionInput!) { + suggestFactorVariantRevision(input: $input) { + clientMutationId + variant { + id + } + results { + id + fieldName + newlyCreated + } + } +} + `; + + @Injectable({ + providedIn: 'root' + }) + export class SuggestFactorVariantRevisionGQL extends Apollo.Mutation { + document = SuggestFactorVariantRevisionDocument; + constructor(apollo: Apollo.Apollo) { super(apollo); } @@ -13608,6 +14094,53 @@ export const SuggestGeneRevisionDocument = gql` export class SuggestGeneRevisionGQL extends Apollo.Mutation { document = SuggestGeneRevisionDocument; + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const GeneVariantRevisableFieldsDocument = gql` + query GeneVariantRevisableFields($variantId: Int!) { + variant(id: $variantId) { + id + ... on GeneVariant { + ...RevisableGeneVariantFields + } + } +} + ${RevisableGeneVariantFieldsFragmentDoc}`; + + @Injectable({ + providedIn: 'root' + }) + export class GeneVariantRevisableFieldsGQL extends Apollo.Query { + document = GeneVariantRevisableFieldsDocument; + + constructor(apollo: Apollo.Apollo) { + super(apollo); + } + } +export const SuggestGeneVariantRevisionDocument = gql` + mutation SuggestGeneVariantRevision($input: SuggestGeneVariantRevisionInput!) { + suggestGeneVariantRevision(input: $input) { + clientMutationId + variant { + id + } + results { + id + fieldName + newlyCreated + } + } +} + `; + + @Injectable({ + providedIn: 'root' + }) + export class SuggestGeneVariantRevisionGQL extends Apollo.Mutation { + document = SuggestGeneVariantRevisionDocument; + constructor(apollo: Apollo.Apollo) { super(apollo); } @@ -13694,50 +14227,6 @@ export const SourceSuggestionChecksDocument = gql` export class SourceSuggestionChecksGQL extends Apollo.Query { document = SourceSuggestionChecksDocument; - constructor(apollo: Apollo.Apollo) { - super(apollo); - } - } -export const VariantRevisableFieldsDocument = gql` - query VariantRevisableFields($variantId: Int!) { - variant(id: $variantId) { - ...RevisableVariantFields - } -} - ${RevisableVariantFieldsFragmentDoc}`; - - @Injectable({ - providedIn: 'root' - }) - export class VariantRevisableFieldsGQL extends Apollo.Query { - document = VariantRevisableFieldsDocument; - - constructor(apollo: Apollo.Apollo) { - super(apollo); - } - } -export const SuggestVariantRevisionDocument = gql` - mutation SuggestVariantRevision($input: SuggestVariantRevisionInput!) { - suggestVariantRevision(input: $input) { - clientMutationId - variant { - id - } - results { - id - fieldName - newlyCreated - } - } -} - `; - - @Injectable({ - providedIn: 'root' - }) - export class SuggestVariantRevisionGQL extends Apollo.Mutation { - document = SuggestVariantRevisionDocument; - constructor(apollo: Apollo.Apollo) { super(apollo); } diff --git a/client/src/app/generated/civic.possible-types.ts b/client/src/app/generated/civic.possible-types.ts index 25cd0d9d1..700cc5897 100644 --- a/client/src/app/generated/civic.possible-types.ts +++ b/client/src/app/generated/civic.possible-types.ts @@ -35,9 +35,11 @@ "Assertion", "EvidenceItem", "Factor", + "FactorVariant", "Feature", "Flag", "Gene", + "GeneVariant", "MolecularProfile", "Revision", "Source", @@ -50,9 +52,11 @@ "Comment", "EvidenceItem", "Factor", + "FactorVariant", "Feature", "Flag", "Gene", + "GeneVariant", "MolecularProfile", "Revision", "SourceSuggestion", @@ -62,9 +66,11 @@ "Assertion", "EvidenceItem", "Factor", + "FactorVariant", "Feature", "Flag", "Gene", + "GeneVariant", "MolecularProfile", "Revision", "RevisionSet", @@ -83,8 +89,10 @@ "BrowseFeature", "EvidenceItem", "Factor", + "FactorVariant", "Feature", "Gene", + "GeneVariant", "MolecularProfile", "Variant", "VariantGroup" @@ -99,8 +107,10 @@ ], "MolecularProfileComponent": [ "Factor", + "FactorVariant", "Feature", "Gene", + "GeneVariant", "Variant" ], "MolecularProfileSegment": [ @@ -108,12 +118,19 @@ "MolecularProfileTextSegment", "Variant" ], + "VariantInterface": [ + "FactorVariant", + "GeneVariant", + "Variant" + ], "WithRevisions": [ "Assertion", "EvidenceItem", "Factor", + "FactorVariant", "Feature", "Gene", + "GeneVariant", "MolecularProfile", "Variant", "VariantGroup" diff --git a/client/src/app/generated/server.model.graphql b/client/src/app/generated/server.model.graphql index bb0ac0acf..4847cbc8e 100644 --- a/client/src/app/generated/server.model.graphql +++ b/client/src/app/generated/server.model.graphql @@ -1326,6 +1326,7 @@ type BrowseTherapyEdge { type BrowseVariant { aliases: [VariantAlias!]! + category: VariantCategories! diseases: [Disease!]! featureId: Int! featureLink: String! @@ -2018,7 +2019,7 @@ type CreateVariantPayload { """ The newly created Variant. """ - variant: Variant! + variant: VariantInterface! } """ @@ -2127,7 +2128,7 @@ type DeprecateFeatureActivity implements ActivityInterface { parsedNote: [CommentBodySegment!]! subject: EventSubject! user: User! - variants: [Variant!]! + variants: [VariantInterface!]! verbiage: String! } @@ -2187,7 +2188,7 @@ type DeprecateFeaturePayload { """ The variants linked to this feature that are newly deprecated. """ - newlyDeprecatedVariants: [Variant!] + newlyDeprecatedVariants: [VariantInterface!] } type DeprecateVariantActivity implements ActivityInterface { @@ -2254,7 +2255,7 @@ type DeprecateVariantPayload { """ The deprecated Variant. """ - variant: Variant + variant: VariantInterface } type Disease { @@ -3219,7 +3220,7 @@ type Factor implements Commentable & EventOriginObject & EventSubject & Flaggabl Left anchored filtering for variant name and aliases. """ name: String - ): VariantConnection! + ): VariantInterfaceConnection! } """ @@ -3257,6 +3258,255 @@ input FactorFields { sourceIds: [Int!]! } +type FactorVariant implements Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions { + """ + List and filter comments. + """ + comments( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to comments that mention a certain entity + """ + mentionedEntity: TaggableEntityInput + + """ + Limit to comments that mention a certain user role + """ + mentionedRole: UserRole + + """ + Limit to comments that mention a certain user + """ + mentionedUserId: Int + + """ + Limit to comments by a certain user + """ + originatingUserId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + ): CommentConnection! + creationActivity: CreateVariantActivity + deprecated: Boolean! + deprecationActivity: DeprecateVariantActivity + deprecationReason: VariantDeprecationReason + + """ + List and filter events for an object + """ + events( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + eventType: EventAction + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + organizationId: Int + originatingUserId: Int + + """ + Sort order for the events. Defaults to most recent. + """ + sortBy: DateSort + ): EventConnection! + feature: Feature! + flagged: Boolean! + + """ + List and filter flags. + """ + flags( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Limit to flags added by a certain user + """ + flaggingUserId: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to flags resolved by a certain user + """ + resolvingUserId: Int + + """ + Sort order for the flags. Defaults to most recent. + """ + sortBy: DateSort + + """ + Limit to flags in a particular state + """ + state: FlagState + ): FlagConnection! + id: Int! + lastAcceptedRevisionEvent: Event + lastCommentEvent: Event + lastSubmittedRevisionEvent: Event + link: String! + molecularProfiles( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): MolecularProfileConnection! + name: String! + ncitDetails: NcitDetails + ncitId: String + + """ + List and filter revisions. + """ + revisions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Limit to revisions on a particular field. + """ + fieldName: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to revisions by a certain user + """ + originatingUserId: Int + + """ + Limit to revisions suggested as part of a single Revision Set. + """ + revisionSetId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + + """ + Limit to revisions with a certain status + """ + status: RevisionStatus + ): RevisionConnection! + singleVariantMolecularProfile: MolecularProfile! + singleVariantMolecularProfileId: Int! + variantAliases: [String!]! + variantTypes: [VariantType!]! +} + +""" +Fields on a FactorVariant that curators may propose revisions to. +""" +input FactorVariantFields { + """ + List of aliases or alternate names for the Variant. + """ + aliases: [String!]! + + """ + The ID of the Feature this Variant corresponds to. + """ + featureId: Int! + + """ + The Variant's name. + """ + name: String! + + """ + NCI Thesaurus concept ID for this Factor + """ + ncitId: NullableStringInput! + + """ + List of IDs for the variant types for this Variant + """ + variantTypeIds: [Int!]! +} + type FdaCode { code: String! description: String! @@ -3488,7 +3738,7 @@ type Feature implements Commentable & EventOriginObject & EventSubject & Flaggab Left anchored filtering for variant name and aliases. """ name: String - ): VariantConnection! + ): VariantInterfaceConnection! } enum FeatureDeprecationReason { @@ -4075,7 +4325,7 @@ type Gene implements Commentable & EventOriginObject & EventSubject & Flaggable Left anchored filtering for variant name and aliases. """ name: String - ): VariantConnection! + ): VariantInterfaceConnection! } """ @@ -4150,15 +4400,310 @@ input GeneSearchFilter { subFilters: [GeneSearchFilter!] } -""" -An ISO 8601-encoded datetime -""" -scalar ISO8601DateTime @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") +type GeneVariant implements Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions { + alleleRegistryId: String + clinvarIds: [String!]! -input IntSearchInput { - comparisonOperator: IntSearchOperator! - value: Int! -} + """ + List and filter comments. + """ + comments( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to comments that mention a certain entity + """ + mentionedEntity: TaggableEntityInput + + """ + Limit to comments that mention a certain user role + """ + mentionedRole: UserRole + + """ + Limit to comments that mention a certain user + """ + mentionedUserId: Int + + """ + Limit to comments by a certain user + """ + originatingUserId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + ): CommentConnection! + creationActivity: CreateVariantActivity + deprecated: Boolean! + deprecationActivity: DeprecateVariantActivity + deprecationReason: VariantDeprecationReason + ensemblVersion: Int + + """ + List and filter events for an object + """ + events( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + eventType: EventAction + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + organizationId: Int + originatingUserId: Int + + """ + Sort order for the events. Defaults to most recent. + """ + sortBy: DateSort + ): EventConnection! + feature: Feature! + flagged: Boolean! + + """ + List and filter flags. + """ + flags( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Limit to flags added by a certain user + """ + flaggingUserId: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to flags resolved by a certain user + """ + resolvingUserId: Int + + """ + Sort order for the flags. Defaults to most recent. + """ + sortBy: DateSort + + """ + Limit to flags in a particular state + """ + state: FlagState + ): FlagConnection! + hgvsDescriptions: [String!]! + id: Int! + lastAcceptedRevisionEvent: Event + lastCommentEvent: Event + lastSubmittedRevisionEvent: Event + link: String! + maneSelectTranscript: String + molecularProfiles( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): MolecularProfileConnection! + myVariantInfo: MyVariantInfo + name: String! + openCravatUrl: String + primaryCoordinates: Coordinate + referenceBases: String + referenceBuild: ReferenceBuild + + """ + List and filter revisions. + """ + revisions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Limit to revisions on a particular field. + """ + fieldName: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to revisions by a certain user + """ + originatingUserId: Int + + """ + Limit to revisions suggested as part of a single Revision Set. + """ + revisionSetId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + + """ + Limit to revisions with a certain status + """ + status: RevisionStatus + ): RevisionConnection! + secondaryCoordinates: Coordinate + singleVariantMolecularProfile: MolecularProfile! + singleVariantMolecularProfileId: Int! + variantAliases: [String!]! + variantBases: String + variantTypes: [VariantType!]! +} + +""" +Fields on a GeneVariant that curators may propose revisions to. +""" +input GeneVariantFields { + """ + List of aliases or alternate names for the Variant. + """ + aliases: [String!]! + + """ + List of ClinVar IDs for the Variant. + """ + clinvarIds: ClinvarInput! + + """ + The Ensembl database version. + """ + ensemblVersion: NullableIntInput! + + """ + The ID of the Feature this Variant corresponds to. + """ + featureId: Int! + + """ + List of HGVS descriptions for the Variant. + """ + hgvsDescriptions: [String!]! + + """ + The Variant's name. + """ + name: String! + + """ + The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner. + """ + primaryCoordinates: CoordinateInput! + + """ + Reference bases for this variant + """ + referenceBases: NullableStringInput! + + """ + The reference build for the genomic coordinates of this Variant. + """ + referenceBuild: NullableReferenceBuildTypeInput! + + """ + In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null. + """ + secondaryCoordinates: CoordinateInput! + + """ + Variant bases for this variant + """ + variantBases: NullableStringInput! + + """ + List of IDs for the variant types for this Variant + """ + variantTypeIds: [Int!]! +} + +""" +An ISO 8601-encoded datetime +""" +scalar ISO8601DateTime @specifiedBy(url: "https://tools.ietf.org/html/rfc3339") + +input IntSearchInput { + comparisonOperator: IntSearchOperator! + value: Int! +} enum IntSearchOperator { """ @@ -4700,7 +5245,7 @@ type MolecularProfile implements Commentable & EventOriginObject & EventSubject complexMolecularProfileCreationActivity: CreateComplexMolecularProfileActivity complexMolecularProfileDeprecationActivity: DeprecateComplexMolecularProfileActivity deprecated: Boolean! - deprecatedVariants: [Variant!]! + deprecatedVariants: [VariantInterface!]! deprecationReason: MolecularProfileDeprecationReason description: String @@ -4890,7 +5435,7 @@ type MolecularProfile implements Commentable & EventOriginObject & EventSubject """ The collection of variants included in this molecular profile. Please note the name for their relation to each other. """ - variants: [Variant!]! + variants: [VariantInterface!]! } type MolecularProfileAlias { @@ -5024,7 +5569,7 @@ input MolecularProfileFields { } type MolecularProfileNamePreview { - deprecatedVariants: [Variant!]! + deprecatedVariants: [VariantInterface!]! """ The already existing MP matching this name, if it exists @@ -5314,6 +5859,16 @@ type Mutation { input: SuggestFactorRevisionInput! ): SuggestFactorRevisionPayload + """ + Suggest a Revision to a Variant entity. + """ + suggestFactorVariantRevision( + """ + Parameters for SuggestFactorVariantRevision + """ + input: SuggestFactorVariantRevisionInput! + ): SuggestFactorVariantRevisionPayload + """ Suggest a Revision to a Feature entity of instance type "Gene". """ @@ -5324,6 +5879,16 @@ type Mutation { input: SuggestGeneRevisionInput! ): SuggestGeneRevisionPayload + """ + Suggest a Revision to a Variant entity. + """ + suggestGeneVariantRevision( + """ + Parameters for SuggestGeneVariantRevision + """ + input: SuggestGeneVariantRevisionInput! + ): SuggestGeneVariantRevisionPayload + """ Suggest a Revision to a MolecularProfile entity. """ @@ -5354,16 +5919,6 @@ type Mutation { input: SuggestVariantGroupRevisionInput! ): SuggestVariantGroupRevisionPayload - """ - Suggest a Revision to a Variant entity. - """ - suggestVariantRevision( - """ - Parameters for SuggestVariantRevision - """ - input: SuggestVariantRevisionInput! - ): SuggestVariantRevisionPayload - """ Unsubscribe from a CIViC entity to stop receiving notifications about it. """ @@ -6397,6 +6952,7 @@ type Query { Returns the elements in the list that come before the specified cursor. """ before: String + category: VariantCategories diseaseName: String featureName: String @@ -7335,7 +7891,7 @@ type Query { """ Find a variant by CIViC ID """ - variant(id: Int!): Variant + variant(id: Int!): VariantInterface """ Find a variant group by CIViC ID @@ -7455,6 +8011,7 @@ type Query { Returns the elements in the list that come before the specified cursor. """ before: String + category: VariantCategories """ Feature that the variants are associated with. @@ -7486,7 +8043,7 @@ type Query { A list of CIViC identifiers for variant types """ variantTypeIds: [Int!] - ): VariantConnection! + ): VariantInterfaceConnection! viewer: User } @@ -8741,6 +9298,64 @@ type SuggestFactorRevisionPayload { results: [RevisionResult!]! } +""" +Autogenerated input type of SuggestFactorVariantRevision +""" +input SuggestFactorVariantRevisionInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Text describing the reason for the change. Will be attached to the Revision as a comment. + """ + comment: String + + """ + The desired state of the Variant's editable fields if the change were applied. + If no change is desired for a particular field, pass in the current value of that field. + """ + fields: FactorVariantFields! + + """ + The ID of the Variant to suggest a Revision to. + """ + id: Int! + + """ + The ID of the organization to credit the user's contributions to. + If the user belongs to a single organization or no organizations, this field is not required. + This field is required if the user belongs to more than one organization. + The user must belong to the organization provided. + """ + organizationId: Int +} + +""" +Autogenerated return type of SuggestFactorVariantRevision. +""" +type SuggestFactorVariantRevisionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A list of Revisions generated as a result of this suggestion. + If an existing Revision exactly matches the proposed one, it will be returned instead. + This is indicated via the 'newlyCreated' Boolean. + Revisions are stored on a per-field basis. + The changesetId can be used to group Revisions proposed at the same time. + """ + results: [RevisionResult!]! + + """ + The Variant the user has proposed a Revision to. + """ + variant: FactorVariant! +} + """ Autogenerated input type of SuggestGeneRevision """ @@ -8799,6 +9414,64 @@ type SuggestGeneRevisionPayload { results: [RevisionResult!]! } +""" +Autogenerated input type of SuggestGeneVariantRevision +""" +input SuggestGeneVariantRevisionInput { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + Text describing the reason for the change. Will be attached to the Revision as a comment. + """ + comment: String + + """ + The desired state of the Variant's editable fields if the change were applied. + If no change is desired for a particular field, pass in the current value of that field. + """ + fields: GeneVariantFields! + + """ + The ID of the Variant to suggest a Revision to. + """ + id: Int! + + """ + The ID of the organization to credit the user's contributions to. + If the user belongs to a single organization or no organizations, this field is not required. + This field is required if the user belongs to more than one organization. + The user must belong to the organization provided. + """ + organizationId: Int +} + +""" +Autogenerated return type of SuggestGeneVariantRevision. +""" +type SuggestGeneVariantRevisionPayload { + """ + A unique identifier for the client performing the mutation. + """ + clientMutationId: String + + """ + A list of Revisions generated as a result of this suggestion. + If an existing Revision exactly matches the proposed one, it will be returned instead. + This is indicated via the 'newlyCreated' Boolean. + Revisions are stored on a per-field basis. + The changesetId can be used to group Revisions proposed at the same time. + """ + results: [RevisionResult!]! + + """ + The Variant the user has proposed a Revision to. + """ + variant: GeneVariant! +} + """ Autogenerated input type of SuggestMolecularProfileRevision """ @@ -8919,86 +9592,28 @@ input SuggestSourceInput { """ Internal CIViC ID for the source to suggest. Use the AddRemoteCitation mutation to populate this if needed. """ - sourceId: Int! -} - -""" -Autogenerated return type of SuggestSource. -""" -type SuggestSourcePayload { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - The newly created Source Suggestion - """ - sourceSuggestion: SourceSuggestion! -} - -""" -Autogenerated input type of SuggestVariantGroupRevision -""" -input SuggestVariantGroupRevisionInput { - """ - A unique identifier for the client performing the mutation. - """ - clientMutationId: String - - """ - Text describing the reason for the change. Will be attached to the Revision as a comment. - """ - comment: String! - - """ - The desired state of the VariantGroup's editable fields if the change were applied. - If no change is desired for a particular field, pass in the current value of that field. - """ - fields: VariantGroupFields! - - """ - The ID of the VariantGroup you are suggesting a Revision to - """ - id: Int! - - """ - The ID of the organization to credit the user's contributions to. - If the user belongs to a single organization or no organizations, this field is not required. - This field is required if the user belongs to more than one organization. - The user must belong to the organization provided. - """ - organizationId: Int + sourceId: Int! } """ -Autogenerated return type of SuggestVariantGroupRevision. +Autogenerated return type of SuggestSource. """ -type SuggestVariantGroupRevisionPayload { +type SuggestSourcePayload { """ A unique identifier for the client performing the mutation. """ clientMutationId: String """ - A list of Revisions generated as a result of this suggestion. - If an existing Revision exactly matches the proposed one, it will be returned instead. - This is indicated via the 'newlyCreated' Boolean. - Revisions are stored on a per-field basis. - The changesetId can be used to group Revisions proposed at the same time. - """ - results: [RevisionResult!]! - - """ - The VariantGroup the user has proposed a Revision to. + The newly created Source Suggestion """ - variantGroup: VariantGroup! + sourceSuggestion: SourceSuggestion! } """ -Autogenerated input type of SuggestVariantRevision +Autogenerated input type of SuggestVariantGroupRevision """ -input SuggestVariantRevisionInput { +input SuggestVariantGroupRevisionInput { """ A unique identifier for the client performing the mutation. """ @@ -9007,16 +9622,16 @@ input SuggestVariantRevisionInput { """ Text describing the reason for the change. Will be attached to the Revision as a comment. """ - comment: String + comment: String! """ - The desired state of the Variant's editable fields if the change were applied. + The desired state of the VariantGroup's editable fields if the change were applied. If no change is desired for a particular field, pass in the current value of that field. """ - fields: VariantFields! + fields: VariantGroupFields! """ - The ID of the Variant to suggest a Revision to. + The ID of the VariantGroup you are suggesting a Revision to """ id: Int! @@ -9030,9 +9645,9 @@ input SuggestVariantRevisionInput { } """ -Autogenerated return type of SuggestVariantRevision. +Autogenerated return type of SuggestVariantGroupRevision. """ -type SuggestVariantRevisionPayload { +type SuggestVariantGroupRevisionPayload { """ A unique identifier for the client performing the mutation. """ @@ -9048,9 +9663,9 @@ type SuggestVariantRevisionPayload { results: [RevisionResult!]! """ - The Variant the user has proposed a Revision to. + The VariantGroup the user has proposed a Revision to. """ - variant: Variant! + variantGroup: VariantGroup! } enum TaggableEntity { @@ -9569,10 +10184,7 @@ type ValidationErrors { validationErrors: [FieldValidationError!]! } -type Variant implements Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & WithRevisions { - alleleRegistryId: String - clinvarIds: [String!]! - +type Variant implements Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & VariantInterface & WithRevisions { """ List and filter comments. """ @@ -9626,7 +10238,6 @@ type Variant implements Commentable & EventOriginObject & EventSubject & Flaggab deprecated: Boolean! deprecationActivity: DeprecateVariantActivity deprecationReason: VariantDeprecationReason - ensemblVersion: Int """ List and filter events for an object @@ -9707,13 +10318,11 @@ type Variant implements Commentable & EventOriginObject & EventSubject & Flaggab """ state: FlagState ): FlagConnection! - hgvsDescriptions: [String!]! id: Int! lastAcceptedRevisionEvent: Event lastCommentEvent: Event lastSubmittedRevisionEvent: Event link: String! - maneSelectTranscript: String molecularProfiles( """ Returns the elements in the list that come after the specified cursor. @@ -9728,19 +10337,237 @@ type Variant implements Commentable & EventOriginObject & EventSubject & Flaggab """ Returns the first _n_ elements from the list. """ - first: Int + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): MolecularProfileConnection! + name: String! + + """ + List and filter revisions. + """ + revisions( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Limit to revisions on a particular field. + """ + fieldName: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to revisions by a certain user + """ + originatingUserId: Int + + """ + Limit to revisions suggested as part of a single Revision Set. + """ + revisionSetId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + + """ + Limit to revisions with a certain status + """ + status: RevisionStatus + ): RevisionConnection! + singleVariantMolecularProfile: MolecularProfile! + singleVariantMolecularProfileId: Int! + variantAliases: [String!]! + variantTypes: [VariantType!]! +} + +type VariantAlias { + name: String! +} + +enum VariantCategories { + FACTOR + GENE +} + +""" +Representation of a Variant's membership in a Molecular Profile. +""" +input VariantComponent { + """ + When set to true, this means the NOT operator will be applied to the Variant in the Molecluar Profile. + """ + not: Boolean! = false + + """ + The ID of the Variant involved in the Molecular Profile. + """ + variantId: Int! +} + +enum VariantDeprecationReason { + DUPLICATE + FEATURE_DEPRECATED + INVALID + OTHER +} + +type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisions { + """ + List and filter comments. + """ + comments( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to comments that mention a certain entity + """ + mentionedEntity: TaggableEntityInput + + """ + Limit to comments that mention a certain user role + """ + mentionedRole: UserRole + + """ + Limit to comments that mention a certain user + """ + mentionedUserId: Int + + """ + Limit to comments by a certain user + """ + originatingUserId: Int + + """ + Sort order for the comments. Defaults to most recent. + """ + sortBy: DateSort + ): CommentConnection! + description: String! + + """ + List and filter events for an object + """ + events( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + eventType: EventAction + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + organizationId: Int + originatingUserId: Int + + """ + Sort order for the events. Defaults to most recent. + """ + sortBy: DateSort + ): EventConnection! + flagged: Boolean! + + """ + List and filter flags. + """ + flags( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Limit to flags added by a certain user + """ + flaggingUserId: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Limit to flags resolved by a certain user + """ + resolvingUserId: Int + + """ + Sort order for the flags. Defaults to most recent. + """ + sortBy: DateSort """ - Returns the last _n_ elements from the list. + Limit to flags in a particular state """ - last: Int - ): MolecularProfileConnection! - myVariantInfo: MyVariantInfo + state: FlagState + ): FlagConnection! + id: Int! + lastAcceptedRevisionEvent: Event + lastCommentEvent: Event + lastSubmittedRevisionEvent: Event + link: String! name: String! - openCravatUrl: String - primaryCoordinates: Coordinate - referenceBases: String - referenceBuild: ReferenceBuild """ List and filter revisions. @@ -9791,46 +10618,52 @@ type Variant implements Commentable & EventOriginObject & EventSubject & Flaggab """ status: RevisionStatus ): RevisionConnection! - secondaryCoordinates: Coordinate - singleVariantMolecularProfile: MolecularProfile! - singleVariantMolecularProfileId: Int! - variantAliases: [String!]! - variantBases: String - variantTypes: [VariantType!]! -} - -type VariantAlias { - name: String! -} + sources: [Source!]! -""" -Representation of a Variant's membership in a Molecular Profile. -""" -input VariantComponent { """ - When set to true, this means the NOT operator will be applied to the Variant in the Molecluar Profile. + List and filter variants. """ - not: Boolean! = false + variants( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String - """ - The ID of the Variant involved in the Molecular Profile. - """ - variantId: Int! + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + + """ + Left anchored filtering for variant name and aliases. + """ + name: String + ): VariantInterfaceConnection! } """ -The connection type for Variant. +The connection type for VariantGroup. """ -type VariantConnection { +type VariantGroupConnection { """ A list of edges. """ - edges: [VariantEdge!]! + edges: [VariantGroupEdge!]! """ A list of nodes. """ - nodes: [Variant!]! + nodes: [VariantGroup!]! """ Total number of pages, based on filtered count and pagesize. @@ -9848,17 +10681,10 @@ type VariantConnection { totalCount: Int! } -enum VariantDeprecationReason { - DUPLICATE - FEATURE_DEPRECATED - INVALID - OTHER -} - """ An edge in a connection. """ -type VariantEdge { +type VariantGroupEdge { """ A cursor for use in pagination. """ @@ -9867,75 +10693,58 @@ type VariantEdge { """ The item at the end of the edge. """ - node: Variant + node: VariantGroup } """ -Fields on a Variant that curators may propose revisions to. +Fields on a VariantGroup that curators may propose revisions to. """ -input VariantFields { - """ - List of aliases or alternate names for the Variant. - """ - aliases: [String!]! - - """ - List of ClinVar IDs for the Variant. - """ - clinvarIds: ClinvarInput! - - """ - The Ensembl database version. - """ - ensemblVersion: NullableIntInput! - - """ - The ID of the Feature this Variant corresponds to. - """ - featureId: Int! - +input VariantGroupFields { """ - List of HGVS descriptions for the Variant. + The VariantGroups's description/summary text. """ - hgvsDescriptions: [String!]! + description: NullableStringInput! """ - The Variant's name. + The VariantGroups's name. """ name: String! """ - The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner. - """ - primaryCoordinates: CoordinateInput! - - """ - Reference bases for this variant + Source IDs cited by the VariantGroup's summary. """ - referenceBases: NullableStringInput! + sourceIds: [Int!]! """ - The reference build for the genomic coordinates of this Variant. + Variants in this VariantGroup. """ - referenceBuild: NullableReferenceBuildTypeInput! + variantIds: [Int!]! +} +input VariantGroupsSort { """ - In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null. + Available columns for sorting """ - secondaryCoordinates: CoordinateInput! + column: VariantGroupsSortColumns! """ - Variant bases for this variant + Sort direction """ - variantBases: NullableStringInput! + direction: SortDirection! +} - """ - List of IDs for the variant types for this Variant - """ - variantTypeIds: [Int!]! +enum VariantGroupsSortColumns { + EVIDENCE_ITEM_COUNT + GENE_NAMES + NAME + VARIANT_COUNT + VARIANT_NAMES } -type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisions { +""" +A taggable/linkable component of a molecular profile +""" +interface VariantInterface implements Commentable & EventOriginObject & EventSubject & Flaggable & MolecularProfileComponent & WithRevisions { """ List and filter comments. """ @@ -9985,7 +10794,10 @@ type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisi """ sortBy: DateSort ): CommentConnection! - description: String! + creationActivity: CreateVariantActivity + deprecated: Boolean! + deprecationActivity: DeprecateVariantActivity + deprecationReason: VariantDeprecationReason """ List and filter events for an object @@ -10019,6 +10831,7 @@ type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisi """ sortBy: DateSort ): EventConnection! + feature: Feature! flagged: Boolean! """ @@ -10070,6 +10883,27 @@ type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisi lastCommentEvent: Event lastSubmittedRevisionEvent: Event link: String! + molecularProfiles( + """ + Returns the elements in the list that come after the specified cursor. + """ + after: String + + """ + Returns the elements in the list that come before the specified cursor. + """ + before: String + + """ + Returns the first _n_ elements from the list. + """ + first: Int + + """ + Returns the last _n_ elements from the list. + """ + last: Int + ): MolecularProfileConnection! name: String! """ @@ -10121,52 +10955,25 @@ type VariantGroup implements Commentable & EventSubject & Flaggable & WithRevisi """ status: RevisionStatus ): RevisionConnection! - sources: [Source!]! - - """ - List and filter variants. - """ - variants( - """ - Returns the elements in the list that come after the specified cursor. - """ - after: String - - """ - Returns the elements in the list that come before the specified cursor. - """ - before: String - - """ - Returns the first _n_ elements from the list. - """ - first: Int - - """ - Returns the last _n_ elements from the list. - """ - last: Int - - """ - Left anchored filtering for variant name and aliases. - """ - name: String - ): VariantConnection! + singleVariantMolecularProfile: MolecularProfile! + singleVariantMolecularProfileId: Int! + variantAliases: [String!]! + variantTypes: [VariantType!]! } """ -The connection type for VariantGroup. +The connection type for VariantInterface. """ -type VariantGroupConnection { +type VariantInterfaceConnection { """ A list of edges. """ - edges: [VariantGroupEdge!]! + edges: [VariantInterfaceEdge!]! """ A list of nodes. """ - nodes: [VariantGroup!]! + nodes: [VariantInterface!]! """ Total number of pages, based on filtered count and pagesize. @@ -10187,7 +10994,7 @@ type VariantGroupConnection { """ An edge in a connection. """ -type VariantGroupEdge { +type VariantInterfaceEdge { """ A cursor for use in pagination. """ @@ -10196,52 +11003,7 @@ type VariantGroupEdge { """ The item at the end of the edge. """ - node: VariantGroup -} - -""" -Fields on a VariantGroup that curators may propose revisions to. -""" -input VariantGroupFields { - """ - The VariantGroups's description/summary text. - """ - description: NullableStringInput! - - """ - The VariantGroups's name. - """ - name: String! - - """ - Source IDs cited by the VariantGroup's summary. - """ - sourceIds: [Int!]! - - """ - Variants in this VariantGroup. - """ - variantIds: [Int!]! -} - -input VariantGroupsSort { - """ - Available columns for sorting - """ - column: VariantGroupsSortColumns! - - """ - Sort direction - """ - direction: SortDirection! -} - -enum VariantGroupsSortColumns { - EVIDENCE_ITEM_COUNT - GENE_NAMES - NAME - VARIANT_COUNT - VARIANT_NAMES + node: VariantInterface } input VariantMenuSort { diff --git a/client/src/app/generated/server.schema.json b/client/src/app/generated/server.schema.json index 5a6cd82d4..c35734fe4 100644 --- a/client/src/app/generated/server.schema.json +++ b/client/src/app/generated/server.schema.json @@ -6282,6 +6282,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "category", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "VariantCategories", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "diseases", "description": null, @@ -8898,6 +8914,16 @@ "name": "Factor", "ofType": null }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "Feature", @@ -8913,6 +8939,16 @@ "name": "Gene", "ofType": null }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "MolecularProfile", @@ -8938,6 +8974,11 @@ "name": "Variant", "ofType": null }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, { "kind": "OBJECT", "name": "VariantGroup", @@ -10262,8 +10303,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } }, @@ -10948,8 +10989,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -11129,8 +11170,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -11462,8 +11503,8 @@ "description": "The deprecated Variant.", "args": [], "type": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null }, "isDeprecated": false, @@ -12783,6 +12824,16 @@ "name": "Factor", "ofType": null }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "Feature", @@ -12798,6 +12849,16 @@ "name": "Gene", "ofType": null }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "MolecularProfile", @@ -12813,6 +12874,11 @@ "name": "SourceSuggestion", "ofType": null }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, { "kind": "OBJECT", "name": "Variant", @@ -13006,6 +13072,16 @@ "name": "Factor", "ofType": null }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "Feature", @@ -13021,6 +13097,16 @@ "name": "Gene", "ofType": null }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "MolecularProfile", @@ -13056,6 +13142,11 @@ "name": "Variant", "ofType": null }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, { "kind": "OBJECT", "name": "VariantGroup", @@ -15883,7 +15974,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantConnection", + "name": "VariantInterfaceConnection", "ofType": null } }, @@ -16052,51 +16143,8 @@ }, { "kind": "OBJECT", - "name": "FdaCode", + "name": "FactorVariant", "description": null, - "fields": [ - { - "name": "code", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "Feature", - "description": "The Feature that a Variant can belong to", "fields": [ { "name": "comments", @@ -16229,7 +16277,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "CreateFeatureActivity", + "name": "CreateVariantActivity", "ofType": null }, "isDeprecated": false, @@ -16257,7 +16305,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "DeprecateFeatureActivity", + "name": "DeprecateVariantActivity", "ofType": null }, "isDeprecated": false, @@ -16269,19 +16317,7 @@ "args": [], "type": { "kind": "ENUM", - "name": "FeatureDeprecationReason", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", + "name": "VariantDeprecationReason", "ofType": null }, "isDeprecated": false, @@ -16401,39 +16437,15 @@ "deprecationReason": null }, { - "name": "featureAliases", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "featureInstance", + "name": "feature", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", - "name": "FeatureInstance", + "kind": "OBJECT", + "name": "Feature", "ofType": null } }, @@ -16569,18 +16581,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "fullName", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "id", "description": null, @@ -16650,85 +16650,9 @@ "deprecationReason": null }, { - "name": "name", + "name": "molecularProfiles", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisions", - "description": "List and filter revisions.", "args": [ - { - "name": "originatingUserId", - "description": "Limit to revisions by a certain user", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": "Limit to revisions with a certain status", - "type": { - "kind": "ENUM", - "name": "RevisionStatus", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortBy", - "description": "Sort order for the comments. Defaults to most recent.", - "type": { - "kind": "INPUT_OBJECT", - "name": "DateSort", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fieldName", - "description": "Limit to revisions on a particular field.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisionSetId", - "description": "Limit to revisions suggested as part of a single Revision Set.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -16783,7 +16707,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RevisionConnection", + "name": "MolecularProfileConnection", "ofType": null } }, @@ -16791,36 +16715,88 @@ "deprecationReason": null }, { - "name": "sources", + "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Source", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "variants", - "description": "List and filter variants.", + "name": "ncitDetails", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "NcitDetails", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ncitId", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revisions", + "description": "List and filter revisions.", "args": [ { - "name": "name", - "description": "Left anchored filtering for variant name and aliases.", + "name": "originatingUserId", + "description": "Limit to revisions by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "Limit to revisions with a certain status", + "type": { + "kind": "ENUM", + "name": "RevisionStatus", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fieldName", + "description": "Limit to revisions on a particular field.", "type": { "kind": "SCALAR", "name": "String", @@ -16830,6 +16806,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "revisionSetId", + "description": "Limit to revisions suggested as part of a single Revision Set.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -16884,12 +16872,92 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantConnection", + "name": "RevisionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfile", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MolecularProfile", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfileId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "variantAliases", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTypes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VariantType", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -16921,101 +16989,33 @@ }, { "kind": "INTERFACE", - "name": "WithRevisions", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FeatureDeprecationReason", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "DUPLICATE", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INVALID", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OTHER", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "UNION", - "name": "FeatureInstance", - "description": "The specific type of a feature instance", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Factor", + "name": "VariantInterface", "ofType": null }, { - "kind": "OBJECT", - "name": "Gene", + "kind": "INTERFACE", + "name": "WithRevisions", "ofType": null } - ] - }, - { - "kind": "ENUM", - "name": "FeatureInstanceTypes", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "GENE", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FACTOR", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } ], + "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "FeaturesSort", - "description": null, + "name": "FactorVariantFields", + "description": "Fields on a FactorVariant that curators may propose revisions to.", "fields": null, "inputFields": [ { - "name": "column", - "description": "Available columns for sorting", + "name": "name", + "description": "The Variant's name.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "FeaturesSortColumns", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -17024,135 +17024,97 @@ "deprecationReason": null }, { - "name": "direction", - "description": "Sort direction", + "name": "aliases", + "description": "List of aliases or alternate names for the Variant.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "SortDirection", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FeaturesSortColumns", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "featureName", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "therapyName", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "featureAlias", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "diseaseName", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variantCount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "evidenceItemCount", - "description": null, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "assertionCount", - "description": null, + "name": "variantTypeIds", + "description": "List of IDs for the variant types for this Variant", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } + } + }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "molecularProfileCount", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FieldName", - "description": null, - "fields": [ - { - "name": "displayName", - "description": "The user facing representation of the field name.", - "args": [], + "name": "featureId", + "description": "The ID of the Feature this Variant corresponds to.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "name", - "description": "The internal server representation of the field name.", - "args": [], + "name": "ncitId", + "description": "NCI Thesaurus concept ID for this Factor", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "NullableStringInput", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], + "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "FieldValidationError", + "name": "FdaCode", "description": null, "fields": [ { - "name": "error", + "name": "code", "description": null, "args": [], "type": { @@ -17168,7 +17130,7 @@ "deprecationReason": null }, { - "name": "fieldName", + "name": "description", "description": null, "args": [], "type": { @@ -17191,8 +17153,8 @@ }, { "kind": "OBJECT", - "name": "Flag", - "description": null, + "name": "Feature", + "description": "The Feature that a Variant can belong to", "fields": [ { "name": "comments", @@ -17320,7 +17282,19 @@ "deprecationReason": null }, { - "name": "createdAt", + "name": "creationActivity", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "CreateFeatureActivity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecated", "description": null, "args": [], "type": { @@ -17328,13 +17302,49 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ISO8601DateTime", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "deprecationActivity", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "DeprecateFeatureActivity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "ENUM", + "name": "FeatureDeprecationReason", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "events", "description": "List and filter events for an object", @@ -17449,47 +17459,39 @@ "deprecationReason": null }, { - "name": "flaggable", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INTERFACE", - "name": "Flaggable", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "flaggingUser", + "name": "featureAliases", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "featureInstance", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "UNION", + "name": "FeatureInstance", "ofType": null } }, @@ -17497,19 +17499,7 @@ "deprecationReason": null }, { - "name": "lastCommentEvent", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "link", + "name": "flagged", "description": null, "args": [], "type": { @@ -17517,7 +17507,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, @@ -17525,31 +17515,112 @@ "deprecationReason": null }, { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "name": "flags", + "description": "List and filter flags.", + "args": [ + { + "name": "flaggingUserId", + "description": "Limit to flags added by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolvingUserId", + "description": "Limit to flags resolved by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": "Limit to flags in a particular state", + "type": { + "kind": "ENUM", + "name": "FlagState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the flags. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "openActivity", - "description": null, - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "FlagEntityActivity", + "name": "FlagConnection", "ofType": null } }, @@ -17557,130 +17628,79 @@ "deprecationReason": null }, { - "name": "resolutionActivity", + "name": "fullName", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "ResolveFlagActivity", + "kind": "SCALAR", + "name": "String", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "resolvingUser", + "name": "id", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "User", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "state", + "name": "lastAcceptedRevisionEvent", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "FlagState", - "ofType": null - } + "kind": "OBJECT", + "name": "Event", + "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "Commentable", - "ofType": null - }, - { - "kind": "INTERFACE", - "name": "EventOriginObject", - "ofType": null }, { - "kind": "INTERFACE", - "name": "EventSubject", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FlagConnection", - "description": "The connection type for Flag.", - "fields": [ - { - "name": "edges", - "description": "A list of edges.", + "name": "lastCommentEvent", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FlagEdge", - "ofType": null - } - } - } + "kind": "OBJECT", + "name": "Event", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "lastSubmittedRevisionEvent", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Flag", - "ofType": null - } - } - } + "kind": "OBJECT", + "name": "Event", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "pageCount", - "description": "Total number of pages, based on filtered count and pagesize.", + "name": "link", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null } }, @@ -17688,15 +17708,15 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "name", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -17704,15 +17724,124 @@ "deprecationReason": null }, { - "name": "totalCount", - "description": "The total number of records in this filtered collection.", - "args": [], + "name": "revisions", + "description": "List and filter revisions.", + "args": [ + { + "name": "originatingUserId", + "description": "Limit to revisions by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "Limit to revisions with a certain status", + "type": { + "kind": "ENUM", + "name": "RevisionStatus", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fieldName", + "description": "Limit to revisions on a particular field.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revisionSetId", + "description": "Limit to revisions suggested as part of a single Revision Set.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "RevisionConnection", "ofType": null } }, @@ -17720,20 +17849,8 @@ "deprecationReason": null }, { - "name": "unfilteredCountForSubject", - "description": "When filtered on a subject, the total number of flags for that subject, irregardless of other filters. Returns null when there is no subject.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "uniqueFlaggingUsers", - "description": "List of all users that have flagged this entity.", + "name": "sources", + "description": null, "args": [], "type": { "kind": "NON_NULL", @@ -17746,7 +17863,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "User", + "name": "Source", "ofType": null } } @@ -17756,46 +17873,1804 @@ "deprecationReason": null }, { - "name": "uniqueResolvingUsers", - "description": "List of all users that have resolved a flag on this entity.", - "args": [], + "name": "variants", + "description": "List and filter variants.", + "args": [ + { + "name": "name", + "description": "Left anchored filtering for variant name and aliases.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "OBJECT", + "name": "VariantInterfaceConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Commentable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventOriginObject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventSubject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Flaggable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "MolecularProfileComponent", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "WithRevisions", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FeatureDeprecationReason", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DUPLICATE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OTHER", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "UNION", + "name": "FeatureInstance", + "description": "The specific type of a feature instance", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Factor", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Gene", + "ofType": null + } + ] + }, + { + "kind": "ENUM", + "name": "FeatureInstanceTypes", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "GENE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FACTOR", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "FeaturesSort", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "column", + "description": "Available columns for sorting", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "FeaturesSortColumns", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "direction", + "description": "Sort direction", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FeaturesSortColumns", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "featureName", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "therapyName", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "featureAlias", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "diseaseName", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantCount", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "evidenceItemCount", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "assertionCount", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "molecularProfileCount", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FieldName", + "description": null, + "fields": [ + { + "name": "displayName", + "description": "The user facing representation of the field name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": "The internal server representation of the field name.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FieldValidationError", + "description": null, + "fields": [ + { + "name": "error", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fieldName", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Flag", + "description": null, + "fields": [ + { + "name": "comments", + "description": "List and filter comments.", + "args": [ + { + "name": "originatingUserId", + "description": "Limit to comments by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedUserId", + "description": "Limit to comments that mention a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedRole", + "description": "Limit to comments that mention a certain user role", + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedEntity", + "description": "Limit to comments that mention a certain entity", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaggableEntityInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "CommentConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ISO8601DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "events", + "description": "List and filter events for an object", + "args": [ + { + "name": "eventType", + "description": null, + "type": { + "kind": "ENUM", + "name": "EventAction", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originatingUserId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the events. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "EventConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flaggable", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "Flaggable", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flaggingUser", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastCommentEvent", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "link", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "openActivity", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FlagEntityActivity", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolutionActivity", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "ResolveFlagActivity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolvingUser", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "User", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "FlagState", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Commentable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventOriginObject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventSubject", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FlagConnection", + "description": "The connection type for Flag.", + "fields": [ + { + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FlagEdge", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "nodes", + "description": "A list of nodes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Flag", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageCount", + "description": "Total number of pages, based on filtered count and pagesize.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalCount", + "description": "The total number of records in this filtered collection.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "unfilteredCountForSubject", + "description": "When filtered on a subject, the total number of flags for that subject, irregardless of other filters. Returns null when there is no subject.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uniqueFlaggingUsers", + "description": "List of all users that have flagged this entity.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "uniqueResolvingUsers", + "description": "List of all users that have resolved a flag on this entity.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FlagEdge", + "description": "An edge in a connection.", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Flag", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FlagEntityActivity", + "description": null, + "fields": [ + { + "name": "createdAt", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ISO8601DateTime", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "events", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flag", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Flag", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "note", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organization", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Organization", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "parsedNote", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "UNION", + "name": "CommentBodySegment", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subject", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INTERFACE", + "name": "EventSubject", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "user", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "verbiage", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [ + { + "kind": "INTERFACE", + "name": "ActivityInterface", + "ofType": null + } + ], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "FlagEntityInput", + "description": "Autogenerated input type of FlagEntity", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subject", + "description": "The entity to flag, specified by its ID and type.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "FlaggableInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "comment", + "description": "Text describing the problem you observed with this entity.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "FlagEntityPayload", + "description": "Autogenerated return type of FlagEntity.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flag", + "description": "The newly created Flag.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Flag", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "FlagState", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "OPEN", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "RESOLVED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INTERFACE", + "name": "Flaggable", + "description": "A CIViC entity that can be flagged for editor attention.", + "fields": [ + { + "name": "flagged", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flags", + "description": "List and filter flags.", + "args": [ + { + "name": "flaggingUserId", + "description": "Limit to flags added by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolvingUserId", + "description": "Limit to flags resolved by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": "Limit to flags in a particular state", + "type": { + "kind": "ENUM", + "name": "FlagState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the flags. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FlagConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "link", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "Assertion", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "BrowseFeature", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "EvidenceItem", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Factor", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Feature", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Gene", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "MolecularProfile", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "VariantGroup", + "ofType": null + } + ] + }, + { + "kind": "ENUM", + "name": "FlaggableEntities", + "description": "Enumeration of all entities in CIViC that can be flagged.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "FEATURE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANT", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "EVIDENCE_ITEM", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "ASSERTION", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "VARIANT_GROUP", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "MOLECULAR_PROFILE", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "FlaggableInput", + "description": "Entity to flag", + "fields": null, + "inputFields": [ + { + "name": "id", + "description": "The ID of the entity.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "entityType", + "description": "The type of the entity to flag.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "FlaggableEntities", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "SCALAR", + "name": "Float", + "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Gene", + "description": "The Feature that a Variant can belong to", + "fields": [ + { + "name": "comments", + "description": "List and filter comments.", + "args": [ + { + "name": "originatingUserId", + "description": "Limit to comments by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedUserId", + "description": "Limit to comments that mention a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedRole", + "description": "Limit to comments that mention a certain user role", + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedEntity", + "description": "Limit to comments that mention a certain entity", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaggableEntityInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null - } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FlagEdge", - "description": "An edge in a connection.", - "fields": [ - { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "CommentConnection", "ofType": null } }, @@ -17803,30 +19678,19 @@ "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "creationActivity", + "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Flag", + "name": "CreateFeatureActivity", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FlagEntityActivity", - "description": null, - "fields": [ + }, { - "name": "createdAt", + "name": "deprecated", "description": null, "args": [], "type": { @@ -17834,7 +19698,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "ISO8601DateTime", + "name": "Boolean", "ofType": null } }, @@ -17842,87 +19706,172 @@ "deprecationReason": null }, { - "name": "events", + "name": "deprecationActivity", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - } - } - } + "kind": "OBJECT", + "name": "DeprecateFeatureActivity", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "flag", + "name": "deprecationReason", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Flag", - "ofType": null - } + "kind": "ENUM", + "name": "FeatureDeprecationReason", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", + "name": "description", "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } + "kind": "SCALAR", + "name": "String", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "note", + "name": "entrezId", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "organization", - "description": null, - "args": [], + "name": "events", + "description": "List and filter events for an object", + "args": [ + { + "name": "eventType", + "description": null, + "type": { + "kind": "ENUM", + "name": "EventAction", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "originatingUserId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the events. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "EventConnection", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "parsedNote", + "name": "featureAliases", "description": null, "args": [], "type": { @@ -17935,8 +19884,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", - "name": "CommentBodySegment", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -17946,15 +19895,15 @@ "deprecationReason": null }, { - "name": "subject", + "name": "featureInstance", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INTERFACE", - "name": "EventSubject", + "kind": "UNION", + "name": "FeatureInstance", "ofType": null } }, @@ -17962,15 +19911,15 @@ "deprecationReason": null }, { - "name": "user", + "name": "flagged", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "User", + "kind": "SCALAR", + "name": "Boolean", "ofType": null } }, @@ -17978,165 +19927,212 @@ "deprecationReason": null }, { - "name": "verbiage", - "description": null, - "args": [], + "name": "flags", + "description": "List and filter flags.", + "args": [ + { + "name": "flaggingUserId", + "description": "Limit to flags added by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "resolvingUserId", + "description": "Limit to flags resolved by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": "Limit to flags in a particular state", + "type": { + "kind": "ENUM", + "name": "FlagState", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the flags. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FlagConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [ - { - "kind": "INTERFACE", - "name": "ActivityInterface", - "ofType": null - } - ], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "FlagEntityInput", - "description": "Autogenerated input type of FlagEntity", - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "organizationId", - "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "name": "fullName", + "description": null, + "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subject", - "description": "The entity to flag, specified by its ID and type.", + "name": "id", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "FlaggableInput", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "comment", - "description": "Text describing the problem you observed with this entity.", + "name": "lastAcceptedRevisionEvent", + "description": null, + "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "Event", + "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "FlagEntityPayload", - "description": "Autogenerated return type of FlagEntity.", - "fields": [ + }, { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", + "name": "lastCommentEvent", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "flag", - "description": "The newly created Flag.", + "name": "lastSubmittedRevisionEvent", + "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Flag", + "name": "Event", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "FlagState", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + }, { - "name": "OPEN", + "name": "link", "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "RESOLVED", + "name": "myGeneInfoDetails", "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "JSON", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INTERFACE", - "name": "Flaggable", - "description": "A CIViC entity that can be flagged for editor attention.", - "fields": [ + }, { - "name": "flagged", + "name": "name", "description": null, "args": [], "type": { @@ -18144,7 +20140,7 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null } }, @@ -18152,15 +20148,27 @@ "deprecationReason": null }, { - "name": "flags", - "description": "List and filter flags.", + "name": "revisions", + "description": "List and filter revisions.", "args": [ { - "name": "flaggingUserId", - "description": "Limit to flags added by a certain user", + "name": "originatingUserId", + "description": "Limit to revisions by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "Limit to revisions with a certain status", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "RevisionStatus", "ofType": null }, "defaultValue": null, @@ -18168,11 +20176,11 @@ "deprecationReason": null }, { - "name": "resolvingUserId", - "description": "Limit to flags resolved by a certain user", + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "DateSort", "ofType": null }, "defaultValue": null, @@ -18180,11 +20188,11 @@ "deprecationReason": null }, { - "name": "state", - "description": "Limit to flags in a particular state", + "name": "fieldName", + "description": "Limit to revisions on a particular field.", "type": { - "kind": "ENUM", - "name": "FlagState", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, @@ -18192,11 +20200,11 @@ "deprecationReason": null }, { - "name": "sortBy", - "description": "Sort order for the flags. Defaults to most recent.", + "name": "revisionSetId", + "description": "Limit to revisions suggested as part of a single Revision Set.", "type": { - "kind": "INPUT_OBJECT", - "name": "DateSort", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -18257,7 +20265,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FlagConnection", + "name": "RevisionConnection", "ofType": null } }, @@ -18265,47 +20273,100 @@ "deprecationReason": null }, { - "name": "id", + "name": "sources", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Source", + "ofType": null + } + } } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "link", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "name": "variants", + "description": "List and filter variants.", + "args": [ + { + "name": "name", + "description": "Left anchored filtering for variant name and aliases.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": null, - "args": [], + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "VariantInterfaceConnection", "ofType": null } }, @@ -18314,118 +20375,202 @@ } ], "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": [ - { - "kind": "OBJECT", - "name": "Assertion", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "BrowseFeature", - "ofType": null - }, - { - "kind": "OBJECT", - "name": "EvidenceItem", - "ofType": null - }, + "interfaces": [ { - "kind": "OBJECT", - "name": "Factor", + "kind": "INTERFACE", + "name": "Commentable", "ofType": null }, { - "kind": "OBJECT", - "name": "Feature", + "kind": "INTERFACE", + "name": "EventOriginObject", "ofType": null }, { - "kind": "OBJECT", - "name": "Gene", + "kind": "INTERFACE", + "name": "EventSubject", "ofType": null }, { - "kind": "OBJECT", - "name": "MolecularProfile", + "kind": "INTERFACE", + "name": "Flaggable", "ofType": null }, { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "MolecularProfileComponent", "ofType": null }, { - "kind": "OBJECT", - "name": "VariantGroup", + "kind": "INTERFACE", + "name": "WithRevisions", "ofType": null } - ] + ], + "enumValues": null, + "possibleTypes": null }, { - "kind": "ENUM", - "name": "FlaggableEntities", - "description": "Enumeration of all entities in CIViC that can be flagged.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ + "kind": "OBJECT", + "name": "GeneConnection", + "description": "The connection type for Gene.", + "fields": [ { - "name": "FEATURE", - "description": null, + "name": "edges", + "description": "A list of edges.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "GeneEdge", + "ofType": null + } + } + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "VARIANT", - "description": null, + "name": "nodes", + "description": "A list of nodes.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Gene", + "ofType": null + } + } + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "EVIDENCE_ITEM", - "description": null, + "name": "pageCount", + "description": "Total number of pages, based on filtered count and pagesize.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "ASSERTION", - "description": null, + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "VARIANT_GROUP", - "description": null, + "name": "totalCount", + "description": "The total number of records in this filtered collection.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "GeneEdge", + "description": "An edge in a connection.", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "MOLECULAR_PROFILE", - "description": null, + "name": "node", + "description": "The item at the end of the edge.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Gene", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null } ], + "inputFields": null, + "interfaces": [], + "enumValues": null, "possibleTypes": null }, { "kind": "INPUT_OBJECT", - "name": "FlaggableInput", - "description": "Entity to flag", + "name": "GeneFields", + "description": "Fields on a Gene that curators may propose revisions to.", "fields": null, "inputFields": [ { - "name": "id", - "description": "The ID of the entity.", + "name": "description", + "description": "The Gene's description/summary text.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "NullableStringInput", "ofType": null } }, @@ -18434,15 +20579,23 @@ "deprecationReason": null }, { - "name": "entityType", - "description": "The type of the entity to flag.", + "name": "sourceIds", + "description": "Source IDs cited by the Gene's summary.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "FlaggableEntities", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } } }, "defaultValue": null, @@ -18455,20 +20608,173 @@ "possibleTypes": null }, { - "kind": "SCALAR", - "name": "Float", - "description": "Represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).", + "kind": "INPUT_OBJECT", + "name": "GeneSearchFilter", + "description": null, "fields": null, - "inputFields": null, + "inputFields": [ + { + "name": "id", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "entrezId", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "entrezSymbol", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "description", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "alias", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "StringSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "openRevisionCount", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "IntSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "hasAssertion", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "BooleanSearchInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subFilters", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "GeneSearchFilter", + "ofType": null + } + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "booleanOperator", + "description": null, + "type": { + "kind": "ENUM", + "name": "BooleanOperator", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "interfaces": null, "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Gene", - "description": "The Feature that a Variant can belong to", + "name": "GeneVariant", + "description": null, "fields": [ + { + "name": "alleleRegistryId", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "clinvarIds", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "comments", "description": "List and filter comments.", @@ -18600,7 +20906,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "CreateFeatureActivity", + "name": "CreateVariantActivity", "ofType": null }, "isDeprecated": false, @@ -18628,7 +20934,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "DeprecateFeatureActivity", + "name": "DeprecateVariantActivity", "ofType": null }, "isDeprecated": false, @@ -18640,40 +20946,24 @@ "args": [], "type": { "kind": "ENUM", - "name": "FeatureDeprecationReason", + "name": "VariantDeprecationReason", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "description", + "name": "ensemblVersion", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, - { - "name": "entrezId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "events", "description": "List and filter events for an object", @@ -18788,39 +21078,15 @@ "deprecationReason": null }, { - "name": "featureAliases", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "featureInstance", + "name": "feature", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "UNION", - "name": "FeatureInstance", + "kind": "OBJECT", + "name": "Feature", "ofType": null } }, @@ -18957,13 +21223,25 @@ "deprecationReason": null }, { - "name": "fullName", + "name": "hgvsDescriptions", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null @@ -19037,12 +21315,89 @@ "deprecationReason": null }, { - "name": "myGeneInfoDetails", + "name": "maneSelectTranscript", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "JSON", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "molecularProfiles", + "description": null, + "args": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MolecularProfileConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "myVariantInfo", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "MyVariantInfo", "ofType": null }, "isDeprecated": false, @@ -19064,6 +21419,54 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "openCravatUrl", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "primaryCoordinates", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Coordinate", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "referenceBases", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "referenceBuild", + "description": null, + "args": [], + "type": { + "kind": "ENUM", + "name": "ReferenceBuild", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "revisions", "description": "List and filter revisions.", @@ -19190,7 +21593,51 @@ "deprecationReason": null }, { - "name": "sources", + "name": "secondaryCoordinates", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Coordinate", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfile", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MolecularProfile", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfileId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantAliases", "description": null, "args": [], "type": { @@ -19203,8 +21650,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Source", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -19214,77 +21661,36 @@ "deprecationReason": null }, { - "name": "variants", - "description": "List and filter variants.", - "args": [ - { - "name": "name", - "description": "Left anchored filtering for variant name and aliases.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], + "name": "variantBases", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTypes", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "VariantConnection", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VariantType", + "ofType": null + } + } } }, "isDeprecated": false, @@ -19318,6 +21724,11 @@ "name": "MolecularProfileComponent", "ofType": null }, + { + "kind": "INTERFACE", + "name": "VariantInterface", + "ofType": null + }, { "kind": "INTERFACE", "name": "WithRevisions", @@ -19328,14 +21739,30 @@ "possibleTypes": null }, { - "kind": "OBJECT", - "name": "GeneConnection", - "description": "The connection type for Gene.", - "fields": [ + "kind": "INPUT_OBJECT", + "name": "GeneVariantFields", + "description": "Fields on a GeneVariant that curators may propose revisions to.", + "fields": null, + "inputFields": [ { - "name": "edges", - "description": "A list of edges.", - "args": [], + "name": "name", + "description": "The Variant's name.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "aliases", + "description": "List of aliases or alternate names for the Variant.", "type": { "kind": "NON_NULL", "name": null, @@ -19346,20 +21773,20 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "GeneEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", - "args": [], + "name": "hgvsDescriptions", + "description": "List of HGVS descriptions for the Variant.", "type": { "kind": "NON_NULL", "name": null, @@ -19370,124 +21797,98 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Gene", + "kind": "SCALAR", + "name": "String", "ofType": null } } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "pageCount", - "description": "Total number of pages, based on filtered count and pagesize.", - "args": [], + "name": "clinvarIds", + "description": "List of ClinVar IDs for the Variant.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "ClinvarInput", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", - "args": [], + "name": "variantTypeIds", + "description": "List of IDs for the variant types for this Variant", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", - "description": "The total number of records in this filtered collection.", - "args": [], + "name": "referenceBuild", + "description": "The reference build for the genomic coordinates of this Variant.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "INPUT_OBJECT", + "name": "NullableReferenceBuildTypeInput", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "GeneEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", - "args": [], + "name": "ensemblVersion", + "description": "The Ensembl database version.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "NullableIntInput", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Gene", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GeneFields", - "description": "Fields on a Gene that curators may propose revisions to.", - "fields": null, - "inputFields": [ - { - "name": "description", - "description": "The Gene's description/summary text.", + "name": "secondaryCoordinates", + "description": "In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null.", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "NullableStringInput", + "name": "CoordinateInput", "ofType": null } }, @@ -19496,138 +21897,47 @@ "deprecationReason": null }, { - "name": "sourceIds", - "description": "Source IDs cited by the Gene's summary.", + "name": "primaryCoordinates", + "description": "The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } + "kind": "INPUT_OBJECT", + "name": "CoordinateInput", + "ofType": null } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "GeneSearchFilter", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "id", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "IntSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "entrezId", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "IntSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "entrezSymbol", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "StringSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "description", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "StringSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "alias", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "StringSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "openRevisionCount", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "IntSearchInput", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hasAssertion", - "description": null, + "name": "featureId", + "description": "The ID of the Feature this Variant corresponds to.", "type": { - "kind": "INPUT_OBJECT", - "name": "BooleanSearchInput", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "subFilters", - "description": null, + "name": "referenceBases", + "description": "Reference bases for this variant", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GeneSearchFilter", - "ofType": null - } + "kind": "INPUT_OBJECT", + "name": "NullableStringInput", + "ofType": null } }, "defaultValue": null, @@ -19635,12 +21945,16 @@ "deprecationReason": null }, { - "name": "booleanOperator", - "description": null, + "name": "variantBases", + "description": "Variant bases for this variant", "type": { - "kind": "ENUM", - "name": "BooleanOperator", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "NullableStringInput", + "ofType": null + } }, "defaultValue": null, "isDeprecated": false, @@ -22480,8 +24794,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -23236,8 +25550,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -23368,6 +25682,16 @@ "name": "Factor", "ofType": null }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "Feature", @@ -23378,6 +25702,21 @@ "name": "Gene", "ofType": null }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, { "kind": "OBJECT", "name": "Variant", @@ -23787,8 +26126,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -24671,6 +27010,35 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "suggestFactorVariantRevision", + "description": "Suggest a Revision to a Variant entity.", + "args": [ + { + "name": "input", + "description": "Parameters for SuggestFactorVariantRevision", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "SuggestFactorVariantRevisionInput", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "SuggestFactorVariantRevisionPayload", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "suggestGeneRevision", "description": "Suggest a Revision to a Feature entity of instance type \"Gene\".", @@ -24701,18 +27069,18 @@ "deprecationReason": null }, { - "name": "suggestMolecularProfileRevision", - "description": "Suggest a Revision to a MolecularProfile entity.", + "name": "suggestGeneVariantRevision", + "description": "Suggest a Revision to a Variant entity.", "args": [ { "name": "input", - "description": "Parameters for SuggestMolecularProfileRevision", + "description": "Parameters for SuggestGeneVariantRevision", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SuggestMolecularProfileRevisionInput", + "name": "SuggestGeneVariantRevisionInput", "ofType": null } }, @@ -24723,25 +27091,25 @@ ], "type": { "kind": "OBJECT", - "name": "SuggestMolecularProfileRevisionPayload", + "name": "SuggestGeneVariantRevisionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "suggestSource", - "description": "Suggest a source for curation in CIViC.", + "name": "suggestMolecularProfileRevision", + "description": "Suggest a Revision to a MolecularProfile entity.", "args": [ { "name": "input", - "description": "Parameters for SuggestSource", + "description": "Parameters for SuggestMolecularProfileRevision", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SuggestSourceInput", + "name": "SuggestMolecularProfileRevisionInput", "ofType": null } }, @@ -24752,25 +27120,25 @@ ], "type": { "kind": "OBJECT", - "name": "SuggestSourcePayload", + "name": "SuggestMolecularProfileRevisionPayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "suggestVariantGroupRevision", - "description": "Suggested a Revision to a Variant Group entity", + "name": "suggestSource", + "description": "Suggest a source for curation in CIViC.", "args": [ { "name": "input", - "description": "Parameters for SuggestVariantGroupRevision", + "description": "Parameters for SuggestSource", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SuggestVariantGroupRevisionInput", + "name": "SuggestSourceInput", "ofType": null } }, @@ -24781,25 +27149,25 @@ ], "type": { "kind": "OBJECT", - "name": "SuggestVariantGroupRevisionPayload", + "name": "SuggestSourcePayload", "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "suggestVariantRevision", - "description": "Suggest a Revision to a Variant entity.", + "name": "suggestVariantGroupRevision", + "description": "Suggested a Revision to a Variant Group entity", "args": [ { "name": "input", - "description": "Parameters for SuggestVariantRevision", + "description": "Parameters for SuggestVariantGroupRevision", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "INPUT_OBJECT", - "name": "SuggestVariantRevisionInput", + "name": "SuggestVariantGroupRevisionInput", "ofType": null } }, @@ -24810,7 +27178,7 @@ ], "type": { "kind": "OBJECT", - "name": "SuggestVariantRevisionPayload", + "name": "SuggestVariantGroupRevisionPayload", "ofType": null }, "isDeprecated": false, @@ -30320,6 +32688,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "category", + "description": null, + "type": { + "kind": "ENUM", + "name": "VariantCategories", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "sortBy", "description": null, @@ -33968,8 +36348,8 @@ } ], "type": { - "kind": "OBJECT", - "name": "Variant", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null }, "isDeprecated": false, @@ -34389,6 +36769,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "category", + "description": null, + "type": { + "kind": "ENUM", + "name": "VariantCategories", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -34443,7 +36835,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantConnection", + "name": "VariantInterfaceConnection", "ofType": null } }, @@ -40243,152 +42635,436 @@ }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "SuggestGeneRevisionInput", - "description": "Autogenerated input type of SuggestGeneRevision", - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationId", - "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "The ID of the Feature of instance type \"Gene\" to suggest a Revision to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": "The desired state of the Gene's editable fields if the change were applied.\nIf no change is desired for a particular field, pass in the current value of that field.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "GeneFields", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SuggestFactorVariantRevisionInput", + "description": "Autogenerated input type of SuggestFactorVariantRevision", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the Variant to suggest a Revision to.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": "The desired state of the Variant's editable fields if the change were applied.\nIf no change is desired for a particular field, pass in the current value of that field.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "FactorVariantFields", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "comment", + "description": "Text describing the reason for the change. Will be attached to the Revision as a comment.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SuggestFactorVariantRevisionPayload", + "description": "Autogenerated return type of SuggestFactorVariantRevision.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "results", + "description": "A list of Revisions generated as a result of this suggestion.\nIf an existing Revision exactly matches the proposed one, it will be returned instead.\nThis is indicated via the 'newlyCreated' Boolean.\nRevisions are stored on a per-field basis.\nThe changesetId can be used to group Revisions proposed at the same time.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RevisionResult", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variant", + "description": "The Variant the user has proposed a Revision to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SuggestGeneRevisionInput", + "description": "Autogenerated input type of SuggestGeneRevision", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the Feature of instance type \"Gene\" to suggest a Revision to.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": "The desired state of the Gene's editable fields if the change were applied.\nIf no change is desired for a particular field, pass in the current value of that field.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "GeneFields", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "comment", + "description": "Text describing the reason for the change. Will be attached to the Revision as a comment.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SuggestGeneRevisionPayload", + "description": "Autogenerated return type of SuggestGeneRevision.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "gene", + "description": "The Gene the user has proposed a Revision to.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Gene", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "results", + "description": "A list of Revisions generated as a result of this suggestion.\nIf an existing Revision exactly matches the proposed one, it will be returned instead.\nThis is indicated via the 'newlyCreated' Boolean.\nRevisions are stored on a per-field basis.\nThe changesetId can be used to group Revisions proposed at the same time.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RevisionResult", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "SuggestGeneVariantRevisionInput", + "description": "Autogenerated input type of SuggestGeneVariantRevision", + "fields": null, + "inputFields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the Variant to suggest a Revision to.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fields", + "description": "The desired state of the Variant's editable fields if the change were applied.\nIf no change is desired for a particular field, pass in the current value of that field.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "INPUT_OBJECT", + "name": "GeneVariantFields", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "comment", + "description": "Text describing the reason for the change. Will be attached to the Revision as a comment.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "SuggestGeneVariantRevisionPayload", + "description": "Autogenerated return type of SuggestGeneVariantRevision.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "results", + "description": "A list of Revisions generated as a result of this suggestion.\nIf an existing Revision exactly matches the proposed one, it will be returned instead.\nThis is indicated via the 'newlyCreated' Boolean.\nRevisions are stored on a per-field basis.\nThe changesetId can be used to group Revisions proposed at the same time.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "RevisionResult", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "comment", - "description": "Text describing the reason for the change. Will be attached to the Revision as a comment.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SuggestGeneRevisionPayload", - "description": "Autogenerated return type of SuggestGeneRevision.", - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "gene", - "description": "The Gene the user has proposed a Revision to.", + "name": "variant", + "description": "The Variant the user has proposed a Revision to.", "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "OBJECT", - "name": "Gene", + "name": "GeneVariant", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - }, - { - "name": "results", - "description": "A list of Revisions generated as a result of this suggestion.\nIf an existing Revision exactly matches the proposed one, it will be returned instead.\nThis is indicated via the 'newlyCreated' Boolean.\nRevisions are stored on a per-field basis.\nThe changesetId can be used to group Revisions proposed at the same time.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RevisionResult", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null } ], "inputFields": null, @@ -41212,148 +43888,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "SuggestVariantRevisionInput", - "description": "Autogenerated input type of SuggestVariantRevision", - "fields": null, - "inputFields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "organizationId", - "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", - "description": "The ID of the Variant to suggest a Revision to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fields", - "description": "The desired state of the Variant's editable fields if the change were applied.\nIf no change is desired for a particular field, pass in the current value of that field.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "VariantFields", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "comment", - "description": "Text describing the reason for the change. Will be attached to the Revision as a comment.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "SuggestVariantRevisionPayload", - "description": "Autogenerated return type of SuggestVariantRevision.", - "fields": [ - { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "results", - "description": "A list of Revisions generated as a result of this suggestion.\nIf an existing Revision exactly matches the proposed one, it will be returned instead.\nThis is indicated via the 'newlyCreated' Boolean.\nRevisions are stored on a per-field basis.\nThe changesetId can be used to group Revisions proposed at the same time.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "RevisionResult", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variant", - "description": "The Variant the user has proposed a Revision to.", - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Variant", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, { "kind": "ENUM", "name": "TaggableEntity", @@ -42464,79 +44998,577 @@ "name": "String", "ofType": null }, - "defaultValue": null, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizationId", + "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": "The ID of the SourceSuggestion to update.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "newStatus", + "description": "The desired status of the SourceSuggestion.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "ENUM", + "name": "SourceSuggestionStatus", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "reason", + "description": "The justification for marking a source as curated/rejected", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UpdateSourceSuggestionStatusPayload", + "description": "Autogenerated return type of UpdateSourceSuggestionStatus.", + "fields": [ + { + "name": "clientMutationId", + "description": "A unique identifier for the client performing the mutation.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sourceSuggestion", + "description": "The updated SourceSuggestion.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "SourceSuggestion", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "User", + "description": null, + "fields": [ + { + "name": "areaOfExpertise", + "description": null, + "args": [], + "type": { + "kind": "ENUM", + "name": "AreaOfExpertise", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "bio", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "country", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Country", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "displayName", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "email", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "events", + "description": null, + "args": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "EventConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "facebookProfile", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "linkedinProfile", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mostRecentActivityTimestamp", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ISO8601DateTime", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mostRecentConflictOfInterestStatement", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Coi", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mostRecentEvent", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mostRecentOrganizationId", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notifications", + "description": "Filterable list of notifications for the logged in user.", + "args": [ + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "notificationType", + "description": "Filter the response to include only notifications of a certaint type (ex: mentions).", + "type": { + "kind": "ENUM", + "name": "NotificationReason", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "eventType", + "description": "Filter the response to include only notifications generated by certain actions (ex: commenting).", + "type": { + "kind": "ENUM", + "name": "EventAction", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "subscriptionId", + "description": "Filter the reponse to include only notifications generated by a particular subscription.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "includeSeen", + "description": "Filter the reponse to include only notifications generated by a particular subscription.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "OBJECT", + "name": "NotificationConnection", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "orcid", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "organizations", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Organization", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "profileImagePath", + "description": null, + "args": [ + { + "name": "size", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": "56", + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, "isDeprecated": false, "deprecationReason": null }, { - "name": "organizationId", - "description": "The ID of the organization to credit the user's contributions to.\nIf the user belongs to a single organization or no organizations, this field is not required.\nThis field is required if the user belongs to more than one organization.\nThe user must belong to the organization provided.", + "name": "ranks", + "description": null, + "args": [], "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Ranks", + "ofType": null + } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "id", - "description": "The ID of the SourceSuggestion to update.", + "name": "role", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "UserRole", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "newStatus", - "description": "The desired status of the SourceSuggestion.", + "name": "statsHash", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "SourceSuggestionStatus", + "kind": "OBJECT", + "name": "Stats", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "reason", - "description": "The justification for marking a source as curated/rejected", + "name": "twitterHandle", + "description": null, + "args": [], "type": { "kind": "SCALAR", "name": "String", "ofType": null }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UpdateSourceSuggestionStatusPayload", - "description": "Autogenerated return type of UpdateSourceSuggestionStatus.", - "fields": [ + }, { - "name": "clientMutationId", - "description": "A unique identifier for the client performing the mutation.", + "name": "url", + "description": null, "args": [], "type": { "kind": "SCALAR", @@ -42547,15 +45579,15 @@ "deprecationReason": null }, { - "name": "sourceSuggestion", - "description": "The updated SourceSuggestion.", + "name": "username", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "SourceSuggestion", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -42570,48 +45602,119 @@ }, { "kind": "OBJECT", - "name": "User", - "description": null, + "name": "UserConnection", + "description": "The connection type for User.", "fields": [ { - "name": "areaOfExpertise", - "description": null, + "name": "edges", + "description": "A list of edges.", "args": [], "type": { - "kind": "ENUM", - "name": "AreaOfExpertise", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UserEdge", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "bio", - "description": null, + "name": "nodes", + "description": "A list of nodes.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "User", + "ofType": null + } + } + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "country", - "description": null, + "name": "pageCount", + "description": "Total number of pages, based on filtered count and pagesize.", "args": [], "type": { - "kind": "OBJECT", - "name": "Country", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "displayName", - "description": null, + "name": "pageInfo", + "description": "Information to aid in pagination.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "PageInfo", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "totalCount", + "description": "The total number of records in this filtered collection.", + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserEdge", + "description": "An edge in a connection.", + "fields": [ + { + "name": "cursor", + "description": "A cursor for use in pagination.", "args": [], "type": { "kind": "NON_NULL", @@ -42626,21 +45729,68 @@ "deprecationReason": null }, { - "name": "email", - "description": null, + "name": "node", + "description": "The item at the end of the edge.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "User", "ofType": null }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "UserLeaderboards", + "description": null, + "fields": [ { - "name": "events", + "name": "commentsLeaderboard", "description": null, "args": [ + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "direction", + "description": null, + "type": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "window", + "description": null, + "type": { + "kind": "ENUM", + "name": "TimeWindow", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -42695,7 +45845,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "EventConnection", + "name": "LeaderboardUserConnection", "ofType": null } }, @@ -42703,27 +45853,100 @@ "deprecationReason": null }, { - "name": "facebookProfile", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "id", + "name": "moderationLeaderboard", "description": null, - "args": [], + "args": [ + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "direction", + "description": null, + "type": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "window", + "description": null, + "type": { + "kind": "ENUM", + "name": "TimeWindow", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "LeaderboardUserConnection", "ofType": null } }, @@ -42731,81 +45954,45 @@ "deprecationReason": null }, { - "name": "linkedinProfile", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mostRecentActivityTimestamp", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ISO8601DateTime", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mostRecentConflictOfInterestStatement", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Coi", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mostRecentEvent", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Event", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "mostRecentOrganizationId", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", + "name": "revisionsLeaderboard", "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "notifications", - "description": "Filterable list of notifications for the logged in user.", "args": [ + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "direction", + "description": null, + "type": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "window", + "description": null, + "type": { + "kind": "ENUM", + "name": "TimeWindow", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -42843,11 +46030,64 @@ "deprecationReason": null }, { - "name": "last", - "description": "Returns the last _n_ elements from the list.", + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LeaderboardUserConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "submissionsLeaderboard", + "description": null, + "args": [ + { + "name": "role", + "description": null, + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "direction", + "description": null, + "type": { + "kind": "ENUM", + "name": "SortDirection", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "window", + "description": null, "type": { - "kind": "SCALAR", - "name": "Int", + "kind": "ENUM", + "name": "TimeWindow", "ofType": null }, "defaultValue": null, @@ -42855,11 +46095,11 @@ "deprecationReason": null }, { - "name": "notificationType", - "description": "Filter the response to include only notifications of a certaint type (ex: mentions).", + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", "type": { - "kind": "ENUM", - "name": "NotificationReason", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, @@ -42867,11 +46107,11 @@ "deprecationReason": null }, { - "name": "eventType", - "description": "Filter the response to include only notifications generated by certain actions (ex: commenting).", + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", "type": { - "kind": "ENUM", - "name": "EventAction", + "kind": "SCALAR", + "name": "String", "ofType": null }, "defaultValue": null, @@ -42879,8 +46119,8 @@ "deprecationReason": null }, { - "name": "subscriptionId", - "description": "Filter the reponse to include only notifications generated by a particular subscription.", + "name": "first", + "description": "Returns the first _n_ elements from the list.", "type": { "kind": "SCALAR", "name": "Int", @@ -42891,189 +46131,151 @@ "deprecationReason": null }, { - "name": "includeSeen", - "description": "Filter the reponse to include only notifications generated by a particular subscription.", + "name": "last", + "description": "Returns the last _n_ elements from the list.", "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null }, - "defaultValue": "false", + "defaultValue": null, "isDeprecated": false, "deprecationReason": null } ], "type": { - "kind": "OBJECT", - "name": "NotificationConnection", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LeaderboardUserConnection", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UserRole", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "orcid", + "name": "EDITOR", "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "organizations", + "name": "ADMIN", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Organization", - "ofType": null - } - } - } - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "profileImagePath", + "name": "CURATOR", "description": null, - "args": [ - { - "name": "size", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": "56", - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "UsersSort", + "description": null, + "fields": null, + "inputFields": [ { - "name": "ranks", - "description": null, - "args": [], + "name": "column", + "description": "Available columns for sorting", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "Ranks", + "kind": "ENUM", + "name": "UsersSortColumns", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "role", - "description": null, - "args": [], + "name": "direction", + "description": "Sort direction", "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "ENUM", - "name": "UserRole", + "name": "SortDirection", "ofType": null } }, + "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "UsersSortColumns", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ { - "name": "statsHash", + "name": "ID", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Stats", - "ofType": null - } - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "twitterHandle", + "name": "NAME", "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "url", + "name": "ROLE", "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, "isDeprecated": false, "deprecationReason": null }, { - "name": "username", + "name": "LAST_ACTION", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, "isDeprecated": false, "deprecationReason": null } ], - "inputFields": null, - "interfaces": [], - "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "UserConnection", - "description": "The connection type for User.", + "name": "ValidationErrors", + "description": null, "fields": [ { - "name": "edges", - "description": "A list of edges.", + "name": "genericErrors", + "description": null, "args": [], "type": { "kind": "NON_NULL", @@ -43085,8 +46287,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "UserEdge", + "kind": "SCALAR", + "name": "String", "ofType": null } } @@ -43096,8 +46298,8 @@ "deprecationReason": null }, { - "name": "nodes", - "description": "A list of nodes.", + "name": "validationErrors", + "description": null, "args": [], "type": { "kind": "NON_NULL", @@ -43110,7 +46312,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "User", + "name": "FieldValidationError", "ofType": null } } @@ -43118,17 +46320,137 @@ }, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "Variant", + "description": null, + "fields": [ { - "name": "pageCount", - "description": "Total number of pages, based on filtered count and pagesize.", - "args": [], + "name": "comments", + "description": "List and filter comments.", + "args": [ + { + "name": "originatingUserId", + "description": "Limit to comments by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedUserId", + "description": "Limit to comments that mention a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedRole", + "description": "Limit to comments that mention a certain user role", + "type": { + "kind": "ENUM", + "name": "UserRole", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "mentionedEntity", + "description": "Limit to comments that mention a certain entity", + "type": { + "kind": "INPUT_OBJECT", + "name": "TaggableEntityInput", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "Int", + "kind": "OBJECT", + "name": "CommentConnection", "ofType": null } }, @@ -43136,97 +46458,67 @@ "deprecationReason": null }, { - "name": "pageInfo", - "description": "Information to aid in pagination.", + "name": "creationActivity", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "PageInfo", - "ofType": null - } + "kind": "OBJECT", + "name": "CreateVariantActivity", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "totalCount", - "description": "The total number of records in this filtered collection.", + "name": "deprecated", + "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UserEdge", - "description": "An edge in a connection.", - "fields": [ + }, { - "name": "cursor", - "description": "A cursor for use in pagination.", + "name": "deprecationActivity", + "description": null, "args": [], "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } + "kind": "OBJECT", + "name": "DeprecateVariantActivity", + "ofType": null }, "isDeprecated": false, "deprecationReason": null }, { - "name": "node", - "description": "The item at the end of the edge.", + "name": "deprecationReason", + "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "User", + "kind": "ENUM", + "name": "VariantDeprecationReason", "ofType": null }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "UserLeaderboards", - "description": null, - "fields": [ + }, { - "name": "commentsLeaderboard", - "description": null, + "name": "events", + "description": "List and filter events for an object", "args": [ { - "name": "role", + "name": "eventType", "description": null, "type": { "kind": "ENUM", - "name": "UserRole", + "name": "EventAction", "ofType": null }, "defaultValue": null, @@ -43234,11 +46526,11 @@ "deprecationReason": null }, { - "name": "direction", + "name": "originatingUserId", "description": null, "type": { - "kind": "ENUM", - "name": "SortDirection", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -43246,11 +46538,23 @@ "deprecationReason": null }, { - "name": "window", + "name": "organizationId", "description": null, "type": { - "kind": "ENUM", - "name": "TimeWindow", + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the events. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", "ofType": null }, "defaultValue": null, @@ -43311,7 +46615,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "LeaderboardUserConnection", + "name": "EventConnection", "ofType": null } }, @@ -43319,15 +46623,47 @@ "deprecationReason": null }, { - "name": "moderationLeaderboard", + "name": "feature", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Feature", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flagged", "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "flags", + "description": "List and filter flags.", "args": [ { - "name": "role", - "description": null, + "name": "flaggingUserId", + "description": "Limit to flags added by a certain user", "type": { - "kind": "ENUM", - "name": "UserRole", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -43335,11 +46671,23 @@ "deprecationReason": null }, { - "name": "direction", - "description": null, + "name": "resolvingUserId", + "description": "Limit to flags resolved by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "state", + "description": "Limit to flags in a particular state", "type": { "kind": "ENUM", - "name": "SortDirection", + "name": "FlagState", "ofType": null }, "defaultValue": null, @@ -43347,11 +46695,11 @@ "deprecationReason": null }, { - "name": "window", - "description": null, + "name": "sortBy", + "description": "Sort order for the flags. Defaults to most recent.", "type": { - "kind": "ENUM", - "name": "TimeWindow", + "kind": "INPUT_OBJECT", + "name": "DateSort", "ofType": null }, "defaultValue": null, @@ -43412,7 +46760,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "LeaderboardUserConnection", + "name": "FlagConnection", "ofType": null } }, @@ -43420,45 +46768,77 @@ "deprecationReason": null }, { - "name": "revisionsLeaderboard", + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastAcceptedRevisionEvent", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastCommentEvent", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "lastSubmittedRevisionEvent", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Event", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "link", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "molecularProfiles", "description": null, "args": [ - { - "name": "role", - "description": null, - "type": { - "kind": "ENUM", - "name": "UserRole", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "direction", - "description": null, - "type": { - "kind": "ENUM", - "name": "SortDirection", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "window", - "description": null, - "type": { - "kind": "ENUM", - "name": "TimeWindow", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -43513,7 +46893,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "LeaderboardUserConnection", + "name": "MolecularProfileConnection", "ofType": null } }, @@ -43521,15 +46901,31 @@ "deprecationReason": null }, { - "name": "submissionsLeaderboard", + "name": "name", "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revisions", + "description": "List and filter revisions.", "args": [ { - "name": "role", - "description": null, + "name": "originatingUserId", + "description": "Limit to revisions by a certain user", "type": { - "kind": "ENUM", - "name": "UserRole", + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -43537,11 +46933,11 @@ "deprecationReason": null }, { - "name": "direction", - "description": null, + "name": "status", + "description": "Limit to revisions with a certain status", "type": { "kind": "ENUM", - "name": "SortDirection", + "name": "RevisionStatus", "ofType": null }, "defaultValue": null, @@ -43549,11 +46945,35 @@ "deprecationReason": null }, { - "name": "window", - "description": null, + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", "type": { - "kind": "ENUM", - "name": "TimeWindow", + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fieldName", + "description": "Limit to revisions on a particular field.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "revisionSetId", + "description": "Limit to revisions suggested as part of a single Revision Set.", + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null }, "defaultValue": null, @@ -43614,133 +47034,47 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "LeaderboardUserConnection", + "name": "RevisionConnection", "ofType": null } }, "isDeprecated": false, "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "UserRole", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "EDITOR", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ADMIN", - "description": null, - "isDeprecated": false, - "deprecationReason": null }, { - "name": "CURATOR", + "name": "singleVariantMolecularProfile", "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "UsersSort", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "column", - "description": "Available columns for sorting", + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "UsersSortColumns", + "kind": "OBJECT", + "name": "MolecularProfile", "ofType": null } }, - "defaultValue": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "direction", - "description": "Sort direction", + "name": "singleVariantMolecularProfileId", + "description": null, + "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "ENUM", - "name": "SortDirection", + "kind": "SCALAR", + "name": "Int", "ofType": null } }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "UsersSortColumns", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "ID", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "NAME", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ROLE", - "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "LAST_ACTION", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "ValidationErrors", - "description": null, - "fields": [ - { - "name": "genericErrors", + "name": "variantAliases", "description": null, "args": [], "type": { @@ -43764,7 +47098,7 @@ "deprecationReason": null }, { - "name": "validationErrors", + "name": "variantTypes", "description": null, "args": [], "type": { @@ -43778,7 +47112,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FieldValidationError", + "name": "VariantType", "ofType": null } } @@ -43789,51 +47123,179 @@ } ], "inputFields": null, - "interfaces": [], + "interfaces": [ + { + "kind": "INTERFACE", + "name": "Commentable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventOriginObject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "EventSubject", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "Flaggable", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "MolecularProfileComponent", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "VariantInterface", + "ofType": null + }, + { + "kind": "INTERFACE", + "name": "WithRevisions", + "ofType": null + } + ], "enumValues": null, "possibleTypes": null }, { "kind": "OBJECT", - "name": "Variant", + "name": "VariantAlias", "description": null, "fields": [ { - "name": "alleleRegistryId", + "name": "name", "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "VariantCategories", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "GENE", + "description": null, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "clinvarIds", + "name": "FACTOR", "description": null, - "args": [], + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "VariantComponent", + "description": "Representation of a Variant's membership in a Molecular Profile.", + "fields": null, + "inputFields": [ + { + "name": "variantId", + "description": "The ID of the Variant involved in the Molecular Profile.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "not", + "description": "When set to true, this means the NOT operator will be applied to the Variant in the Molecluar Profile.", + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null } }, + "defaultValue": "false", + "isDeprecated": false, + "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "VariantDeprecationReason", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "DUPLICATE", + "description": null, "isDeprecated": false, "deprecationReason": null }, + { + "name": "INVALID", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "OTHER", + "description": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "FEATURE_DEPRECATED", + "description": null, + "isDeprecated": false, + "deprecationReason": null + } + ], + "possibleTypes": null + }, + { + "kind": "OBJECT", + "name": "VariantGroup", + "description": null, + "fields": [ { "name": "comments", "description": "List and filter comments.", @@ -43960,19 +47422,7 @@ "deprecationReason": null }, { - "name": "creationActivity", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "CreateVariantActivity", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecated", + "name": "description", "description": null, "args": [], "type": { @@ -43980,45 +47430,9 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationActivity", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "DeprecateVariantActivity", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "deprecationReason", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "VariantDeprecationReason", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "ensemblVersion", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null + "name": "String", + "ofType": null + } }, "isDeprecated": false, "deprecationReason": null @@ -44136,22 +47550,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "feature", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Feature", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "flagged", "description": null, @@ -44281,30 +47679,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "hgvsDescriptions", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "id", "description": null, @@ -44373,95 +47747,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "maneSelectTranscript", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "molecularProfiles", - "description": null, - "args": [ - { - "name": "after", - "description": "Returns the elements in the list that come after the specified cursor.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "before", - "description": "Returns the elements in the list that come before the specified cursor.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "first", - "description": "Returns the first _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "last", - "description": "Returns the last _n_ elements from the list.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MolecularProfileConnection", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "myVariantInfo", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "MyVariantInfo", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "name", "description": null, @@ -44478,54 +47763,6 @@ "isDeprecated": false, "deprecationReason": null }, - { - "name": "openCravatUrl", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "primaryCoordinates", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Coordinate", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "referenceBases", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "referenceBuild", - "description": null, - "args": [], - "type": { - "kind": "ENUM", - "name": "ReferenceBuild", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "revisions", "description": "List and filter revisions.", @@ -44652,51 +47889,7 @@ "deprecationReason": null }, { - "name": "secondaryCoordinates", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Coordinate", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "singleVariantMolecularProfile", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "MolecularProfile", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "singleVariantMolecularProfileId", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variantAliases", + "name": "sources", "description": null, "args": [], "type": { @@ -44709,8 +47902,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Source", "ofType": null } } @@ -44720,36 +47913,77 @@ "deprecationReason": null }, { - "name": "variantBases", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variantTypes", - "description": null, - "args": [], + "name": "variants", + "description": "List and filter variants.", + "args": [ + { + "name": "name", + "description": "Left anchored filtering for variant name and aliases.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "after", + "description": "Returns the elements in the list that come after the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "before", + "description": "Returns the elements in the list that come before the specified cursor.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "first", + "description": "Returns the first _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "last", + "description": "Returns the last _n_ elements from the list.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + } + ], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "VariantType", - "ofType": null - } - } + "kind": "OBJECT", + "name": "VariantInterfaceConnection", + "ofType": null } }, "isDeprecated": false, @@ -44763,11 +47997,6 @@ "name": "Commentable", "ofType": null }, - { - "kind": "INTERFACE", - "name": "EventOriginObject", - "ofType": null - }, { "kind": "INTERFACE", "name": "EventSubject", @@ -44778,11 +48007,6 @@ "name": "Flaggable", "ofType": null }, - { - "kind": "INTERFACE", - "name": "MolecularProfileComponent", - "ofType": null - }, { "kind": "INTERFACE", "name": "WithRevisions", @@ -44794,78 +48018,8 @@ }, { "kind": "OBJECT", - "name": "VariantAlias", - "description": null, - "fields": [ - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "VariantComponent", - "description": "Representation of a Variant's membership in a Molecular Profile.", - "fields": null, - "inputFields": [ - { - "name": "variantId", - "description": "The ID of the Variant involved in the Molecular Profile.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "not", - "description": "When set to true, this means the NOT operator will be applied to the Variant in the Molecluar Profile.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null - } - }, - "defaultValue": "false", - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "OBJECT", - "name": "VariantConnection", - "description": "The connection type for Variant.", + "name": "VariantGroupConnection", + "description": "The connection type for VariantGroup.", "fields": [ { "name": "edges", @@ -44882,7 +48036,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantEdge", + "name": "VariantGroupEdge", "ofType": null } } @@ -44906,7 +48060,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Variant", + "name": "VariantGroup", "ofType": null } } @@ -44969,44 +48123,9 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "ENUM", - "name": "VariantDeprecationReason", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "DUPLICATE", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "INVALID", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "OTHER", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "FEATURE_DEPRECATED", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, { "kind": "OBJECT", - "name": "VariantEdge", + "name": "VariantGroupEdge", "description": "An edge in a connection.", "fields": [ { @@ -45031,7 +48150,7 @@ "args": [], "type": { "kind": "OBJECT", - "name": "Variant", + "name": "VariantGroup", "ofType": null }, "isDeprecated": false, @@ -45045,19 +48164,19 @@ }, { "kind": "INPUT_OBJECT", - "name": "VariantFields", - "description": "Fields on a Variant that curators may propose revisions to.", + "name": "VariantGroupFields", + "description": "Fields on a VariantGroup that curators may propose revisions to.", "fields": null, "inputFields": [ { - "name": "name", - "description": "The Variant's name.", + "name": "description", + "description": "The VariantGroups's description/summary text.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "SCALAR", - "name": "String", + "kind": "INPUT_OBJECT", + "name": "NullableStringInput", "ofType": null } }, @@ -45066,62 +48185,14 @@ "deprecationReason": null }, { - "name": "aliases", - "description": "List of aliases or alternate names for the Variant.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "hgvsDescriptions", - "description": "List of HGVS descriptions for the Variant.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "clinvarIds", - "description": "List of ClinVar IDs for the Variant.", + "name": "name", + "description": "The VariantGroups's name.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "ClinvarInput", + "kind": "SCALAR", + "name": "String", "ofType": null } }, @@ -45130,8 +48201,8 @@ "deprecationReason": null }, { - "name": "variantTypeIds", - "description": "List of IDs for the variant types for this Variant", + "name": "sourceIds", + "description": "Source IDs cited by the VariantGroup's summary.", "type": { "kind": "NON_NULL", "name": null, @@ -45154,30 +48225,49 @@ "deprecationReason": null }, { - "name": "referenceBuild", - "description": "The reference build for the genomic coordinates of this Variant.", + "name": "variantIds", + "description": "Variants in this VariantGroup.", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NullableReferenceBuildTypeInput", - "ofType": null + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + } + } } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null - }, + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "INPUT_OBJECT", + "name": "VariantGroupsSort", + "description": null, + "fields": null, + "inputFields": [ { - "name": "ensemblVersion", - "description": "The Ensembl database version.", + "name": "column", + "description": "Available columns for sorting", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "NullableIntInput", + "kind": "ENUM", + "name": "VariantGroupsSortColumns", "ofType": null } }, @@ -45186,94 +48276,71 @@ "deprecationReason": null }, { - "name": "secondaryCoordinates", - "description": "In the case of Fusions these will be the coordinates of the 3' partner, otherwise set the values to null.", + "name": "direction", + "description": "Sort direction", "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "INPUT_OBJECT", - "name": "CoordinateInput", + "kind": "ENUM", + "name": "SortDirection", "ofType": null } }, "defaultValue": null, "isDeprecated": false, "deprecationReason": null + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null + }, + { + "kind": "ENUM", + "name": "VariantGroupsSortColumns", + "description": null, + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": [ + { + "name": "NAME", + "description": null, + "isDeprecated": false, + "deprecationReason": null }, { - "name": "primaryCoordinates", - "description": "The primary coordinates for this Variant. In the case of Fusions this will be the coordinates of the 5' partner.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "CoordinateInput", - "ofType": null - } - }, - "defaultValue": null, + "name": "GENE_NAMES", + "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "featureId", - "description": "The ID of the Feature this Variant corresponds to.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - }, - "defaultValue": null, + "name": "VARIANT_NAMES", + "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "referenceBases", - "description": "Reference bases for this variant", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "NullableStringInput", - "ofType": null - } - }, - "defaultValue": null, + "name": "VARIANT_COUNT", + "description": null, "isDeprecated": false, "deprecationReason": null }, { - "name": "variantBases", - "description": "Variant bases for this variant", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "NullableStringInput", - "ofType": null - } - }, - "defaultValue": null, + "name": "EVIDENCE_ITEM_COUNT", + "description": null, "isDeprecated": false, "deprecationReason": null } ], - "interfaces": null, - "enumValues": null, "possibleTypes": null }, { - "kind": "OBJECT", - "name": "VariantGroup", - "description": null, + "kind": "INTERFACE", + "name": "VariantInterface", + "description": "A taggable/linkable component of a molecular profile\n", "fields": [ { "name": "comments", @@ -45401,7 +48468,19 @@ "deprecationReason": null }, { - "name": "description", + "name": "creationActivity", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "CreateVariantActivity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecated", "description": null, "args": [], "type": { @@ -45409,13 +48488,37 @@ "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, + { + "name": "deprecationActivity", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "DeprecateVariantActivity", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "ENUM", + "name": "VariantDeprecationReason", + "ofType": null + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "events", "description": "List and filter events for an object", @@ -45529,6 +48632,22 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "feature", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Feature", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "flagged", "description": null, @@ -45727,85 +48846,9 @@ "deprecationReason": null }, { - "name": "name", + "name": "molecularProfiles", "description": null, - "args": [], - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisions", - "description": "List and filter revisions.", "args": [ - { - "name": "originatingUserId", - "description": "Limit to revisions by a certain user", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "status", - "description": "Limit to revisions with a certain status", - "type": { - "kind": "ENUM", - "name": "RevisionStatus", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sortBy", - "description": "Sort order for the comments. Defaults to most recent.", - "type": { - "kind": "INPUT_OBJECT", - "name": "DateSort", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "fieldName", - "description": "Limit to revisions on a particular field.", - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "revisionSetId", - "description": "Limit to revisions suggested as part of a single Revision Set.", - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -45860,7 +48903,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "RevisionConnection", + "name": "MolecularProfileConnection", "ofType": null } }, @@ -45868,36 +48911,64 @@ "deprecationReason": null }, { - "name": "sources", + "name": "name", "description": null, "args": [], "type": { "kind": "NON_NULL", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Source", - "ofType": null - } - } + "kind": "SCALAR", + "name": "String", + "ofType": null } }, "isDeprecated": false, "deprecationReason": null }, { - "name": "variants", - "description": "List and filter variants.", + "name": "revisions", + "description": "List and filter revisions.", "args": [ { - "name": "name", - "description": "Left anchored filtering for variant name and aliases.", + "name": "originatingUserId", + "description": "Limit to revisions by a certain user", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "status", + "description": "Limit to revisions with a certain status", + "type": { + "kind": "ENUM", + "name": "RevisionStatus", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "sortBy", + "description": "Sort order for the comments. Defaults to most recent.", + "type": { + "kind": "INPUT_OBJECT", + "name": "DateSort", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "fieldName", + "description": "Limit to revisions on a particular field.", "type": { "kind": "SCALAR", "name": "String", @@ -45907,6 +48978,18 @@ "isDeprecated": false, "deprecationReason": null }, + { + "name": "revisionSetId", + "description": "Limit to revisions suggested as part of a single Revision Set.", + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null + }, + "defaultValue": null, + "isDeprecated": false, + "deprecationReason": null + }, { "name": "after", "description": "Returns the elements in the list that come after the specified cursor.", @@ -45961,12 +49044,92 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantConnection", + "name": "RevisionConnection", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfile", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "MolecularProfile", + "ofType": null + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "singleVariantMolecularProfileId", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Int", "ofType": null } }, "isDeprecated": false, "deprecationReason": null + }, + { + "name": "variantAliases", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null + }, + { + "name": "variantTypes", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "VariantType", + "ofType": null + } + } + } + }, + "isDeprecated": false, + "deprecationReason": null } ], "inputFields": null, @@ -45976,6 +49139,11 @@ "name": "Commentable", "ofType": null }, + { + "kind": "INTERFACE", + "name": "EventOriginObject", + "ofType": null + }, { "kind": "INTERFACE", "name": "EventSubject", @@ -45986,6 +49154,11 @@ "name": "Flaggable", "ofType": null }, + { + "kind": "INTERFACE", + "name": "MolecularProfileComponent", + "ofType": null + }, { "kind": "INTERFACE", "name": "WithRevisions", @@ -45993,12 +49166,28 @@ } ], "enumValues": null, - "possibleTypes": null + "possibleTypes": [ + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + } + ] }, { "kind": "OBJECT", - "name": "VariantGroupConnection", - "description": "The connection type for VariantGroup.", + "name": "VariantInterfaceConnection", + "description": "The connection type for VariantInterface.", "fields": [ { "name": "edges", @@ -46015,7 +49204,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "VariantGroupEdge", + "name": "VariantInterfaceEdge", "ofType": null } } @@ -46038,8 +49227,8 @@ "kind": "NON_NULL", "name": null, "ofType": { - "kind": "OBJECT", - "name": "VariantGroup", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null } } @@ -46104,7 +49293,7 @@ }, { "kind": "OBJECT", - "name": "VariantGroupEdge", + "name": "VariantInterfaceEdge", "description": "An edge in a connection.", "fields": [ { @@ -46128,8 +49317,8 @@ "description": "The item at the end of the edge.", "args": [], "type": { - "kind": "OBJECT", - "name": "VariantGroup", + "kind": "INTERFACE", + "name": "VariantInterface", "ofType": null }, "isDeprecated": false, @@ -46141,181 +49330,6 @@ "enumValues": null, "possibleTypes": null }, - { - "kind": "INPUT_OBJECT", - "name": "VariantGroupFields", - "description": "Fields on a VariantGroup that curators may propose revisions to.", - "fields": null, - "inputFields": [ - { - "name": "description", - "description": "The VariantGroups's description/summary text.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "INPUT_OBJECT", - "name": "NullableStringInput", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "name", - "description": "The VariantGroups's name.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "sourceIds", - "description": "Source IDs cited by the VariantGroup's summary.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "variantIds", - "description": "Variants in this VariantGroup.", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Int", - "ofType": null - } - } - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "INPUT_OBJECT", - "name": "VariantGroupsSort", - "description": null, - "fields": null, - "inputFields": [ - { - "name": "column", - "description": "Available columns for sorting", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "VariantGroupsSortColumns", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "direction", - "description": "Sort direction", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "ENUM", - "name": "SortDirection", - "ofType": null - } - }, - "defaultValue": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null - }, - { - "kind": "ENUM", - "name": "VariantGroupsSortColumns", - "description": null, - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": [ - { - "name": "NAME", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "GENE_NAMES", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIANT_NAMES", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "VARIANT_COUNT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - }, - { - "name": "EVIDENCE_ITEM_COUNT", - "description": null, - "isDeprecated": false, - "deprecationReason": null - } - ], - "possibleTypes": null - }, { "kind": "INPUT_OBJECT", "name": "VariantMenuSort", @@ -46981,6 +49995,16 @@ "name": "Factor", "ofType": null }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "FactorVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "Feature", @@ -46991,6 +50015,16 @@ "name": "Gene", "ofType": null }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, + { + "kind": "OBJECT", + "name": "GeneVariant", + "ofType": null + }, { "kind": "OBJECT", "name": "MolecularProfile", @@ -47001,6 +50035,11 @@ "name": "Variant", "ofType": null }, + { + "kind": "OBJECT", + "name": "Variant", + "ofType": null + }, { "kind": "OBJECT", "name": "VariantGroup", diff --git a/client/src/app/graphql/graphql.type-policies.ts b/client/src/app/graphql/graphql.type-policies.ts index eff39c83d..be805e514 100644 --- a/client/src/app/graphql/graphql.type-policies.ts +++ b/client/src/app/graphql/graphql.type-policies.ts @@ -29,6 +29,7 @@ export const CvcTypePolicies: TypePolicies = { 'therapayName', 'variantTypeId', 'variantGroupId', + 'variantCategory', ]), browseMolecularProfiles: relayStylePagination([ 'variantName', diff --git a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.module.ts b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.module.ts index 04062197a..1a4e28cd6 100644 --- a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.module.ts +++ b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.module.ts @@ -19,8 +19,9 @@ import { CvcUserTagModule } from '@app/components/users/user-tag/user-tag.module import { NzTagModule } from 'ng-zorro-antd/tag' import { MolecularProfilesSummaryPage } from './molecular-profiles-summary.page' import { CvcMolecularProfileTagNameModule } from '@app/components/molecular-profiles/molecular-profile-tag-name/molecular-profile-tag-name.module' -import { CvcMolecularProfileVariantCardModule } from '@app/components/molecular-profiles/molecular-profile-variant-card/molecular-profile-variant-card.module' import { CvcEmptyValueModule } from '@app/forms/components/empty-value/empty-value.module' +import { CvcMolecularProfileGeneVariantCardModule } from '@app/components/molecular-profiles/molecular-profile-gene-variant-card/molecular-profile-gene-variant-card.module' +import { CvcMolecularProfileFactorVariantCardComponent } from '@app/components/molecular-profiles/molecular-profile-factor-variant-card/molecular-profile-factor-variant-card.component' @NgModule({ declarations: [MolecularProfilesSummaryPage], @@ -46,7 +47,8 @@ import { CvcEmptyValueModule } from '@app/forms/components/empty-value/empty-val CvcLinkTagModule, CvcEmptyRevisableModule, CvcMolecularProfileTagNameModule, - CvcMolecularProfileVariantCardModule, + CvcMolecularProfileGeneVariantCardModule, + CvcMolecularProfileFactorVariantCardComponent, ], exports: [MolecularProfilesSummaryPage], }) diff --git a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.page.html b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.page.html index df595f31e..31f55fc13 100644 --- a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.page.html +++ b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.page.html @@ -1,55 +1,68 @@ - + - + - + - + by - + Created - - ({{ mp.complexMolecularProfileCreationActivity.createdAt | timeAgo }}) + ({{ + mp.complexMolecularProfileCreationActivity.createdAt + | timeAgo + }}) - + by - + Deprecated - - ({{ mp.complexMolecularProfileDeprecationActivity.createdAt | timeAgo }}) + ({{ + mp.complexMolecularProfileDeprecationActivity.createdAt + | timeAgo + }}) - + by - + Deprecated - ({{ mp.variantDeprecationActivity.createdAt | timeAgo }}) @@ -97,10 +110,13 @@ - {{ alias }} + *ngIf=" + mp.molecularProfileAliases.length > 0; + else valueUnspecified + "> + {{ + alias + }} @@ -111,13 +127,24 @@ - + - + @switch(v.__typename) { + + @case('GeneVariant') { + + [currentMolecularProfileId]="mp.id"> + } + + @case('FactorVariant') { + + } } @@ -138,7 +165,7 @@ + cvcTitle="{{ mp.name }} Assertions"> diff --git a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.query.gql b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.query.gql index cd59f2f04..6229fed4e 100644 --- a/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.query.gql +++ b/client/src/app/views/molecular-profiles/molecular-profiles-detail/molecular-profiles-summary/molecular-profiles-summary.query.gql @@ -69,7 +69,7 @@ fragment MolecularProfileParsedName on MolecularProfileSegment { } } -fragment VariantMolecularProfileCardFields on Variant { +fragment VariantMolecularProfileCardFields on VariantInterface { id name link @@ -87,31 +87,17 @@ fragment VariantMolecularProfileCardFields on Variant { deprecated } } + ... on GeneVariant { + ... GeneVariantSummaryFields + } + ... on FactorVariant { + ... FactorVariantSummaryFields + } variantAliases - clinvarIds - alleleRegistryId - openCravatUrl variantTypes { id link soid name } - referenceBuild - ensemblVersion - primaryCoordinates { - representativeTranscript - chromosome - start - stop - } - secondaryCoordinates { - representativeTranscript - chromosome - start - stop - } - referenceBases - variantBases - hgvsDescriptions } diff --git a/client/src/app/views/variants/variants-detail/variants-detail.query.gql b/client/src/app/views/variants/variants-detail/variants-detail.query.gql index 1c296ccb0..6ec96d317 100644 --- a/client/src/app/views/variants/variants-detail/variants-detail.query.gql +++ b/client/src/app/views/variants/variants-detail/variants-detail.query.gql @@ -4,7 +4,7 @@ query VariantDetail($variantId: Int!) { } } -fragment VariantDetailFields on Variant { +fragment VariantDetailFields on VariantInterface { id name deprecated diff --git a/client/src/app/views/variants/variants-detail/variants-detail.view.html b/client/src/app/views/variants/variants-detail/variants-detail.view.html index 72190484f..ac114a83b 100644 --- a/client/src/app/views/variants/variants-detail/variants-detail.view.html +++ b/client/src/app/views/variants/variants-detail/variants-detail.view.html @@ -60,6 +60,7 @@