UNPKG

@goatlab/fluent

Version:

Readable query Interface & API generator for TS and Node

13 lines (12 loc) 384 B
import { DataSource } from 'typeorm'; interface RelationshipLoader { data: any[]; relations: any; modelRelations: any; dataSource?: DataSource; provider?: 'typeorm' | 'firebase'; self: any; returnPivot?: boolean; } export declare const loadRelations: ({ data, relations, modelRelations, provider, self, }: RelationshipLoader) => Promise<any[]>; export {};