algoliasearch 5.0.0-beta.1 → 5.0.0-beta.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/dist/algoliasearch/builds/browser.d.ts +4 -2
- package/dist/algoliasearch/builds/browser.d.ts.map +1 -1
- package/dist/algoliasearch/builds/node.d.ts +4 -2
- package/dist/algoliasearch/builds/node.d.ts.map +1 -1
- package/dist/algoliasearch.cjs +57 -8
- package/dist/algoliasearch.esm.browser.js +66 -23
- package/dist/algoliasearch.esm.node.js +57 -8
- package/dist/algoliasearch.umd.js +2 -2
- package/dist/client-abtesting/src/abtestingClient.d.ts +1 -1
- package/dist/client-analytics/src/analyticsClient.d.ts +1 -1
- package/dist/client-personalization/src/personalizationClient.d.ts +1 -1
- package/dist/client-search/model/clientMethodProps.d.ts +16 -21
- package/dist/client-search/model/clientMethodProps.d.ts.map +1 -1
- package/dist/client-search/model/facetFilters.d.ts +1 -2
- package/dist/client-search/model/facetFilters.d.ts.map +1 -1
- package/dist/client-search/model/index.d.ts +1 -1
- package/dist/client-search/model/index.d.ts.map +1 -1
- package/dist/client-search/model/numericFilters.d.ts +1 -2
- package/dist/client-search/model/numericFilters.d.ts.map +1 -1
- package/dist/client-search/model/optionalFilters.d.ts +1 -2
- package/dist/client-search/model/optionalFilters.d.ts.map +1 -1
- package/dist/client-search/model/rankingInfo.d.ts +3 -3
- package/dist/client-search/model/rankingInfo.d.ts.map +1 -1
- package/dist/client-search/model/reRankingApplyFilter.d.ts +1 -2
- package/dist/client-search/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/client-search/model/replaceAllObjectsResponse.d.ts +11 -0
- package/dist/client-search/model/replaceAllObjectsResponse.d.ts.map +1 -0
- package/dist/client-search/model/searchForFacetValuesResponse.d.ts +1 -1
- package/dist/client-search/model/tagFilters.d.ts +1 -2
- package/dist/client-search/model/tagFilters.d.ts.map +1 -1
- package/dist/client-search/src/searchClient.d.ts +27 -4
- package/dist/client-search/src/searchClient.d.ts.map +1 -1
- package/dist/lite/lite.cjs +1 -1
- package/dist/lite/lite.esm.browser.js +10 -16
- package/dist/lite/lite.esm.node.js +1 -1
- package/dist/lite/lite.umd.js +2 -2
- package/dist/lite/model/facetFilters.d.ts +1 -2
- package/dist/lite/model/facetFilters.d.ts.map +1 -1
- package/dist/lite/model/index.d.ts +0 -39
- package/dist/lite/model/index.d.ts.map +1 -1
- package/dist/lite/model/numericFilters.d.ts +1 -2
- package/dist/lite/model/numericFilters.d.ts.map +1 -1
- package/dist/lite/model/optionalFilters.d.ts +1 -2
- package/dist/lite/model/optionalFilters.d.ts.map +1 -1
- package/dist/lite/model/rankingInfo.d.ts +3 -3
- package/dist/lite/model/rankingInfo.d.ts.map +1 -1
- package/dist/lite/model/reRankingApplyFilter.d.ts +1 -2
- package/dist/lite/model/reRankingApplyFilter.d.ts.map +1 -1
- package/dist/lite/model/searchForFacetValuesResponse.d.ts +1 -1
- package/dist/lite/model/tagFilters.d.ts +1 -2
- package/dist/lite/model/tagFilters.d.ts.map +1 -1
- package/dist/lite/src/liteClient.d.ts +1 -1
- package/lite/model/facetFilters.ts +1 -3
- package/lite/model/index.ts +0 -39
- package/lite/model/numericFilters.ts +1 -3
- package/lite/model/optionalFilters.ts +1 -3
- package/lite/model/rankingInfo.ts +3 -3
- package/lite/model/reRankingApplyFilter.ts +1 -3
- package/lite/model/searchForFacetValuesResponse.ts +1 -1
- package/lite/model/tagFilters.ts +1 -3
- package/lite/src/liteClient.ts +1 -1
- package/package.json +12 -12
- package/dist/client-search/model/mixedSearchFilters.d.ts +0 -2
- package/dist/client-search/model/mixedSearchFilters.d.ts.map +0 -1
- package/dist/lite/model/action.d.ts +0 -5
- package/dist/lite/model/action.d.ts.map +0 -1
- package/dist/lite/model/addApiKeyResponse.d.ts +0 -11
- package/dist/lite/model/addApiKeyResponse.d.ts.map +0 -1
- package/dist/lite/model/anchoring.d.ts +0 -5
- package/dist/lite/model/anchoring.d.ts.map +0 -1
- package/dist/lite/model/apiKeyOperation.d.ts +0 -2
- package/dist/lite/model/apiKeyOperation.d.ts.map +0 -1
- package/dist/lite/model/attributeToUpdate.d.ts +0 -3
- package/dist/lite/model/attributeToUpdate.d.ts.map +0 -1
- package/dist/lite/model/browseParams.d.ts +0 -4
- package/dist/lite/model/browseParams.d.ts.map +0 -1
- package/dist/lite/model/builtInOperation.d.ts +0 -12
- package/dist/lite/model/builtInOperation.d.ts.map +0 -1
- package/dist/lite/model/builtInOperationType.d.ts +0 -5
- package/dist/lite/model/builtInOperationType.d.ts.map +0 -1
- package/dist/lite/model/condition.d.ts +0 -21
- package/dist/lite/model/condition.d.ts.map +0 -1
- package/dist/lite/model/consequence.d.ts +0 -26
- package/dist/lite/model/consequence.d.ts.map +0 -1
- package/dist/lite/model/consequenceHide.d.ts +0 -10
- package/dist/lite/model/consequenceHide.d.ts.map +0 -1
- package/dist/lite/model/deleteByParams.d.ts +0 -27
- package/dist/lite/model/deleteByParams.d.ts.map +0 -1
- package/dist/lite/model/dictionaryAction.d.ts +0 -5
- package/dist/lite/model/dictionaryAction.d.ts.map +0 -1
- package/dist/lite/model/dictionaryEntry.d.ts +0 -26
- package/dist/lite/model/dictionaryEntry.d.ts.map +0 -1
- package/dist/lite/model/dictionaryEntryState.d.ts +0 -5
- package/dist/lite/model/dictionaryEntryState.d.ts.map +0 -1
- package/dist/lite/model/dictionaryLanguage.d.ts +0 -10
- package/dist/lite/model/dictionaryLanguage.d.ts.map +0 -1
- package/dist/lite/model/dictionaryType.d.ts +0 -2
- package/dist/lite/model/dictionaryType.d.ts.map +0 -1
- package/dist/lite/model/fetchedIndex.d.ts +0 -47
- package/dist/lite/model/fetchedIndex.d.ts.map +0 -1
- package/dist/lite/model/languages.d.ts +0 -10
- package/dist/lite/model/languages.d.ts.map +0 -1
- package/dist/lite/model/listIndicesResponse.d.ts +0 -12
- package/dist/lite/model/listIndicesResponse.d.ts.map +0 -1
- package/dist/lite/model/logType.d.ts +0 -2
- package/dist/lite/model/logType.d.ts.map +0 -1
- package/dist/lite/model/mixedSearchFilters.d.ts +0 -2
- package/dist/lite/model/mixedSearchFilters.d.ts.map +0 -1
- package/dist/lite/model/operationType.d.ts +0 -5
- package/dist/lite/model/operationType.d.ts.map +0 -1
- package/dist/lite/model/promote.d.ts +0 -4
- package/dist/lite/model/promote.d.ts.map +0 -1
- package/dist/lite/model/promoteObjectID.d.ts +0 -14
- package/dist/lite/model/promoteObjectID.d.ts.map +0 -1
- package/dist/lite/model/promoteObjectIDs.d.ts +0 -14
- package/dist/lite/model/promoteObjectIDs.d.ts.map +0 -1
- package/dist/lite/model/rule.d.ts +0 -30
- package/dist/lite/model/rule.d.ts.map +0 -1
- package/dist/lite/model/scopeType.d.ts +0 -2
- package/dist/lite/model/scopeType.d.ts.map +0 -1
- package/dist/lite/model/searchDictionaryEntriesResponse.d.ts +0 -20
- package/dist/lite/model/searchDictionaryEntriesResponse.d.ts.map +0 -1
- package/dist/lite/model/searchSynonymsResponse.d.ts +0 -12
- package/dist/lite/model/searchSynonymsResponse.d.ts.map +0 -1
- package/dist/lite/model/securedAPIKeyRestrictions.d.ts +0 -25
- package/dist/lite/model/securedAPIKeyRestrictions.d.ts.map +0 -1
- package/dist/lite/model/source.d.ts +0 -14
- package/dist/lite/model/source.d.ts.map +0 -1
- package/dist/lite/model/standardEntries.d.ts +0 -18
- package/dist/lite/model/standardEntries.d.ts.map +0 -1
- package/dist/lite/model/synonymHit.d.ts +0 -36
- package/dist/lite/model/synonymHit.d.ts.map +0 -1
- package/dist/lite/model/synonymType.d.ts +0 -5
- package/dist/lite/model/synonymType.d.ts.map +0 -1
- package/dist/lite/model/taskStatus.d.ts +0 -5
- package/dist/lite/model/taskStatus.d.ts.map +0 -1
- package/dist/lite/model/timeRange.d.ts +0 -11
- package/dist/lite/model/timeRange.d.ts.map +0 -1
- package/dist/lite/model/updatedRuleResponse.d.ts +0 -15
- package/dist/lite/model/updatedRuleResponse.d.ts.map +0 -1
- package/dist/lite/model/userId.d.ts +0 -22
- package/dist/lite/model/userId.d.ts.map +0 -1
- package/lite/model/action.ts +0 -13
- package/lite/model/addApiKeyResponse.ts +0 -13
- package/lite/model/anchoring.ts +0 -6
- package/lite/model/apiKeyOperation.ts +0 -3
- package/lite/model/attributeToUpdate.ts +0 -5
- package/lite/model/browseParams.ts +0 -6
- package/lite/model/builtInOperation.ts +0 -15
- package/lite/model/builtInOperationType.ts +0 -13
- package/lite/model/condition.ts +0 -27
- package/lite/model/consequence.ts +0 -32
- package/lite/model/consequenceHide.ts +0 -11
- package/lite/model/deleteByParams.ts +0 -36
- package/lite/model/dictionaryAction.ts +0 -6
- package/lite/model/dictionaryEntry.ts +0 -33
- package/lite/model/dictionaryEntryState.ts +0 -6
- package/lite/model/dictionaryLanguage.ts +0 -11
- package/lite/model/dictionaryType.ts +0 -3
- package/lite/model/fetchedIndex.ts +0 -58
- package/lite/model/languages.ts +0 -14
- package/lite/model/listIndicesResponse.ts +0 -15
- package/lite/model/logType.ts +0 -3
- package/lite/model/mixedSearchFilters.ts +0 -3
- package/lite/model/operationType.ts +0 -6
- package/lite/model/promote.ts +0 -6
- package/lite/model/promoteObjectID.ts +0 -16
- package/lite/model/promoteObjectIDs.ts +0 -16
- package/lite/model/rule.ts +0 -37
- package/lite/model/scopeType.ts +0 -3
- package/lite/model/searchDictionaryEntriesResponse.ts +0 -25
- package/lite/model/searchSynonymsResponse.ts +0 -15
- package/lite/model/securedAPIKeyRestrictions.ts +0 -32
- package/lite/model/source.ts +0 -16
- package/lite/model/standardEntries.ts +0 -21
- package/lite/model/synonymHit.ts +0 -45
- package/lite/model/synonymType.ts +0 -11
- package/lite/model/taskStatus.ts +0 -6
- package/lite/model/timeRange.ts +0 -13
- package/lite/model/updatedRuleResponse.ts +0 -18
- package/lite/model/userId.ts +0 -26
package/lite/model/index.ts
CHANGED
|
@@ -1,18 +1,13 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
3
|
export * from './acl';
|
|
4
|
-
export * from './action';
|
|
5
|
-
export * from './addApiKeyResponse';
|
|
6
4
|
export * from './advancedSyntaxFeatures';
|
|
7
5
|
export * from './alternativesAsExact';
|
|
8
|
-
export * from './anchoring';
|
|
9
6
|
export * from './apiKey';
|
|
10
|
-
export * from './apiKeyOperation';
|
|
11
7
|
export * from './aroundPrecision';
|
|
12
8
|
export * from './aroundPrecisionFromValueInner';
|
|
13
9
|
export * from './aroundRadius';
|
|
14
10
|
export * from './aroundRadiusAll';
|
|
15
|
-
export * from './attributeToUpdate';
|
|
16
11
|
export * from './automaticFacetFilter';
|
|
17
12
|
export * from './automaticFacetFilters';
|
|
18
13
|
export * from './baseGetApiKeyResponse';
|
|
@@ -20,24 +15,12 @@ export * from './baseIndexSettings';
|
|
|
20
15
|
export * from './baseSearchParams';
|
|
21
16
|
export * from './baseSearchParamsWithoutQuery';
|
|
22
17
|
export * from './baseSearchResponse';
|
|
23
|
-
export * from './browseParams';
|
|
24
18
|
export * from './browseParamsObject';
|
|
25
19
|
export * from './browseResponse';
|
|
26
|
-
export * from './builtInOperation';
|
|
27
|
-
export * from './builtInOperationType';
|
|
28
|
-
export * from './condition';
|
|
29
|
-
export * from './consequence';
|
|
30
|
-
export * from './consequenceHide';
|
|
31
20
|
export * from './consequenceParams';
|
|
32
21
|
export * from './consequenceQuery';
|
|
33
22
|
export * from './consequenceQueryObject';
|
|
34
23
|
export * from './cursor';
|
|
35
|
-
export * from './deleteByParams';
|
|
36
|
-
export * from './dictionaryAction';
|
|
37
|
-
export * from './dictionaryEntry';
|
|
38
|
-
export * from './dictionaryEntryState';
|
|
39
|
-
export * from './dictionaryLanguage';
|
|
40
|
-
export * from './dictionaryType';
|
|
41
24
|
export * from './distinct';
|
|
42
25
|
export * from './edit';
|
|
43
26
|
export * from './editType';
|
|
@@ -49,7 +32,6 @@ export * from './facetHits';
|
|
|
49
32
|
export * from './facetOrdering';
|
|
50
33
|
export * from './facets';
|
|
51
34
|
export * from './facetsStats';
|
|
52
|
-
export * from './fetchedIndex';
|
|
53
35
|
export * from './getApiKeyResponse';
|
|
54
36
|
export * from './highlightResult';
|
|
55
37
|
export * from './highlightResultOption';
|
|
@@ -57,21 +39,13 @@ export * from './hit';
|
|
|
57
39
|
export * from './ignorePlurals';
|
|
58
40
|
export * from './indexSettings';
|
|
59
41
|
export * from './indexSettingsAsSearchParams';
|
|
60
|
-
export * from './languages';
|
|
61
|
-
export * from './listIndicesResponse';
|
|
62
|
-
export * from './logType';
|
|
63
42
|
export * from './matchLevel';
|
|
64
43
|
export * from './matchedGeoLocation';
|
|
65
|
-
export * from './mixedSearchFilters';
|
|
66
44
|
export * from './mode';
|
|
67
45
|
export * from './numericFilters';
|
|
68
|
-
export * from './operationType';
|
|
69
46
|
export * from './optionalFilters';
|
|
70
47
|
export * from './params';
|
|
71
48
|
export * from './personalization';
|
|
72
|
-
export * from './promote';
|
|
73
|
-
export * from './promoteObjectID';
|
|
74
|
-
export * from './promoteObjectIDs';
|
|
75
49
|
export * from './queryType';
|
|
76
50
|
export * from './rankingInfo';
|
|
77
51
|
export * from './reRankingApplyFilter';
|
|
@@ -81,9 +55,6 @@ export * from './redirectRuleIndexMetadataData';
|
|
|
81
55
|
export * from './removeStopWords';
|
|
82
56
|
export * from './removeWordsIfNoResults';
|
|
83
57
|
export * from './renderingContent';
|
|
84
|
-
export * from './rule';
|
|
85
|
-
export * from './scopeType';
|
|
86
|
-
export * from './searchDictionaryEntriesResponse';
|
|
87
58
|
export * from './searchForFacetValuesResponse';
|
|
88
59
|
export * from './searchForFacets';
|
|
89
60
|
export * from './searchForFacetsOptions';
|
|
@@ -100,25 +71,15 @@ export * from './searchResponse';
|
|
|
100
71
|
export * from './searchResponses';
|
|
101
72
|
export * from './searchResult';
|
|
102
73
|
export * from './searchStrategy';
|
|
103
|
-
export * from './searchSynonymsResponse';
|
|
104
74
|
export * from './searchTypeDefault';
|
|
105
75
|
export * from './searchTypeFacet';
|
|
106
|
-
export * from './securedAPIKeyRestrictions';
|
|
107
76
|
export * from './semanticSearch';
|
|
108
77
|
export * from './snippetResult';
|
|
109
78
|
export * from './snippetResultOption';
|
|
110
79
|
export * from './sortRemainingBy';
|
|
111
|
-
export * from './source';
|
|
112
|
-
export * from './standardEntries';
|
|
113
80
|
export * from './supportedLanguage';
|
|
114
|
-
export * from './synonymHit';
|
|
115
|
-
export * from './synonymType';
|
|
116
81
|
export * from './tagFilters';
|
|
117
|
-
export * from './taskStatus';
|
|
118
|
-
export * from './timeRange';
|
|
119
82
|
export * from './typoTolerance';
|
|
120
83
|
export * from './typoToleranceEnum';
|
|
121
|
-
export * from './updatedRuleResponse';
|
|
122
|
-
export * from './userId';
|
|
123
84
|
export * from './value';
|
|
124
85
|
export * from './clientMethodProps';
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
4
|
* Filter by numeric facets. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** You can use numeric comparison operators: `<`, `<=`, `=`, `!=`, `>`, `>=`. Comparsions are precise up to 3 decimals. You can also provide ranges: `facet:<lower> TO <upper>`. The range includes the lower and upper boundaries. The same combination rules apply as for `facetFilters`.
|
|
7
5
|
*/
|
|
8
|
-
export type NumericFilters =
|
|
6
|
+
export type NumericFilters = NumericFilters[] | string;
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
4
|
* Filters to promote or demote records in the search results. Optional filters work like facet filters, but they don\'t exclude records from the search results. Records that match the optional filter rank before records that don\'t match. If you\'re using a negative filter `facet:-value`, matching records rank after records that don\'t match. - Optional filters don\'t work on virtual replicas. - Optional filters are applied _after_ sort-by attributes. - Optional filters don\'t work with numeric attributes.
|
|
7
5
|
*/
|
|
8
|
-
export type OptionalFilters =
|
|
6
|
+
export type OptionalFilters = OptionalFilters[] | string;
|
|
@@ -10,7 +10,7 @@ export type RankingInfo = {
|
|
|
10
10
|
/**
|
|
11
11
|
* Whether a filter matched the query.
|
|
12
12
|
*/
|
|
13
|
-
filters
|
|
13
|
+
filters?: number;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Position of the first matched word in the best matching attribute of the record.
|
|
@@ -44,7 +44,7 @@ export type RankingInfo = {
|
|
|
44
44
|
/**
|
|
45
45
|
* Whether the record was promoted by a rule.
|
|
46
46
|
*/
|
|
47
|
-
promoted
|
|
47
|
+
promoted?: boolean;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Number of words between multiple matches in the query plus 1. For single word queries, `proximityDistance` is 0.
|
|
@@ -59,7 +59,7 @@ export type RankingInfo = {
|
|
|
59
59
|
/**
|
|
60
60
|
* Number of matched words.
|
|
61
61
|
*/
|
|
62
|
-
words
|
|
62
|
+
words?: number;
|
|
63
63
|
|
|
64
64
|
/**
|
|
65
65
|
* Whether the record is re-ranked.
|
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
4
|
* Restrict [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking/) to records that match these filters.
|
|
7
5
|
*/
|
|
8
|
-
export type ReRankingApplyFilter =
|
|
6
|
+
export type ReRankingApplyFilter = ReRankingApplyFilter[] | string;
|
|
@@ -9,7 +9,7 @@ export type SearchForFacetValuesResponse = {
|
|
|
9
9
|
facetHits: FacetHits[];
|
|
10
10
|
|
|
11
11
|
/**
|
|
12
|
-
*
|
|
12
|
+
* Whether the facet count is exhaustive (true) or approximate (false). For more information, see [Why are my facet and hit counts not accurate](https://support.algolia.com/hc/en-us/articles/4406975248145-Why-are-my-facet-and-hit-counts-not-accurate-).
|
|
13
13
|
*/
|
|
14
14
|
exhaustiveFacetsCount: boolean;
|
|
15
15
|
|
package/lite/model/tagFilters.ts
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
// Code generated by OpenAPI Generator (https://openapi-generator.tech), manual changes will be lost - read more on https://github.com/algolia/api-clients-automation. DO NOT EDIT.
|
|
2
2
|
|
|
3
|
-
import type { MixedSearchFilters } from './mixedSearchFilters';
|
|
4
|
-
|
|
5
3
|
/**
|
|
6
4
|
* Filter the search by values of the special `_tags` attribute. **Prefer using the `filters` parameter, which supports all filter types and combinations with boolean operators.** Different from regular facets, `_tags` can only be used for filtering (including or excluding records). You won\'t get a facet count. The same combination and escaping rules apply as for `facetFilters`.
|
|
7
5
|
*/
|
|
8
|
-
export type TagFilters =
|
|
6
|
+
export type TagFilters = TagFilters[] | string;
|
package/lite/src/liteClient.ts
CHANGED
|
@@ -22,7 +22,7 @@ import type {
|
|
|
22
22
|
import type { SearchMethodParams } from '../model/searchMethodParams';
|
|
23
23
|
import type { SearchResponses } from '../model/searchResponses';
|
|
24
24
|
|
|
25
|
-
export const apiClientVersion = '5.0.0-beta.
|
|
25
|
+
export const apiClientVersion = '5.0.0-beta.3';
|
|
26
26
|
|
|
27
27
|
function getDefaultHosts(appId: string): Host[] {
|
|
28
28
|
return (
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "algoliasearch",
|
|
3
|
-
"version": "5.0.0-beta.
|
|
3
|
+
"version": "5.0.0-beta.3",
|
|
4
4
|
"description": "A fully-featured and blazing-fast JavaScript API client to interact with Algolia API.",
|
|
5
5
|
"repository": "algolia/algoliasearch-client-javascript",
|
|
6
6
|
"license": "MIT",
|
|
@@ -60,21 +60,21 @@
|
|
|
60
60
|
"test": "jest"
|
|
61
61
|
},
|
|
62
62
|
"dependencies": {
|
|
63
|
-
"@algolia/client-abtesting": "5.0.0-beta.
|
|
64
|
-
"@algolia/client-analytics": "5.0.0-beta.
|
|
65
|
-
"@algolia/client-common": "5.0.0-beta.
|
|
66
|
-
"@algolia/client-personalization": "5.0.0-beta.
|
|
67
|
-
"@algolia/client-search": "5.0.0-beta.
|
|
68
|
-
"@algolia/requester-browser-xhr": "5.0.0-beta.
|
|
69
|
-
"@algolia/requester-node-http": "5.0.0-beta.
|
|
63
|
+
"@algolia/client-abtesting": "5.0.0-beta.3",
|
|
64
|
+
"@algolia/client-analytics": "5.0.0-beta.3",
|
|
65
|
+
"@algolia/client-common": "5.0.0-beta.3",
|
|
66
|
+
"@algolia/client-personalization": "5.0.0-beta.3",
|
|
67
|
+
"@algolia/client-search": "5.0.0-beta.3",
|
|
68
|
+
"@algolia/requester-browser-xhr": "5.0.0-beta.3",
|
|
69
|
+
"@algolia/requester-node-http": "5.0.0-beta.3"
|
|
70
70
|
},
|
|
71
71
|
"devDependencies": {
|
|
72
|
-
"@babel/preset-env": "7.24.
|
|
73
|
-
"@babel/preset-typescript": "7.24.
|
|
72
|
+
"@babel/preset-env": "7.24.7",
|
|
73
|
+
"@babel/preset-typescript": "7.24.7",
|
|
74
74
|
"@types/jest": "29.5.12",
|
|
75
|
-
"@types/node": "20.
|
|
75
|
+
"@types/node": "20.14.2",
|
|
76
76
|
"jest": "29.7.0",
|
|
77
|
-
"rollup": "4.
|
|
77
|
+
"rollup": "4.18.0",
|
|
78
78
|
"typescript": "5.4.5"
|
|
79
79
|
},
|
|
80
80
|
"engines": {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mixedSearchFilters.d.ts","sourceRoot":"","sources":["../../../../client-search/model/mixedSearchFilters.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../../../lite/model/action.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GACd,WAAW,GACX,OAAO,GACP,QAAQ,GACR,cAAc,GACd,qBAAqB,GACrB,6BAA6B,GAC7B,cAAc,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"addApiKeyResponse.d.ts","sourceRoot":"","sources":["../../../lite/model/addApiKeyResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,GAAG,EAAE,MAAM,CAAC;IAEZ;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Which part of the search query the pattern should match: - `startsWith`. The pattern must match the begginning of the query. - `endsWith`. The pattern must match the end of the query. - `is`. The pattern must match the query exactly. - `contains`. The pattern must match anywhere in the query. Empty queries are only allowed as pattern with `anchoring: is`.
|
|
3
|
-
*/
|
|
4
|
-
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
|
|
5
|
-
//# sourceMappingURL=anchoring.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"anchoring.d.ts","sourceRoot":"","sources":["../../../lite/model/anchoring.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG,UAAU,GAAG,UAAU,GAAG,IAAI,GAAG,YAAY,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"apiKeyOperation.d.ts","sourceRoot":"","sources":["../../../lite/model/apiKeyOperation.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,QAAQ,GAAG,QAAQ,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attributeToUpdate.d.ts","sourceRoot":"","sources":["../../../lite/model/attributeToUpdate.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,GAAG,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"browseParams.d.ts","sourceRoot":"","sources":["../../../lite/model/browseParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC/D,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,YAAY,GAAG,kBAAkB,GAAG,kBAAkB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { BuiltInOperationType } from './builtInOperationType';
|
|
2
|
-
/**
|
|
3
|
-
* Update to perform on the attribute.
|
|
4
|
-
*/
|
|
5
|
-
export type BuiltInOperation = {
|
|
6
|
-
_operation: BuiltInOperationType;
|
|
7
|
-
/**
|
|
8
|
-
* Value that corresponds to the operation, for example an `Increment` or `Decrement` step, or an `Add` or `Remove` value.
|
|
9
|
-
*/
|
|
10
|
-
value: string;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=builtInOperation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builtInOperation.d.ts","sourceRoot":"","sources":["../../../lite/model/builtInOperation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAEnE;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,oBAAoB,CAAC;IAEjC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"builtInOperationType.d.ts","sourceRoot":"","sources":["../../../lite/model/builtInOperationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAC5B,KAAK,GACL,WAAW,GACX,WAAW,GACX,WAAW,GACX,eAAe,GACf,cAAc,GACd,QAAQ,CAAC"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { Anchoring } from './anchoring';
|
|
2
|
-
export type Condition = {
|
|
3
|
-
/**
|
|
4
|
-
* Query pattern that triggers the rule. You can use either a literal string, or a special pattern `{facet:ATTRIBUTE}`, where `ATTRIBUTE` is a facet name. The rule is triggered if the query matches the literal string or a value of the specified facet. For example, with `pattern: {facet:genre}`, the rule is triggered when users search for a genre, such as \"comedy\".
|
|
5
|
-
*/
|
|
6
|
-
pattern?: string;
|
|
7
|
-
anchoring?: Anchoring;
|
|
8
|
-
/**
|
|
9
|
-
* Whether the pattern should match plurals, synonyms, and typos.
|
|
10
|
-
*/
|
|
11
|
-
alternatives?: boolean;
|
|
12
|
-
/**
|
|
13
|
-
* An additional restriction that only triggers the rule, when the search has the same value as `ruleContexts` parameter. For example, if `context: mobile`, the rule is only triggered when the search request has a matching `ruleContexts: mobile`. A rule context must only contain alphanumeric characters.
|
|
14
|
-
*/
|
|
15
|
-
context?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Filters that trigger the rule. You can add add filters using the syntax `facet:value` so that the rule is triggered, when the specific filter is selected. You can use `filters` on its own or combine it with the `pattern` parameter.
|
|
18
|
-
*/
|
|
19
|
-
filters?: string;
|
|
20
|
-
};
|
|
21
|
-
//# sourceMappingURL=condition.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"condition.d.ts","sourceRoot":"","sources":["../../../lite/model/condition.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { ConsequenceHide } from './consequenceHide';
|
|
2
|
-
import type { ConsequenceParams } from './consequenceParams';
|
|
3
|
-
import type { Promote } from './promote';
|
|
4
|
-
/**
|
|
5
|
-
* Effect of the rule. For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
|
|
6
|
-
*/
|
|
7
|
-
export type Consequence = {
|
|
8
|
-
params?: ConsequenceParams;
|
|
9
|
-
/**
|
|
10
|
-
* Records you want to pin to a specific position in the search results. You can promote up to 300 records, either individually, or as groups of up to 100 records each.
|
|
11
|
-
*/
|
|
12
|
-
promote?: Promote[];
|
|
13
|
-
/**
|
|
14
|
-
* Whether promoted records must match an active filter for the consequence to be applied. This ensures that user actions (filtering the search) are given a higher precendence. For example, if you promote a record with the `color: red` attribute, and the user filters the search for `color: blue`, the \"red\" record won\'t be shown.
|
|
15
|
-
*/
|
|
16
|
-
filterPromotes?: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Records you want to hide from the search results.
|
|
19
|
-
*/
|
|
20
|
-
hide?: ConsequenceHide[];
|
|
21
|
-
/**
|
|
22
|
-
* A JSON object with custom data that will be appended to the `userData` array in the response. This object isn\'t interpreted by the API and is limited to 1 kB of minified JSON.
|
|
23
|
-
*/
|
|
24
|
-
userData?: any | null;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=consequence.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequence.d.ts","sourceRoot":"","sources":["../../../lite/model/consequence.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,EAAE,CAAC;IAEpB;;OAEG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IAEzB;;OAEG;IACH,IAAI,CAAC,EAAE,eAAe,EAAE,CAAC;IAEzB;;OAEG;IACH,QAAQ,CAAC,EAAE,GAAG,GAAG,IAAI,CAAC;CACvB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"consequenceHide.d.ts","sourceRoot":"","sources":["../../../lite/model/consequenceHide.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { AroundRadius } from './aroundRadius';
|
|
2
|
-
import type { FacetFilters } from './facetFilters';
|
|
3
|
-
import type { NumericFilters } from './numericFilters';
|
|
4
|
-
import type { TagFilters } from './tagFilters';
|
|
5
|
-
export type DeleteByParams = {
|
|
6
|
-
facetFilters?: FacetFilters;
|
|
7
|
-
/**
|
|
8
|
-
* Filter expression to only include items that match the filter criteria in the response. You can use these filter expressions: - **Numeric filters.** `<facet> <op> <number>`, where `<op>` is one of `<`, `<=`, `=`, `!=`, `>`, `>=`. - **Ranges.** `<facet>:<lower> TO <upper>` where `<lower>` and `<upper>` are the lower and upper limits of the range (inclusive). - **Facet filters.** `<facet>:<value>` where `<facet>` is a facet attribute (case-sensitive) and `<value>` a facet value. - **Tag filters.** `_tags:<value>` or just `<value>` (case-sensitive). - **Boolean filters.** `<facet>: true | false`. You can combine filters with `AND`, `OR`, and `NOT` operators with the following restrictions: - You can only combine filters of the same type with `OR`. **Not supported:** `facet:value OR num > 3`. - You can\'t use `NOT` with combinations of filters. **Not supported:** `NOT(facet:value OR facet:value)` - You can\'t combine conjunctions (`AND`) with `OR`. **Not supported:** `facet:value OR (facet:value AND facet:value)` Use quotes around your filters, if the facet attribute name or facet value has spaces, keywords (`OR`, `AND`, `NOT`), or quotes. If a facet attribute is an array, the filter matches if it matches at least one element of the array. For more information, see [Filters](https://www.algolia.com/doc/guides/managing-results/refine-results/filtering/).
|
|
9
|
-
*/
|
|
10
|
-
filters?: string;
|
|
11
|
-
numericFilters?: NumericFilters;
|
|
12
|
-
tagFilters?: TagFilters;
|
|
13
|
-
/**
|
|
14
|
-
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within circle around this central location are included in the results. The radius of the circle is determined by the `aroundRadius` and `minimumAroundRadius` settings. This parameter is ignored if you also specify `insidePolygon` or `insideBoundingBox`.
|
|
15
|
-
*/
|
|
16
|
-
aroundLatLng?: string;
|
|
17
|
-
aroundRadius?: AroundRadius;
|
|
18
|
-
/**
|
|
19
|
-
* Coordinates for a rectangular area in which to search. Each bounding box is defined by the two opposite points of its diagonal, and expressed as latitude and longitude pair: `[p1 lat, p1 long, p2 lat, p2 long]`. Provide multiple bounding boxes as nested arrays. For more information, see [rectangular area](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas).
|
|
20
|
-
*/
|
|
21
|
-
insideBoundingBox?: number[][];
|
|
22
|
-
/**
|
|
23
|
-
* Coordinates of a polygon in which to search. Polygons are defined by 3 to 10,000 points. Each point is represented by its latitude and longitude. Provide multiple polygons as nested arrays. For more information, see [filtering inside polygons](https://www.algolia.com/doc/guides/managing-results/refine-results/geolocation/#filtering-inside-rectangular-or-polygonal-areas). This parameter is ignored if you also specify `insideBoundingBox`.
|
|
24
|
-
*/
|
|
25
|
-
insidePolygon?: number[][];
|
|
26
|
-
};
|
|
27
|
-
//# sourceMappingURL=deleteByParams.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"deleteByParams.d.ts","sourceRoot":"","sources":["../../../lite/model/deleteByParams.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACnD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,cAAc,GAAG;IAC3B,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB,cAAc,CAAC,EAAE,cAAc,CAAC;IAEhC,UAAU,CAAC,EAAE,UAAU,CAAC;IAExB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,YAAY,CAAC,EAAE,YAAY,CAAC;IAE5B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;IAE/B;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,EAAE,CAAC;CAC5B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryAction.d.ts","sourceRoot":"","sources":["../../../lite/model/dictionaryAction.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,UAAU,GAAG,aAAa,CAAC"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import type { DictionaryEntryState } from './dictionaryEntryState';
|
|
2
|
-
import type { SupportedLanguage } from './supportedLanguage';
|
|
3
|
-
/**
|
|
4
|
-
* Dictionary entry.
|
|
5
|
-
*/
|
|
6
|
-
export type DictionaryEntry = Record<string, any> & {
|
|
7
|
-
/**
|
|
8
|
-
* Unique identifier for the dictionary entry.
|
|
9
|
-
*/
|
|
10
|
-
objectID: string;
|
|
11
|
-
language: SupportedLanguage;
|
|
12
|
-
/**
|
|
13
|
-
* Matching dictionary word for `stopwords` and `compounds` dictionaries.
|
|
14
|
-
*/
|
|
15
|
-
word?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Matching words in the `plurals` dictionary including declensions.
|
|
18
|
-
*/
|
|
19
|
-
words?: string[];
|
|
20
|
-
/**
|
|
21
|
-
* Invividual components of a compound word in the `compounds` dictionary.
|
|
22
|
-
*/
|
|
23
|
-
decomposition?: string[];
|
|
24
|
-
state?: DictionaryEntryState;
|
|
25
|
-
};
|
|
26
|
-
//# sourceMappingURL=dictionaryEntry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryEntry.d.ts","sourceRoot":"","sources":["../../../lite/model/dictionaryEntry.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AACnE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC;AAE7D;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IAClD;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,QAAQ,EAAE,iBAAiB,CAAC;IAE5B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,EAAE,CAAC;IAEjB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,KAAK,CAAC,EAAE,oBAAoB,CAAC;CAC9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryEntryState.d.ts","sourceRoot":"","sources":["../../../lite/model/dictionaryEntryState.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,oBAAoB,GAAG,UAAU,GAAG,SAAS,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Dictionary type. If `null`, this dictionary type isn\'t supported for the language.
|
|
3
|
-
*/
|
|
4
|
-
export type DictionaryLanguage = {
|
|
5
|
-
/**
|
|
6
|
-
* Number of custom dictionary entries.
|
|
7
|
-
*/
|
|
8
|
-
nbCustomEntries?: number;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=dictionaryLanguage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryLanguage.d.ts","sourceRoot":"","sources":["../../../lite/model/dictionaryLanguage.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dictionaryType.d.ts","sourceRoot":"","sources":["../../../lite/model/dictionaryType.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG,SAAS,GAAG,WAAW,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
export type FetchedIndex = {
|
|
2
|
-
/**
|
|
3
|
-
* Index name.
|
|
4
|
-
*/
|
|
5
|
-
name: string;
|
|
6
|
-
/**
|
|
7
|
-
* Index creation date. An empty string means that the index has no records.
|
|
8
|
-
*/
|
|
9
|
-
createdAt: string;
|
|
10
|
-
/**
|
|
11
|
-
* Date and time when the object was updated, in RFC 3339 format.
|
|
12
|
-
*/
|
|
13
|
-
updatedAt: string;
|
|
14
|
-
/**
|
|
15
|
-
* Number of records contained in the index.
|
|
16
|
-
*/
|
|
17
|
-
entries: number;
|
|
18
|
-
/**
|
|
19
|
-
* Number of bytes of the index in minified format.
|
|
20
|
-
*/
|
|
21
|
-
dataSize: number;
|
|
22
|
-
/**
|
|
23
|
-
* Number of bytes of the index binary file.
|
|
24
|
-
*/
|
|
25
|
-
fileSize: number;
|
|
26
|
-
/**
|
|
27
|
-
* Last build time.
|
|
28
|
-
*/
|
|
29
|
-
lastBuildTimeS: number;
|
|
30
|
-
/**
|
|
31
|
-
* Number of pending indexing operations. This value is deprecated and should not be used.
|
|
32
|
-
*/
|
|
33
|
-
numberOfPendingTasks: number;
|
|
34
|
-
/**
|
|
35
|
-
* A boolean which says whether the index has pending tasks. This value is deprecated and should not be used.
|
|
36
|
-
*/
|
|
37
|
-
pendingTask: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Only present if the index is a replica. Contains the name of the related primary index.
|
|
40
|
-
*/
|
|
41
|
-
primary?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Only present if the index is a primary index with replicas. Contains the names of all linked replicas.
|
|
44
|
-
*/
|
|
45
|
-
replicas?: string[];
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=fetchedIndex.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"fetchedIndex.d.ts","sourceRoot":"","sources":["../../../lite/model/fetchedIndex.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;OAEG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { DictionaryLanguage } from './dictionaryLanguage';
|
|
2
|
-
/**
|
|
3
|
-
* Dictionary language.
|
|
4
|
-
*/
|
|
5
|
-
export type Languages = {
|
|
6
|
-
plurals: DictionaryLanguage | null;
|
|
7
|
-
stopwords: DictionaryLanguage | null;
|
|
8
|
-
compounds: DictionaryLanguage | null;
|
|
9
|
-
};
|
|
10
|
-
//# sourceMappingURL=languages.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"languages.d.ts","sourceRoot":"","sources":["../../../lite/model/languages.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D;;GAEG;AACH,MAAM,MAAM,SAAS,GAAG;IACtB,OAAO,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAEnC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAAC;IAErC,SAAS,EAAE,kBAAkB,GAAG,IAAI,CAAC;CACtC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { FetchedIndex } from './fetchedIndex';
|
|
2
|
-
export type ListIndicesResponse = {
|
|
3
|
-
/**
|
|
4
|
-
* All indices in your Algolia application.
|
|
5
|
-
*/
|
|
6
|
-
items: FetchedIndex[];
|
|
7
|
-
/**
|
|
8
|
-
* Number of pages.
|
|
9
|
-
*/
|
|
10
|
-
nbPages?: number;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=listIndicesResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"listIndicesResponse.d.ts","sourceRoot":"","sources":["../../../lite/model/listIndicesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAEnD,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,KAAK,EAAE,YAAY,EAAE,CAAC;IAEtB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logType.d.ts","sourceRoot":"","sources":["../../../lite/model/logType.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,OAAO,GAAG,KAAK,GAAG,OAAO,GAAG,OAAO,GAAG,OAAO,CAAC"}
|