c2-mongoose 2.1.234 → 2.1.235

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -63,8 +63,8 @@ var SearcherFlow = /** @class */ (function () {
63
63
  this.page = 1;
64
64
  this.limit = 50;
65
65
  this.pageable = true;
66
- this.select = [""];
67
- this.populate = [""];
66
+ this.select = [];
67
+ this.populate = [];
68
68
  this.filters = undefined;
69
69
  this.model = repository;
70
70
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.234",
3
+ "version": "2.1.235",
4
4
  "description": "Lib to make any search in database mongoose and use as basic crud",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -23,8 +23,8 @@ class SearcherFlow<D> {
23
23
  private limit: number = 50
24
24
  private pageable: boolean = true
25
25
 
26
- private select: string[] = [""]
27
- private populate: string[] = [""]
26
+ private select: string[] = []
27
+ private populate: string[] = []
28
28
  private filters: any = undefined
29
29
 
30
30
  constructor(repository: mongoose.Model<any>) {