@@ -589,7 +589,7 @@ export class GraphQLScalarType {
589
589
defineToStringTag ( GraphQLScalarType ) ;
590
590
defineToJSON ( GraphQLScalarType ) ;
591
591
592
- export type GraphQLScalarTypeConfig < TInternal , TExternal > = {
592
+ export type GraphQLScalarTypeConfig < TInternal , TExternal > = { |
593
593
name : string ,
594
594
description ?: ?string ,
595
595
astNode ?: ?ScalarTypeDefinitionNode ,
@@ -599,7 +599,7 @@ export type GraphQLScalarTypeConfig<TInternal, TExternal> = {
599
599
valueNode : ValueNode ,
600
600
variables : ?ObjMap < mixed > ,
601
601
) => ?TInternal ,
602
- } ;
602
+ | } ;
603
603
604
604
/**
605
605
* Object Type Definition
@@ -768,15 +768,15 @@ function isValidResolver(resolver: mixed): boolean {
768
768
return resolver == null || typeof resolver === 'function ';
769
769
}
770
770
771
- export type GraphQLObjectTypeConfig < TSource , TContext > = {
771
+ export type GraphQLObjectTypeConfig < TSource , TContext > = { |
772
772
name : string ,
773
773
interfaces ?: Thunk < ?Array < GraphQLInterfaceType >> ,
774
774
fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
775
775
isTypeOf ?: ?GraphQLIsTypeOfFn < TSource , TContext> ,
776
776
description ?: ?string ,
777
777
astNode ?: ?ObjectTypeDefinitionNode ,
778
778
extensionASTNodes ?: ?$ReadOnlyArray < ObjectTypeExtensionNode > ,
779
- } ;
779
+ | } ;
780
780
781
781
export type GraphQLTypeResolver < TSource , TContext > = (
782
782
value : TSource ,
@@ -823,24 +823,24 @@ export type GraphQLFieldConfig<
823
823
TSource ,
824
824
TContext ,
825
825
TArgs = { [ argument : string ] : any } ,
826
- > = {
826
+ > = { |
827
827
type : GraphQLOutputType ,
828
828
args ?: GraphQLFieldConfigArgumentMap ,
829
829
resolve ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
830
830
subscribe ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
831
831
deprecationReason ?: ?string ,
832
832
description ?: ?string ,
833
833
astNode ?: ?FieldDefinitionNode ,
834
- } ;
834
+ | } ;
835
835
836
836
export type GraphQLFieldConfigArgumentMap = ObjMap < GraphQLArgumentConfig > ;
837
837
838
- export type GraphQLArgumentConfig = {
838
+ export type GraphQLArgumentConfig = { |
839
839
type : GraphQLInputType ,
840
840
defaultValue ?: mixed ,
841
841
description ?: ?string ,
842
842
astNode ?: ?InputValueDefinitionNode ,
843
- } ;
843
+ | } ;
844
844
845
845
export type GraphQLFieldConfigMap < TSource , TContext > = ObjMap <
846
846
GraphQLFieldConfig < TSource , TContext > ,
@@ -934,7 +934,7 @@ export class GraphQLInterfaceType {
934
934
defineToStringTag ( GraphQLInterfaceType ) ;
935
935
defineToJSON ( GraphQLInterfaceType ) ;
936
936
937
- export type GraphQLInterfaceTypeConfig < TSource , TContext > = {
937
+ export type GraphQLInterfaceTypeConfig < TSource , TContext > = { |
938
938
name : string ,
939
939
fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
940
940
/**
@@ -946,7 +946,7 @@ export type GraphQLInterfaceTypeConfig<TSource, TContext> = {
946
946
description ?: ?string ,
947
947
astNode ?: ?InterfaceTypeDefinitionNode ,
948
948
extensionASTNodes ?: ?$ReadOnlyArray < InterfaceTypeExtensionNode > ,
949
- } ;
949
+ | } ;
950
950
951
951
/**
952
952
* Union Type Definition
@@ -1025,7 +1025,7 @@ function defineTypes(
1025
1025
return types ;
1026
1026
}
1027
1027
1028
- export type GraphQLUnionTypeConfig < TSource , TContext > = {
1028
+ export type GraphQLUnionTypeConfig < TSource , TContext > = { |
1029
1029
name : string ,
1030
1030
types : Thunk < Array < GraphQLObjectType >> ,
1031
1031
/**
@@ -1037,7 +1037,7 @@ export type GraphQLUnionTypeConfig<TSource, TContext> = {
1037
1037
description ?: ?string ,
1038
1038
astNode ?: ?UnionTypeDefinitionNode ,
1039
1039
extensionASTNodes ?: ?$ReadOnlyArray < UnionTypeExtensionNode > ,
1040
- } ;
1040
+ | } ;
1041
1041
1042
1042
/**
1043
1043
* Enum Type Definition
@@ -1158,24 +1158,24 @@ function defineEnumValues(
1158
1158
} ) ;
1159
1159
}
1160
1160
1161
- export type GraphQLEnumTypeConfig /* <T> */ = {
1161
+ export type GraphQLEnumTypeConfig /* <T> */ = { |
1162
1162
name : string ,
1163
1163
values : GraphQLEnumValueConfigMap /* <T> */ ,
1164
1164
description ?: ?string ,
1165
1165
astNode ?: ?EnumTypeDefinitionNode ,
1166
1166
extensionASTNodes ?: ?$ReadOnlyArray < EnumTypeExtensionNode > ,
1167
- } ;
1167
+ | } ;
1168
1168
1169
1169
export type GraphQLEnumValueConfigMap /* <T> */ = ObjMap <
1170
1170
GraphQLEnumValueConfig /* <T> */ ,
1171
1171
> ;
1172
1172
1173
- export type GraphQLEnumValueConfig /* <T> */ = {
1173
+ export type GraphQLEnumValueConfig /* <T> */ = { |
1174
1174
value ?: any /* T */ ,
1175
1175
deprecationReason ?: ?string ,
1176
1176
description ?: ?string ,
1177
1177
astNode ?: ?EnumValueDefinitionNode ,
1178
- } ;
1178
+ | } ;
1179
1179
1180
1180
export type GraphQLEnumValue /* <T> */ = {
1181
1181
name : string ,
@@ -1260,20 +1260,20 @@ export class GraphQLInputObjectType {
1260
1260
defineToStringTag ( GraphQLInputObjectType ) ;
1261
1261
defineToJSON ( GraphQLInputObjectType ) ;
1262
1262
1263
- export type GraphQLInputObjectTypeConfig = {
1263
+ export type GraphQLInputObjectTypeConfig = { |
1264
1264
name : string ,
1265
1265
fields : Thunk < GraphQLInputFieldConfigMap > ,
1266
1266
description ?: ?string ,
1267
1267
astNode ?: ?InputObjectTypeDefinitionNode ,
1268
1268
extensionASTNodes ?: ?$ReadOnlyArray < InputObjectTypeExtensionNode > ,
1269
- } ;
1269
+ | } ;
1270
1270
1271
- export type GraphQLInputFieldConfig = {
1271
+ export type GraphQLInputFieldConfig = { |
1272
1272
type : GraphQLInputType ,
1273
1273
defaultValue ?: mixed ,
1274
1274
description ?: ?string ,
1275
1275
astNode ?: ?InputValueDefinitionNode ,
1276
- } ;
1276
+ | } ;
1277
1277
1278
1278
export type GraphQLInputFieldConfigMap = ObjMap < GraphQLInputFieldConfig > ;
1279
1279
0 commit comments