apollo-server-express
Version:
Production-ready Node.js GraphQL server for Express
26 lines (23 loc) • 463 B
text/typescript
export {
GraphQLOptions,
Config,
gql,
// Errors
ApolloError,
toApolloError,
SyntaxError,
ValidationError,
AuthenticationError,
ForbiddenError,
UserInputError,
} from 'apollo-server-core';
// ApolloServer integration.
export {
ApolloServer,
ServerRegistration,
GetMiddlewareOptions,
ApolloServerExpressConfig,
ExpressContext,
} from './ApolloServer';
export { CorsOptions } from 'cors';
export { OptionsJson } from 'body-parser';