UNPKG

pure-orm

Version:

A SQL Toolkit based on pure business objects passed to and from stateful data access objects

20 lines (19 loc) 612 B
import { IModel, ICollection, IColumns } from '../../../src/index'; export declare const tableName: string; export declare const columns: IColumns; export declare class Shipment implements IModel { id: number; inventoryLocationId: number; sellableDate: Date; constructor(props: any); } export declare class Shipments implements ICollection<Shipment> { models: Array<Shipment>; constructor({ models }: any); } export declare const shipmentEntity: { tableName: string; columns: import("../../../src/core").IColumn[]; Model: typeof Shipment; Collection: typeof Shipments; };