@ferlab/next
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -39,1 +39,2 @@ import { GraphQLList, GraphQLObjectType } from 'graphql'; | ||
export { default as ColumnsStateType } from './columnsStateType'; | ||
export { default as GraphQLJSON } from './jsonType'; |
@@ -45,2 +45,3 @@ import { GraphQLBoolean, GraphQLInt, GraphQLList, GraphQLObjectType, GraphQLString } from 'graphql'; | ||
export { default as ColumnsStateType } from './columnsStateType'; | ||
export { default as GraphQLJSON } from './jsonType'; | ||
//# sourceMappingURL=index.js.map |
import { GraphQLObjectType } from 'graphql'; | ||
import AggregationsType, { NumericAggregationsType } from '#src/common/types/aggregationsType'; | ||
const GeneAggType = new GraphQLObjectType({ | ||
name: 'VariantAggType', | ||
name: 'GeneAggType', | ||
fields: { | ||
@@ -6,0 +6,0 @@ alias: { type: AggregationsType }, |
import { GraphQLFloat, GraphQLList, GraphQLObjectType, GraphQLString } from 'graphql'; | ||
import GenesType from '../../gene/types/gene'; | ||
import { FrequenciesType } from './frequencies'; | ||
@@ -34,5 +33,2 @@ import variantStudiesType from './variantStudies'; | ||
studies: { type: variantStudiesType }, | ||
genes: { type: GenesType, resolve: (parent) => parent.genes }, | ||
//todo: genes by gene_centric | ||
// genes2: { type: GenesType }, | ||
alternate: { type: GraphQLString }, | ||
@@ -56,3 +52,3 @@ assembly_version: { type: GraphQLString }, | ||
internal_frequencies_wgs: { type: FrequenciesType }, | ||
study_frequencies_wgs: { type: variantStudiesType, resolve: (parent) => parent.study_frequencies_wgs }, | ||
study_frequencies_wgs: { type: variantStudiesType }, | ||
}), | ||
@@ -59,0 +55,0 @@ extensions: { |
{ | ||
"name": "@ferlab/next", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"description": "Shared library for our wrappers GraphQL APIs", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
521200
6788