vue-datocms 8.1.5-0 → 8.1.6
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/index.cjs.js +2 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.esm.mjs +2 -1
- package/package.json +2 -2
package/dist/index.cjs.js
CHANGED
|
@@ -1717,7 +1717,8 @@ function useSiteSearch(config) {
|
|
|
1717
1717
|
filter: {
|
|
1718
1718
|
query: state.query,
|
|
1719
1719
|
locale: state.locale,
|
|
1720
|
-
build_trigger_id: config.buildTriggerId
|
|
1720
|
+
build_trigger_id: config.buildTriggerId,
|
|
1721
|
+
search_index_id: config.searchIndexId
|
|
1721
1722
|
},
|
|
1722
1723
|
page: {
|
|
1723
1724
|
limit: resultsPerPage,
|
package/dist/index.d.ts
CHANGED
|
@@ -1528,6 +1528,7 @@ type SearchResultInstancesHrefSchema = {
|
|
|
1528
1528
|
fuzzy?: string | boolean;
|
|
1529
1529
|
query: string;
|
|
1530
1530
|
build_trigger_id?: string;
|
|
1531
|
+
search_index_id?: string;
|
|
1531
1532
|
locale?: string;
|
|
1532
1533
|
[k: string]: unknown;
|
|
1533
1534
|
};
|
|
@@ -1563,7 +1564,8 @@ declare class GenericClient {
|
|
|
1563
1564
|
}
|
|
1564
1565
|
type UseSiteSearchConfig<Client extends GenericClient> = {
|
|
1565
1566
|
client: Client;
|
|
1566
|
-
buildTriggerId
|
|
1567
|
+
buildTriggerId?: string;
|
|
1568
|
+
searchIndexId?: string;
|
|
1567
1569
|
fuzzySearch?: boolean;
|
|
1568
1570
|
resultsPerPage?: number;
|
|
1569
1571
|
initialState?: {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -1718,7 +1718,8 @@ function useSiteSearch(config) {
|
|
|
1718
1718
|
filter: {
|
|
1719
1719
|
query: state.query,
|
|
1720
1720
|
locale: state.locale,
|
|
1721
|
-
build_trigger_id: config.buildTriggerId
|
|
1721
|
+
build_trigger_id: config.buildTriggerId,
|
|
1722
|
+
search_index_id: config.searchIndexId
|
|
1722
1723
|
},
|
|
1723
1724
|
page: {
|
|
1724
1725
|
limit: resultsPerPage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-datocms",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.6",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "A set of components and utilities to work faster with DatoCMS in Vue.js environments",
|
|
6
6
|
"keywords": [
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"toc": "doctoc --github src/components src/lib"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@datocms/content-link": "^0.3.
|
|
45
|
+
"@datocms/content-link": "^0.3.9",
|
|
46
46
|
"datocms-listen": "^1.0.2",
|
|
47
47
|
"hls.js": "^1.5.17",
|
|
48
48
|
"datocms-structured-text-generic-html-renderer": "^5.0.0",
|