c2-mongoose 2.1.161 → 2.1.162

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.
@@ -1,7 +1,7 @@
1
1
  import { IFacet } from "../../model/Facet";
2
2
  import SearchFlow from "../SearchFlow";
3
3
  declare class GetStagePaginationFlowItem {
4
- get(facet: IFacet | undefined, searcher: SearchFlow): IFacet;
4
+ add(facet: IFacet | undefined, searcher: SearchFlow): IFacet;
5
5
  }
6
6
  declare const _default: GetStagePaginationFlowItem;
7
7
  export default _default;
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  var GetStagePaginationFlowItem = /** @class */ (function () {
4
4
  function GetStagePaginationFlowItem() {
5
5
  }
6
- GetStagePaginationFlowItem.prototype.get = function (facet, searcher) {
6
+ GetStagePaginationFlowItem.prototype.add = function (facet, searcher) {
7
7
  if (facet === void 0) { facet = { items: [] }; }
8
8
  var facetAfter = facet;
9
9
  if (searcher.pageable === false) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "c2-mongoose",
3
- "version": "2.1.161",
3
+ "version": "2.1.162",
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",
@@ -3,7 +3,7 @@ import SearchFlow from "../SearchFlow"
3
3
 
4
4
  class GetStagePaginationFlowItem {
5
5
 
6
- get(facet: IFacet = { items: [] }, searcher: SearchFlow): IFacet {
6
+ add(facet: IFacet = { items: [] }, searcher: SearchFlow): IFacet {
7
7
  let facetAfter: IFacet = facet
8
8
 
9
9
  if (searcher.pageable === false) {