UNPKG

@webundsoehne/nestjs-graphql-typeorm-dataloader

Version:

A library to utilize the graphql-dataloader with nestjs and typeorm.

12 lines (9 loc) 489 B
import { ApolloServerPlugin, GraphQLRequestListener, BaseContext } from 'apollo-server-plugin-base'; import { ApolloServerLoaderPluginOptions } from '../interfaces/apollo-server-plugin.interface.js'; import 'typeorm'; declare class ApolloServerDataLoaderPlugin implements ApolloServerPlugin { private options?; constructor(options?: ApolloServerLoaderPluginOptions); requestDidStart(): Promise<GraphQLRequestListener<BaseContext>>; } export { ApolloServerDataLoaderPlugin };