UNPKG

pure-orm

Version:

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

28 lines (27 loc) 954 B
import { ActualProductVariant } from './actual-product-variant'; import { Shipment } from './shipment'; import { IModel, ICollection, IColumns } from '../../../src/index'; export declare const tableName: string; export declare const columns: IColumns; export declare class InventoryLevel implements IModel { id: number; inventoryLocationId: number; actualProductVariantId: number; actualProductVariant?: ActualProductVariant; available: number; nextShipmentId: number; nextShipment: Shipment; sellableWhenSoldOut: boolean; updateDate: Date; constructor(props: any); } export declare class InventoryLevels implements ICollection<InventoryLevel> { models: Array<InventoryLevel>; constructor({ models }: any); } export declare const inventoryLevelEntity: { tableName: string; columns: import("../../../src/core").IColumn[]; Model: typeof InventoryLevel; Collection: typeof InventoryLevels; };