We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc23bd7 commit 5f3e8b3Copy full SHA for 5f3e8b3
packages/api-elasticsearch/package.json
@@ -2,6 +2,7 @@
2
"name": "@webiny/api-elasticsearch",
3
"version": "0.0.0",
4
"type": "module",
5
+ "main": "index.js",
6
"repository": {
7
"type": "git",
8
"url": "https://github.com/webiny/webiny-js.git",
packages/api-elasticsearch/src/index.ts
@@ -27,7 +27,7 @@ export * from "./indexPrefix.js";
27
export * from "./db/index.js";
28
29
30
-const clientContextPlugin = (
+export const clientContextPlugin = (
31
params: ElasticsearchClientOptions | Client
32
): ContextPlugin<ElasticsearchContext> => {
33
return new ContextPlugin<ElasticsearchContext>(context => {
0 commit comments