c2-mongoose 2.1.168 → 2.1.169

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.
@@ -506,7 +506,7 @@ var SearchFlow = /** @class */ (function () {
506
506
  if (key.endsWith('Like')) {
507
507
  return;
508
508
  }
509
- if (['pageable', 'order', 'orderBy', 'properties', 'populate', 'page', 'limit', 'model', 'select', 'searchText', 'isPageable', 'searchPageable'].includes(key)) {
509
+ if (['onlyMetadata', 'pageable', 'order', 'orderBy', 'properties', 'populate', 'page', 'limit', 'model', 'select', 'searchText', 'isPageable', 'searchPageable'].includes(key)) {
510
510
  return;
511
511
  }
512
512
  if ((0, Utils_1.isNotEmpty)(value)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.168",
3
+ "version": "2.1.169",
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",
@@ -456,7 +456,7 @@ abstract class SearchFlow {
456
456
  if (key.endsWith('Like')) {
457
457
  return
458
458
  }
459
- if (['pageable', 'order', 'orderBy', 'properties', 'populate', 'page', 'limit', 'model', 'select', 'searchText', 'isPageable', 'searchPageable'].includes(key)) {
459
+ if (['onlyMetadata', 'pageable', 'order', 'orderBy', 'properties', 'populate', 'page', 'limit', 'model', 'select', 'searchText', 'isPageable', 'searchPageable'].includes(key)) {
460
460
  return
461
461
  }
462
462
  if (isNotEmpty(value)) {