@digipair/skill-vespa 0.1.9 → 0.1.10
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/index.cjs.js +1 -1
- package/index.esm.js +1 -1
- package/package.json +1 -1
package/index.cjs.js
CHANGED
@@ -34689,7 +34689,7 @@ let VespaService = class VespaService {
|
|
34689
34689
|
async search(params, _pinsSettingsList, context) {
|
34690
34690
|
var _context_private;
|
34691
34691
|
var _context_private_VESPA_SERVER;
|
34692
|
-
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, collection = 'knowledge', limit = 100, orderby = '', targetHits = 50, language = 'fr', search: search1
|
34692
|
+
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, collection = 'knowledge', limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = '', search: search1 } = params;
|
34693
34693
|
if (orderby !== '' && !/^([a-zA-Z0-9_-]+)(,\s*[a-zA-Z0-9_-]+)*(\s+(asc|desc))?$/.test(orderby)) {
|
34694
34694
|
throw new Error('vespa:find - Invalid orderby parameter');
|
34695
34695
|
}
|
package/index.esm.js
CHANGED
@@ -34685,7 +34685,7 @@ let VespaService = class VespaService {
|
|
34685
34685
|
async search(params, _pinsSettingsList, context) {
|
34686
34686
|
var _context_private;
|
34687
34687
|
var _context_private_VESPA_SERVER;
|
34688
|
-
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, collection = 'knowledge', limit = 100, orderby = '', targetHits = 50, language = 'fr', search: search1
|
34688
|
+
const { baseUrl = (_context_private_VESPA_SERVER = (_context_private = context.private) == null ? void 0 : _context_private.VESPA_SERVER) != null ? _context_private_VESPA_SERVER : VESPA_SERVER, collection = 'knowledge', limit = 100, orderby = '', targetHits = 50, language = 'fr', filter = '', search: search1 } = params;
|
34689
34689
|
if (orderby !== '' && !/^([a-zA-Z0-9_-]+)(,\s*[a-zA-Z0-9_-]+)*(\s+(asc|desc))?$/.test(orderby)) {
|
34690
34690
|
throw new Error('vespa:find - Invalid orderby parameter');
|
34691
34691
|
}
|