@itrocks/storage
Version:
Transforms model objects to and from storage systems
13 lines (12 loc) • 553 B
TypeScript
import { DataSource } from './data-source';
export { DataSource, Options, SearchType } from './data-source';
export { Entity, Identifier, isIdentifier, MayEntity } from './entity';
export { Limit } from './option/limit';
export { Option } from './option/option';
export { PropertyPath, PropertyPaths, Sort } from './option/sort';
export declare function createDataSource(config: {
engine: string;
[key: string]: any;
}, dataSource?: string): any;
export { dataSource as ds };
export declare function dataSource(dataSource?: string): DataSource;