// Expose types which can be used by both middleware flavors. export { GraphQLOptions } from 'apollo-server-core'; export { ApolloError, toApolloError, SyntaxError, ValidationError, AuthenticationError, ForbiddenError, } from 'apollo-server-core'; export { IRegister, HapiOptionsFunction, HapiPluginOptions, HapiGraphiQLOptionsFunction, HapiGraphiQLPluginOptions, graphqlHapi, graphiqlHapi, } from './hapiApollo'; // ApolloServer integration export { registerServer } from './ApolloServer';