File tree 5 files changed +14
-4
lines changed
5 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ const extendedMapping = [
58
58
field : 'files.biospecimen_reference' ,
59
59
displayName : 'Files Biospecimen Reference' ,
60
60
active : false ,
61
- isArray : false ,
61
+ isArray : true ,
62
62
rangeStep : 1 ,
63
63
type : 'keyword' ,
64
64
gqlId : 'cqdg::Biospecimen::extended::files.biospecimen_reference' ,
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ const extendedMapping = [
6
6
field : 'biospecimen_reference' ,
7
7
displayName : 'Biospecimen Reference' ,
8
8
active : false ,
9
- isArray : false ,
9
+ isArray : true ,
10
10
rangeStep : 1 ,
11
11
type : 'keyword' ,
12
12
gqlId : 'cqdg::File::extended::biospecimen_reference' ,
Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ export const FileType = new GraphQLObjectType({
25
25
id : { type : GraphQLString } ,
26
26
file_id : { type : GraphQLString } ,
27
27
file_2_id : { type : GraphQLString } ,
28
- biospecimen_reference : { type : GraphQLString } ,
28
+ biospecimen_reference : { type : new GraphQLList ( GraphQLString ) } ,
29
29
data_category : { type : GraphQLString } ,
30
30
data_type : { type : GraphQLString } ,
31
31
dataset : { type : GraphQLString } ,
Original file line number Diff line number Diff line change 1
1
import { GraphQLObjectType , GraphQLString } from 'graphql' ;
2
+ import { GraphQLList } from "graphql/index" ;
2
3
3
4
const SequencingExperimentType = new GraphQLObjectType ( {
4
5
name : 'SequencingExperimentType' ,
5
6
fields : ( ) => ( {
6
7
alir : { type : GraphQLString } ,
8
+ analysis_files : { type : new GraphQLList ( AnalysisFilesType ) } ,
7
9
analysis_id : { type : GraphQLString } ,
8
10
bio_informatic_analysis : { type : GraphQLString } ,
9
11
capture_kit : { type : GraphQLString } ,
@@ -28,4 +30,12 @@ const SequencingExperimentType = new GraphQLObjectType({
28
30
} ) ,
29
31
} ) ;
30
32
33
+ const AnalysisFilesType = new GraphQLObjectType ( {
34
+ name : 'AnalysisFilesType' ,
35
+ fields : ( ) => ( {
36
+ data_type : { type : GraphQLString } ,
37
+ file_id : { type : GraphQLString } ,
38
+ } ) ,
39
+ } ) ;
40
+
31
41
export default SequencingExperimentType ;
Original file line number Diff line number Diff line change @@ -463,7 +463,7 @@ const extendedMapping: I_ExtendedMappingSetFieldInput[] = [
463
463
field : 'files.biospecimen_reference' ,
464
464
displayName : 'Files Biospecimen Reference' ,
465
465
active : false ,
466
- isArray : false ,
466
+ isArray : true ,
467
467
rangeStep : 1 ,
468
468
type : 'keyword' ,
469
469
gqlId : 'cqdg::Participant::extended::files.biospecimen_reference' ,
You can’t perform that action at this time.
0 commit comments