@miso.ai/client-sdk-algolia 1.9.9-beta.1 → 1.9.10-beta.0
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.
- package/dist/cjs/data.js +1 -1
- package/dist/cjs/filter/index.js +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/plugin.js +1 -1
- package/package.json +2 -2
package/dist/cjs/data.js
CHANGED
|
@@ -9,7 +9,7 @@ var _commons = require("@miso.ai/commons");
|
|
|
9
9
|
var _index = require("./filter/index.js");
|
|
10
10
|
const _excluded = ["payload", "query", "attributesToRetrieve"],
|
|
11
11
|
_excluded2 = ["attributesToSnippet", "snippetEllipsisText", "restrictHighlightAndSnippetArrays"];
|
|
12
|
-
function _objectWithoutPropertiesLoose(
|
|
12
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.indexOf(n) >= 0) continue; t[n] = r[n]; } return t; }
|
|
13
13
|
const DEFAULT_ROWS = 5;
|
|
14
14
|
function buildPayload(algoliaClient, apiName, _ref) {
|
|
15
15
|
let {
|
package/dist/cjs/filter/index.js
CHANGED
|
@@ -7,7 +7,7 @@ exports.buildFilters = buildFilters;
|
|
|
7
7
|
exports.translateFiltersExpr = translateFiltersExpr;
|
|
8
8
|
var _commons = require("@miso.ai/commons");
|
|
9
9
|
var _shadow = _interopRequireDefault(require("./shadow.js"));
|
|
10
|
-
function _interopRequireDefault(
|
|
10
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
11
11
|
function buildFilters(algoliaClient, params) {
|
|
12
12
|
const fq = [translateFilters(algoliaClient, params), translateNumericFilters(algoliaClient, params), translateTagFilters(algoliaClient, params), translateFacetFilters(algoliaClient, params)].filter(s => s).join(' AND ') || undefined;
|
|
13
13
|
const boost_fq = translateOptionalFilters(algoliaClient, params) || undefined;
|
package/dist/cjs/index.js
CHANGED
|
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "AlgoliaPlugin", {
|
|
|
10
10
|
}
|
|
11
11
|
});
|
|
12
12
|
var _plugin = _interopRequireDefault(require("./plugin.js"));
|
|
13
|
-
function _interopRequireDefault(
|
|
13
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
package/dist/cjs/plugin.js
CHANGED
|
@@ -6,7 +6,7 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.default = void 0;
|
|
7
7
|
var _commons = require("@miso.ai/commons");
|
|
8
8
|
var _client = _interopRequireDefault(require("./client.js"));
|
|
9
|
-
function _interopRequireDefault(
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { default: e }; }
|
|
10
10
|
const PLUGIN_ID = 'std:algolia';
|
|
11
11
|
class AlgoliaPlugin extends _commons.Component {
|
|
12
12
|
static get id() {
|
package/package.json
CHANGED