UNPKG

@goatlab/fluent

Version:

Readable query Interface & API generator for TS and Node

10 lines (9 loc) 343 B
import { Collection } from '@goatlab/js-utils'; import { DataSource } from 'typeorm'; import { AnyObject, Primitives } from './types'; /** * * @param args */ export declare function collect<T = AnyObject | Primitives>(data: T[]): Collection<T>; export declare function initialize(dataSources: DataSource[], Entities: any[]): Promise<void>;