apollo-server/packages/apollo-server-hapi/src/index.ts

21 lines
462 B
TypeScript
Raw Normal View History

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