fix(core): update

This commit is contained in:
2021-12-20 16:24:04 +01:00
parent d891c91f12
commit d5aa8d14f1
4 changed files with 158 additions and 133 deletions

View File

@ -23,7 +23,7 @@ export class SmartMongo {
console.log('mongod started');
}
public async getMongoDescriptor() {
public async getMongoDescriptor(): Promise<plugins.smartdata.IMongoDescriptor> {
await this.readyPromise;
return {
mongoDbUrl: this.mongod.getUri(),

View File

@ -1,8 +1,10 @@
// @pushrocks scope
import * as smartdata from '@pushrocks/smartdata';
import * as smartpromise from '@pushrocks/smartpromise';
export {
smartpromise
smartdata,
smartpromise,
}
// thirdparty