UNPKG

pure-orm

Version:

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

28 lines (27 loc) 771 B
import { Order } from './order'; import { IModel, ICollection, IColumns } from '../../../src/index'; export declare const tableName: string; export declare const columns: IColumns; export declare class Refund implements IModel { id: number; orderId: number; order?: Order; shopifyId: string; createdDate: Date; processedDate: Date; kujoImportDate: Date; amount: number; note: string; restock: boolean; constructor(props: any); } export declare class Refunds implements ICollection<Refund> { models: Array<Refund>; constructor({ models }: any); } export declare const refundEntity: { tableName: string; columns: import("../../../src/core").IColumn[]; Model: typeof Refund; Collection: typeof Refunds; };