UNPKG

pure-orm

Version:

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

20 lines (19 loc) 556 B
import { IModel, ICollection, IColumns } from '../../../src/index'; export declare const tableName = "tag"; export declare const columns: IColumns; export declare class Tag implements IModel { id: number; name: string; slug: string; constructor(props: any); } export declare class Tags implements ICollection<Tag> { models: Array<Tag>; constructor({ models }: any); } export declare const tagEntity: { tableName: string; columns: import("../../../src/core").IColumn[]; Model: typeof Tag; Collection: typeof Tags; };