algoliasearch 5.0.0-alpha.52 → 5.0.0-alpha.54
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/algoliasearch/builds/models.d.ts +31 -31
- package/dist/algoliasearch/jest.config.d.ts +3 -3
- package/dist/algoliasearch.cjs.js +3487 -3485
- package/dist/algoliasearch.esm.browser.js +3620 -3618
- package/dist/algoliasearch.esm.node.js +3487 -3485
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/builds/browser.d.ts +87 -87
- package/dist/builds/node.d.ts +87 -87
- package/dist/client-abtesting/model/aBTest.d.ts +39 -39
- package/dist/client-abtesting/model/aBTestResponse.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariant.d.ts +14 -14
- package/dist/client-abtesting/model/abTestsVariantSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/addABTestsRequest.d.ts +15 -15
- package/dist/client-abtesting/model/addABTestsVariant.d.ts +3 -3
- package/dist/client-abtesting/model/clientMethodProps.d.ts +100 -100
- package/dist/client-abtesting/model/customSearchParams.d.ts +3 -3
- package/dist/client-abtesting/model/errorBase.d.ts +6 -6
- package/dist/client-abtesting/model/index.d.ts +11 -11
- package/dist/client-abtesting/model/listABTestsResponse.d.ts +15 -15
- package/dist/client-abtesting/model/variant.d.ts +50 -50
- package/dist/client-abtesting/src/abtestingClient.d.ts +124 -124
- package/dist/client-analytics/model/averageClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/clickPosition.d.ts +10 -10
- package/dist/client-analytics/model/clickThroughRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/clientMethodProps.d.ts +507 -507
- package/dist/client-analytics/model/conversionRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/direction.d.ts +1 -1
- package/dist/client-analytics/model/errorBase.d.ts +6 -6
- package/dist/client-analytics/model/getAverageClickPositionResponse.d.ts +15 -15
- package/dist/client-analytics/model/getClickPositionsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getClickThroughRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getConversationRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoClickRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getNoResultsRateResponse.d.ts +19 -19
- package/dist/client-analytics/model/getSearchesCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/getSearchesNoClicksResponse.d.ts +7 -7
- package/dist/client-analytics/model/getSearchesNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getStatusResponse.d.ts +6 -6
- package/dist/client-analytics/model/getTopCountriesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterAttribute.d.ts +10 -10
- package/dist/client-analytics/model/getTopFilterAttributesResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFilterForAttribute.d.ts +18 -18
- package/dist/client-analytics/model/getTopFilterForAttributeResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsResponse.d.ts +7 -7
- package/dist/client-analytics/model/getTopFiltersNoResultsValue.d.ts +14 -14
- package/dist/client-analytics/model/getTopFiltersNoResultsValues.d.ts +11 -11
- package/dist/client-analytics/model/getTopHitsResponse.d.ts +3 -3
- package/dist/client-analytics/model/getTopSearchesResponse.d.ts +3 -3
- package/dist/client-analytics/model/getUsersCountResponse.d.ts +11 -11
- package/dist/client-analytics/model/index.d.ts +44 -44
- package/dist/client-analytics/model/noClickRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/noResultsRateEvent.d.ts +18 -18
- package/dist/client-analytics/model/orderBy.d.ts +1 -1
- package/dist/client-analytics/model/searchEvent.d.ts +10 -10
- package/dist/client-analytics/model/searchNoClickEvent.d.ts +14 -14
- package/dist/client-analytics/model/searchNoResultEvent.d.ts +14 -14
- package/dist/client-analytics/model/topCountry.d.ts +10 -10
- package/dist/client-analytics/model/topHit.d.ts +10 -10
- package/dist/client-analytics/model/topHitWithAnalytics.d.ts +30 -30
- package/dist/client-analytics/model/topHitsResponse.d.ts +7 -7
- package/dist/client-analytics/model/topHitsResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/topSearch.d.ts +14 -14
- package/dist/client-analytics/model/topSearchWithAnalytics.d.ts +38 -38
- package/dist/client-analytics/model/topSearchesResponse.d.ts +7 -7
- package/dist/client-analytics/model/topSearchesResponseWithAnalytics.d.ts +7 -7
- package/dist/client-analytics/model/userWithDate.d.ts +10 -10
- package/dist/client-analytics/src/analyticsClient.d.ts +318 -318
- package/dist/client-personalization/model/clientMethodProps.d.ts +78 -78
- package/dist/client-personalization/model/deleteUserProfileResponse.d.ts +10 -10
- package/dist/client-personalization/model/errorBase.d.ts +6 -6
- package/dist/client-personalization/model/eventScoring.d.ts +14 -14
- package/dist/client-personalization/model/facetScoring.d.ts +10 -10
- package/dist/client-personalization/model/getUserTokenResponse.d.ts +14 -14
- package/dist/client-personalization/model/index.d.ts +8 -8
- package/dist/client-personalization/model/personalizationStrategyParams.d.ts +16 -16
- package/dist/client-personalization/model/setPersonalizationStrategyResponse.d.ts +6 -6
- package/dist/client-personalization/src/personalizationClient.d.ts +112 -112
- package/dist/client-search/model/acl.d.ts +4 -4
- package/dist/client-search/model/action.d.ts +4 -4
- package/dist/client-search/model/addApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/client-search/model/alternativesAsExact.d.ts +1 -1
- package/dist/client-search/model/anchoring.d.ts +4 -4
- package/dist/client-search/model/apiKey.d.ts +38 -38
- package/dist/client-search/model/aroundRadius.d.ts +5 -5
- package/dist/client-search/model/aroundRadiusAll.d.ts +1 -1
- package/dist/client-search/model/assignUserIdParams.d.ts +9 -9
- package/dist/client-search/model/attributeToUpdate.d.ts +2 -2
- package/dist/client-search/model/automaticFacetFilter.d.ts +17 -17
- package/dist/client-search/model/automaticFacetFilters.d.ts +5 -5
- package/dist/client-search/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/baseIndexSettings.d.ts +62 -62
- package/dist/client-search/model/baseSearchParams.d.ts +3 -3
- package/dist/client-search/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/client-search/model/baseSearchResponse.d.ts +101 -101
- package/dist/client-search/model/batchAssignUserIdsParams.d.ts +13 -13
- package/dist/client-search/model/batchDictionaryEntriesParams.d.ts +14 -14
- package/dist/client-search/model/batchDictionaryEntriesRequest.d.ts +6 -6
- package/dist/client-search/model/batchParams.d.ts +7 -7
- package/dist/client-search/model/batchRequest.d.ts +8 -8
- package/dist/client-search/model/batchResponse.d.ts +10 -10
- package/dist/client-search/model/batchWriteParams.d.ts +7 -7
- package/dist/client-search/model/browseParams.d.ts +3 -3
- package/dist/client-search/model/browseParamsObject.d.ts +3 -3
- package/dist/client-search/model/browseResponse.d.ts +4 -4
- package/dist/client-search/model/builtInOperation.d.ts +11 -11
- package/dist/client-search/model/builtInOperationType.d.ts +4 -4
- package/dist/client-search/model/clientMethodProps.d.ts +715 -715
- package/dist/client-search/model/condition.d.ts +16 -16
- package/dist/client-search/model/consequence.d.ts +25 -25
- package/dist/client-search/model/consequenceHide.d.ts +9 -9
- package/dist/client-search/model/consequenceParams.d.ts +4 -4
- package/dist/client-search/model/consequenceQuery.d.ts +5 -5
- package/dist/client-search/model/consequenceQueryObject.d.ts +11 -11
- package/dist/client-search/model/createdAtResponse.d.ts +9 -9
- package/dist/client-search/model/cursor.d.ts +6 -6
- package/dist/client-search/model/deleteApiKeyResponse.d.ts +6 -6
- package/dist/client-search/model/deleteByParams.d.ts +26 -26
- package/dist/client-search/model/deleteSourceResponse.d.ts +6 -6
- package/dist/client-search/model/deletedAtResponse.d.ts +13 -13
- package/dist/client-search/model/dictionaryAction.d.ts +4 -4
- package/dist/client-search/model/dictionaryEntry.d.ts +27 -27
- package/dist/client-search/model/dictionaryEntryState.d.ts +4 -4
- package/dist/client-search/model/dictionaryLanguage.d.ts +9 -9
- package/dist/client-search/model/dictionarySettingsParams.d.ts +7 -7
- package/dist/client-search/model/dictionaryType.d.ts +1 -1
- package/dist/client-search/model/distinct.d.ts +4 -4
- package/dist/client-search/model/edit.d.ts +12 -12
- package/dist/client-search/model/editType.d.ts +4 -4
- package/dist/client-search/model/errorBase.d.ts +6 -6
- package/dist/client-search/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/client-search/model/facetFilters.d.ts +5 -5
- package/dist/client-search/model/facetHits.d.ts +14 -14
- package/dist/client-search/model/facetOrdering.d.ts +12 -12
- package/dist/client-search/model/facets.d.ts +9 -9
- package/dist/client-search/model/facetsStats.d.ts +18 -18
- package/dist/client-search/model/fetchedIndex.d.ts +46 -46
- package/dist/client-search/model/getApiKeyResponse.d.ts +3 -3
- package/dist/client-search/model/getDictionarySettingsResponse.d.ts +4 -4
- package/dist/client-search/model/getLogsResponse.d.ts +4 -4
- package/dist/client-search/model/getObjectsParams.d.ts +7 -7
- package/dist/client-search/model/getObjectsRequest.d.ts +17 -17
- package/dist/client-search/model/getObjectsResponse.d.ts +6 -6
- package/dist/client-search/model/getTaskResponse.d.ts +4 -4
- package/dist/client-search/model/getTopUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/hasPendingMappingsResponse.d.ts +10 -10
- package/dist/client-search/model/highlightResult.d.ts +2 -2
- package/dist/client-search/model/highlightResultOption.d.ts +19 -19
- package/dist/client-search/model/hit.d.ts +22 -22
- package/dist/client-search/model/ignorePlurals.d.ts +4 -4
- package/dist/client-search/model/index.d.ts +154 -154
- package/dist/client-search/model/indexSettings.d.ts +6 -6
- package/dist/client-search/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/client-search/model/languages.d.ts +9 -9
- package/dist/client-search/model/listApiKeysResponse.d.ts +7 -7
- package/dist/client-search/model/listClustersResponse.d.ts +9 -9
- package/dist/client-search/model/listIndicesResponse.d.ts +11 -11
- package/dist/client-search/model/listUserIdsResponse.d.ts +10 -10
- package/dist/client-search/model/log.d.ts +63 -63
- package/dist/client-search/model/logQuery.d.ts +14 -14
- package/dist/client-search/model/logType.d.ts +1 -1
- package/dist/client-search/model/matchLevel.d.ts +4 -4
- package/dist/client-search/model/matchedGeoLocation.d.ts +14 -14
- package/dist/client-search/model/mixedSearchFilters.d.ts +1 -1
- package/dist/client-search/model/multipleBatchRequest.d.ts +12 -12
- package/dist/client-search/model/multipleBatchResponse.d.ts +10 -10
- package/dist/client-search/model/numericFilters.d.ts +5 -5
- package/dist/client-search/model/operationIndexParams.d.ts +13 -13
- package/dist/client-search/model/operationType.d.ts +4 -4
- package/dist/client-search/model/optionalFilters.d.ts +5 -5
- package/dist/client-search/model/params.d.ts +12 -12
- package/dist/client-search/model/personalization.d.ts +14 -14
- package/dist/client-search/model/promote.d.ts +3 -3
- package/dist/client-search/model/promoteObjectID.d.ts +13 -13
- package/dist/client-search/model/promoteObjectIDs.d.ts +13 -13
- package/dist/client-search/model/queryType.d.ts +4 -4
- package/dist/client-search/model/rankingInfo.d.ts +50 -50
- package/dist/client-search/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/client-search/model/removeStopWords.d.ts +4 -4
- package/dist/client-search/model/removeUserIdResponse.d.ts +6 -6
- package/dist/client-search/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/client-search/model/renderingContent.d.ts +7 -7
- package/dist/client-search/model/replaceSourceResponse.d.ts +6 -6
- package/dist/client-search/model/rule.d.ts +29 -29
- package/dist/client-search/model/saveObjectResponse.d.ts +11 -11
- package/dist/client-search/model/saveSynonymResponse.d.ts +14 -14
- package/dist/client-search/model/scopeType.d.ts +1 -1
- package/dist/client-search/model/searchDictionaryEntriesParams.d.ts +21 -21
- package/dist/client-search/model/searchForFacetValuesRequest.d.ts +14 -14
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +4 -4
- package/dist/client-search/model/searchForFacets.d.ts +3 -3
- package/dist/client-search/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/client-search/model/searchForHits.d.ts +3 -3
- package/dist/client-search/model/searchForHitsOptions.d.ts +12 -12
- package/dist/client-search/model/searchHits.d.ts +4 -4
- package/dist/client-search/model/searchMethodParams.d.ts +6 -6
- package/dist/client-search/model/searchParams.d.ts +3 -3
- package/dist/client-search/model/searchParamsObject.d.ts +3 -3
- package/dist/client-search/model/searchParamsQuery.d.ts +6 -6
- package/dist/client-search/model/searchParamsString.d.ts +6 -6
- package/dist/client-search/model/searchQuery.d.ts +3 -3
- package/dist/client-search/model/searchResponse.d.ts +3 -3
- package/dist/client-search/model/searchResponses.d.ts +4 -4
- package/dist/client-search/model/searchRulesParams.d.ts +31 -31
- package/dist/client-search/model/searchRulesResponse.d.ts +19 -19
- package/dist/client-search/model/searchStrategy.d.ts +1 -1
- package/dist/client-search/model/searchSynonymsParams.d.ts +6 -6
- package/dist/client-search/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/client-search/model/searchTypeDefault.d.ts +4 -4
- package/dist/client-search/model/searchTypeFacet.d.ts +4 -4
- package/dist/client-search/model/searchUserIdsParams.d.ts +21 -21
- package/dist/client-search/model/searchUserIdsResponse.d.ts +26 -26
- package/dist/client-search/model/snippetResult.d.ts +2 -2
- package/dist/client-search/model/snippetResultOption.d.ts +11 -11
- package/dist/client-search/model/sortRemainingBy.d.ts +4 -4
- package/dist/client-search/model/source.d.ts +13 -13
- package/dist/client-search/model/standardEntries.d.ts +17 -17
- package/dist/client-search/model/synonymHit.d.ts +35 -35
- package/dist/client-search/model/synonymType.d.ts +4 -4
- package/dist/client-search/model/tagFilters.d.ts +5 -5
- package/dist/client-search/model/taskStatus.d.ts +1 -1
- package/dist/client-search/model/timeRange.d.ts +10 -10
- package/dist/client-search/model/typoTolerance.d.ts +5 -5
- package/dist/client-search/model/typoToleranceEnum.d.ts +1 -1
- package/dist/client-search/model/updateApiKeyResponse.d.ts +10 -10
- package/dist/client-search/model/updatedAtResponse.d.ts +13 -13
- package/dist/client-search/model/updatedAtWithObjectIdResponse.d.ts +17 -17
- package/dist/client-search/model/updatedRuleResponse.d.ts +14 -14
- package/dist/client-search/model/userHighlightResult.d.ts +11 -11
- package/dist/client-search/model/userHit.d.ts +24 -24
- package/dist/client-search/model/userId.d.ts +21 -21
- package/dist/client-search/model/value.d.ts +8 -8
- package/dist/client-search/src/searchClient.d.ts +723 -723
- package/dist/lite/builds/browser.d.ts +5 -5
- package/dist/lite/builds/node.d.ts +5 -5
- package/dist/lite/lite.cjs.js +183 -183
- package/dist/lite/lite.esm.browser.js +307 -307
- package/dist/lite/lite.esm.node.js +183 -183
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/acl.d.ts +4 -4
- package/dist/lite/model/action.d.ts +4 -4
- package/dist/lite/model/addApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/advancedSyntaxFeatures.d.ts +1 -1
- package/dist/lite/model/alternativesAsExact.d.ts +1 -1
- package/dist/lite/model/anchoring.d.ts +4 -4
- package/dist/lite/model/apiKey.d.ts +38 -38
- package/dist/lite/model/aroundRadius.d.ts +5 -5
- package/dist/lite/model/aroundRadiusAll.d.ts +1 -1
- package/dist/lite/model/attributeToUpdate.d.ts +2 -2
- package/dist/lite/model/automaticFacetFilter.d.ts +17 -17
- package/dist/lite/model/automaticFacetFilters.d.ts +5 -5
- package/dist/lite/model/baseGetApiKeyResponse.d.ts +10 -10
- package/dist/lite/model/baseIndexSettings.d.ts +62 -62
- package/dist/lite/model/baseSearchParams.d.ts +3 -3
- package/dist/lite/model/baseSearchParamsWithoutQuery.d.ts +122 -122
- package/dist/lite/model/baseSearchResponse.d.ts +101 -101
- package/dist/lite/model/browseParams.d.ts +3 -3
- package/dist/lite/model/browseParamsObject.d.ts +3 -3
- package/dist/lite/model/browseResponse.d.ts +4 -4
- package/dist/lite/model/builtInOperation.d.ts +11 -11
- package/dist/lite/model/builtInOperationType.d.ts +4 -4
- package/dist/lite/model/clientMethodProps.d.ts +48 -48
- package/dist/lite/model/condition.d.ts +16 -16
- package/dist/lite/model/consequence.d.ts +25 -25
- package/dist/lite/model/consequenceHide.d.ts +9 -9
- package/dist/lite/model/consequenceParams.d.ts +4 -4
- package/dist/lite/model/consequenceQuery.d.ts +5 -5
- package/dist/lite/model/consequenceQueryObject.d.ts +11 -11
- package/dist/lite/model/cursor.d.ts +6 -6
- package/dist/lite/model/deleteByParams.d.ts +26 -26
- package/dist/lite/model/dictionaryAction.d.ts +4 -4
- package/dist/lite/model/dictionaryEntry.d.ts +27 -27
- package/dist/lite/model/dictionaryEntryState.d.ts +4 -4
- package/dist/lite/model/dictionaryLanguage.d.ts +9 -9
- package/dist/lite/model/dictionaryType.d.ts +1 -1
- package/dist/lite/model/distinct.d.ts +4 -4
- package/dist/lite/model/edit.d.ts +12 -12
- package/dist/lite/model/editType.d.ts +4 -4
- package/dist/lite/model/errorBase.d.ts +6 -6
- package/dist/lite/model/exactOnSingleWordQuery.d.ts +4 -4
- package/dist/lite/model/facetFilters.d.ts +5 -5
- package/dist/lite/model/facetOrdering.d.ts +12 -12
- package/dist/lite/model/facets.d.ts +9 -9
- package/dist/lite/model/facetsStats.d.ts +18 -18
- package/dist/lite/model/fetchedIndex.d.ts +46 -46
- package/dist/lite/model/getApiKeyResponse.d.ts +3 -3
- package/dist/lite/model/highlightResult.d.ts +2 -2
- package/dist/lite/model/highlightResultOption.d.ts +19 -19
- package/dist/lite/model/hit.d.ts +22 -22
- package/dist/lite/model/ignorePlurals.d.ts +4 -4
- package/dist/lite/model/index.d.ts +107 -107
- package/dist/lite/model/indexSettings.d.ts +6 -6
- package/dist/lite/model/indexSettingsAsSearchParams.d.ts +156 -156
- package/dist/lite/model/languages.d.ts +9 -9
- package/dist/lite/model/listIndicesResponse.d.ts +11 -11
- package/dist/lite/model/logType.d.ts +1 -1
- package/dist/lite/model/matchLevel.d.ts +4 -4
- package/dist/lite/model/matchedGeoLocation.d.ts +14 -14
- package/dist/lite/model/mixedSearchFilters.d.ts +1 -1
- package/dist/lite/model/numericFilters.d.ts +5 -5
- package/dist/lite/model/operationType.d.ts +4 -4
- package/dist/lite/model/optionalFilters.d.ts +5 -5
- package/dist/lite/model/params.d.ts +12 -12
- package/dist/lite/model/personalization.d.ts +14 -14
- package/dist/lite/model/promote.d.ts +3 -3
- package/dist/lite/model/promoteObjectID.d.ts +13 -13
- package/dist/lite/model/promoteObjectIDs.d.ts +13 -13
- package/dist/lite/model/queryType.d.ts +4 -4
- package/dist/lite/model/rankingInfo.d.ts +50 -50
- package/dist/lite/model/reRankingApplyFilter.d.ts +5 -5
- package/dist/lite/model/removeStopWords.d.ts +4 -4
- package/dist/lite/model/removeWordsIfNoResults.d.ts +4 -4
- package/dist/lite/model/renderingContent.d.ts +7 -7
- package/dist/lite/model/rule.d.ts +29 -29
- package/dist/lite/model/scopeType.d.ts +1 -1
- package/dist/lite/model/searchForFacets.d.ts +3 -3
- package/dist/lite/model/searchForFacetsOptions.d.ts +20 -20
- package/dist/lite/model/searchForHits.d.ts +3 -3
- package/dist/lite/model/searchForHitsOptions.d.ts +12 -12
- package/dist/lite/model/searchHits.d.ts +4 -4
- package/dist/lite/model/searchMethodParams.d.ts +6 -6
- package/dist/lite/model/searchParams.d.ts +3 -3
- package/dist/lite/model/searchParamsObject.d.ts +3 -3
- package/dist/lite/model/searchParamsQuery.d.ts +6 -6
- package/dist/lite/model/searchParamsString.d.ts +6 -6
- package/dist/lite/model/searchQuery.d.ts +3 -3
- package/dist/lite/model/searchResponse.d.ts +3 -3
- package/dist/lite/model/searchResponses.d.ts +4 -4
- package/dist/lite/model/searchStrategy.d.ts +1 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +11 -11
- package/dist/lite/model/searchTypeDefault.d.ts +4 -4
- package/dist/lite/model/searchTypeFacet.d.ts +4 -4
- package/dist/lite/model/snippetResult.d.ts +2 -2
- package/dist/lite/model/snippetResultOption.d.ts +11 -11
- package/dist/lite/model/sortRemainingBy.d.ts +4 -4
- package/dist/lite/model/source.d.ts +13 -13
- package/dist/lite/model/standardEntries.d.ts +17 -17
- package/dist/lite/model/synonymHit.d.ts +35 -35
- package/dist/lite/model/synonymType.d.ts +4 -4
- package/dist/lite/model/tagFilters.d.ts +5 -5
- package/dist/lite/model/taskStatus.d.ts +1 -1
- package/dist/lite/model/timeRange.d.ts +10 -10
- package/dist/lite/model/typoTolerance.d.ts +5 -5
- package/dist/lite/model/typoToleranceEnum.d.ts +1 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +14 -14
- package/dist/lite/model/userId.d.ts +21 -21
- package/dist/lite/model/value.d.ts +8 -8
- package/dist/lite/src/liteClient.d.ts +50 -50
- package/lite/src/liteClient.ts +1 -1
- package/package.json +12 -12
|
@@ -1,51 +1,51 @@
|
|
|
1
|
-
import type { MatchedGeoLocation } from './matchedGeoLocation';
|
|
2
|
-
import type { Personalization } from './personalization';
|
|
3
|
-
export type RankingInfo = {
|
|
4
|
-
/**
|
|
5
|
-
* This field is reserved for advanced usage.
|
|
6
|
-
*/
|
|
7
|
-
filters: number;
|
|
8
|
-
/**
|
|
9
|
-
* Position of the most important matched attribute in the attributes to index list.
|
|
10
|
-
*/
|
|
11
|
-
firstMatchedWord: number;
|
|
12
|
-
/**
|
|
13
|
-
* Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
|
|
14
|
-
*/
|
|
15
|
-
geoDistance: number;
|
|
16
|
-
/**
|
|
17
|
-
* Precision used when computing the geo distance, in meters.
|
|
18
|
-
*/
|
|
19
|
-
geoPrecision?: number;
|
|
20
|
-
matchedGeoLocation?: MatchedGeoLocation;
|
|
21
|
-
personalization?: Personalization;
|
|
22
|
-
/**
|
|
23
|
-
* Number of exactly matched words.
|
|
24
|
-
*/
|
|
25
|
-
nbExactWords: number;
|
|
26
|
-
/**
|
|
27
|
-
* Number of typos encountered when matching the record.
|
|
28
|
-
*/
|
|
29
|
-
nbTypos: number;
|
|
30
|
-
/**
|
|
31
|
-
* Present and set to true if a Rule promoted the hit.
|
|
32
|
-
*/
|
|
33
|
-
promoted: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* When the query contains more than one word, the sum of the distances between matched words (in meters).
|
|
36
|
-
*/
|
|
37
|
-
proximityDistance?: number;
|
|
38
|
-
/**
|
|
39
|
-
* Custom ranking for the object, expressed as a single integer value.
|
|
40
|
-
*/
|
|
41
|
-
userScore: number;
|
|
42
|
-
/**
|
|
43
|
-
* Number of matched words, including prefixes and typos.
|
|
44
|
-
*/
|
|
45
|
-
words: number;
|
|
46
|
-
/**
|
|
47
|
-
* Wether the record are promoted by the re-ranking strategy.
|
|
48
|
-
*/
|
|
49
|
-
promotedByReRanking?: boolean;
|
|
50
|
-
};
|
|
1
|
+
import type { MatchedGeoLocation } from './matchedGeoLocation';
|
|
2
|
+
import type { Personalization } from './personalization';
|
|
3
|
+
export type RankingInfo = {
|
|
4
|
+
/**
|
|
5
|
+
* This field is reserved for advanced usage.
|
|
6
|
+
*/
|
|
7
|
+
filters: number;
|
|
8
|
+
/**
|
|
9
|
+
* Position of the most important matched attribute in the attributes to index list.
|
|
10
|
+
*/
|
|
11
|
+
firstMatchedWord: number;
|
|
12
|
+
/**
|
|
13
|
+
* Distance between the geo location in the search query and the best matching geo location in the record, divided by the geo precision (in meters).
|
|
14
|
+
*/
|
|
15
|
+
geoDistance: number;
|
|
16
|
+
/**
|
|
17
|
+
* Precision used when computing the geo distance, in meters.
|
|
18
|
+
*/
|
|
19
|
+
geoPrecision?: number;
|
|
20
|
+
matchedGeoLocation?: MatchedGeoLocation;
|
|
21
|
+
personalization?: Personalization;
|
|
22
|
+
/**
|
|
23
|
+
* Number of exactly matched words.
|
|
24
|
+
*/
|
|
25
|
+
nbExactWords: number;
|
|
26
|
+
/**
|
|
27
|
+
* Number of typos encountered when matching the record.
|
|
28
|
+
*/
|
|
29
|
+
nbTypos: number;
|
|
30
|
+
/**
|
|
31
|
+
* Present and set to true if a Rule promoted the hit.
|
|
32
|
+
*/
|
|
33
|
+
promoted: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* When the query contains more than one word, the sum of the distances between matched words (in meters).
|
|
36
|
+
*/
|
|
37
|
+
proximityDistance?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Custom ranking for the object, expressed as a single integer value.
|
|
40
|
+
*/
|
|
41
|
+
userScore: number;
|
|
42
|
+
/**
|
|
43
|
+
* Number of matched words, including prefixes and typos.
|
|
44
|
+
*/
|
|
45
|
+
words: number;
|
|
46
|
+
/**
|
|
47
|
+
* Wether the record are promoted by the re-ranking strategy.
|
|
48
|
+
*/
|
|
49
|
+
promotedByReRanking?: boolean;
|
|
50
|
+
};
|
|
51
51
|
//# sourceMappingURL=rankingInfo.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
-
/**
|
|
3
|
-
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
-
*/
|
|
5
|
-
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
|
1
|
+
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
2
|
+
/**
|
|
3
|
+
* When Dynamic Re-Ranking is enabled, only records that match these filters will be impacted by Dynamic Re-Ranking.
|
|
4
|
+
*/
|
|
5
|
+
export type ReRankingApplyFilter = MixedSearchFilters[] | string;
|
|
6
6
|
//# sourceMappingURL=reRankingApplyFilter.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
|
|
3
|
-
*/
|
|
4
|
-
export type RemoveStopWords = string[] | boolean;
|
|
1
|
+
/**
|
|
2
|
+
* Removes stop (common) words from the query before executing it. RemoveStopWords is used in conjunction with the queryLanguages setting. List: language ISO codes for which ignoring plurals should be enabled. This list will override any values that you may have set in queryLanguages. True: enables the stop word functionality, ensuring that stop words are removed from consideration in a search. The languages supported here are either every language, or those set by queryLanguages. False: disables stop word functionality, allowing stop words to be taken into account in a search.
|
|
3
|
+
*/
|
|
4
|
+
export type RemoveStopWords = string[] | boolean;
|
|
5
5
|
//# sourceMappingURL=removeStopWords.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Selects a strategy to remove words from the query when it doesn\'t match any hits.
|
|
3
|
-
*/
|
|
4
|
-
export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
|
|
1
|
+
/**
|
|
2
|
+
* Selects a strategy to remove words from the query when it doesn\'t match any hits.
|
|
3
|
+
*/
|
|
4
|
+
export type RemoveWordsIfNoResults = 'allOptional' | 'firstWords' | 'lastWords' | 'none';
|
|
5
5
|
//# sourceMappingURL=removeWordsIfNoResults.d.ts.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import type { FacetOrdering } from './facetOrdering';
|
|
2
|
-
/**
|
|
3
|
-
* Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
|
|
4
|
-
*/
|
|
5
|
-
export type RenderingContent = {
|
|
6
|
-
facetOrdering?: FacetOrdering;
|
|
7
|
-
};
|
|
1
|
+
import type { FacetOrdering } from './facetOrdering';
|
|
2
|
+
/**
|
|
3
|
+
* Content defining how the search interface should be rendered. Can be set via the settings for a default value and can be overridden via rules.
|
|
4
|
+
*/
|
|
5
|
+
export type RenderingContent = {
|
|
6
|
+
facetOrdering?: FacetOrdering;
|
|
7
|
+
};
|
|
8
8
|
//# sourceMappingURL=renderingContent.d.ts.map
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import type { Condition } from './condition';
|
|
2
|
-
import type { Consequence } from './consequence';
|
|
3
|
-
import type { TimeRange } from './timeRange';
|
|
4
|
-
/**
|
|
5
|
-
* Rule object.
|
|
6
|
-
*/
|
|
7
|
-
export type Rule = {
|
|
8
|
-
/**
|
|
9
|
-
* Unique identifier of the object.
|
|
10
|
-
*/
|
|
11
|
-
objectID: string;
|
|
12
|
-
/**
|
|
13
|
-
* A list of conditions that should apply to activate a Rule. You can use up to 25 conditions per Rule.
|
|
14
|
-
*/
|
|
15
|
-
conditions?: Condition[];
|
|
16
|
-
consequence?: Consequence;
|
|
17
|
-
/**
|
|
18
|
-
* This field is intended for Rule management purposes, in particular to ease searching for Rules and presenting them to human readers. It\'s not interpreted by the API.
|
|
19
|
-
*/
|
|
20
|
-
description?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the Rule is enabled. Disabled Rules remain in the index, but aren\'t applied at query time.
|
|
23
|
-
*/
|
|
24
|
-
enabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* By default, Rules are permanently valid. When validity periods are specified, the Rule applies only during those periods; it\'s ignored the rest of the time. The list must not be empty.
|
|
27
|
-
*/
|
|
28
|
-
validity?: TimeRange[];
|
|
29
|
-
};
|
|
1
|
+
import type { Condition } from './condition';
|
|
2
|
+
import type { Consequence } from './consequence';
|
|
3
|
+
import type { TimeRange } from './timeRange';
|
|
4
|
+
/**
|
|
5
|
+
* Rule object.
|
|
6
|
+
*/
|
|
7
|
+
export type Rule = {
|
|
8
|
+
/**
|
|
9
|
+
* Unique identifier of the object.
|
|
10
|
+
*/
|
|
11
|
+
objectID: string;
|
|
12
|
+
/**
|
|
13
|
+
* A list of conditions that should apply to activate a Rule. You can use up to 25 conditions per Rule.
|
|
14
|
+
*/
|
|
15
|
+
conditions?: Condition[];
|
|
16
|
+
consequence?: Consequence;
|
|
17
|
+
/**
|
|
18
|
+
* This field is intended for Rule management purposes, in particular to ease searching for Rules and presenting them to human readers. It\'s not interpreted by the API.
|
|
19
|
+
*/
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* Whether the Rule is enabled. Disabled Rules remain in the index, but aren\'t applied at query time.
|
|
23
|
+
*/
|
|
24
|
+
enabled?: boolean;
|
|
25
|
+
/**
|
|
26
|
+
* By default, Rules are permanently valid. When validity periods are specified, the Rule applies only during those periods; it\'s ignored the rest of the time. The list must not be empty.
|
|
27
|
+
*/
|
|
28
|
+
validity?: TimeRange[];
|
|
29
|
+
};
|
|
30
30
|
//# sourceMappingURL=rule.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type ScopeType = 'rules' | 'settings' | 'synonyms';
|
|
1
|
+
export type ScopeType = 'rules' | 'settings' | 'synonyms';
|
|
2
2
|
//# sourceMappingURL=scopeType.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SearchForFacetsOptions } from './searchForFacetsOptions';
|
|
2
|
-
import type { SearchParams } from './searchParams';
|
|
3
|
-
export type SearchForFacets = SearchForFacetsOptions & SearchParams;
|
|
1
|
+
import type { SearchForFacetsOptions } from './searchForFacetsOptions';
|
|
2
|
+
import type { SearchParams } from './searchParams';
|
|
3
|
+
export type SearchForFacets = SearchForFacetsOptions & SearchParams;
|
|
4
4
|
//# sourceMappingURL=searchForFacets.d.ts.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import type { SearchTypeFacet } from './searchTypeFacet';
|
|
2
|
-
export type SearchForFacetsOptions = {
|
|
3
|
-
/**
|
|
4
|
-
* The `facet` name.
|
|
5
|
-
*/
|
|
6
|
-
facet: string;
|
|
7
|
-
/**
|
|
8
|
-
* The Algolia index name.
|
|
9
|
-
*/
|
|
10
|
-
indexName: string;
|
|
11
|
-
/**
|
|
12
|
-
* Text to search inside the facet\'s values.
|
|
13
|
-
*/
|
|
14
|
-
facetQuery?: string;
|
|
15
|
-
/**
|
|
16
|
-
* 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.
|
|
17
|
-
*/
|
|
18
|
-
maxFacetHits?: number;
|
|
19
|
-
type: SearchTypeFacet;
|
|
20
|
-
};
|
|
1
|
+
import type { SearchTypeFacet } from './searchTypeFacet';
|
|
2
|
+
export type SearchForFacetsOptions = {
|
|
3
|
+
/**
|
|
4
|
+
* The `facet` name.
|
|
5
|
+
*/
|
|
6
|
+
facet: string;
|
|
7
|
+
/**
|
|
8
|
+
* The Algolia index name.
|
|
9
|
+
*/
|
|
10
|
+
indexName: string;
|
|
11
|
+
/**
|
|
12
|
+
* Text to search inside the facet\'s values.
|
|
13
|
+
*/
|
|
14
|
+
facetQuery?: string;
|
|
15
|
+
/**
|
|
16
|
+
* 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.
|
|
17
|
+
*/
|
|
18
|
+
maxFacetHits?: number;
|
|
19
|
+
type: SearchTypeFacet;
|
|
20
|
+
};
|
|
21
21
|
//# sourceMappingURL=searchForFacetsOptions.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SearchForHitsOptions } from './searchForHitsOptions';
|
|
2
|
-
import type { SearchParams } from './searchParams';
|
|
3
|
-
export type SearchForHits = SearchForHitsOptions & SearchParams;
|
|
1
|
+
import type { SearchForHitsOptions } from './searchForHitsOptions';
|
|
2
|
+
import type { SearchParams } from './searchParams';
|
|
3
|
+
export type SearchForHits = SearchForHitsOptions & SearchParams;
|
|
4
4
|
//# sourceMappingURL=searchForHits.d.ts.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import type { SearchTypeDefault } from './searchTypeDefault';
|
|
2
|
-
export type SearchForHitsOptions = {
|
|
3
|
-
/**
|
|
4
|
-
* The Algolia index name.
|
|
5
|
-
*/
|
|
6
|
-
indexName: string;
|
|
7
|
-
type?: SearchTypeDefault;
|
|
8
|
-
} & {
|
|
9
|
-
facet?: never;
|
|
10
|
-
maxFacetHits?: never;
|
|
11
|
-
facetQuery?: never;
|
|
12
|
-
};
|
|
1
|
+
import type { SearchTypeDefault } from './searchTypeDefault';
|
|
2
|
+
export type SearchForHitsOptions = {
|
|
3
|
+
/**
|
|
4
|
+
* The Algolia index name.
|
|
5
|
+
*/
|
|
6
|
+
indexName: string;
|
|
7
|
+
type?: SearchTypeDefault;
|
|
8
|
+
} & {
|
|
9
|
+
facet?: never;
|
|
10
|
+
maxFacetHits?: never;
|
|
11
|
+
facetQuery?: never;
|
|
12
|
+
};
|
|
13
13
|
//# sourceMappingURL=searchForHitsOptions.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { Hit } from './hit';
|
|
2
|
-
export type SearchHits<T = Record<string, any>> = {
|
|
3
|
-
hits: Array<Hit<T>>;
|
|
4
|
-
};
|
|
1
|
+
import type { Hit } from './hit';
|
|
2
|
+
export type SearchHits<T = Record<string, any>> = {
|
|
3
|
+
hits: Array<Hit<T>>;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=searchHits.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { SearchQuery } from './searchQuery';
|
|
2
|
-
import type { SearchStrategy } from './searchStrategy';
|
|
3
|
-
export type SearchMethodParams = {
|
|
4
|
-
requests: SearchQuery[];
|
|
5
|
-
strategy?: SearchStrategy;
|
|
6
|
-
};
|
|
1
|
+
import type { SearchQuery } from './searchQuery';
|
|
2
|
+
import type { SearchStrategy } from './searchStrategy';
|
|
3
|
+
export type SearchMethodParams = {
|
|
4
|
+
requests: SearchQuery[];
|
|
5
|
+
strategy?: SearchStrategy;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=searchMethodParams.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
2
|
-
import type { SearchParamsString } from './searchParamsString';
|
|
3
|
-
export type SearchParams = SearchParamsObject | SearchParamsString;
|
|
1
|
+
import type { SearchParamsObject } from './searchParamsObject';
|
|
2
|
+
import type { SearchParamsString } from './searchParamsString';
|
|
3
|
+
export type SearchParams = SearchParamsObject | SearchParamsString;
|
|
4
4
|
//# sourceMappingURL=searchParams.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseSearchParams } from './baseSearchParams';
|
|
2
|
-
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
|
-
export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
|
|
1
|
+
import type { BaseSearchParams } from './baseSearchParams';
|
|
2
|
+
import type { IndexSettingsAsSearchParams } from './indexSettingsAsSearchParams';
|
|
3
|
+
export type SearchParamsObject = BaseSearchParams & IndexSettingsAsSearchParams;
|
|
4
4
|
//# sourceMappingURL=searchParamsObject.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type SearchParamsQuery = {
|
|
2
|
-
/**
|
|
3
|
-
* The text to search in the index.
|
|
4
|
-
*/
|
|
5
|
-
query?: string;
|
|
6
|
-
};
|
|
1
|
+
export type SearchParamsQuery = {
|
|
2
|
+
/**
|
|
3
|
+
* The text to search in the index.
|
|
4
|
+
*/
|
|
5
|
+
query?: string;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=searchParamsQuery.d.ts.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export type SearchParamsString = {
|
|
2
|
-
/**
|
|
3
|
-
* Search parameters as URL-encoded query string.
|
|
4
|
-
*/
|
|
5
|
-
params?: string;
|
|
6
|
-
};
|
|
1
|
+
export type SearchParamsString = {
|
|
2
|
+
/**
|
|
3
|
+
* Search parameters as URL-encoded query string.
|
|
4
|
+
*/
|
|
5
|
+
params?: string;
|
|
6
|
+
};
|
|
7
7
|
//# sourceMappingURL=searchParamsString.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SearchForFacets } from './searchForFacets';
|
|
2
|
-
import type { SearchForHits } from './searchForHits';
|
|
3
|
-
export type SearchQuery = SearchForFacets | SearchForHits;
|
|
1
|
+
import type { SearchForFacets } from './searchForFacets';
|
|
2
|
+
import type { SearchForHits } from './searchForHits';
|
|
3
|
+
export type SearchQuery = SearchForFacets | SearchForHits;
|
|
4
4
|
//# sourceMappingURL=searchQuery.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
-
import type { SearchHits } from './searchHits';
|
|
3
|
-
export type SearchResponse<T = Record<string, any>> = BaseSearchResponse & SearchHits<T>;
|
|
1
|
+
import type { BaseSearchResponse } from './baseSearchResponse';
|
|
2
|
+
import type { SearchHits } from './searchHits';
|
|
3
|
+
export type SearchResponse<T = Record<string, any>> = BaseSearchResponse & SearchHits<T>;
|
|
4
4
|
//# sourceMappingURL=searchResponse.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SearchResponse } from './searchResponse';
|
|
2
|
-
export type SearchResponses<T = Record<string, any>> = {
|
|
3
|
-
results: Array<SearchResponse<T>>;
|
|
4
|
-
};
|
|
1
|
+
import type { SearchResponse } from './searchResponse';
|
|
2
|
+
export type SearchResponses<T = Record<string, any>> = {
|
|
3
|
+
results: Array<SearchResponse<T>>;
|
|
4
|
+
};
|
|
5
5
|
//# sourceMappingURL=searchResponses.d.ts.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export type SearchStrategy = 'none' | 'stopIfEnoughMatches';
|
|
1
|
+
export type SearchStrategy = 'none' | 'stopIfEnoughMatches';
|
|
2
2
|
//# sourceMappingURL=searchStrategy.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { SynonymHit } from './synonymHit';
|
|
2
|
-
export type SearchSynonymsResponse = Record<string, any> & {
|
|
3
|
-
/**
|
|
4
|
-
* Array of synonym objects.
|
|
5
|
-
*/
|
|
6
|
-
hits: SynonymHit[];
|
|
7
|
-
/**
|
|
8
|
-
* Number of hits that the search query matched.
|
|
9
|
-
*/
|
|
10
|
-
nbHits: number;
|
|
11
|
-
};
|
|
1
|
+
import type { SynonymHit } from './synonymHit';
|
|
2
|
+
export type SearchSynonymsResponse = Record<string, any> & {
|
|
3
|
+
/**
|
|
4
|
+
* Array of synonym objects.
|
|
5
|
+
*/
|
|
6
|
+
hits: SynonymHit[];
|
|
7
|
+
/**
|
|
8
|
+
* Number of hits that the search query matched.
|
|
9
|
+
*/
|
|
10
|
+
nbHits: number;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=searchSynonymsResponse.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Perform a search query with `default`, will search for facet values if `facet` is given.
|
|
3
|
-
*/
|
|
4
|
-
export type SearchTypeDefault = 'default';
|
|
1
|
+
/**
|
|
2
|
+
* Perform a search query with `default`, will search for facet values if `facet` is given.
|
|
3
|
+
*/
|
|
4
|
+
export type SearchTypeDefault = 'default';
|
|
5
5
|
//# sourceMappingURL=searchTypeDefault.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Perform a search query with `default`, will search for facet values if `facet` is given.
|
|
3
|
-
*/
|
|
4
|
-
export type SearchTypeFacet = 'facet';
|
|
1
|
+
/**
|
|
2
|
+
* Perform a search query with `default`, will search for facet values if `facet` is given.
|
|
3
|
+
*/
|
|
4
|
+
export type SearchTypeFacet = 'facet';
|
|
5
5
|
//# sourceMappingURL=searchTypeFacet.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { SnippetResultOption } from './snippetResultOption';
|
|
2
|
-
export type SnippetResult = SnippetResultOption | SnippetResultOption[];
|
|
1
|
+
import type { SnippetResultOption } from './snippetResultOption';
|
|
2
|
+
export type SnippetResult = SnippetResultOption | SnippetResultOption[];
|
|
3
3
|
//# sourceMappingURL=snippetResult.d.ts.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { MatchLevel } from './matchLevel';
|
|
2
|
-
/**
|
|
3
|
-
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
4
|
-
*/
|
|
5
|
-
export type SnippetResultOption = {
|
|
6
|
-
/**
|
|
7
|
-
* Markup text with occurrences highlighted.
|
|
8
|
-
*/
|
|
9
|
-
value: string;
|
|
10
|
-
matchLevel: MatchLevel;
|
|
11
|
-
};
|
|
1
|
+
import type { MatchLevel } from './matchLevel';
|
|
2
|
+
/**
|
|
3
|
+
* Snippeted attributes show parts of the matched attributes. Only returned when attributesToSnippet is non-empty.
|
|
4
|
+
*/
|
|
5
|
+
export type SnippetResultOption = {
|
|
6
|
+
/**
|
|
7
|
+
* Markup text with occurrences highlighted.
|
|
8
|
+
*/
|
|
9
|
+
value: string;
|
|
10
|
+
matchLevel: MatchLevel;
|
|
11
|
+
};
|
|
12
12
|
//# sourceMappingURL=snippetResultOption.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
|
|
3
|
-
*/
|
|
4
|
-
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
|
1
|
+
/**
|
|
2
|
+
* How to display the remaining items. - `count`: facet count (descending). - `alpha`: alphabetical (ascending). - `hidden`: show only pinned values.
|
|
3
|
+
*/
|
|
4
|
+
export type SortRemainingBy = 'alpha' | 'count' | 'hidden';
|
|
5
5
|
//# sourceMappingURL=sortRemainingBy.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The source.
|
|
3
|
-
*/
|
|
4
|
-
export type Source = {
|
|
5
|
-
/**
|
|
6
|
-
* The IP range of the source.
|
|
7
|
-
*/
|
|
8
|
-
source: string;
|
|
9
|
-
/**
|
|
10
|
-
* The description of the source.
|
|
11
|
-
*/
|
|
12
|
-
description?: string;
|
|
13
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* The source.
|
|
3
|
+
*/
|
|
4
|
+
export type Source = {
|
|
5
|
+
/**
|
|
6
|
+
* The IP range of the source.
|
|
7
|
+
*/
|
|
8
|
+
source: string;
|
|
9
|
+
/**
|
|
10
|
+
* The description of the source.
|
|
11
|
+
*/
|
|
12
|
+
description?: string;
|
|
13
|
+
};
|
|
14
14
|
//# sourceMappingURL=source.d.ts.map
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Map of language ISO code supported by the dictionary (e.g., \"en\" for English) to a boolean value.
|
|
3
|
-
*/
|
|
4
|
-
export type StandardEntries = {
|
|
5
|
-
/**
|
|
6
|
-
* Language ISO code.
|
|
7
|
-
*/
|
|
8
|
-
plurals?: Record<string, boolean> | null;
|
|
9
|
-
/**
|
|
10
|
-
* Language ISO code.
|
|
11
|
-
*/
|
|
12
|
-
stopwords?: Record<string, boolean> | null;
|
|
13
|
-
/**
|
|
14
|
-
* Language ISO code.
|
|
15
|
-
*/
|
|
16
|
-
compounds?: Record<string, boolean> | null;
|
|
17
|
-
};
|
|
1
|
+
/**
|
|
2
|
+
* Map of language ISO code supported by the dictionary (e.g., \"en\" for English) to a boolean value.
|
|
3
|
+
*/
|
|
4
|
+
export type StandardEntries = {
|
|
5
|
+
/**
|
|
6
|
+
* Language ISO code.
|
|
7
|
+
*/
|
|
8
|
+
plurals?: Record<string, boolean> | null;
|
|
9
|
+
/**
|
|
10
|
+
* Language ISO code.
|
|
11
|
+
*/
|
|
12
|
+
stopwords?: Record<string, boolean> | null;
|
|
13
|
+
/**
|
|
14
|
+
* Language ISO code.
|
|
15
|
+
*/
|
|
16
|
+
compounds?: Record<string, boolean> | null;
|
|
17
|
+
};
|
|
18
18
|
//# sourceMappingURL=standardEntries.d.ts.map
|
|
@@ -1,36 +1,36 @@
|
|
|
1
|
-
import type { SynonymType } from './synonymType';
|
|
2
|
-
/**
|
|
3
|
-
* Synonym object.
|
|
4
|
-
*/
|
|
5
|
-
export type SynonymHit = {
|
|
6
|
-
/**
|
|
7
|
-
* Unique identifier of the synonym object to be created or updated.
|
|
8
|
-
*/
|
|
9
|
-
objectID: string;
|
|
10
|
-
type: SynonymType;
|
|
11
|
-
/**
|
|
12
|
-
* Words or phrases to be considered equivalent.
|
|
13
|
-
*/
|
|
14
|
-
synonyms?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* Word or phrase to appear in query strings (for onewaysynonym).
|
|
17
|
-
*/
|
|
18
|
-
input?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
|
|
21
|
-
*/
|
|
22
|
-
word?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Words to be matched in records.
|
|
25
|
-
*/
|
|
26
|
-
corrections?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* Token to be put inside records.
|
|
29
|
-
*/
|
|
30
|
-
placeholder?: string;
|
|
31
|
-
/**
|
|
32
|
-
* List of query words that will match the token.
|
|
33
|
-
*/
|
|
34
|
-
replacements?: string[];
|
|
35
|
-
};
|
|
1
|
+
import type { SynonymType } from './synonymType';
|
|
2
|
+
/**
|
|
3
|
+
* Synonym object.
|
|
4
|
+
*/
|
|
5
|
+
export type SynonymHit = {
|
|
6
|
+
/**
|
|
7
|
+
* Unique identifier of the synonym object to be created or updated.
|
|
8
|
+
*/
|
|
9
|
+
objectID: string;
|
|
10
|
+
type: SynonymType;
|
|
11
|
+
/**
|
|
12
|
+
* Words or phrases to be considered equivalent.
|
|
13
|
+
*/
|
|
14
|
+
synonyms?: string[];
|
|
15
|
+
/**
|
|
16
|
+
* Word or phrase to appear in query strings (for onewaysynonym).
|
|
17
|
+
*/
|
|
18
|
+
input?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Word or phrase to appear in query strings (for altcorrection1 and altcorrection2).
|
|
21
|
+
*/
|
|
22
|
+
word?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Words to be matched in records.
|
|
25
|
+
*/
|
|
26
|
+
corrections?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* Token to be put inside records.
|
|
29
|
+
*/
|
|
30
|
+
placeholder?: string;
|
|
31
|
+
/**
|
|
32
|
+
* List of query words that will match the token.
|
|
33
|
+
*/
|
|
34
|
+
replacements?: string[];
|
|
35
|
+
};
|
|
36
36
|
//# sourceMappingURL=synonymHit.d.ts.map
|