UNPKG

ts-db-helper

Version:
33 lines (32 loc) 771 B
import { DbTable } from './db-table.model'; /** * @class DataModel * * @description * data model passed to the model migration * * @author Olivier Margarit * @since 0.1 */ export declare class DataModel { /** * @public * @property {Array<DbTable>} tables, data model table list */ tables: DbTable[]; /** * @public * @property {string} version, data model varsion */ version: string; /** * @public * @constructor is a part of private API, DataModel is generated * by the NgDbHelperModule for the model migration * * @param {{[index: string]: any}} tables tables of the data model */ constructor(tables: { [index: string]: any; }); }