@@ -592,7 +592,7 @@ export class GraphQLScalarType {
592
592
defineToStringTag ( GraphQLScalarType ) ;
593
593
defineToJSON ( GraphQLScalarType ) ;
594
594
595
- export type GraphQLScalarTypeConfig < TInternal , TExternal > = {
595
+ export type GraphQLScalarTypeConfig < TInternal , TExternal > = { |
596
596
name : string ,
597
597
description ?: ?string ,
598
598
astNode ?: ?ScalarTypeDefinitionNode ,
@@ -603,7 +603,7 @@ export type GraphQLScalarTypeConfig<TInternal, TExternal> = {
603
603
valueNode : ValueNode ,
604
604
variables : ?ObjMap < mixed > ,
605
605
) => ?TInternal ,
606
- } ;
606
+ | } ;
607
607
608
608
/**
609
609
* Object Type Definition
@@ -772,15 +772,15 @@ function isValidResolver(resolver: mixed): boolean {
772
772
return resolver == null || typeof resolver === 'function ';
773
773
}
774
774
775
- export type GraphQLObjectTypeConfig < TSource , TContext > = {
775
+ export type GraphQLObjectTypeConfig < TSource , TContext > = { |
776
776
name : string ,
777
777
interfaces ?: Thunk < ?Array < GraphQLInterfaceType >> ,
778
778
fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
779
779
isTypeOf ?: ?GraphQLIsTypeOfFn < TSource , TContext> ,
780
780
description ?: ?string ,
781
781
astNode ?: ?ObjectTypeDefinitionNode ,
782
782
extensionASTNodes ?: ?$ReadOnlyArray < ObjectTypeExtensionNode > ,
783
- } ;
783
+ | } ;
784
784
785
785
export type GraphQLTypeResolver < TSource , TContext > = (
786
786
value : TSource ,
@@ -827,24 +827,24 @@ export type GraphQLFieldConfig<
827
827
TSource ,
828
828
TContext ,
829
829
TArgs = { [ argument : string ] : any } ,
830
- > = {
830
+ > = { |
831
831
type : GraphQLOutputType ,
832
832
args ?: GraphQLFieldConfigArgumentMap ,
833
833
resolve ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
834
834
subscribe ?: GraphQLFieldResolver < TSource , TContext, TArgs> ,
835
835
deprecationReason ?: ?string ,
836
836
description ?: ?string ,
837
837
astNode ?: ?FieldDefinitionNode ,
838
- } ;
838
+ | } ;
839
839
840
840
export type GraphQLFieldConfigArgumentMap = ObjMap < GraphQLArgumentConfig > ;
841
841
842
- export type GraphQLArgumentConfig = {
842
+ export type GraphQLArgumentConfig = { |
843
843
type : GraphQLInputType ,
844
844
defaultValue ?: mixed ,
845
845
description ?: ?string ,
846
846
astNode ?: ?InputValueDefinitionNode ,
847
- } ;
847
+ | } ;
848
848
849
849
export type GraphQLFieldConfigMap < TSource , TContext > = ObjMap <
850
850
GraphQLFieldConfig < TSource , TContext > ,
@@ -938,7 +938,7 @@ export class GraphQLInterfaceType {
938
938
defineToStringTag ( GraphQLInterfaceType ) ;
939
939
defineToJSON ( GraphQLInterfaceType ) ;
940
940
941
- export type GraphQLInterfaceTypeConfig < TSource , TContext > = {
941
+ export type GraphQLInterfaceTypeConfig < TSource , TContext > = { |
942
942
name : string ,
943
943
fields : Thunk < GraphQLFieldConfigMap < TSource , TContext> > ,
944
944
/**
@@ -950,7 +950,7 @@ export type GraphQLInterfaceTypeConfig<TSource, TContext> = {
950
950
description ?: ?string ,
951
951
astNode ?: ?InterfaceTypeDefinitionNode ,
952
952
extensionASTNodes ?: ?$ReadOnlyArray < InterfaceTypeExtensionNode > ,
953
- } ;
953
+ | } ;
954
954
955
955
/**
956
956
* Union Type Definition
@@ -1029,7 +1029,7 @@ function defineTypes(
1029
1029
return types ;
1030
1030
}
1031
1031
1032
- export type GraphQLUnionTypeConfig < TSource , TContext > = {
1032
+ export type GraphQLUnionTypeConfig < TSource , TContext > = { |
1033
1033
name : string ,
1034
1034
types : Thunk < Array < GraphQLObjectType >> ,
1035
1035
/**
@@ -1041,7 +1041,7 @@ export type GraphQLUnionTypeConfig<TSource, TContext> = {
1041
1041
description ?: ?string ,
1042
1042
astNode ?: ?UnionTypeDefinitionNode ,
1043
1043
extensionASTNodes ?: ?$ReadOnlyArray < UnionTypeExtensionNode > ,
1044
- } ;
1044
+ | } ;
1045
1045
1046
1046
/**
1047
1047
* Enum Type Definition
@@ -1162,24 +1162,24 @@ function defineEnumValues(
1162
1162
} ) ;
1163
1163
}
1164
1164
1165
- export type GraphQLEnumTypeConfig /* <T> */ = {
1165
+ export type GraphQLEnumTypeConfig /* <T> */ = { |
1166
1166
name : string ,
1167
1167
values : GraphQLEnumValueConfigMap /* <T> */ ,
1168
1168
description ?: ?string ,
1169
1169
astNode ?: ?EnumTypeDefinitionNode ,
1170
1170
extensionASTNodes ?: ?$ReadOnlyArray < EnumTypeExtensionNode > ,
1171
- } ;
1171
+ | } ;
1172
1172
1173
1173
export type GraphQLEnumValueConfigMap /* <T> */ = ObjMap <
1174
1174
GraphQLEnumValueConfig /* <T> */ ,
1175
1175
> ;
1176
1176
1177
- export type GraphQLEnumValueConfig /* <T> */ = {
1177
+ export type GraphQLEnumValueConfig /* <T> */ = { |
1178
1178
value ?: any /* T */ ,
1179
1179
deprecationReason ?: ?string ,
1180
1180
description ?: ?string ,
1181
1181
astNode ?: ?EnumValueDefinitionNode ,
1182
- } ;
1182
+ | } ;
1183
1183
1184
1184
export type GraphQLEnumValue /* <T> */ = {
1185
1185
name : string ,
@@ -1264,20 +1264,20 @@ export class GraphQLInputObjectType {
1264
1264
defineToStringTag ( GraphQLInputObjectType ) ;
1265
1265
defineToJSON ( GraphQLInputObjectType ) ;
1266
1266
1267
- export type GraphQLInputObjectTypeConfig = {
1267
+ export type GraphQLInputObjectTypeConfig = { |
1268
1268
name : string ,
1269
1269
fields : Thunk < GraphQLInputFieldConfigMap > ,
1270
1270
description ?: ?string ,
1271
1271
astNode ?: ?InputObjectTypeDefinitionNode ,
1272
1272
extensionASTNodes ?: ?$ReadOnlyArray < InputObjectTypeExtensionNode > ,
1273
- } ;
1273
+ | } ;
1274
1274
1275
- export type GraphQLInputFieldConfig = {
1275
+ export type GraphQLInputFieldConfig = { |
1276
1276
type : GraphQLInputType ,
1277
1277
defaultValue ?: mixed ,
1278
1278
description ?: ?string ,
1279
1279
astNode ?: ?InputValueDefinitionNode ,
1280
- } ;
1280
+ | } ;
1281
1281
1282
1282
export type GraphQLInputFieldConfigMap = ObjMap < GraphQLInputFieldConfig > ;
1283
1283
0 commit comments