@stacksjs/search-engine 0.51.0 → 0.52.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/README.md +1 -1
- package/dist/drivers/meilisearch.d.ts +2 -1
- package/package.json +18 -17
package/README.md
CHANGED
|
@@ -45,7 +45,7 @@ pnpm test
|
|
|
45
45
|
|
|
46
46
|
Please see our [releases](https://github.com/stacksjs/stacks/releases) page for more information on what has changed recently.
|
|
47
47
|
|
|
48
|
-
##
|
|
48
|
+
## 🚜 Contributing
|
|
49
49
|
|
|
50
50
|
Please review the [Contributing Guide](https://github.com/stacksjs/contributing) for details.
|
|
51
51
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { MeiliSearch } from 'meilisearch';
|
|
2
|
+
import type { SearchResponse } from 'meilisearch';
|
|
2
3
|
interface SearchEngineOptions {
|
|
3
4
|
host: string;
|
|
4
5
|
apiKey: string;
|
|
5
6
|
}
|
|
6
7
|
declare function client(options?: SearchEngineOptions): MeiliSearch;
|
|
7
|
-
declare function search(index: string, params: any): Promise<
|
|
8
|
+
declare function search(index: string, params: any): Promise<SearchResponse<Record<string, any>>>;
|
|
8
9
|
export { client, search, };
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stacksjs/search-engine",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"packageManager": "pnpm@
|
|
4
|
+
"version": "0.52.0",
|
|
5
|
+
"packageManager": "pnpm@8.5.1",
|
|
6
6
|
"description": "The Stacks search engine integrations.",
|
|
7
7
|
"author": "Chris Breuer",
|
|
8
8
|
"license": "MIT",
|
|
@@ -29,7 +29,12 @@
|
|
|
29
29
|
"headless",
|
|
30
30
|
"stacks"
|
|
31
31
|
],
|
|
32
|
-
"
|
|
32
|
+
"exports": {
|
|
33
|
+
".": {
|
|
34
|
+
"types": "./dist/index.d.ts",
|
|
35
|
+
"import": "./dist/index.mjs"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
33
38
|
"module": "dist/index.mjs",
|
|
34
39
|
"types": "dist/index.d.ts",
|
|
35
40
|
"contributors": [
|
|
@@ -39,25 +44,21 @@
|
|
|
39
44
|
"dist",
|
|
40
45
|
"README.md"
|
|
41
46
|
],
|
|
42
|
-
"engines": {
|
|
43
|
-
"node": ">=v18.14.0",
|
|
44
|
-
"pnpm": ">=7.26.3"
|
|
45
|
-
},
|
|
46
47
|
"peerDependencies": {
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"@stacksjs/cli": "0.
|
|
51
|
-
"@stacksjs/config": "0.
|
|
48
|
+
"meilisearch": "^0.32.3"
|
|
49
|
+
},
|
|
50
|
+
"dependencies": {
|
|
51
|
+
"@stacksjs/cli": "0.52.0",
|
|
52
|
+
"@stacksjs/config": "0.52.0",
|
|
53
|
+
"@stacksjs/ui": "0.52.0"
|
|
52
54
|
},
|
|
53
55
|
"devDependencies": {
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"@stacksjs/testing": "0.51.0"
|
|
56
|
+
"@stacksjs/development": "0.52.0",
|
|
57
|
+
"@stacksjs/types": "0.52.0"
|
|
57
58
|
},
|
|
58
59
|
"scripts": {
|
|
59
|
-
"build": "
|
|
60
|
-
"dev": "
|
|
60
|
+
"build": "unbuild",
|
|
61
|
+
"dev": "unbuild --stub",
|
|
61
62
|
"typecheck": "tsc --noEmit"
|
|
62
63
|
}
|
|
63
64
|
}
|