@algolia/composition 1.20.0 → 1.22.0
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/README.md +4 -4
- package/dist/browser.d.ts +91 -50
- package/dist/builds/browser.js +33 -1
- package/dist/builds/browser.js.map +1 -1
- package/dist/builds/browser.min.js +1 -1
- package/dist/builds/browser.min.js.map +1 -1
- package/dist/builds/browser.umd.js +2 -2
- package/dist/builds/fetch.js +33 -1
- package/dist/builds/fetch.js.map +1 -1
- package/dist/builds/node.cjs +33 -1
- package/dist/builds/node.cjs.map +1 -1
- package/dist/builds/node.js +33 -1
- package/dist/builds/node.js.map +1 -1
- package/dist/builds/worker.js +33 -1
- package/dist/builds/worker.js.map +1 -1
- package/dist/fetch.d.ts +91 -50
- package/dist/node.d.cts +91 -50
- package/dist/node.d.ts +91 -50
- package/dist/src/compositionClient.cjs +33 -1
- package/dist/src/compositionClient.cjs.map +1 -1
- package/dist/src/compositionClient.js +33 -1
- package/dist/src/compositionClient.js.map +1 -1
- package/dist/worker.d.ts +91 -50
- package/package.json +6 -6
package/dist/worker.d.ts
CHANGED
|
@@ -361,6 +361,12 @@ type Composition = {
|
|
|
361
361
|
*/
|
|
362
362
|
description?: string | undefined;
|
|
363
363
|
behavior: CompositionBehavior;
|
|
364
|
+
/**
|
|
365
|
+
* A mapping of sorting labels to the indices (or replicas) that implement those sorting rules. The sorting indices MUST be related to the associated main targeted index in the composition. Each key is the label your frontend sends at runtime (for example, \"Price (asc)\"), and each value is the name of the index that should be queried when that label is selected. When a request includes a \"sortBy\" parameter, the platform looks up the corresponding index in this mapping and uses it to execute the query. The main targeted index is replaced with the sorting strategy index it is mapped to. Up to 20 sorting strategies can be defined.
|
|
366
|
+
*/
|
|
367
|
+
sortingStrategy?: {
|
|
368
|
+
[key: string]: string;
|
|
369
|
+
} | undefined;
|
|
364
370
|
};
|
|
365
371
|
|
|
366
372
|
/**
|
|
@@ -413,6 +419,10 @@ type Condition = {
|
|
|
413
419
|
* 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.
|
|
414
420
|
*/
|
|
415
421
|
filters?: string | undefined;
|
|
422
|
+
/**
|
|
423
|
+
* Sort criteria that trigger the rule. You can trigger composition rules based on the selected sorting strategy set by the parameter `sortBy`. The rule will trigger if the value passed to `sortBy` matches the one defined in the condition.
|
|
424
|
+
*/
|
|
425
|
+
sortBy?: string | undefined;
|
|
416
426
|
};
|
|
417
427
|
|
|
418
428
|
type TimeRange = {
|
|
@@ -1182,101 +1192,109 @@ type InsideBoundingBox = string | Array<Array<number>>;
|
|
|
1182
1192
|
|
|
1183
1193
|
type Params = {
|
|
1184
1194
|
/**
|
|
1185
|
-
*
|
|
1195
|
+
* Whether this search will be included in Analytics.
|
|
1186
1196
|
*/
|
|
1187
|
-
|
|
1197
|
+
analytics?: boolean | undefined;
|
|
1188
1198
|
/**
|
|
1189
|
-
*
|
|
1199
|
+
* Tags to apply to the query for [segmenting analytics data](https://www.algolia.com/doc/guides/search-analytics/guides/segments).
|
|
1190
1200
|
*/
|
|
1191
|
-
|
|
1201
|
+
analyticsTags?: Array<string> | undefined;
|
|
1192
1202
|
/**
|
|
1193
|
-
*
|
|
1203
|
+
* Coordinates for the center of a circle, expressed as a comma-separated string of latitude and longitude. Only records included within a 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`.
|
|
1194
1204
|
*/
|
|
1195
|
-
|
|
1205
|
+
aroundLatLng?: string | undefined;
|
|
1196
1206
|
/**
|
|
1197
|
-
* Whether the
|
|
1207
|
+
* Whether to obtain the coordinates from the request\'s IP address.
|
|
1198
1208
|
*/
|
|
1199
|
-
|
|
1209
|
+
aroundLatLngViaIP?: boolean | undefined;
|
|
1210
|
+
aroundRadius?: AroundRadius | undefined;
|
|
1211
|
+
aroundPrecision?: AroundPrecision | undefined;
|
|
1200
1212
|
/**
|
|
1201
|
-
*
|
|
1213
|
+
* Whether to include a `queryID` attribute in the response The query ID is a unique identifier for a search query and is required for tracking [click and conversion events](https://www.algolia.com/doc/guides/sending-events/getting-started).
|
|
1202
1214
|
*/
|
|
1203
|
-
|
|
1215
|
+
clickAnalytics?: boolean | undefined;
|
|
1216
|
+
/**
|
|
1217
|
+
* Whether to enable index level A/B testing for this run request. If the composition mixes multiple indices, the A/B test is ignored.
|
|
1218
|
+
*/
|
|
1219
|
+
enableABTest?: boolean | undefined;
|
|
1220
|
+
/**
|
|
1221
|
+
* Whether to enable Personalization.
|
|
1222
|
+
*/
|
|
1223
|
+
enablePersonalization?: boolean | undefined;
|
|
1224
|
+
/**
|
|
1225
|
+
* Whether this search will use [Dynamic Re-Ranking](https://www.algolia.com/doc/guides/algolia-ai/re-ranking) This setting only has an effect if you activated Dynamic Re-Ranking for this index in the Algolia dashboard.
|
|
1226
|
+
*/
|
|
1227
|
+
enableReRanking?: boolean | undefined;
|
|
1228
|
+
/**
|
|
1229
|
+
* Whether to enable composition rules.
|
|
1230
|
+
*/
|
|
1231
|
+
enableRules?: boolean | undefined;
|
|
1204
1232
|
facetFilters?: FacetFilters | undefined;
|
|
1205
1233
|
/**
|
|
1206
1234
|
* Facets for which to retrieve facet values that match the search criteria and the number of matching facet values To retrieve all facets, use the wildcard character `*`. To retrieve disjunctive facets lists, annotate any facets with the `disjunctive` modifier. For more information, see [facets](https://www.algolia.com/doc/guides/managing-results/refine-results/faceting/#contextual-facet-values-and-counts) and [disjunctive faceting for Smart Groups](https://www.algolia.com/doc/guides/managing-results/compositions/search-based-groups#facets-including-disjunctive-faceting).
|
|
1207
1235
|
*/
|
|
1208
1236
|
facets?: Array<string> | undefined;
|
|
1209
|
-
optionalFilters?: OptionalFilters | undefined;
|
|
1210
|
-
numericFilters?: NumericFilters | undefined;
|
|
1211
1237
|
/**
|
|
1212
|
-
*
|
|
1238
|
+
* 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).
|
|
1213
1239
|
*/
|
|
1214
|
-
|
|
1240
|
+
filters?: string | undefined;
|
|
1215
1241
|
/**
|
|
1216
|
-
*
|
|
1242
|
+
* Whether the run response should include detailed ranking information.
|
|
1217
1243
|
*/
|
|
1218
|
-
|
|
1244
|
+
getRankingInfo?: boolean | undefined;
|
|
1219
1245
|
/**
|
|
1220
|
-
*
|
|
1246
|
+
* Number of hits per page.
|
|
1221
1247
|
*/
|
|
1222
|
-
|
|
1223
|
-
aroundRadius?: AroundRadius | undefined;
|
|
1224
|
-
aroundPrecision?: AroundPrecision | undefined;
|
|
1248
|
+
hitsPerPage?: number | undefined;
|
|
1225
1249
|
/**
|
|
1226
|
-
*
|
|
1250
|
+
* A list of extenrally injected objectID groups into from an external source.
|
|
1227
1251
|
*/
|
|
1228
|
-
|
|
1252
|
+
injectedItems?: {
|
|
1253
|
+
[key: string]: ExternalInjectedItem;
|
|
1254
|
+
} | undefined;
|
|
1229
1255
|
insideBoundingBox?: InsideBoundingBox | null | undefined;
|
|
1230
1256
|
/**
|
|
1231
1257
|
* 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`.
|
|
1232
1258
|
*/
|
|
1233
1259
|
insidePolygon?: Array<Array<number>> | undefined;
|
|
1234
1260
|
/**
|
|
1235
|
-
*
|
|
1261
|
+
* Minimum radius (in meters) for a search around a location when `aroundRadius` isn\'t set.
|
|
1236
1262
|
*/
|
|
1237
|
-
|
|
1263
|
+
minimumAroundRadius?: number | undefined;
|
|
1238
1264
|
/**
|
|
1239
1265
|
* ISO language codes that adjust settings that are useful for processing natural language queries (as opposed to keyword searches) - Sets `removeStopWords` and `ignorePlurals` to the list of provided languages. - Sets `removeWordsIfNoResults` to `allOptional`. - Adds a `natural_language` attribute to `ruleContexts` and `analyticsTags`.
|
|
1240
1266
|
*/
|
|
1241
1267
|
naturalLanguages?: Array<SupportedLanguage> | undefined;
|
|
1268
|
+
numericFilters?: NumericFilters | undefined;
|
|
1269
|
+
optionalFilters?: OptionalFilters | undefined;
|
|
1242
1270
|
/**
|
|
1243
|
-
*
|
|
1244
|
-
*/
|
|
1245
|
-
enableRules?: boolean | undefined;
|
|
1246
|
-
/**
|
|
1247
|
-
* Assigns a rule context to the run query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
1248
|
-
*/
|
|
1249
|
-
ruleContexts?: Array<string> | undefined;
|
|
1250
|
-
/**
|
|
1251
|
-
* Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken).
|
|
1271
|
+
* Page of search results to retrieve.
|
|
1252
1272
|
*/
|
|
1253
|
-
|
|
1273
|
+
page?: number | undefined;
|
|
1254
1274
|
/**
|
|
1255
|
-
*
|
|
1275
|
+
* Search query.
|
|
1256
1276
|
*/
|
|
1257
|
-
|
|
1277
|
+
query?: string | undefined;
|
|
1258
1278
|
/**
|
|
1259
|
-
*
|
|
1279
|
+
* Languages for language-specific query processing steps such as plurals, stop-word removal, and word-detection dictionaries This setting sets a default list of languages used by the `removeStopWords` and `ignorePlurals` settings. This setting also sets a dictionary for word detection in the logogram-based [CJK](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/normalization/#normalization-for-logogram-based-languages-cjk) languages. To support this, you must place the CJK language **first** **You should always specify a query language.** If you don\'t specify an indexing language, the search engine uses all [supported languages](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/supported-languages), or the languages you specified with the `ignorePlurals` or `removeStopWords` parameters. This can lead to unexpected search results. For more information, see [Language-specific configuration](https://www.algolia.com/doc/guides/managing-results/optimize-search-results/handling-natural-languages-nlp/in-depth/language-specific-configurations).
|
|
1260
1280
|
*/
|
|
1261
|
-
|
|
1281
|
+
queryLanguages?: Array<SupportedLanguage> | undefined;
|
|
1262
1282
|
/**
|
|
1263
|
-
*
|
|
1283
|
+
* Relevancy threshold below which less relevant results aren\'t included in the results You can only set `relevancyStrictness` on [virtual replica indices](https://www.algolia.com/doc/guides/managing-results/refine-results/sorting/in-depth/replicas/#what-are-virtual-replicas). Use this setting to strike a balance between the relevance and number of returned results.
|
|
1264
1284
|
*/
|
|
1265
|
-
|
|
1285
|
+
relevancyStrictness?: number | undefined;
|
|
1266
1286
|
/**
|
|
1267
|
-
*
|
|
1287
|
+
* Assigns a rule context to the run query [Rule contexts](https://www.algolia.com/doc/guides/managing-results/rules/rules-overview/how-to/customize-search-results-by-platform/#whats-a-context) are strings that you can use to trigger matching rules.
|
|
1268
1288
|
*/
|
|
1269
|
-
|
|
1289
|
+
ruleContexts?: Array<string> | undefined;
|
|
1270
1290
|
/**
|
|
1271
|
-
*
|
|
1291
|
+
* Indicates which sorting strategy to apply for the request. The value must match one of the labels defined in the \"sortingStrategy\" mapping. For example, \"Price (asc)\", see Upsert Composition. At runtime, this label is used to look up the corresponding index or replica configured in \"sortingStrategy\", and the query is executed using that index instead of main\'s. In addition to \"sortingStrategy\", this parameter is also used to apply a matching Composition Rule that contains a condition defined to trigger on \"sortBy\", see Composition Rules. If no value is provided or an invalid value, no sorting strategy is applied.
|
|
1272
1292
|
*/
|
|
1273
|
-
|
|
1293
|
+
sortBy?: string | undefined;
|
|
1274
1294
|
/**
|
|
1275
|
-
*
|
|
1295
|
+
* Unique pseudonymous or anonymous user identifier. This helps with analytics and click and conversion events. For more information, see [user token](https://www.algolia.com/doc/guides/sending-events/concepts/usertoken).
|
|
1276
1296
|
*/
|
|
1277
|
-
|
|
1278
|
-
[key: string]: ExternalInjectedItem;
|
|
1279
|
-
} | undefined;
|
|
1297
|
+
userToken?: string | undefined;
|
|
1280
1298
|
};
|
|
1281
1299
|
|
|
1282
1300
|
type RequestBody = {
|
|
@@ -1532,6 +1550,18 @@ type SearchForFacetValuesProps = {
|
|
|
1532
1550
|
facetName: string;
|
|
1533
1551
|
searchForFacetValuesRequest?: SearchForFacetValuesRequest | undefined;
|
|
1534
1552
|
};
|
|
1553
|
+
/**
|
|
1554
|
+
* Properties for the `updateSortingStrategyComposition` method.
|
|
1555
|
+
*/
|
|
1556
|
+
type UpdateSortingStrategyCompositionProps = {
|
|
1557
|
+
/**
|
|
1558
|
+
* Unique Composition ObjectID.
|
|
1559
|
+
*/
|
|
1560
|
+
compositionID: string;
|
|
1561
|
+
requestBody: {
|
|
1562
|
+
[key: string]: string;
|
|
1563
|
+
};
|
|
1564
|
+
};
|
|
1535
1565
|
type WaitForCompositionTaskOptions = {
|
|
1536
1566
|
/**
|
|
1537
1567
|
* The maximum number of retries. 50 by default.
|
|
@@ -1551,7 +1581,7 @@ type WaitForCompositionTaskOptions = {
|
|
|
1551
1581
|
compositionID: string;
|
|
1552
1582
|
};
|
|
1553
1583
|
|
|
1554
|
-
declare const apiClientVersion = "1.
|
|
1584
|
+
declare const apiClientVersion = "1.22.0";
|
|
1555
1585
|
declare function createCompositionClient({ appId: appIdOption, apiKey: apiKeyOption, authMode, algoliaAgents, ...options }: CreateClientOptions): {
|
|
1556
1586
|
transporter: _algolia_client_common.Transporter;
|
|
1557
1587
|
/**
|
|
@@ -1780,6 +1810,17 @@ declare function createCompositionClient({ appId: appIdOption, apiKey: apiKeyOpt
|
|
|
1780
1810
|
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1781
1811
|
*/
|
|
1782
1812
|
searchForFacetValues({ compositionID, facetName, searchForFacetValuesRequest }: SearchForFacetValuesProps, requestOptions?: RequestOptions): Promise<SearchForFacetValuesResponse>;
|
|
1813
|
+
/**
|
|
1814
|
+
* Updates the \"sortingStrategy\" field of an existing composition. This endpoint allows you to create a new sorting strategy mapping or replace the currently configured one. The provided sorting indices MUST be associated indices or replicas of the main targeted index. WARNING: This endpoint cannot validate if the sort index is related to the composition\'s main index. Validation will fail at runtime if the index you updated is not related! The update is applied to the specified composition within the current Algolia application and returns a taskID that can be used to track the operation’s completion.
|
|
1815
|
+
*
|
|
1816
|
+
* Required API Key ACLs:
|
|
1817
|
+
* - editSettings
|
|
1818
|
+
* @param updateSortingStrategyComposition - The updateSortingStrategyComposition object.
|
|
1819
|
+
* @param updateSortingStrategyComposition.compositionID - Unique Composition ObjectID.
|
|
1820
|
+
* @param updateSortingStrategyComposition.requestBody - The requestBody object.
|
|
1821
|
+
* @param requestOptions - The requestOptions to send along with the query, they will be merged with the transporter requestOptions.
|
|
1822
|
+
*/
|
|
1823
|
+
updateSortingStrategyComposition({ compositionID, requestBody }: UpdateSortingStrategyCompositionProps, requestOptions?: RequestOptions): Promise<TaskIDResponse>;
|
|
1783
1824
|
};
|
|
1784
1825
|
|
|
1785
1826
|
/**
|
|
@@ -1793,4 +1834,4 @@ type CompositionClient = ReturnType<typeof createCompositionClient>;
|
|
|
1793
1834
|
|
|
1794
1835
|
declare function compositionClient(appId: string, apiKey: string, options?: ClientOptions | undefined): CompositionClient;
|
|
1795
1836
|
|
|
1796
|
-
export { type Action, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseInjectionQueryParameters, type BaseSearchResponse, type BatchCompositionAction, type BatchParams, type BooleanString, type Composition, type CompositionBaseSearchResponse, type CompositionBehavior, type CompositionClient, type CompositionIdRankingInfo, type CompositionRankingInfo, type CompositionRule, type CompositionRuleConsequence, type CompositionRulesBatchParams, type CompositionRunAppliedRules, type CompositionRunSearchResponse, type CompositionSource, type CompositionSourceSearch, type CompositionsSearchResponse, type Condition, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DedupPositioning, type Deduplication, type DeleteCompositionAction, type DeleteCompositionProps, type DeleteCompositionRuleAction, type DeleteCompositionRuleProps, type Distinct, type ErrorBase, type ExactOnSingleWordQuery, type Exhaustive, type External, type ExternalInjectedItem, type ExternalInjection, type ExternalOrdering, type ExternalSource, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type GetCompositionProps, type GetRuleProps, type GetTaskProps, type GetTaskResponse, type HighlightResult, type HighlightResultOption, type Hit, type HitMetadata, type HitRankingInfo, type IgnorePlurals, type IndexSettingsFacets, type InjectedItem, type InjectedItemHitsMetadata, type InjectedItemMetadata, type InjectedItemSource, type Injection, type InsideBoundingBox, type ListCompositionsProps, type ListCompositionsResponse, type Main, type MainInjectionQueryParameters, type MatchLevel, type MatchedGeoLocation, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OptionalFilters, type OptionalWords, type Params, type Personalization, type PutCompositionProps, type PutCompositionRuleProps, type QueryType, type Range, type RankingInfo, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveWordsIfNoResults, type RenderingContent, type RequestBody, type ResultsCompositionInfoResponse, type ResultsCompositionsResponse, type ResultsInjectedItemAppliedRulesInfoResponse, type ResultsInjectedItemInfoResponse, type RulesBatchCompositionAction, type RulesMultipleBatchRequest, type RulesMultipleBatchResponse, type SaveRulesProps, type Search, type SearchCompositionRulesParams, type SearchCompositionRulesProps, type SearchCompositionRulesResponse, type SearchForFacetValuesParams, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacetValuesResults, type SearchHits, type SearchPagination, type SearchProps, type SearchResponse, type SearchResults, type SearchResultsItem, type SearchSource, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type SupportedLanguage, type TaskIDResponse, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type Value, type WaitForCompositionTaskOptions, type Widgets, apiClientVersion, compositionClient };
|
|
1837
|
+
export { type Action, type AdvancedSyntaxFeatures, type AlternativesAsExact, type Anchoring, type AroundPrecision, type AroundRadius, type AroundRadiusAll, type Banner, type BannerImage, type BannerImageUrl, type BannerLink, type BaseInjectionQueryParameters, type BaseSearchResponse, type BatchCompositionAction, type BatchParams, type BooleanString, type Composition, type CompositionBaseSearchResponse, type CompositionBehavior, type CompositionClient, type CompositionIdRankingInfo, type CompositionRankingInfo, type CompositionRule, type CompositionRuleConsequence, type CompositionRulesBatchParams, type CompositionRunAppliedRules, type CompositionRunSearchResponse, type CompositionSource, type CompositionSourceSearch, type CompositionsSearchResponse, type Condition, type CustomDeleteProps, type CustomGetProps, type CustomPostProps, type CustomPutProps, type DedupPositioning, type Deduplication, type DeleteCompositionAction, type DeleteCompositionProps, type DeleteCompositionRuleAction, type DeleteCompositionRuleProps, type Distinct, type ErrorBase, type ExactOnSingleWordQuery, type Exhaustive, type External, type ExternalInjectedItem, type ExternalInjection, type ExternalOrdering, type ExternalSource, type FacetFilters, type FacetHits, type FacetOrdering, type FacetStats, type GetCompositionProps, type GetRuleProps, type GetTaskProps, type GetTaskResponse, type HighlightResult, type HighlightResultOption, type Hit, type HitMetadata, type HitRankingInfo, type IgnorePlurals, type IndexSettingsFacets, type InjectedItem, type InjectedItemHitsMetadata, type InjectedItemMetadata, type InjectedItemSource, type Injection, type InsideBoundingBox, type ListCompositionsProps, type ListCompositionsResponse, type Main, type MainInjectionQueryParameters, type MatchLevel, type MatchedGeoLocation, type MultipleBatchRequest, type MultipleBatchResponse, type NumericFilters, type OptionalFilters, type OptionalWords, type Params, type Personalization, type PutCompositionProps, type PutCompositionRuleProps, type QueryType, type Range, type RankingInfo, type Redirect, type RedirectRuleIndexData, type RedirectRuleIndexMetadata, type RedirectURL, type RemoveStopWords, type RemoveWordsIfNoResults, type RenderingContent, type RequestBody, type ResultsCompositionInfoResponse, type ResultsCompositionsResponse, type ResultsInjectedItemAppliedRulesInfoResponse, type ResultsInjectedItemInfoResponse, type RulesBatchCompositionAction, type RulesMultipleBatchRequest, type RulesMultipleBatchResponse, type SaveRulesProps, type Search, type SearchCompositionRulesParams, type SearchCompositionRulesProps, type SearchCompositionRulesResponse, type SearchForFacetValuesParams, type SearchForFacetValuesProps, type SearchForFacetValuesRequest, type SearchForFacetValuesResponse, type SearchForFacetValuesResults, type SearchHits, type SearchPagination, type SearchProps, type SearchResponse, type SearchResults, type SearchResultsItem, type SearchSource, type SnippetResult, type SnippetResultOption, type SortRemainingBy, type SupportedLanguage, type TaskIDResponse, type TaskStatus, type TimeRange, type TypoTolerance, type TypoToleranceEnum, type UpdateSortingStrategyCompositionProps, type Value, type WaitForCompositionTaskOptions, type Widgets, apiClientVersion, compositionClient };
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "1.
|
|
2
|
+
"version": "1.22.0",
|
|
3
3
|
"repository": {
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/algolia/algoliasearch-client-javascript.git"
|
|
@@ -49,17 +49,17 @@
|
|
|
49
49
|
"index.d.ts"
|
|
50
50
|
],
|
|
51
51
|
"dependencies": {
|
|
52
|
-
"@algolia/client-common": "5.
|
|
53
|
-
"@algolia/requester-browser-xhr": "5.
|
|
54
|
-
"@algolia/requester-fetch": "5.
|
|
55
|
-
"@algolia/requester-node-http": "5.
|
|
52
|
+
"@algolia/client-common": "5.46.0",
|
|
53
|
+
"@algolia/requester-browser-xhr": "5.46.0",
|
|
54
|
+
"@algolia/requester-fetch": "5.46.0",
|
|
55
|
+
"@algolia/requester-node-http": "5.46.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
58
|
"@arethetypeswrong/cli": "0.18.2",
|
|
59
59
|
"@types/node": "24.10.1",
|
|
60
60
|
"publint": "0.3.15",
|
|
61
61
|
"rollup": "4.53.2",
|
|
62
|
-
"tsup": "8.5.
|
|
62
|
+
"tsup": "8.5.1",
|
|
63
63
|
"typescript": "5.9.3"
|
|
64
64
|
},
|
|
65
65
|
"engines": {
|