fix(core): update

This commit is contained in:
2019-01-07 02:38:30 +01:00
parent 3fc41678d2
commit 3825b15a65
7 changed files with 940 additions and 519 deletions

View File

@ -1,5 +1,5 @@
import * as plugins from './smartdata.plugins';
import { Objectmap } from 'lik';
import { Objectmap } from '@pushrocks/lik';
import { SmartdataCollection } from './smartdata.classes.collection';
@ -71,8 +71,8 @@ export class SmartdataDb {
await this.mongoDbClient.close();
this.status = 'disconnected';
plugins.smartlog
.getDefaultLogger()
.info(`disconnected from database ${this.smartdataOptions.mongoDbName}`);
.defaultLogger
.log('info', `disconnected from database ${this.smartdataOptions.mongoDbName}`);
}
// handle table to class distribution

View File

@ -2,7 +2,7 @@ import * as assert from 'assert';
import * as smartlog from '@pushrocks/smartlog';
import * as lodash from 'lodash';
import * as mongodb from 'mongodb';
import * as smartq from 'smartq';
import * as smartstring from 'smartstring';
import * as smartq from '@pushrocks/smartpromise';
import * as smartstring from '@pushrocks/smartstring';
export { assert, smartlog, lodash, smartq, mongodb, smartstring };