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
|
-
|
|
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.
|
|
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
|
@@ -3,7 +3,7 @@ import SearchFlow from "../SearchFlow"
|
|
|
3
3
|
|
|
4
4
|
class GetStagePaginationFlowItem {
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
add(facet: IFacet = { items: [] }, searcher: SearchFlow): IFacet {
|
|
7
7
|
let facetAfter: IFacet = facet
|
|
8
8
|
|
|
9
9
|
if (searcher.pageable === false) {
|