import Model from '../dataModel/model'; import { Context, Plugin } from './interface'; import { ListReadable, MapReadable } from '../dataSource/interface'; export default class QueryPlugin implements Plugin { private whereInputPlugin; private baseTypePlugin; setPlugins(plugins: Plugin[]): void; visitModel(model: Model, context: Context): void; resolveInQuery({ model, dataSource, }: { model: Model; dataSource: ListReadable & MapReadable; }): { [x: string]: (root: any, args: any, context: any) => Promise; }; private createObjectQueryName; private createFindQueryName; private createFindOneQueryName; private getOrderByInputName; }