@@ -116,7 +116,7 @@ export function findDangerousChanges(
116
116
* Given two schemas, returns an Array containing descriptions of any breaking
117
117
* changes in the newSchema related to removing an entire type.
118
118
*/
119
- export function findRemovedTypes (
119
+ function findRemovedTypes (
120
120
oldSchema : GraphQLSchema ,
121
121
newSchema : GraphQLSchema ,
122
122
) : Array < BreakingChange > {
@@ -139,7 +139,7 @@ export function findRemovedTypes(
139
139
* Given two schemas, returns an Array containing descriptions of any breaking
140
140
* changes in the newSchema related to changing the type of a type.
141
141
*/
142
- export function findTypesThatChangedKind (
142
+ function findTypesThatChangedKind (
143
143
oldSchema : GraphQLSchema ,
144
144
newSchema : GraphQLSchema ,
145
145
) : Array < BreakingChange > {
@@ -171,7 +171,7 @@ export function findTypesThatChangedKind(
171
171
* (such as removal or change of type of an argument, or a change in an
172
172
* argument's default value).
173
173
*/
174
- export function findArgChanges (
174
+ function findArgChanges (
175
175
oldSchema : GraphQLSchema ,
176
176
newSchema : GraphQLSchema ,
177
177
) : {
@@ -295,7 +295,7 @@ function typeKindName(type: GraphQLNamedType): string {
295
295
throw new TypeError ( 'Unknown type ' + type . constructor . name ) ;
296
296
}
297
297
298
- export function findFieldsThatChangedTypeOnObjectOrInterfaceTypes (
298
+ function findFieldsThatChangedTypeOnObjectOrInterfaceTypes (
299
299
oldSchema : GraphQLSchema ,
300
300
newSchema : GraphQLSchema ,
301
301
) : Array < BreakingChange > {
@@ -350,7 +350,7 @@ export function findFieldsThatChangedTypeOnObjectOrInterfaceTypes(
350
350
return breakingChanges ;
351
351
}
352
352
353
- export function findFieldsThatChangedTypeOnInputObjectTypes (
353
+ function findFieldsThatChangedTypeOnInputObjectTypes (
354
354
oldSchema : GraphQLSchema ,
355
355
newSchema : GraphQLSchema ,
356
356
) : {
@@ -497,7 +497,7 @@ function isChangeSafeForInputObjectFieldOrFieldArg(
497
497
* Given two schemas, returns an Array containing descriptions of any breaking
498
498
* changes in the newSchema related to removing types from a union type.
499
499
*/
500
- export function findTypesRemovedFromUnions (
500
+ function findTypesRemovedFromUnions (
501
501
oldSchema : GraphQLSchema ,
502
502
newSchema : GraphQLSchema ,
503
503
) : Array < BreakingChange > {
@@ -531,7 +531,7 @@ export function findTypesRemovedFromUnions(
531
531
* Given two schemas, returns an Array containing descriptions of any dangerous
532
532
* changes in the newSchema related to adding types to a union type.
533
533
*/
534
- export function findTypesAddedToUnions (
534
+ function findTypesAddedToUnions (
535
535
oldSchema : GraphQLSchema ,
536
536
newSchema : GraphQLSchema ,
537
537
) : Array < DangerousChange > {
@@ -564,7 +564,7 @@ export function findTypesAddedToUnions(
564
564
* Given two schemas, returns an Array containing descriptions of any breaking
565
565
* changes in the newSchema related to removing values from an enum type.
566
566
*/
567
- export function findValuesRemovedFromEnums (
567
+ function findValuesRemovedFromEnums (
568
568
oldSchema : GraphQLSchema ,
569
569
newSchema : GraphQLSchema ,
570
570
) : Array < BreakingChange > {
@@ -598,7 +598,7 @@ export function findValuesRemovedFromEnums(
598
598
* Given two schemas, returns an Array containing descriptions of any dangerous
599
599
* changes in the newSchema related to adding values to an enum type.
600
600
*/
601
- export function findValuesAddedToEnums (
601
+ function findValuesAddedToEnums (
602
602
oldSchema : GraphQLSchema ,
603
603
newSchema : GraphQLSchema ,
604
604
) : Array < DangerousChange > {
@@ -629,7 +629,7 @@ export function findValuesAddedToEnums(
629
629
return valuesAddedToEnums ;
630
630
}
631
631
632
- export function findInterfacesRemovedFromObjectTypes (
632
+ function findInterfacesRemovedFromObjectTypes (
633
633
oldSchema : GraphQLSchema ,
634
634
newSchema : GraphQLSchema ,
635
635
) : Array < BreakingChange > {
@@ -660,7 +660,7 @@ export function findInterfacesRemovedFromObjectTypes(
660
660
return breakingChanges ;
661
661
}
662
662
663
- export function findInterfacesAddedToObjectTypes (
663
+ function findInterfacesAddedToObjectTypes (
664
664
oldSchema : GraphQLSchema ,
665
665
newSchema : GraphQLSchema ,
666
666
) : Array < DangerousChange > {
@@ -691,7 +691,7 @@ export function findInterfacesAddedToObjectTypes(
691
691
return interfacesAddedToObjectTypes ;
692
692
}
693
693
694
- export function findRemovedDirectives (
694
+ function findRemovedDirectives (
695
695
oldSchema : GraphQLSchema ,
696
696
newSchema : GraphQLSchema ,
697
697
) : Array < BreakingChange > {
@@ -726,7 +726,7 @@ function findRemovedArgsForDirective(
726
726
return removedArgs ;
727
727
}
728
728
729
- export function findRemovedDirectiveArgs (
729
+ function findRemovedDirectiveArgs (
730
730
oldSchema : GraphQLSchema ,
731
731
newSchema : GraphQLSchema ,
732
732
) : Array < BreakingChange > {
@@ -766,7 +766,7 @@ function findAddedArgsForDirective(
766
766
return addedArgs ;
767
767
}
768
768
769
- export function findAddedNonNullDirectiveArgs (
769
+ function findAddedNonNullDirectiveArgs (
770
770
oldSchema : GraphQLSchema ,
771
771
newSchema : GraphQLSchema ,
772
772
) : Array < BreakingChange > {
@@ -794,7 +794,7 @@ export function findAddedNonNullDirectiveArgs(
794
794
return addedNonNullableArgs ;
795
795
}
796
796
797
- export function findRemovedLocationsForDirective (
797
+ function findRemovedLocationsForDirective (
798
798
oldDirective : GraphQLDirective ,
799
799
newDirective : GraphQLDirective ,
800
800
) : Array < DirectiveLocationEnum > {
@@ -810,7 +810,7 @@ export function findRemovedLocationsForDirective(
810
810
return removedLocations ;
811
811
}
812
812
813
- export function findRemovedDirectiveLocations (
813
+ function findRemovedDirectiveLocations (
814
814
oldSchema : GraphQLSchema ,
815
815
newSchema : GraphQLSchema ,
816
816
) : Array < BreakingChange > {
0 commit comments