File tree Expand file tree Collapse file tree 3 files changed +634
-661
lines changed Expand file tree Collapse file tree 3 files changed +634
-661
lines changed Original file line number Diff line number Diff line change 3636 "babel-plugin-transform-flow-strip-types" : " ^6.22.0" ,
3737 "babel-plugin-transform-object-rest-spread" : " ^6.26.0" ,
3838 "babel-plugin-transform-runtime" : " ^6.23.0" ,
39- "babel-preset-env" : " ^1.6.0 " ,
39+ "babel-preset-env" : " ^1.6.1 " ,
4040 "cz-conventional-changelog" : " ^2.0.0" ,
4141 "elasticsearch" : " ^13.3.1" ,
4242 "eslint" : " ^4.8.0" ,
4343 "eslint-config-airbnb-base" : " ^12.0.1" ,
4444 "eslint-config-prettier" : " ^2.6.0" ,
4545 "eslint-plugin-flowtype" : " ^2.37.0" ,
46- "eslint-plugin-import" : " ^2.7 .0" ,
46+ "eslint-plugin-import" : " ^2.8 .0" ,
4747 "eslint-plugin-prettier" : " ^2.3.1" ,
4848 "express" : " ^4.16.1" ,
4949 "express-graphql" : " ^0.6.11" ,
50- "flow-bin" : " ^0.54.1 " ,
51- "graphql" : " ^0.11.3 " ,
52- "graphql-compose" : " ^2.9.0 " ,
50+ "flow-bin" : " ^0.57.3 " ,
51+ "graphql" : " ^0.11.7 " ,
52+ "graphql-compose" : " ^2.9.2 " ,
5353 "jest" : " ^21.2.1" ,
5454 "nodemon" : " ^1.12.1" ,
5555 "npm-run-all" : " ^4.1.1" ,
5656 "prettier" : " ^1.7.4" ,
5757 "rimraf" : " ^2.6.2" ,
58- "semantic-release" : " ^7.0.2 "
58+ "semantic-release" : " ^8.2.1 "
5959 },
6060 "config" : {
6161 "commitizen" : {
Original file line number Diff line number Diff line change 22/* eslint-disable no-param-reassign */
33
44import { upperFirst } from 'graphql-compose' ;
5+ import type { ComposeInputFieldConfigMap } from 'graphql-compose' ;
56import { GraphQLEnumType } from 'graphql-compose/lib/graphql' ;
6- import type {
7- GraphQLEnumValueConfigMap ,
8- GraphQLInputFieldConfigMap ,
9- } from 'graphql-compose/lib/graphql' ;
7+ import type { GraphQLEnumValueConfigMap } from 'graphql-compose/lib/graphql' ;
108import { getTypeName , getOrSetType , desc } from '../../utils' ;
119
1210export type ElasticDataType = string ;
@@ -190,7 +188,7 @@ export function getFieldConfigMap(
190188 types : ElasticDataType [ ] ,
191189 fc : any ,
192190 addAll : boolean = false
193- ) : GraphQLInputFieldConfigMap | string {
191+ ) : ComposeInputFieldConfigMap | string {
194192 if ( ! fc ) fc = 'JSON' ;
195193 if ( ! opts || ! opts . fieldMap ) {
196194 return 'JSON' ;
You can’t perform that action at this time.
0 commit comments