UNPKG

graphql-composer-typeorm

Version:
16 lines (15 loc) 608 B
import { ClassType, Context, InputType } from "graphql-composer"; export declare class Parser<Type extends ClassType> { private _classType; private _args; private _computedArgs; get classType(): Type; constructor(classType: Type, args: () => InputType); private get computedArgs(); getRelationPath(item: string): string; buildQuery(ctx: Context): Promise<import("typeorm").SelectQueryBuilder<InstanceType<Type>>>; private getRelations; private parseWhereToRelations; private parseSelectionsToRelations; static unwrapModifiedType<T = any>(fieldType: T): any; }