Permalink
Browse files

feat(cleaner): add getCleaner to wetland

  • Loading branch information...
edouardmenayde committed Jul 31, 2017
1 parent 914e92a commit 318f57f35746b0479331d81ce8aa8585a0adb3b7
Showing with 12 additions and 2 deletions.
  1. +12 −2 src/Wetland.ts
@@ -10,7 +10,8 @@ import * as path from 'path';
import {SnapshotManager} from './SnapshotManager';
import {SchemaManager} from './SchemaManager';
import {Populate} from './Populate';
import {Seeder} from "./Seeder";
import {Seeder} from './Seeder';
import {Cleaner} from './Cleaner';
export class Wetland {
/**
@@ -49,7 +50,7 @@ export class Wetland {
/**
* @type {{}}
*/
private stores: {[key: string]: Store} = {};
private stores: { [key: string]: Store } = {};
/**
* @type {SchemaManager}
@@ -229,6 +230,15 @@ export class Wetland {
return new Seeder(this);
}
/**
* Get a cleaner.
*
* @return {Cleaner}
*/
public getCleaner(): Cleaner {
return new Cleaner(this);
}
/**
* Get a scoped entityManager. Example:
*

0 comments on commit 318f57f

Please sign in to comment.