algoliasearch 5.0.0-alpha.2 → 5.0.0-alpha.3
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/builds/browser.ts +10 -10
- package/builds/models.ts +7 -6
- package/builds/node.ts +10 -10
- package/dist/algoliasearch/builds/browser.d.ts +10 -9
- package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/builds/node.d.ts +10 -9
- package/dist/algoliasearch/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch/lite/builds/browser.d.ts +2 -2
- package/dist/algoliasearch/lite/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/lite/builds/node.d.ts +2 -2
- package/dist/algoliasearch/lite/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/addApiKeyResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/apiKey.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/automaticFacetFilter.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/browseResponse.d.ts +1 -1
- package/dist/algoliasearch/lite/model/browseResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/builtInOperation.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/condition.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/consequence.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/consequenceQueryObject.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/dictionaryEntry.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/distinct.d.ts +5 -0
- package/dist/algoliasearch/lite/model/distinct.d.ts.map +1 -0
- package/dist/algoliasearch/lite/model/edit.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/facetOrdering.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/facetsStats.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/fetchedIndex.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/highlightResultOption.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/hit.d.ts +1 -1
- package/dist/algoliasearch/lite/model/hit.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/index.d.ts +1 -0
- package/dist/algoliasearch/lite/model/index.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/indexSettingsAsSearchParams.d.ts +2 -4
- package/dist/algoliasearch/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/languages.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/listIndicesResponse.d.ts +1 -1
- package/dist/algoliasearch/lite/model/listIndicesResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/params.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/personalization.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/promoteObjectID.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/promoteObjectIDs.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/rankingInfo.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/rule.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchForFacetsOptions.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchForHitsOptions.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchHits.d.ts +1 -1
- package/dist/algoliasearch/lite/model/searchHits.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchMethodParams.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchResponse.d.ts +1 -1
- package/dist/algoliasearch/lite/model/searchResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchResponses.d.ts +1 -1
- package/dist/algoliasearch/lite/model/searchResponses.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/searchSynonymsResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/snippetResultOption.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/source.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/standardEntries.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/synonymHit.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/synonymHitHighlightResult.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/timeRange.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/updatedRuleResponse.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/userId.d.ts.map +1 -1
- package/dist/algoliasearch/lite/model/value.d.ts.map +1 -1
- package/dist/algoliasearch/lite/src/liteClient.d.ts +1 -1
- package/dist/algoliasearch.cjs.js +4 -4
- package/dist/algoliasearch.esm.browser.js +4 -4
- package/dist/algoliasearch.esm.node.js +4 -4
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +10 -9
- package/dist/builds/browser.d.ts.map +1 -1
- package/dist/builds/models.d.ts +7 -8
- package/dist/builds/models.d.ts.map +1 -1
- package/dist/builds/node.d.ts +10 -9
- package/dist/builds/node.d.ts.map +1 -1
- package/dist/client-abtesting/model/aBTest.d.ts.map +1 -1
- package/dist/client-abtesting/model/aBTestResponse.d.ts.map +1 -1
- package/dist/client-abtesting/model/abTestsVariant.d.ts.map +1 -1
- package/dist/client-abtesting/model/addABTestsRequest.d.ts.map +1 -1
- package/dist/client-abtesting/model/listABTestsResponse.d.ts.map +1 -1
- package/dist/client-abtesting/model/variant.d.ts.map +1 -1
- package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
- package/dist/client-analytics/model/averageClickEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/clickPosition.d.ts.map +1 -1
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/conversionRateEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getConversationRateResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts.map +1 -1
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts.map +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts.map +1 -1
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts.map +1 -1
- package/dist/client-analytics/model/getUsersCountResponse.d.ts.map +1 -1
- package/dist/client-analytics/model/noClickRateEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/noResultsRateEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/searchNoClickEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/searchNoResultEvent.d.ts.map +1 -1
- package/dist/client-analytics/model/topCountry.d.ts.map +1 -1
- package/dist/client-analytics/model/topHit.d.ts.map +1 -1
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts.map +1 -1
- package/dist/client-analytics/model/topSearch.d.ts.map +1 -1
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts.map +1 -1
- package/dist/client-analytics/model/userWithDate.d.ts.map +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +1 -1
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts.map +1 -1
- package/dist/client-personalization/model/eventScoring.d.ts.map +1 -1
- package/dist/client-personalization/model/facetScoring.d.ts.map +1 -1
- package/dist/client-personalization/model/getUserTokenResponse.d.ts.map +1 -1
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts.map +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-search/model/addApiKeyResponse.d.ts.map +1 -1
- package/dist/client-search/model/apiKey.d.ts.map +1 -1
- package/dist/client-search/model/automaticFacetFilter.d.ts.map +1 -1
- package/dist/client-search/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/client-search/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts.map +1 -1
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts.map +1 -1
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts.map +1 -1
- package/dist/client-search/model/batchParams.d.ts +2 -2
- package/dist/client-search/model/batchParams.d.ts.map +1 -1
- package/dist/client-search/model/{batchOperation.d.ts → batchRequest.d.ts} +2 -2
- package/dist/client-search/model/batchRequest.d.ts.map +1 -0
- package/dist/client-search/model/batchResponse.d.ts.map +1 -1
- package/dist/client-search/model/batchWriteParams.d.ts +2 -2
- package/dist/client-search/model/batchWriteParams.d.ts.map +1 -1
- package/dist/client-search/model/browseRequest.d.ts.map +1 -1
- package/dist/client-search/model/browseResponse.d.ts +1 -1
- package/dist/client-search/model/browseResponse.d.ts.map +1 -1
- package/dist/client-search/model/builtInOperation.d.ts.map +1 -1
- package/dist/client-search/model/condition.d.ts.map +1 -1
- package/dist/client-search/model/consequence.d.ts.map +1 -1
- package/dist/client-search/model/consequenceQueryObject.d.ts.map +1 -1
- package/dist/client-search/model/deletedAtResponse.d.ts.map +1 -1
- package/dist/client-search/model/dictionaryEntry.d.ts.map +1 -1
- package/dist/client-search/model/distinct.d.ts +5 -0
- package/dist/client-search/model/distinct.d.ts.map +1 -0
- package/dist/client-search/model/edit.d.ts.map +1 -1
- package/dist/client-search/model/facetHits.d.ts.map +1 -1
- package/dist/client-search/model/facetOrdering.d.ts.map +1 -1
- package/dist/client-search/model/facetsStats.d.ts.map +1 -1
- package/dist/client-search/model/fetchedIndex.d.ts.map +1 -1
- package/dist/client-search/model/getObjectsParams.d.ts +2 -2
- package/dist/client-search/model/getObjectsParams.d.ts.map +1 -1
- package/dist/client-search/model/{multipleGetObjectsParams.d.ts → getObjectsRequest.d.ts} +2 -2
- package/dist/client-search/model/getObjectsRequest.d.ts.map +1 -0
- package/dist/client-search/model/getObjectsResponse.d.ts +2 -2
- package/dist/client-search/model/getObjectsResponse.d.ts.map +1 -1
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts.map +1 -1
- package/dist/client-search/model/highlightResultOption.d.ts.map +1 -1
- package/dist/client-search/model/hit.d.ts +1 -1
- package/dist/client-search/model/hit.d.ts.map +1 -1
- package/dist/client-search/model/index.d.ts +4 -3
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +2 -4
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/client-search/model/languages.d.ts.map +1 -1
- package/dist/client-search/model/listIndicesResponse.d.ts +1 -1
- package/dist/client-search/model/listIndicesResponse.d.ts.map +1 -1
- package/dist/client-search/model/log.d.ts.map +1 -1
- package/dist/client-search/model/logQuery.d.ts.map +1 -1
- package/dist/client-search/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/client-search/model/{multipleBatchOperation.d.ts → multipleBatchRequest.d.ts} +2 -2
- package/dist/client-search/model/multipleBatchRequest.d.ts.map +1 -0
- package/dist/client-search/model/multipleBatchResponse.d.ts.map +1 -1
- package/dist/client-search/model/operationIndexParams.d.ts.map +1 -1
- package/dist/client-search/model/params.d.ts.map +1 -1
- package/dist/client-search/model/personalization.d.ts.map +1 -1
- package/dist/client-search/model/promoteObjectID.d.ts.map +1 -1
- package/dist/client-search/model/promoteObjectIDs.d.ts.map +1 -1
- package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
- package/dist/client-search/model/rule.d.ts.map +1 -1
- package/dist/client-search/model/saveObjectResponse.d.ts +2 -2
- package/dist/client-search/model/saveObjectResponse.d.ts.map +1 -1
- package/dist/client-search/model/saveSynonymResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts.map +1 -1
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts.map +1 -1
- package/dist/client-search/model/searchForFacetsOptions.d.ts.map +1 -1
- package/dist/client-search/model/searchForHitsOptions.d.ts.map +1 -1
- package/dist/client-search/model/searchHits.d.ts +1 -1
- package/dist/client-search/model/searchHits.d.ts.map +1 -1
- package/dist/client-search/model/searchMethodParams.d.ts.map +1 -1
- package/dist/client-search/model/searchResponse.d.ts +1 -1
- package/dist/client-search/model/searchResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchResponses.d.ts +1 -1
- package/dist/client-search/model/searchResponses.d.ts.map +1 -1
- package/dist/client-search/model/searchRulesParams.d.ts.map +1 -1
- package/dist/client-search/model/searchRulesResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchSynonymsResponse.d.ts.map +1 -1
- package/dist/client-search/model/searchUserIdsParams.d.ts.map +1 -1
- package/dist/client-search/model/searchUserIdsResponse.d.ts.map +1 -1
- package/dist/client-search/model/snippetResultOption.d.ts.map +1 -1
- package/dist/client-search/model/source.d.ts.map +1 -1
- package/dist/client-search/model/standardEntries.d.ts.map +1 -1
- package/dist/client-search/model/synonymHit.d.ts.map +1 -1
- package/dist/client-search/model/synonymHitHighlightResult.d.ts.map +1 -1
- package/dist/client-search/model/timeRange.d.ts.map +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts.map +1 -1
- package/dist/client-search/model/updatedAtResponse.d.ts.map +1 -1
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts.map +1 -1
- package/dist/client-search/model/updatedRuleResponse.d.ts.map +1 -1
- package/dist/client-search/model/userHighlightResult.d.ts.map +1 -1
- package/dist/client-search/model/userHit.d.ts.map +1 -1
- package/dist/client-search/model/userId.d.ts.map +1 -1
- package/dist/client-search/model/value.d.ts.map +1 -1
- package/dist/client-search/src/searchClient.d.ts +4 -4
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/builds/browser.d.ts +10 -9
- package/dist/lite/builds/browser.d.ts.map +1 -1
- package/dist/lite/builds/models.d.ts +7 -8
- package/dist/lite/builds/models.d.ts.map +1 -1
- package/dist/lite/builds/node.d.ts +10 -9
- package/dist/lite/builds/node.d.ts.map +1 -1
- package/dist/lite/lite/builds/browser.d.ts +2 -2
- package/dist/lite/lite/builds/browser.d.ts.map +1 -1
- package/dist/lite/lite/builds/node.d.ts +2 -2
- package/dist/lite/lite/builds/node.d.ts.map +1 -1
- package/dist/lite/lite/model/addApiKeyResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/apiKey.d.ts.map +1 -1
- package/dist/lite/lite/model/automaticFacetFilter.d.ts.map +1 -1
- package/dist/lite/lite/model/baseIndexSettings.d.ts.map +1 -1
- package/dist/lite/lite/model/baseSearchParamsWithoutQuery.d.ts.map +1 -1
- package/dist/lite/lite/model/baseSearchResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/browseResponse.d.ts +1 -1
- package/dist/lite/lite/model/browseResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/builtInOperation.d.ts.map +1 -1
- package/dist/lite/lite/model/condition.d.ts.map +1 -1
- package/dist/lite/lite/model/consequence.d.ts.map +1 -1
- package/dist/lite/lite/model/consequenceQueryObject.d.ts.map +1 -1
- package/dist/lite/lite/model/dictionaryEntry.d.ts.map +1 -1
- package/dist/lite/lite/model/distinct.d.ts +5 -0
- package/dist/lite/lite/model/distinct.d.ts.map +1 -0
- package/dist/lite/lite/model/edit.d.ts.map +1 -1
- package/dist/lite/lite/model/facetOrdering.d.ts.map +1 -1
- package/dist/lite/lite/model/facetsStats.d.ts.map +1 -1
- package/dist/lite/lite/model/fetchedIndex.d.ts.map +1 -1
- package/dist/lite/lite/model/highlightResultOption.d.ts.map +1 -1
- package/dist/lite/lite/model/hit.d.ts +1 -1
- package/dist/lite/lite/model/hit.d.ts.map +1 -1
- package/dist/lite/lite/model/index.d.ts +1 -0
- package/dist/lite/lite/model/index.d.ts.map +1 -1
- package/dist/lite/lite/model/indexSettingsAsSearchParams.d.ts +2 -4
- package/dist/lite/lite/model/indexSettingsAsSearchParams.d.ts.map +1 -1
- package/dist/lite/lite/model/languages.d.ts.map +1 -1
- package/dist/lite/lite/model/listIndicesResponse.d.ts +1 -1
- package/dist/lite/lite/model/listIndicesResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/matchedGeoLocation.d.ts.map +1 -1
- package/dist/lite/lite/model/params.d.ts.map +1 -1
- package/dist/lite/lite/model/personalization.d.ts.map +1 -1
- package/dist/lite/lite/model/promoteObjectID.d.ts.map +1 -1
- package/dist/lite/lite/model/promoteObjectIDs.d.ts.map +1 -1
- package/dist/lite/lite/model/rankingInfo.d.ts.map +1 -1
- package/dist/lite/lite/model/rule.d.ts.map +1 -1
- package/dist/lite/lite/model/searchForFacetsOptions.d.ts.map +1 -1
- package/dist/lite/lite/model/searchForHitsOptions.d.ts.map +1 -1
- package/dist/lite/lite/model/searchHits.d.ts +1 -1
- package/dist/lite/lite/model/searchHits.d.ts.map +1 -1
- package/dist/lite/lite/model/searchMethodParams.d.ts.map +1 -1
- package/dist/lite/lite/model/searchResponse.d.ts +1 -1
- package/dist/lite/lite/model/searchResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/searchResponses.d.ts +1 -1
- package/dist/lite/lite/model/searchResponses.d.ts.map +1 -1
- package/dist/lite/lite/model/searchSynonymsResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/snippetResultOption.d.ts.map +1 -1
- package/dist/lite/lite/model/source.d.ts.map +1 -1
- package/dist/lite/lite/model/standardEntries.d.ts.map +1 -1
- package/dist/lite/lite/model/synonymHit.d.ts.map +1 -1
- package/dist/lite/lite/model/synonymHitHighlightResult.d.ts.map +1 -1
- package/dist/lite/lite/model/timeRange.d.ts.map +1 -1
- package/dist/lite/lite/model/updatedRuleResponse.d.ts.map +1 -1
- package/dist/lite/lite/model/userId.d.ts.map +1 -1
- package/dist/lite/lite/model/value.d.ts.map +1 -1
- package/dist/lite/lite/src/liteClient.d.ts +1 -1
- package/dist/lite/lite.cjs.js +1 -1
- package/dist/lite/lite.esm.browser.js +1 -1
- package/dist/lite/lite.esm.node.js +1 -1
- package/dist/lite/lite.umd.js +2 -2
- package/lite/builds/browser.ts +2 -2
- package/lite/builds/node.ts +2 -2
- package/lite/model/addApiKeyResponse.ts +1 -0
- package/lite/model/apiKey.ts +7 -0
- package/lite/model/automaticFacetFilter.ts +2 -0
- package/lite/model/baseIndexSettings.ts +13 -0
- package/lite/model/baseSearchParamsWithoutQuery.ts +32 -0
- package/lite/model/baseSearchResponse.ts +24 -0
- package/lite/model/browseResponse.ts +1 -1
- package/lite/model/builtInOperation.ts +1 -0
- package/lite/model/condition.ts +3 -0
- package/lite/model/consequence.ts +4 -0
- package/lite/model/consequenceQueryObject.ts +1 -0
- package/lite/model/dictionaryEntry.ts +5 -0
- package/lite/model/distinct.ts +6 -0
- package/lite/model/edit.ts +2 -0
- package/lite/model/facetOrdering.ts +1 -0
- package/lite/model/facetsStats.ts +3 -0
- package/lite/model/fetchedIndex.ts +10 -0
- package/lite/model/highlightResultOption.ts +3 -0
- package/lite/model/hit.ts +5 -1
- package/lite/model/index.ts +1 -0
- package/lite/model/indexSettingsAsSearchParams.ts +43 -4
- package/lite/model/languages.ts +2 -0
- package/lite/model/listIndicesResponse.ts +2 -1
- package/lite/model/matchedGeoLocation.ts +2 -0
- package/lite/model/params.ts +3 -0
- package/lite/model/personalization.ts +2 -0
- package/lite/model/promoteObjectID.ts +1 -0
- package/lite/model/promoteObjectIDs.ts +1 -0
- package/lite/model/rankingInfo.ts +12 -0
- package/lite/model/rule.ts +5 -0
- package/lite/model/searchForFacetsOptions.ts +4 -0
- package/lite/model/searchForHitsOptions.ts +1 -0
- package/lite/model/searchHits.ts +1 -1
- package/lite/model/searchMethodParams.ts +1 -0
- package/lite/model/searchResponse.ts +2 -1
- package/lite/model/searchResponses.ts +1 -1
- package/lite/model/searchSynonymsResponse.ts +1 -0
- package/lite/model/snippetResultOption.ts +1 -0
- package/lite/model/source.ts +1 -0
- package/lite/model/standardEntries.ts +2 -0
- package/lite/model/synonymHit.ts +8 -0
- package/lite/model/synonymHitHighlightResult.ts +1 -0
- package/lite/model/timeRange.ts +1 -0
- package/lite/model/updatedRuleResponse.ts +2 -0
- package/lite/model/userId.ts +3 -0
- package/lite/model/value.ts +1 -0
- package/lite/src/liteClient.ts +1 -1
- package/package.json +8 -8
- package/dist/client-search/model/batchOperation.d.ts.map +0 -1
- package/dist/client-search/model/multipleBatchOperation.d.ts.map +0 -1
- package/dist/client-search/model/multipleGetObjectsParams.d.ts.map +0 -1
|
@@ -8,97 +8,121 @@ export type BaseSearchResponse = {
|
|
|
8
8
|
* If a search encounters an index that is being A/B tested, abTestID reports the ongoing A/B test ID.
|
|
9
9
|
*/
|
|
10
10
|
abTestID?: number;
|
|
11
|
+
|
|
11
12
|
/**
|
|
12
13
|
* If a search encounters an index that is being A/B tested, abTestVariantID reports the variant ID of the index used (starting at 1).
|
|
13
14
|
*/
|
|
14
15
|
abTestVariantID?: number;
|
|
16
|
+
|
|
15
17
|
/**
|
|
16
18
|
* The computed geo location.
|
|
17
19
|
*/
|
|
18
20
|
aroundLatLng?: string;
|
|
21
|
+
|
|
19
22
|
/**
|
|
20
23
|
* The automatically computed radius. For legacy reasons, this parameter is a string and not an integer.
|
|
21
24
|
*/
|
|
22
25
|
automaticRadius?: string;
|
|
26
|
+
|
|
23
27
|
/**
|
|
24
28
|
* Whether the facet count is exhaustive or approximate.
|
|
25
29
|
*/
|
|
26
30
|
exhaustiveFacetsCount?: boolean;
|
|
31
|
+
|
|
27
32
|
/**
|
|
28
33
|
* Indicate if the nbHits count was exhaustive or approximate.
|
|
29
34
|
*/
|
|
30
35
|
exhaustiveNbHits: boolean;
|
|
36
|
+
|
|
31
37
|
/**
|
|
32
38
|
* Indicate if the typo-tolerance search was exhaustive or approximate (only included when typo-tolerance is enabled).
|
|
33
39
|
*/
|
|
34
40
|
exhaustiveTypo: boolean;
|
|
41
|
+
|
|
35
42
|
/**
|
|
36
43
|
* A mapping of each facet name to the corresponding facet counts.
|
|
37
44
|
*/
|
|
38
45
|
facets?: Record<string, Record<string, number>>;
|
|
46
|
+
|
|
39
47
|
/**
|
|
40
48
|
* Statistics for numerical facets.
|
|
41
49
|
*/
|
|
42
50
|
facets_stats?: Record<string, FacetsStats>;
|
|
51
|
+
|
|
43
52
|
/**
|
|
44
53
|
* Set the number of hits per page.
|
|
45
54
|
*/
|
|
46
55
|
hitsPerPage: number;
|
|
56
|
+
|
|
47
57
|
/**
|
|
48
58
|
* Index name used for the query.
|
|
49
59
|
*/
|
|
50
60
|
index?: string;
|
|
61
|
+
|
|
51
62
|
/**
|
|
52
63
|
* Index name used for the query. In the case of an A/B test, the targeted index isn\'t always the index used by the query.
|
|
53
64
|
*/
|
|
54
65
|
indexUsed?: string;
|
|
66
|
+
|
|
55
67
|
/**
|
|
56
68
|
* Used to return warnings about the query.
|
|
57
69
|
*/
|
|
58
70
|
message?: string;
|
|
71
|
+
|
|
59
72
|
/**
|
|
60
73
|
* Number of hits that the search query matched.
|
|
61
74
|
*/
|
|
62
75
|
nbHits: number;
|
|
76
|
+
|
|
63
77
|
/**
|
|
64
78
|
* Number of pages available for the current query.
|
|
65
79
|
*/
|
|
66
80
|
nbPages: number;
|
|
81
|
+
|
|
67
82
|
/**
|
|
68
83
|
* The number of hits selected and sorted by the relevant sort algorithm.
|
|
69
84
|
*/
|
|
70
85
|
nbSortedHits?: number;
|
|
86
|
+
|
|
71
87
|
/**
|
|
72
88
|
* Specify the page to retrieve.
|
|
73
89
|
*/
|
|
74
90
|
page: number;
|
|
91
|
+
|
|
75
92
|
/**
|
|
76
93
|
* A url-encoded string of all search parameters.
|
|
77
94
|
*/
|
|
78
95
|
params: string;
|
|
96
|
+
|
|
79
97
|
/**
|
|
80
98
|
* The query string that will be searched, after normalization.
|
|
81
99
|
*/
|
|
82
100
|
parsedQuery?: string;
|
|
101
|
+
|
|
83
102
|
/**
|
|
84
103
|
* Time the server took to process the request, in milliseconds.
|
|
85
104
|
*/
|
|
86
105
|
processingTimeMS: number;
|
|
106
|
+
|
|
87
107
|
/**
|
|
88
108
|
* The text to search in the index.
|
|
89
109
|
*/
|
|
90
110
|
query: string;
|
|
111
|
+
|
|
91
112
|
/**
|
|
92
113
|
* A markup text indicating which parts of the original query have been removed in order to retrieve a non-empty result set.
|
|
93
114
|
*/
|
|
94
115
|
queryAfterRemoval?: string;
|
|
116
|
+
|
|
95
117
|
/**
|
|
96
118
|
* Actual host name of the server that processed the request.
|
|
97
119
|
*/
|
|
98
120
|
serverUsed?: string;
|
|
121
|
+
|
|
99
122
|
/**
|
|
100
123
|
* Lets you store custom data in your indices.
|
|
101
124
|
*/
|
|
102
125
|
userData?: Record<string, any>;
|
|
126
|
+
|
|
103
127
|
renderingContent?: RenderingContent;
|
|
104
128
|
};
|
|
@@ -4,6 +4,6 @@ import type { BaseBrowseResponse } from './baseBrowseResponse';
|
|
|
4
4
|
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
5
5
|
import type { SearchHits } from './searchHits';
|
|
6
6
|
|
|
7
|
-
export type BrowseResponse<T
|
|
7
|
+
export type BrowseResponse<T = Record<string, any>> = BaseBrowseResponse &
|
|
8
8
|
BaseSearchResponse &
|
|
9
9
|
SearchHits<T>;
|
|
@@ -7,6 +7,7 @@ import type { BuiltInOperationType } from './builtInOperationType';
|
|
|
7
7
|
*/
|
|
8
8
|
export type BuiltInOperation = {
|
|
9
9
|
_operation: BuiltInOperationType;
|
|
10
|
+
|
|
10
11
|
/**
|
|
11
12
|
* The right-hand side argument to the operation, for example, increment or decrement step, value to add or remove.
|
|
12
13
|
*/
|
package/lite/model/condition.ts
CHANGED
|
@@ -7,11 +7,14 @@ export type Condition = {
|
|
|
7
7
|
* Query pattern syntax.
|
|
8
8
|
*/
|
|
9
9
|
pattern?: string;
|
|
10
|
+
|
|
10
11
|
anchoring?: Anchoring;
|
|
12
|
+
|
|
11
13
|
/**
|
|
12
14
|
* Whether the pattern matches on plurals, synonyms, and typos.
|
|
13
15
|
*/
|
|
14
16
|
alternatives?: boolean;
|
|
17
|
+
|
|
15
18
|
/**
|
|
16
19
|
* Rule context format: [A-Za-z0-9_-]+).
|
|
17
20
|
*/
|
|
@@ -9,18 +9,22 @@ import type { Promote } from './promote';
|
|
|
9
9
|
*/
|
|
10
10
|
export type Consequence = {
|
|
11
11
|
params?: ConsequenceParams;
|
|
12
|
+
|
|
12
13
|
/**
|
|
13
14
|
* Objects to promote as hits.
|
|
14
15
|
*/
|
|
15
16
|
promote?: Promote[];
|
|
17
|
+
|
|
16
18
|
/**
|
|
17
19
|
* Only use in combination with the promote consequence. When true, promoted results will be restricted to match the filters of the current search. When false, the promoted results will show up regardless of the filters.
|
|
18
20
|
*/
|
|
19
21
|
filterPromotes?: boolean;
|
|
22
|
+
|
|
20
23
|
/**
|
|
21
24
|
* Objects to hide from hits. Each object must contain an objectID field. By default, you can hide up to 50 items per rule.
|
|
22
25
|
*/
|
|
23
26
|
hide?: ConsequenceHide[];
|
|
27
|
+
|
|
24
28
|
/**
|
|
25
29
|
* Custom JSON object that will be appended to the userData array in the response. This object isn\'t interpreted by the API. It\'s limited to 1kB of minified JSON.
|
|
26
30
|
*/
|
|
@@ -10,21 +10,26 @@ export type DictionaryEntry = Record<string, any> & {
|
|
|
10
10
|
* Unique identifier of the object.
|
|
11
11
|
*/
|
|
12
12
|
objectID: string;
|
|
13
|
+
|
|
13
14
|
/**
|
|
14
15
|
* Language ISO code supported by the dictionary (e.g., \"en\" for English).
|
|
15
16
|
*/
|
|
16
17
|
language: string;
|
|
18
|
+
|
|
17
19
|
/**
|
|
18
20
|
* The word of the dictionary entry.
|
|
19
21
|
*/
|
|
20
22
|
word?: string;
|
|
23
|
+
|
|
21
24
|
/**
|
|
22
25
|
* The words of the dictionary entry.
|
|
23
26
|
*/
|
|
24
27
|
words?: string[];
|
|
28
|
+
|
|
25
29
|
/**
|
|
26
30
|
* A decomposition of the word of the dictionary entry.
|
|
27
31
|
*/
|
|
28
32
|
decomposition?: string[];
|
|
33
|
+
|
|
29
34
|
state?: DictionaryEntryState;
|
|
30
35
|
};
|
package/lite/model/edit.ts
CHANGED
|
@@ -4,10 +4,12 @@ import type { EditType } from './editType';
|
|
|
4
4
|
|
|
5
5
|
export type Edit = {
|
|
6
6
|
type?: EditType;
|
|
7
|
+
|
|
7
8
|
/**
|
|
8
9
|
* Text or patterns to remove from the query string.
|
|
9
10
|
*/
|
|
10
11
|
delete?: string;
|
|
12
|
+
|
|
11
13
|
/**
|
|
12
14
|
* Text that should be inserted in place of the removed text inside the query string.
|
|
13
15
|
*/
|
|
@@ -5,14 +5,17 @@ export type FacetsStats = {
|
|
|
5
5
|
* The minimum value in the result set.
|
|
6
6
|
*/
|
|
7
7
|
min?: number;
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
10
|
* The maximum value in the result set.
|
|
10
11
|
*/
|
|
11
12
|
max?: number;
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* The average facet value in the result set.
|
|
14
16
|
*/
|
|
15
17
|
avg?: number;
|
|
18
|
+
|
|
16
19
|
/**
|
|
17
20
|
* The sum of all values in the result set.
|
|
18
21
|
*/
|
|
@@ -5,42 +5,52 @@ export type FetchedIndex = {
|
|
|
5
5
|
* Index name.
|
|
6
6
|
*/
|
|
7
7
|
name: string;
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
10
|
* Index creation date. An empty string means that the index has no records.
|
|
10
11
|
*/
|
|
11
12
|
createdAt: string;
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* Date of last update (ISO-8601 format).
|
|
14
16
|
*/
|
|
15
17
|
updatedAt: string;
|
|
18
|
+
|
|
16
19
|
/**
|
|
17
20
|
* Number of records contained in the index.
|
|
18
21
|
*/
|
|
19
22
|
entries: number;
|
|
23
|
+
|
|
20
24
|
/**
|
|
21
25
|
* Number of bytes of the index in minified format.
|
|
22
26
|
*/
|
|
23
27
|
dataSize: number;
|
|
28
|
+
|
|
24
29
|
/**
|
|
25
30
|
* Number of bytes of the index binary file.
|
|
26
31
|
*/
|
|
27
32
|
fileSize: number;
|
|
33
|
+
|
|
28
34
|
/**
|
|
29
35
|
* Last build time.
|
|
30
36
|
*/
|
|
31
37
|
lastBuildTimeS: number;
|
|
38
|
+
|
|
32
39
|
/**
|
|
33
40
|
* Number of pending indexing operations. This value is deprecated and should not be used.
|
|
34
41
|
*/
|
|
35
42
|
numberOfPendingTask?: number;
|
|
43
|
+
|
|
36
44
|
/**
|
|
37
45
|
* A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
|
|
38
46
|
*/
|
|
39
47
|
pendingTask: boolean;
|
|
48
|
+
|
|
40
49
|
/**
|
|
41
50
|
* Only present if the index is a replica. Contains the name of the related primary index.
|
|
42
51
|
*/
|
|
43
52
|
primary?: string;
|
|
53
|
+
|
|
44
54
|
/**
|
|
45
55
|
* Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
|
|
46
56
|
*/
|
|
@@ -10,11 +10,14 @@ export type HighlightResultOption = {
|
|
|
10
10
|
* Markup text with occurrences highlighted.
|
|
11
11
|
*/
|
|
12
12
|
value: string;
|
|
13
|
+
|
|
13
14
|
matchLevel: MatchLevel;
|
|
15
|
+
|
|
14
16
|
/**
|
|
15
17
|
* List of words from the query that matched the object.
|
|
16
18
|
*/
|
|
17
19
|
matchedWords: string[];
|
|
20
|
+
|
|
18
21
|
/**
|
|
19
22
|
* Whether the entire attribute value is highlighted.
|
|
20
23
|
*/
|
package/lite/model/hit.ts
CHANGED
|
@@ -7,19 +7,23 @@ import type { SnippetResult } from './snippetResult';
|
|
|
7
7
|
/**
|
|
8
8
|
* A single hit.
|
|
9
9
|
*/
|
|
10
|
-
export type Hit<T
|
|
10
|
+
export type Hit<T = Record<string, any>> = T & {
|
|
11
11
|
/**
|
|
12
12
|
* Unique identifier of the object.
|
|
13
13
|
*/
|
|
14
14
|
objectID: string;
|
|
15
|
+
|
|
15
16
|
/**
|
|
16
17
|
* Show highlighted section and words matched on a query.
|
|
17
18
|
*/
|
|
18
19
|
_highlightResult?: Record<string, HighlightResult>;
|
|
20
|
+
|
|
19
21
|
/**
|
|
20
22
|
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
21
23
|
*/
|
|
22
24
|
_snippetResult?: Record<string, SnippetResult>;
|
|
25
|
+
|
|
23
26
|
_rankingInfo?: RankingInfo;
|
|
27
|
+
|
|
24
28
|
_distinctSeqID?: number;
|
|
25
29
|
};
|
package/lite/model/index.ts
CHANGED
|
@@ -32,6 +32,7 @@ export * from './dictionaryEntry';
|
|
|
32
32
|
export * from './dictionaryEntryState';
|
|
33
33
|
export * from './dictionaryLanguage';
|
|
34
34
|
export * from './dictionaryType';
|
|
35
|
+
export * from './distinct';
|
|
35
36
|
export * from './edit';
|
|
36
37
|
export * from './editType';
|
|
37
38
|
export * from './errorBase';
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { AdvancedSyntaxFeatures } from './advancedSyntaxFeatures';
|
|
4
4
|
import type { AlternativesAsExact } from './alternativesAsExact';
|
|
5
|
+
import type { Distinct } from './distinct';
|
|
5
6
|
import type { ExactOnSingleWordQuery } from './exactOnSingleWordQuery';
|
|
6
7
|
import type { IgnorePlurals } from './ignorePlurals';
|
|
7
8
|
import type { QueryType } from './queryType';
|
|
@@ -15,147 +16,185 @@ export type IndexSettingsAsSearchParams = {
|
|
|
15
16
|
* The complete list of attributes that will be used for faceting.
|
|
16
17
|
*/
|
|
17
18
|
attributesForFaceting?: string[];
|
|
19
|
+
|
|
18
20
|
/**
|
|
19
21
|
* List of attributes that can\'t be retrieved at query time.
|
|
20
22
|
*/
|
|
21
23
|
unretrievableAttributes?: string[];
|
|
24
|
+
|
|
22
25
|
/**
|
|
23
26
|
* This parameter controls which attributes to retrieve and which not to retrieve.
|
|
24
27
|
*/
|
|
25
28
|
attributesToRetrieve?: string[];
|
|
29
|
+
|
|
26
30
|
/**
|
|
27
31
|
* Restricts a given query to look in only a subset of your searchable attributes.
|
|
28
32
|
*/
|
|
29
33
|
restrictSearchableAttributes?: string[];
|
|
34
|
+
|
|
30
35
|
/**
|
|
31
36
|
* Controls how Algolia should sort your results.
|
|
32
37
|
*/
|
|
33
38
|
ranking?: string[];
|
|
39
|
+
|
|
34
40
|
/**
|
|
35
41
|
* Specifies the custom ranking criterion.
|
|
36
42
|
*/
|
|
37
43
|
customRanking?: string[];
|
|
44
|
+
|
|
38
45
|
/**
|
|
39
46
|
* Controls the relevancy threshold below which less relevant results aren\'t included in the results.
|
|
40
47
|
*/
|
|
41
48
|
relevancyStrictness?: number;
|
|
49
|
+
|
|
42
50
|
/**
|
|
43
51
|
* List of attributes to highlight.
|
|
44
52
|
*/
|
|
45
53
|
attributesToHighlight?: string[];
|
|
54
|
+
|
|
46
55
|
/**
|
|
47
56
|
* List of attributes to snippet, with an optional maximum number of words to snippet.
|
|
48
57
|
*/
|
|
49
58
|
attributesToSnippet?: string[];
|
|
59
|
+
|
|
50
60
|
/**
|
|
51
61
|
* The HTML string to insert before the highlighted parts in all highlight and snippet results.
|
|
52
62
|
*/
|
|
53
63
|
highlightPreTag?: string;
|
|
64
|
+
|
|
54
65
|
/**
|
|
55
66
|
* The HTML string to insert after the highlighted parts in all highlight and snippet results.
|
|
56
67
|
*/
|
|
57
68
|
highlightPostTag?: string;
|
|
69
|
+
|
|
58
70
|
/**
|
|
59
71
|
* String used as an ellipsis indicator when a snippet is truncated.
|
|
60
72
|
*/
|
|
61
73
|
snippetEllipsisText?: string;
|
|
74
|
+
|
|
62
75
|
/**
|
|
63
76
|
* Restrict highlighting and snippeting to items that matched the query.
|
|
64
77
|
*/
|
|
65
78
|
restrictHighlightAndSnippetArrays?: boolean;
|
|
79
|
+
|
|
66
80
|
/**
|
|
67
81
|
* Set the number of hits per page.
|
|
68
82
|
*/
|
|
69
83
|
hitsPerPage?: number;
|
|
84
|
+
|
|
70
85
|
/**
|
|
71
86
|
* Minimum number of characters a word in the query string must contain to accept matches with 1 typo.
|
|
72
87
|
*/
|
|
73
88
|
minWordSizefor1Typo?: number;
|
|
89
|
+
|
|
74
90
|
/**
|
|
75
91
|
* Minimum number of characters a word in the query string must contain to accept matches with 2 typos.
|
|
76
92
|
*/
|
|
77
93
|
minWordSizefor2Typos?: number;
|
|
94
|
+
|
|
78
95
|
typoTolerance?: TypoTolerance;
|
|
96
|
+
|
|
79
97
|
/**
|
|
80
98
|
* Whether to allow typos on numbers (\"numeric tokens\") in the query string.
|
|
81
99
|
*/
|
|
82
100
|
allowTyposOnNumericTokens?: boolean;
|
|
101
|
+
|
|
83
102
|
/**
|
|
84
103
|
* List of attributes on which you want to disable typo tolerance.
|
|
85
104
|
*/
|
|
86
105
|
disableTypoToleranceOnAttributes?: string[];
|
|
106
|
+
|
|
87
107
|
ignorePlurals?: IgnorePlurals;
|
|
108
|
+
|
|
88
109
|
removeStopWords?: RemoveStopWords;
|
|
110
|
+
|
|
89
111
|
/**
|
|
90
112
|
* List of characters that the engine shouldn\'t automatically normalize.
|
|
91
113
|
*/
|
|
92
114
|
keepDiacriticsOnCharacters?: string;
|
|
115
|
+
|
|
93
116
|
/**
|
|
94
117
|
* Sets the languages to be used by language-specific settings and functionalities such as ignorePlurals, removeStopWords, and CJK word-detection.
|
|
95
118
|
*/
|
|
96
119
|
queryLanguages?: string[];
|
|
120
|
+
|
|
97
121
|
/**
|
|
98
122
|
* Splits compound words into their composing atoms in the query.
|
|
99
123
|
*/
|
|
100
124
|
decompoundQuery?: boolean;
|
|
125
|
+
|
|
101
126
|
/**
|
|
102
127
|
* Whether Rules should be globally enabled.
|
|
103
128
|
*/
|
|
104
129
|
enableRules?: boolean;
|
|
130
|
+
|
|
105
131
|
/**
|
|
106
132
|
* Enable the Personalization feature.
|
|
107
133
|
*/
|
|
108
134
|
enablePersonalization?: boolean;
|
|
135
|
+
|
|
109
136
|
queryType?: QueryType;
|
|
137
|
+
|
|
110
138
|
removeWordsIfNoResults?: RemoveWordsIfNoResults;
|
|
139
|
+
|
|
111
140
|
/**
|
|
112
141
|
* Enables the advanced query syntax.
|
|
113
142
|
*/
|
|
114
143
|
advancedSyntax?: boolean;
|
|
144
|
+
|
|
115
145
|
/**
|
|
116
146
|
* A list of words that should be considered as optional when found in the query.
|
|
117
147
|
*/
|
|
118
148
|
optionalWords?: string[];
|
|
149
|
+
|
|
119
150
|
/**
|
|
120
151
|
* List of attributes on which you want to disable the exact ranking criterion.
|
|
121
152
|
*/
|
|
122
153
|
disableExactOnAttributes?: string[];
|
|
154
|
+
|
|
123
155
|
exactOnSingleWordQuery?: ExactOnSingleWordQuery;
|
|
156
|
+
|
|
124
157
|
/**
|
|
125
158
|
* List of alternatives that should be considered an exact match by the exact ranking criterion.
|
|
126
159
|
*/
|
|
127
160
|
alternativesAsExact?: AlternativesAsExact[];
|
|
161
|
+
|
|
128
162
|
/**
|
|
129
163
|
* Allows you to specify which advanced syntax features are active when ‘advancedSyntax\' is enabled.
|
|
130
164
|
*/
|
|
131
165
|
advancedSyntaxFeatures?: AdvancedSyntaxFeatures[];
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
distinct?: number;
|
|
166
|
+
|
|
167
|
+
distinct?: Distinct;
|
|
168
|
+
|
|
136
169
|
/**
|
|
137
170
|
* Whether to take into account an index\'s synonyms for a particular search.
|
|
138
171
|
*/
|
|
139
172
|
synonyms?: boolean;
|
|
173
|
+
|
|
140
174
|
/**
|
|
141
175
|
* Whether to highlight and snippet the original word that matches the synonym or the synonym itself.
|
|
142
176
|
*/
|
|
143
177
|
replaceSynonymsInHighlight?: boolean;
|
|
178
|
+
|
|
144
179
|
/**
|
|
145
180
|
* Precision of the proximity ranking criterion.
|
|
146
181
|
*/
|
|
147
182
|
minProximity?: number;
|
|
183
|
+
|
|
148
184
|
/**
|
|
149
185
|
* Choose which fields to return in the API response. This parameters applies to search and browse queries.
|
|
150
186
|
*/
|
|
151
187
|
responseFields?: string[];
|
|
188
|
+
|
|
152
189
|
/**
|
|
153
190
|
* Maximum number of facet hits to return during a search for facet values. For performance reasons, the maximum allowed number of returned values is 100.
|
|
154
191
|
*/
|
|
155
192
|
maxFacetHits?: number;
|
|
193
|
+
|
|
156
194
|
/**
|
|
157
195
|
* When attribute is ranked above proximity in your ranking formula, proximity is used to select which searchable attribute is matched in the attribute ranking stage.
|
|
158
196
|
*/
|
|
159
197
|
attributeCriteriaComputedByMinProximity?: boolean;
|
|
198
|
+
|
|
160
199
|
renderingContent?: RenderingContent;
|
|
161
200
|
};
|
package/lite/model/languages.ts
CHANGED
|
@@ -5,10 +5,12 @@ export type MatchedGeoLocation = {
|
|
|
5
5
|
* Latitude of the matched location.
|
|
6
6
|
*/
|
|
7
7
|
lat?: number;
|
|
8
|
+
|
|
8
9
|
/**
|
|
9
10
|
* Longitude of the matched location.
|
|
10
11
|
*/
|
|
11
12
|
lng?: number;
|
|
13
|
+
|
|
12
14
|
/**
|
|
13
15
|
* Distance between the matched location and the search location (in meters).
|
|
14
16
|
*/
|
package/lite/model/params.ts
CHANGED
|
@@ -9,7 +9,10 @@ import type { RenderingContent } from './renderingContent';
|
|
|
9
9
|
*/
|
|
10
10
|
export type Params = {
|
|
11
11
|
query?: ConsequenceQuery;
|
|
12
|
+
|
|
12
13
|
automaticFacetFilters?: AutomaticFacetFilters;
|
|
14
|
+
|
|
13
15
|
automaticOptionalFacetFilters?: AutomaticFacetFilters;
|
|
16
|
+
|
|
14
17
|
renderingContent?: RenderingContent;
|
|
15
18
|
};
|
|
@@ -8,6 +8,7 @@ export type PromoteObjectID = {
|
|
|
8
8
|
* Unique identifier of the object to promote.
|
|
9
9
|
*/
|
|
10
10
|
objectID: string;
|
|
11
|
+
|
|
11
12
|
/**
|
|
12
13
|
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
13
14
|
*/
|
|
@@ -8,6 +8,7 @@ export type PromoteObjectIDs = {
|
|
|
8
8
|
* Array of unique identifiers of the objects to promote.
|
|
9
9
|
*/
|
|
10
10
|
objectIDs: string[];
|
|
11
|
+
|
|
11
12
|
/**
|
|
12
13
|
* The position to promote the objects to (zero-based). If you pass objectIDs, the objects are placed at this position as a group. For example, if you pass four objectIDs to position 0, the objects take the first four positions.
|
|
13
14
|
*/
|