2018-05-10 17:28:06 -07:00
|
|
|
// Expose types which can be used by both middleware flavors.
|
2018-06-12 17:46:56 -07:00
|
|
|
export { GraphQLOptions, gql } from 'apollo-server-core';
|
2018-05-10 17:28:06 -07:00
|
|
|
export {
|
|
|
|
ApolloError,
|
|
|
|
toApolloError,
|
|
|
|
SyntaxError,
|
|
|
|
ValidationError,
|
|
|
|
AuthenticationError,
|
|
|
|
ForbiddenError,
|
|
|
|
} from 'apollo-server-core';
|
|
|
|
|
2018-01-09 00:08:01 +01:00
|
|
|
export {
|
|
|
|
IRegister,
|
|
|
|
HapiOptionsFunction,
|
|
|
|
HapiPluginOptions,
|
|
|
|
graphqlHapi,
|
|
|
|
} from './hapiApollo';
|
2018-05-10 17:28:06 -07:00
|
|
|
|
|
|
|
// ApolloServer integration
|
2018-06-13 11:21:16 -07:00
|
|
|
export { ApolloServer, registerServer } from './ApolloServer';
|