@@ -759,10 +759,10 @@ const _options = {
759
759
type : GraphQLString ,
760
760
} ;
761
761
762
- const STRING_CONSTRAINT = new GraphQLInputObjectType ( {
763
- name : 'StringConstraint ' ,
762
+ const STRING_WHERE_INPUT = new GraphQLInputObjectType ( {
763
+ name : 'StringWhereInput ' ,
764
764
description :
765
- 'The StringConstraint input type is used in operations that involve filtering objects by a field of type String.' ,
765
+ 'The StringWhereInput input type is used in operations that involve filtering objects by a field of type String.' ,
766
766
fields : {
767
767
_eq : _eq ( GraphQLString ) ,
768
768
_ne : _ne ( GraphQLString ) ,
@@ -785,10 +785,10 @@ const STRING_CONSTRAINT = new GraphQLInputObjectType({
785
785
} ,
786
786
} ) ;
787
787
788
- const NUMBER_CONSTRAINT = new GraphQLInputObjectType ( {
789
- name : 'NumberConstraint ' ,
788
+ const NUMBER_WHERE_INPUT = new GraphQLInputObjectType ( {
789
+ name : 'NumberWhereInput ' ,
790
790
description :
791
- 'The NumberConstraint input type is used in operations that involve filtering objects by a field of type Number.' ,
791
+ 'The NumberWhereInput input type is used in operations that involve filtering objects by a field of type Number.' ,
792
792
fields : {
793
793
_eq : _eq ( GraphQLFloat ) ,
794
794
_ne : _ne ( GraphQLFloat ) ,
@@ -804,10 +804,10 @@ const NUMBER_CONSTRAINT = new GraphQLInputObjectType({
804
804
} ,
805
805
} ) ;
806
806
807
- const BOOLEAN_CONSTRAINT = new GraphQLInputObjectType ( {
808
- name : 'BooleanConstraint ' ,
807
+ const BOOLEAN_WHERE_INPUT = new GraphQLInputObjectType ( {
808
+ name : 'BooleanWhereInput ' ,
809
809
description :
810
- 'The BooleanConstraint input type is used in operations that involve filtering objects by a field of type Boolean.' ,
810
+ 'The BooleanWhereInput input type is used in operations that involve filtering objects by a field of type Boolean.' ,
811
811
fields : {
812
812
_eq : _eq ( GraphQLBoolean ) ,
813
813
_ne : _ne ( GraphQLBoolean ) ,
@@ -817,10 +817,10 @@ const BOOLEAN_CONSTRAINT = new GraphQLInputObjectType({
817
817
} ,
818
818
} ) ;
819
819
820
- const ARRAY_CONSTRAINT = new GraphQLInputObjectType ( {
821
- name : 'ArrayConstraint ' ,
820
+ const ARRAY_WHERE_INPUT = new GraphQLInputObjectType ( {
821
+ name : 'ArrayWhereInput ' ,
822
822
description :
823
- 'The ArrayConstraint input type is used in operations that involve filtering objects by a field of type Array.' ,
823
+ 'The ArrayWhereInput input type is used in operations that involve filtering objects by a field of type Array.' ,
824
824
fields : {
825
825
_eq : _eq ( ANY ) ,
826
826
_ne : _ne ( ANY ) ,
@@ -861,10 +861,10 @@ const KEY_VALUE = new GraphQLInputObjectType({
861
861
} ,
862
862
} ) ;
863
863
864
- const OBJECT_CONSTRAINT = new GraphQLInputObjectType ( {
865
- name : 'ObjectConstraint ' ,
864
+ const OBJECT_WHERE_INPUT = new GraphQLInputObjectType ( {
865
+ name : 'ObjectWhereInput ' ,
866
866
description :
867
- 'The ObjectConstraint input type is used in operations that involve filtering result by a field of type Object.' ,
867
+ 'The ObjectWhereInput input type is used in operations that involve filtering result by a field of type Object.' ,
868
868
fields : {
869
869
_eq : _eq ( KEY_VALUE ) ,
870
870
_ne : _ne ( KEY_VALUE ) ,
@@ -880,10 +880,10 @@ const OBJECT_CONSTRAINT = new GraphQLInputObjectType({
880
880
} ,
881
881
} ) ;
882
882
883
- const DATE_CONSTRAINT = new GraphQLInputObjectType ( {
884
- name : 'DateConstraint ' ,
883
+ const DATE_WHERE_INPUT = new GraphQLInputObjectType ( {
884
+ name : 'DateWhereInput ' ,
885
885
description :
886
- 'The DateConstraint input type is used in operations that involve filtering objects by a field of type Date.' ,
886
+ 'The DateWhereInput input type is used in operations that involve filtering objects by a field of type Date.' ,
887
887
fields : {
888
888
_eq : _eq ( DATE ) ,
889
889
_ne : _ne ( DATE ) ,
@@ -899,10 +899,10 @@ const DATE_CONSTRAINT = new GraphQLInputObjectType({
899
899
} ,
900
900
} ) ;
901
901
902
- const BYTES_CONSTRAINT = new GraphQLInputObjectType ( {
903
- name : 'BytesConstraint ' ,
902
+ const BYTES_WHERE_INPUT = new GraphQLInputObjectType ( {
903
+ name : 'BytesWhereInput ' ,
904
904
description :
905
- 'The BytesConstraint input type is used in operations that involve filtering objects by a field of type Bytes.' ,
905
+ 'The BytesWhereInput input type is used in operations that involve filtering objects by a field of type Bytes.' ,
906
906
fields : {
907
907
_eq : _eq ( BYTES ) ,
908
908
_ne : _ne ( BYTES ) ,
@@ -918,10 +918,10 @@ const BYTES_CONSTRAINT = new GraphQLInputObjectType({
918
918
} ,
919
919
} ) ;
920
920
921
- const FILE_CONSTRAINT = new GraphQLInputObjectType ( {
922
- name : 'FileConstraint ' ,
921
+ const FILE_WHERE_INPUT = new GraphQLInputObjectType ( {
922
+ name : 'FileWhereInput ' ,
923
923
description :
924
- 'The FILE_CONSTRAINT input type is used in operations that involve filtering objects by a field of type File.' ,
924
+ 'The FileWhereInput input type is used in operations that involve filtering objects by a field of type File.' ,
925
925
fields : {
926
926
_eq : _eq ( FILE ) ,
927
927
_ne : _ne ( FILE ) ,
@@ -939,10 +939,10 @@ const FILE_CONSTRAINT = new GraphQLInputObjectType({
939
939
} ,
940
940
} ) ;
941
941
942
- const GEO_POINT_CONSTRAINT = new GraphQLInputObjectType ( {
943
- name : 'GeoPointConstraint ' ,
942
+ const GEO_POINT_WHERE_INPUT = new GraphQLInputObjectType ( {
943
+ name : 'GeoPointWhereInput ' ,
944
944
description :
945
- 'The GeoPointConstraint input type is used in operations that involve filtering objects by a field of type GeoPoint.' ,
945
+ 'The GeoPointWhereInput input type is used in operations that involve filtering objects by a field of type GeoPoint.' ,
946
946
fields : {
947
947
_exists,
948
948
_nearSphere : {
@@ -983,10 +983,10 @@ const GEO_POINT_CONSTRAINT = new GraphQLInputObjectType({
983
983
} ,
984
984
} ) ;
985
985
986
- const POLYGON_CONSTRAINT = new GraphQLInputObjectType ( {
987
- name : 'PolygonConstraint ' ,
986
+ const POLYGON_WHERE_INPUT = new GraphQLInputObjectType ( {
987
+ name : 'PolygonWhereInput ' ,
988
988
description :
989
- 'The PolygonConstraint input type is used in operations that involve filtering objects by a field of type Polygon.' ,
989
+ 'The PolygonWhereInput input type is used in operations that involve filtering objects by a field of type Polygon.' ,
990
990
fields : {
991
991
_exists,
992
992
_geoIntersects : {
@@ -1044,16 +1044,16 @@ const load = parseGraphQLSchema => {
1044
1044
parseGraphQLSchema . graphQLTypes . push ( CENTER_SPHERE_OPERATOR ) ;
1045
1045
parseGraphQLSchema . graphQLTypes . push ( GEO_WITHIN_OPERATOR ) ;
1046
1046
parseGraphQLSchema . graphQLTypes . push ( GEO_INTERSECTS ) ;
1047
- parseGraphQLSchema . graphQLTypes . push ( STRING_CONSTRAINT ) ;
1048
- parseGraphQLSchema . graphQLTypes . push ( NUMBER_CONSTRAINT ) ;
1049
- parseGraphQLSchema . graphQLTypes . push ( BOOLEAN_CONSTRAINT ) ;
1050
- parseGraphQLSchema . graphQLTypes . push ( ARRAY_CONSTRAINT ) ;
1051
- parseGraphQLSchema . graphQLTypes . push ( OBJECT_CONSTRAINT ) ;
1052
- parseGraphQLSchema . graphQLTypes . push ( DATE_CONSTRAINT ) ;
1053
- parseGraphQLSchema . graphQLTypes . push ( BYTES_CONSTRAINT ) ;
1054
- parseGraphQLSchema . graphQLTypes . push ( FILE_CONSTRAINT ) ;
1055
- parseGraphQLSchema . graphQLTypes . push ( GEO_POINT_CONSTRAINT ) ;
1056
- parseGraphQLSchema . graphQLTypes . push ( POLYGON_CONSTRAINT ) ;
1047
+ parseGraphQLSchema . graphQLTypes . push ( STRING_WHERE_INPUT ) ;
1048
+ parseGraphQLSchema . graphQLTypes . push ( NUMBER_WHERE_INPUT ) ;
1049
+ parseGraphQLSchema . graphQLTypes . push ( BOOLEAN_WHERE_INPUT ) ;
1050
+ parseGraphQLSchema . graphQLTypes . push ( ARRAY_WHERE_INPUT ) ;
1051
+ parseGraphQLSchema . graphQLTypes . push ( OBJECT_WHERE_INPUT ) ;
1052
+ parseGraphQLSchema . graphQLTypes . push ( DATE_WHERE_INPUT ) ;
1053
+ parseGraphQLSchema . graphQLTypes . push ( BYTES_WHERE_INPUT ) ;
1054
+ parseGraphQLSchema . graphQLTypes . push ( FILE_WHERE_INPUT ) ;
1055
+ parseGraphQLSchema . graphQLTypes . push ( GEO_POINT_WHERE_INPUT ) ;
1056
+ parseGraphQLSchema . graphQLTypes . push ( POLYGON_WHERE_INPUT ) ;
1057
1057
parseGraphQLSchema . graphQLTypes . push ( FIND_RESULT ) ;
1058
1058
parseGraphQLSchema . graphQLTypes . push ( SIGN_UP_RESULT ) ;
1059
1059
} ;
@@ -1128,16 +1128,16 @@ export {
1128
1128
_dontSelect ,
1129
1129
_regex ,
1130
1130
_options ,
1131
- STRING_CONSTRAINT ,
1132
- NUMBER_CONSTRAINT ,
1133
- BOOLEAN_CONSTRAINT ,
1134
- ARRAY_CONSTRAINT ,
1135
- OBJECT_CONSTRAINT ,
1136
- DATE_CONSTRAINT ,
1137
- BYTES_CONSTRAINT ,
1138
- FILE_CONSTRAINT ,
1139
- GEO_POINT_CONSTRAINT ,
1140
- POLYGON_CONSTRAINT ,
1131
+ STRING_WHERE_INPUT ,
1132
+ NUMBER_WHERE_INPUT ,
1133
+ BOOLEAN_WHERE_INPUT ,
1134
+ ARRAY_WHERE_INPUT ,
1135
+ OBJECT_WHERE_INPUT ,
1136
+ DATE_WHERE_INPUT ,
1137
+ BYTES_WHERE_INPUT ,
1138
+ FILE_WHERE_INPUT ,
1139
+ GEO_POINT_WHERE_INPUT ,
1140
+ POLYGON_WHERE_INPUT ,
1141
1141
FIND_RESULT ,
1142
1142
SIGN_UP_RESULT ,
1143
1143
load ,
0 commit comments