mirror of
https://github.com/vale981/apollo-server
synced 2025-03-16 07:46:54 -04:00
23 lines
519 B
TypeScript
23 lines
519 B
TypeScript
// 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';
|