vue-datocms 8.1.4 → 8.1.5
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 +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -1492,7 +1492,8 @@ function useSiteSearch(config) {
|
|
|
1492
1492
|
filter: {
|
|
1493
1493
|
query: state.query,
|
|
1494
1494
|
locale: state.locale,
|
|
1495
|
-
build_trigger_id: config.buildTriggerId
|
|
1495
|
+
build_trigger_id: config.buildTriggerId,
|
|
1496
|
+
search_index_id: config.searchIndexId
|
|
1496
1497
|
},
|
|
1497
1498
|
page: {
|
|
1498
1499
|
limit: resultsPerPage,
|
package/dist/index.d.ts
CHANGED
|
@@ -1239,6 +1239,7 @@ type SearchResultInstancesHrefSchema = {
|
|
|
1239
1239
|
fuzzy?: string | boolean;
|
|
1240
1240
|
query: string;
|
|
1241
1241
|
build_trigger_id?: string;
|
|
1242
|
+
search_index_id?: string;
|
|
1242
1243
|
locale?: string;
|
|
1243
1244
|
[k: string]: unknown;
|
|
1244
1245
|
};
|
|
@@ -1274,7 +1275,8 @@ declare class GenericClient {
|
|
|
1274
1275
|
}
|
|
1275
1276
|
type UseSiteSearchConfig<Client extends GenericClient> = {
|
|
1276
1277
|
client: Client;
|
|
1277
|
-
buildTriggerId
|
|
1278
|
+
buildTriggerId?: string;
|
|
1279
|
+
searchIndexId?: string;
|
|
1278
1280
|
fuzzySearch?: boolean;
|
|
1279
1281
|
resultsPerPage?: number;
|
|
1280
1282
|
initialState?: {
|
package/dist/index.esm.mjs
CHANGED
|
@@ -1468,7 +1468,8 @@ function useSiteSearch(config) {
|
|
|
1468
1468
|
filter: {
|
|
1469
1469
|
query: state.query,
|
|
1470
1470
|
locale: state.locale,
|
|
1471
|
-
build_trigger_id: config.buildTriggerId
|
|
1471
|
+
build_trigger_id: config.buildTriggerId,
|
|
1472
|
+
search_index_id: config.searchIndexId
|
|
1472
1473
|
},
|
|
1473
1474
|
page: {
|
|
1474
1475
|
limit: resultsPerPage,
|