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
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"mixedSearchFilters.d.ts","sourceRoot":"","sources":["../../../lite/model/mixedSearchFilters.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,kBAAkB,GAAG,MAAM,EAAE,GAAG,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operationType.d.ts","sourceRoot":"","sources":["../../../lite/model/operationType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,MAAM,GAAG,MAAM,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promote.d.ts","sourceRoot":"","sources":["../../../lite/model/promote.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAE3D,MAAM,MAAM,OAAO,GAAG,eAAe,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Record to promote.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectID = {
|
|
5
|
-
/**
|
|
6
|
-
* Unique record identifier.
|
|
7
|
-
*/
|
|
8
|
-
objectID: string;
|
|
9
|
-
/**
|
|
10
|
-
* Position in the search results where you want to show the promoted records.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=promoteObjectID.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promoteObjectID.d.ts","sourceRoot":"","sources":["../../../lite/model/promoteObjectID.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Records to promote.
|
|
3
|
-
*/
|
|
4
|
-
export type PromoteObjectIDs = {
|
|
5
|
-
/**
|
|
6
|
-
* Object IDs of the records you want to promote. The records are placed as a group at the `position`. For example, if you want to promote four records to position `0`, they will be the first four search results.
|
|
7
|
-
*/
|
|
8
|
-
objectIDs: string[];
|
|
9
|
-
/**
|
|
10
|
-
* Position in the search results where you want to show the promoted records.
|
|
11
|
-
*/
|
|
12
|
-
position: number;
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=promoteObjectIDs.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"promoteObjectIDs.d.ts","sourceRoot":"","sources":["../../../lite/model/promoteObjectIDs.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;OAEG;IACH,SAAS,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
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 a rule object.
|
|
10
|
-
*/
|
|
11
|
-
objectID: string;
|
|
12
|
-
/**
|
|
13
|
-
* Conditions that trigger a rule. Some consequences require specific conditions or don\'t require any condition. For more information, see [Conditions](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#conditions).
|
|
14
|
-
*/
|
|
15
|
-
conditions?: Condition[];
|
|
16
|
-
consequence?: Consequence;
|
|
17
|
-
/**
|
|
18
|
-
* Description of the rule\'s purpose to help you distinguish between different rules.
|
|
19
|
-
*/
|
|
20
|
-
description?: string;
|
|
21
|
-
/**
|
|
22
|
-
* Whether the rule is active.
|
|
23
|
-
*/
|
|
24
|
-
enabled?: boolean;
|
|
25
|
-
/**
|
|
26
|
-
* Time periods when the rule is active.
|
|
27
|
-
*/
|
|
28
|
-
validity?: TimeRange[];
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=rule.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rule.d.ts","sourceRoot":"","sources":["../../../lite/model/rule.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAC7C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,IAAI,GAAG;IACjB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,SAAS,EAAE,CAAC;IAEzB,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,SAAS,EAAE,CAAC;CACxB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"scopeType.d.ts","sourceRoot":"","sources":["../../../lite/model/scopeType.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,UAAU,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { DictionaryEntry } from './dictionaryEntry';
|
|
2
|
-
export type SearchDictionaryEntriesResponse = {
|
|
3
|
-
/**
|
|
4
|
-
* Dictionary entries matching the search criteria.
|
|
5
|
-
*/
|
|
6
|
-
hits: DictionaryEntry[];
|
|
7
|
-
/**
|
|
8
|
-
* Requested page of the API response.
|
|
9
|
-
*/
|
|
10
|
-
page: number;
|
|
11
|
-
/**
|
|
12
|
-
* Number of results (hits).
|
|
13
|
-
*/
|
|
14
|
-
nbHits: number;
|
|
15
|
-
/**
|
|
16
|
-
* Number of pages of results.
|
|
17
|
-
*/
|
|
18
|
-
nbPages: number;
|
|
19
|
-
};
|
|
20
|
-
//# sourceMappingURL=searchDictionaryEntriesResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"searchDictionaryEntriesResponse.d.ts","sourceRoot":"","sources":["../../../lite/model/searchDictionaryEntriesResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEzD,MAAM,MAAM,+BAA+B,GAAG;IAC5C;;OAEG;IACH,IAAI,EAAE,eAAe,EAAE,CAAC;IAExB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { SynonymHit } from './synonymHit';
|
|
2
|
-
export type SearchSynonymsResponse = Record<string, any> & {
|
|
3
|
-
/**
|
|
4
|
-
* Matching synonyms.
|
|
5
|
-
*/
|
|
6
|
-
hits: SynonymHit[];
|
|
7
|
-
/**
|
|
8
|
-
* Number of results (hits).
|
|
9
|
-
*/
|
|
10
|
-
nbHits: number;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=searchSynonymsResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"searchSynonymsResponse.d.ts","sourceRoot":"","sources":["../../../lite/model/searchSynonymsResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAE/C,MAAM,MAAM,sBAAsB,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG;IACzD;;OAEG;IACH,IAAI,EAAE,UAAU,EAAE,CAAC;IAEnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import type { SearchParamsObject } from './searchParamsObject';
|
|
2
|
-
export type SecuredAPIKeyRestrictions = {
|
|
3
|
-
searchParams?: SearchParamsObject;
|
|
4
|
-
/**
|
|
5
|
-
* Filters that apply to every search made with the secured API key. Extra filters added at search time will be combined with `AND`. For example, if you set `group:admin` as fixed filter on your generated API key, and add `groups:visitors` to the search query, the complete set of filters will be `group:admin AND groups:visitors`.
|
|
6
|
-
*/
|
|
7
|
-
filters?: string;
|
|
8
|
-
/**
|
|
9
|
-
* Timestamp when the secured API key expires, measured in seconds since the Unix epoch.
|
|
10
|
-
*/
|
|
11
|
-
validUntil?: number;
|
|
12
|
-
/**
|
|
13
|
-
* Index names or patterns that this API key can access. By default, an API key can access all indices in the same application. You can use leading and trailing wildcard characters (`*`): - `dev_*` matches all indices starting with \"dev_\". - `*_dev` matches all indices ending with \"_dev\". - `*_products_*` matches all indices containing \"_products_\".
|
|
14
|
-
*/
|
|
15
|
-
restrictIndices?: string[];
|
|
16
|
-
/**
|
|
17
|
-
* IP network that are allowed to use this key. You can only add a single source, but you can provide a range of IP addresses. Use this to protect against API key leaking and reuse.
|
|
18
|
-
*/
|
|
19
|
-
restrictSources?: string;
|
|
20
|
-
/**
|
|
21
|
-
* Pseudonymous user identifier to restrict usage of this API key to specific users. By default, rate limits are set based on IP addresses. This can be an issue if many users search from the same IP address. To avoid this, add a user token to each generated API key.
|
|
22
|
-
*/
|
|
23
|
-
userToken?: string;
|
|
24
|
-
};
|
|
25
|
-
//# sourceMappingURL=securedAPIKeyRestrictions.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"securedAPIKeyRestrictions.d.ts","sourceRoot":"","sources":["../../../lite/model/securedAPIKeyRestrictions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAE/D,MAAM,MAAM,yBAAyB,GAAG;IACtC,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAElC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAE3B;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source.d.ts","sourceRoot":"","sources":["../../../lite/model/source.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Key-value pairs of [supported language ISO codes](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages/) and boolean values.
|
|
3
|
-
*/
|
|
4
|
-
export type StandardEntries = {
|
|
5
|
-
/**
|
|
6
|
-
* Key-value pair of a language ISO code and a boolean value.
|
|
7
|
-
*/
|
|
8
|
-
plurals?: Record<string, boolean> | null;
|
|
9
|
-
/**
|
|
10
|
-
* Key-value pair of a language ISO code and a boolean value.
|
|
11
|
-
*/
|
|
12
|
-
stopwords?: Record<string, boolean> | null;
|
|
13
|
-
/**
|
|
14
|
-
* Key-value pair of a language ISO code and a boolean value.
|
|
15
|
-
*/
|
|
16
|
-
compounds?: Record<string, boolean> | null;
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=standardEntries.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standardEntries.d.ts","sourceRoot":"","sources":["../../../lite/model/standardEntries.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,eAAe,GAAG;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;IAE3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,CAAC;CAC5C,CAAC"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import type { SynonymType } from './synonymType';
|
|
2
|
-
/**
|
|
3
|
-
* Synonym object.
|
|
4
|
-
*/
|
|
5
|
-
export type SynonymHit = {
|
|
6
|
-
/**
|
|
7
|
-
* Unique identifier of a synonym object.
|
|
8
|
-
*/
|
|
9
|
-
objectID: string;
|
|
10
|
-
type: SynonymType;
|
|
11
|
-
/**
|
|
12
|
-
* Words or phrases considered equivalent.
|
|
13
|
-
*/
|
|
14
|
-
synonyms?: string[];
|
|
15
|
-
/**
|
|
16
|
-
* Word or phrase to appear in query strings (for [`onewaysynonym`s](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/one-way-synonyms/)).
|
|
17
|
-
*/
|
|
18
|
-
input?: string;
|
|
19
|
-
/**
|
|
20
|
-
* Word or phrase to appear in query strings (for [`altcorrection1` and `altcorrection2`](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-alternative-corrections/)).
|
|
21
|
-
*/
|
|
22
|
-
word?: string;
|
|
23
|
-
/**
|
|
24
|
-
* Words to be matched in records.
|
|
25
|
-
*/
|
|
26
|
-
corrections?: string[];
|
|
27
|
-
/**
|
|
28
|
-
* [Placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/) to be put inside records.
|
|
29
|
-
*/
|
|
30
|
-
placeholder?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Query words that will match the [placeholder token](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/adding-synonyms/in-depth/synonyms-placeholders/).
|
|
33
|
-
*/
|
|
34
|
-
replacements?: string[];
|
|
35
|
-
};
|
|
36
|
-
//# sourceMappingURL=synonymHit.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synonymHit.d.ts","sourceRoot":"","sources":["../../../lite/model/synonymHit.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG;IACvB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB,IAAI,EAAE,WAAW,CAAC;IAElB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IAEvB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"synonymType.d.ts","sourceRoot":"","sources":["../../../lite/model/synonymType.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,WAAW,GACnB,gBAAgB,GAChB,gBAAgB,GAChB,eAAe,GACf,aAAa,GACb,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"taskStatus.d.ts","sourceRoot":"","sources":["../../../lite/model/taskStatus.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,WAAW,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"timeRange.d.ts","sourceRoot":"","sources":["../../../lite/model/timeRange.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,SAAS,GAAG;IACtB;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
export type UpdatedRuleResponse = {
|
|
2
|
-
/**
|
|
3
|
-
* Unique identifier of a rule object.
|
|
4
|
-
*/
|
|
5
|
-
objectID: string;
|
|
6
|
-
/**
|
|
7
|
-
* Date and time when the object was updated, in RFC 3339 format.
|
|
8
|
-
*/
|
|
9
|
-
updatedAt: string;
|
|
10
|
-
/**
|
|
11
|
-
* Unique identifier of a task. A successful API response means that a task was added to a queue. It might not run immediately. You can check the task\'s progress with the [`task` operation](#tag/Indices/operation/getTask) and this `taskID`.
|
|
12
|
-
*/
|
|
13
|
-
taskID: number;
|
|
14
|
-
};
|
|
15
|
-
//# sourceMappingURL=updatedRuleResponse.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"updatedRuleResponse.d.ts","sourceRoot":"","sources":["../../../lite/model/updatedRuleResponse.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,mBAAmB,GAAG;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Unique user ID.
|
|
3
|
-
*/
|
|
4
|
-
export type UserId = {
|
|
5
|
-
/**
|
|
6
|
-
* Unique identifier of the user who makes the search request.
|
|
7
|
-
*/
|
|
8
|
-
userID: string;
|
|
9
|
-
/**
|
|
10
|
-
* Cluster to which the user is assigned.
|
|
11
|
-
*/
|
|
12
|
-
clusterName: string;
|
|
13
|
-
/**
|
|
14
|
-
* Number of records belonging to the user.
|
|
15
|
-
*/
|
|
16
|
-
nbRecords: number;
|
|
17
|
-
/**
|
|
18
|
-
* Data size used by the user.
|
|
19
|
-
*/
|
|
20
|
-
dataSize: number;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=userId.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"userId.d.ts","sourceRoot":"","sources":["../../../lite/model/userId.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG;IACnB;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC"}
|
package/lite/model/action.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Type of indexing operation.
|
|
5
|
-
*/
|
|
6
|
-
export type Action =
|
|
7
|
-
| 'addObject'
|
|
8
|
-
| 'clear'
|
|
9
|
-
| 'delete'
|
|
10
|
-
| 'deleteObject'
|
|
11
|
-
| 'partialUpdateObject'
|
|
12
|
-
| 'partialUpdateObjectNoCreate'
|
|
13
|
-
| 'updateObject';
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
export type AddApiKeyResponse = {
|
|
4
|
-
/**
|
|
5
|
-
* API key.
|
|
6
|
-
*/
|
|
7
|
-
key: string;
|
|
8
|
-
|
|
9
|
-
/**
|
|
10
|
-
* Date and time when the object was created, in RFC 3339 format.
|
|
11
|
-
*/
|
|
12
|
-
createdAt: string;
|
|
13
|
-
};
|
package/lite/model/anchoring.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* 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`.
|
|
5
|
-
*/
|
|
6
|
-
export type Anchoring = 'contains' | 'endsWith' | 'is' | 'startsWith';
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { BuiltInOperation } from './builtInOperation';
|
|
4
|
-
|
|
5
|
-
export type AttributeToUpdate = BuiltInOperation | string;
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { BrowseParamsObject } from './browseParamsObject';
|
|
4
|
-
import type { SearchParamsString } from './searchParamsString';
|
|
5
|
-
|
|
6
|
-
export type BrowseParams = BrowseParamsObject | SearchParamsString;
|
|
@@ -1,15 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { BuiltInOperationType } from './builtInOperationType';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Update to perform on the attribute.
|
|
7
|
-
*/
|
|
8
|
-
export type BuiltInOperation = {
|
|
9
|
-
_operation: BuiltInOperationType;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* Value that corresponds to the operation, for example an `Increment` or `Decrement` step, or an `Add` or `Remove` value.
|
|
13
|
-
*/
|
|
14
|
-
value: string;
|
|
15
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* How to change the attribute.
|
|
5
|
-
*/
|
|
6
|
-
export type BuiltInOperationType =
|
|
7
|
-
| 'Add'
|
|
8
|
-
| 'AddUnique'
|
|
9
|
-
| 'Decrement'
|
|
10
|
-
| 'Increment'
|
|
11
|
-
| 'IncrementFrom'
|
|
12
|
-
| 'IncrementSet'
|
|
13
|
-
| 'Remove';
|
package/lite/model/condition.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { Anchoring } from './anchoring';
|
|
4
|
-
|
|
5
|
-
export type Condition = {
|
|
6
|
-
/**
|
|
7
|
-
* 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\".
|
|
8
|
-
*/
|
|
9
|
-
pattern?: string;
|
|
10
|
-
|
|
11
|
-
anchoring?: Anchoring;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Whether the pattern should match plurals, synonyms, and typos.
|
|
15
|
-
*/
|
|
16
|
-
alternatives?: boolean;
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 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.
|
|
20
|
-
*/
|
|
21
|
-
context?: string;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* 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.
|
|
25
|
-
*/
|
|
26
|
-
filters?: string;
|
|
27
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { ConsequenceHide } from './consequenceHide';
|
|
4
|
-
import type { ConsequenceParams } from './consequenceParams';
|
|
5
|
-
import type { Promote } from './promote';
|
|
6
|
-
|
|
7
|
-
/**
|
|
8
|
-
* Effect of the rule. For more information, see [Consequences](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/#consequences).
|
|
9
|
-
*/
|
|
10
|
-
export type Consequence = {
|
|
11
|
-
params?: ConsequenceParams;
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* 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.
|
|
15
|
-
*/
|
|
16
|
-
promote?: Promote[];
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* 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.
|
|
20
|
-
*/
|
|
21
|
-
filterPromotes?: boolean;
|
|
22
|
-
|
|
23
|
-
/**
|
|
24
|
-
* Records you want to hide from the search results.
|
|
25
|
-
*/
|
|
26
|
-
hide?: ConsequenceHide[];
|
|
27
|
-
|
|
28
|
-
/**
|
|
29
|
-
* 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.
|
|
30
|
-
*/
|
|
31
|
-
userData?: any | null;
|
|
32
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Object ID of the record to hide.
|
|
5
|
-
*/
|
|
6
|
-
export type ConsequenceHide = {
|
|
7
|
-
/**
|
|
8
|
-
* Unique record identifier.
|
|
9
|
-
*/
|
|
10
|
-
objectID: string;
|
|
11
|
-
};
|
|
@@ -1,36 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { AroundRadius } from './aroundRadius';
|
|
4
|
-
import type { FacetFilters } from './facetFilters';
|
|
5
|
-
import type { NumericFilters } from './numericFilters';
|
|
6
|
-
import type { TagFilters } from './tagFilters';
|
|
7
|
-
|
|
8
|
-
export type DeleteByParams = {
|
|
9
|
-
facetFilters?: FacetFilters;
|
|
10
|
-
|
|
11
|
-
/**
|
|
12
|
-
* 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/).
|
|
13
|
-
*/
|
|
14
|
-
filters?: string;
|
|
15
|
-
|
|
16
|
-
numericFilters?: NumericFilters;
|
|
17
|
-
|
|
18
|
-
tagFilters?: TagFilters;
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* 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`.
|
|
22
|
-
*/
|
|
23
|
-
aroundLatLng?: string;
|
|
24
|
-
|
|
25
|
-
aroundRadius?: AroundRadius;
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* 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).
|
|
29
|
-
*/
|
|
30
|
-
insideBoundingBox?: number[][];
|
|
31
|
-
|
|
32
|
-
/**
|
|
33
|
-
* 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`.
|
|
34
|
-
*/
|
|
35
|
-
insidePolygon?: number[][];
|
|
36
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Actions to perform.
|
|
5
|
-
*/
|
|
6
|
-
export type DictionaryAction = 'addEntry' | 'deleteEntry';
|
|
@@ -1,33 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
import type { DictionaryEntryState } from './dictionaryEntryState';
|
|
4
|
-
import type { SupportedLanguage } from './supportedLanguage';
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Dictionary entry.
|
|
8
|
-
*/
|
|
9
|
-
export type DictionaryEntry = Record<string, any> & {
|
|
10
|
-
/**
|
|
11
|
-
* Unique identifier for the dictionary entry.
|
|
12
|
-
*/
|
|
13
|
-
objectID: string;
|
|
14
|
-
|
|
15
|
-
language: SupportedLanguage;
|
|
16
|
-
|
|
17
|
-
/**
|
|
18
|
-
* Matching dictionary word for `stopwords` and `compounds` dictionaries.
|
|
19
|
-
*/
|
|
20
|
-
word?: string;
|
|
21
|
-
|
|
22
|
-
/**
|
|
23
|
-
* Matching words in the `plurals` dictionary including declensions.
|
|
24
|
-
*/
|
|
25
|
-
words?: string[];
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Invividual components of a compound word in the `compounds` dictionary.
|
|
29
|
-
*/
|
|
30
|
-
decomposition?: string[];
|
|
31
|
-
|
|
32
|
-
state?: DictionaryEntryState;
|
|
33
|
-
};
|
|
@@ -1,6 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Whether a dictionary entry is active.
|
|
5
|
-
*/
|
|
6
|
-
export type DictionaryEntryState = 'disabled' | 'enabled';
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
-
|
|
3
|
-
/**
|
|
4
|
-
* Dictionary type. If `null`, this dictionary type isn\'t supported for the language.
|
|
5
|
-
*/
|
|
6
|
-
export type DictionaryLanguage = {
|
|
7
|
-
/**
|
|
8
|
-
* Number of custom dictionary entries.
|
|
9
|
-
*/
|
|
10
|
-
nbCustomEntries?: number;
|
|
11
|
-
};
|