Merge pull request #1844 from khlilturki97/add_attribute_to_datasource
Add definition attribute to datasource
This commit is contained in:
commit
b9929b83fe
|
@ -9,7 +9,7 @@ import {
|
|||
ModelBaseClass,
|
||||
ModelBuilder,
|
||||
ModelDefinition,
|
||||
PropertyDefinition,
|
||||
PropertyDefinition
|
||||
} from './model';
|
||||
import {EventEmitter} from 'events';
|
||||
import {IsolationLevel, Transaction} from './transaction-mixin';
|
||||
|
@ -84,6 +84,8 @@ export declare class DataSource extends EventEmitter {
|
|||
|
||||
connector?: Connector;
|
||||
|
||||
definitions: {[modelName: string]: ModelDefinition};
|
||||
|
||||
DataAccessObject: AnyObject & {prototype: AnyObject};
|
||||
|
||||
constructor(name: string, settings?: Options, modelBuilder?: ModelBuilder);
|
||||
|
|
Loading…
Reference in New Issue