| 4 | import * as configQueries from './configQueries'; |
| 5 | |
| 6 | const load = parseGraphQLSchema => { |
| 7 | parseGraphQLSchema.addGraphQLQuery( |
| 8 | 'health', |
| 9 | { |
| 10 | description: 'The health query can be used to check if the server is up and running.', |
| 11 | type: new GraphQLNonNull(GraphQLBoolean), |
| 12 | resolve: () => true, |
| 13 | }, |
| 14 | true, |
| 15 | true |
| 16 | ); |
| 17 | |
| 18 | usersQueries.load(parseGraphQLSchema); |
| 19 | schemaQueries.load(parseGraphQLSchema); |
| 20 | configQueries.load(parseGraphQLSchema); |
| 21 | }; |
| 22 | |
| 23 | export { load }; |
nothing calls this directly
no test coverage detected
searching dependent graphs…