@reactionary/provider-algolia 0.0.69 → 0.0.71
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/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@reactionary/provider-algolia",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.71",
|
|
4
4
|
"main": "index.js",
|
|
5
5
|
"types": "src/index.d.ts",
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@reactionary/core": "0.0.
|
|
7
|
+
"@reactionary/core": "0.0.71",
|
|
8
8
|
"algoliasearch": "^5.23.4",
|
|
9
9
|
"zod": "4.1.9"
|
|
10
10
|
},
|
|
@@ -1,12 +1,26 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __decorateClass = (decorators, target, key, kind) => {
|
|
4
|
+
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
5
|
+
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
6
|
+
if (decorator = decorators[i])
|
|
7
|
+
result = (kind ? decorator(target, key, result) : decorator(result)) || result;
|
|
8
|
+
if (kind && result)
|
|
9
|
+
__defProp(target, key, result);
|
|
10
|
+
return result;
|
|
11
|
+
};
|
|
1
12
|
import {
|
|
2
13
|
createPaginatedResponseSchema,
|
|
3
14
|
FacetIdentifierSchema,
|
|
4
15
|
FacetValueIdentifierSchema,
|
|
5
16
|
ImageSchema,
|
|
6
17
|
ProductSearchProvider,
|
|
18
|
+
ProductSearchQueryByTermSchema,
|
|
7
19
|
ProductSearchResultFacetSchema,
|
|
8
20
|
ProductSearchResultFacetValueSchema,
|
|
9
|
-
ProductSearchResultItemVariantSchema
|
|
21
|
+
ProductSearchResultItemVariantSchema,
|
|
22
|
+
ProductSearchResultSchema,
|
|
23
|
+
Reactionary
|
|
10
24
|
} from "@reactionary/core";
|
|
11
25
|
import { algoliasearch } from "algoliasearch";
|
|
12
26
|
import { AlgoliaSearchIdentifierSchema } from "../schema/search.schema.js";
|
|
@@ -127,6 +141,12 @@ class AlgoliaSearchProvider extends ProductSearchProvider {
|
|
|
127
141
|
});
|
|
128
142
|
}
|
|
129
143
|
}
|
|
144
|
+
__decorateClass([
|
|
145
|
+
Reactionary({
|
|
146
|
+
inputSchema: ProductSearchQueryByTermSchema,
|
|
147
|
+
outputSchema: ProductSearchResultSchema
|
|
148
|
+
})
|
|
149
|
+
], AlgoliaSearchProvider.prototype, "queryByTerm", 1);
|
|
130
150
|
export {
|
|
131
151
|
AlgoliaSearchProvider
|
|
132
152
|
};
|