apollo-server/packages/apollo-server-koa/src/index.ts
Evans Hauser fa6c973f36
Fix and Export Extension and Playground Types (#1360)
* export playground types

* make playground configuration recursively partial
2018-07-16 15:49:20 -07:00

29 lines
533 B
TypeScript

export {
GraphQLUpload,
GraphQLOptions,
GraphQLExtension,
Config,
gql,
// Errors
ApolloError,
toApolloError,
SyntaxError,
ValidationError,
AuthenticationError,
ForbiddenError,
UserInputError,
// playground
defaultPlaygroundOptions,
PlaygroundConfig,
PlaygroundRenderPageOptions,
} from 'apollo-server-core';
export * from 'graphql-tools';
export * from 'graphql-subscriptions';
// ApolloServer integration.
export {
ApolloServer,
registerServer,
ServerRegistration,
} from './ApolloServer';