Skip to content

Commit d9500e7

Browse files
algolia-botmillotp
andcommitted
fix(specs): proper title with linter (generated)
algolia/api-clients-automation#3444 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent 73cc6ae commit d9500e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

61 files changed

+157
-119
lines changed

packages/algoliasearch/builds/models.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import {
66
AlternativesAsExact,
77
Anchoring,
88
AroundPrecision,
9-
AroundPrecisionFromValueInner,
109
AroundRadius,
1110
AroundRadiusAll,
1211
AutomaticFacetFilter,
@@ -50,11 +49,12 @@ import {
5049
PromoteObjectID,
5150
PromoteObjectIDs,
5251
QueryType,
52+
Range,
5353
RankingInfo,
5454
ReRankingApplyFilter,
5555
Redirect,
5656
RedirectRuleIndexMetadata,
57-
RedirectRuleIndexMetadataData,
57+
RedirectRuleIndexData,
5858
RedirectURL,
5959
RemoveStopWords,
6060
RemoveWordsIfNoResults,
@@ -92,7 +92,6 @@ export {
9292
AlternativesAsExact,
9393
Anchoring,
9494
AroundPrecision,
95-
AroundPrecisionFromValueInner,
9695
AroundRadius,
9796
AroundRadiusAll,
9897
AutomaticFacetFilter,
@@ -136,11 +135,12 @@ export {
136135
PromoteObjectID,
137136
PromoteObjectIDs,
138137
QueryType,
138+
Range,
139139
RankingInfo,
140140
ReRankingApplyFilter,
141141
Redirect,
142142
RedirectRuleIndexMetadata,
143-
RedirectRuleIndexMetadataData,
143+
RedirectRuleIndexData,
144144
RedirectURL,
145145
RemoveStopWords,
146146
RemoveWordsIfNoResults,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// 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.
22

3-
import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
3+
import type { Range } from './range';
44

55
/**
66
* Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
77
*/
8-
export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
8+
export type AroundPrecision = Range[] | number;

packages/algoliasearch/lite/model/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ export * from './advancedSyntaxFeatures';
55
export * from './alternativesAsExact';
66
export * from './apiKey';
77
export * from './aroundPrecision';
8-
export * from './aroundPrecisionFromValueInner';
98
export * from './aroundRadius';
109
export * from './aroundRadiusAll';
1110
export * from './automaticFacetFilter';
@@ -58,6 +57,7 @@ export * from './optionalFilters';
5857
export * from './params';
5958
export * from './personalization';
6059
export * from './queryType';
60+
export * from './range';
6161
export * from './rankingInfo';
6262
export * from './reRankingApplyFilter';
6363
export * from './recommendHit';
@@ -69,8 +69,8 @@ export * from './recommendedForYou';
6969
export * from './recommendedForYouModel';
7070
export * from './recommendedForYouQuery';
7171
export * from './redirect';
72+
export * from './redirectRuleIndexData';
7273
export * from './redirectRuleIndexMetadata';
73-
export * from './redirectRuleIndexMetadataData';
7474
export * from './redirectURL';
7575
export * from './relatedModel';
7676
export * from './relatedProducts';

packages/algoliasearch/lite/model/aroundPrecisionFromValueInner.ts renamed to packages/algoliasearch/lite/model/range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Range object with lower and upper values in meters to define custom ranges.
55
*/
6-
export type AroundPrecisionFromValueInner = {
6+
export type Range = {
77
/**
88
* Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
99
*/

packages/client-search/model/redirectRuleIndexMetadataData.ts renamed to packages/algoliasearch/lite/model/redirectRuleIndexData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
/**
44
* Redirect rule data.
55
*/
6-
export type RedirectRuleIndexMetadataData = {
6+
export type RedirectRuleIndexData = {
77
ruleObjectID: string;
88
};

packages/algoliasearch/lite/model/redirectRuleIndexMetadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
3+
import type { RedirectRuleIndexData } from './redirectRuleIndexData';
44

55
export type RedirectRuleIndexMetadata = {
66
/**
@@ -23,5 +23,5 @@ export type RedirectRuleIndexMetadata = {
2323
*/
2424
succeed: boolean;
2525

26-
data: RedirectRuleIndexMetadataData;
26+
data: RedirectRuleIndexData;
2727
};

packages/client-abtesting/model/filterEffectsEmptySearch.ts renamed to packages/client-abtesting/model/emptySearchFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Empty searches removed from the A/B test as a result of configuration settings.
55
*/
6-
export type FilterEffectsEmptySearch = {
6+
export type EmptySearchFilter = {
77
/**
88
* Number of users removed from the A/B test.
99
*/
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
// 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.
22

3-
import type { FilterEffectsEmptySearch } from './filterEffectsEmptySearch';
4-
import type { FilterEffectsOutliers } from './filterEffectsOutliers';
3+
import type { EmptySearchFilter } from './emptySearchFilter';
4+
import type { OutliersFilter } from './outliersFilter';
55

66
/**
77
* A/B test filter effects resulting from configuration settings.
88
*/
99
export type FilterEffects = {
10-
outliers?: FilterEffectsOutliers;
10+
outliers?: OutliersFilter;
1111

12-
emptySearch?: FilterEffectsEmptySearch;
12+
emptySearch?: EmptySearchFilter;
1313
};

packages/client-abtesting/model/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ export * from './currency';
1111
export * from './customSearchParams';
1212
export * from './effect';
1313
export * from './emptySearch';
14+
export * from './emptySearchFilter';
1415
export * from './errorBase';
1516
export * from './filterEffects';
16-
export * from './filterEffectsEmptySearch';
17-
export * from './filterEffectsOutliers';
1817
export * from './listABTestsResponse';
1918
export * from './minimumDetectableEffect';
2019
export * from './outliers';
20+
export * from './outliersFilter';
2121
export * from './status';
2222
export * from './variant';
2323
export * from './clientMethodProps';

packages/client-abtesting/model/filterEffectsOutliers.ts renamed to packages/client-abtesting/model/outliersFilter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Outliers removed from the A/B test as a result of configuration settings.
55
*/
6-
export type FilterEffectsOutliers = {
6+
export type OutliersFilter = {
77
/**
88
* Number of users removed from the A/B test.
99
*/

packages/client-analytics/model/clickPositionsInner.ts renamed to packages/client-analytics/model/clickPosition.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Click position.
55
*/
6-
export type ClickPositionsInner = {
6+
export type ClickPosition = {
77
/**
88
* Range of positions in the search results, using the pattern `[start,end]`. For positions 11 and up, click events are summed over the specified range. `-1` indicates the end of the list of search results.
99
*/
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
// 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.
22

3-
import type { ClickPositionsInner } from './clickPositionsInner';
3+
import type { ClickPosition } from './clickPosition';
44

55
export type GetClickPositionsResponse = {
66
/**
77
* List of positions in the search results and clicks associated with this search.
88
*/
9-
positions: ClickPositionsInner[];
9+
positions: ClickPosition[];
1010
};

packages/client-analytics/model/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
export * from './clickPositionsInner';
3+
export * from './clickPosition';
44
export * from './currenciesValue';
55
export * from './dailyAddToCartRates';
66
export * from './dailyAverageClicks';

packages/client-analytics/model/topSearchWithAnalytics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
import type { ClickPositionsInner } from './clickPositionsInner';
3+
import type { ClickPosition } from './clickPosition';
44

55
export type TopSearchWithAnalytics = {
66
/**
@@ -26,7 +26,7 @@ export type TopSearchWithAnalytics = {
2626
/**
2727
* List of positions in the search results and clicks associated with this search.
2828
*/
29-
clickPositions: ClickPositionsInner[];
29+
clickPositions: ClickPosition[];
3030

3131
/**
3232
* Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.

packages/client-analytics/model/topSearchWithRevenueAnalytics.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
import type { ClickPositionsInner } from './clickPositionsInner';
3+
import type { ClickPosition } from './clickPosition';
44
import type { CurrenciesValue } from './currenciesValue';
55

66
export type TopSearchWithRevenueAnalytics = {
@@ -27,7 +27,7 @@ export type TopSearchWithRevenueAnalytics = {
2727
/**
2828
* List of positions in the search results and clicks associated with this search.
2929
*/
30-
clickPositions: ClickPositionsInner[];
30+
clickPositions: ClickPosition[];
3131

3232
/**
3333
* Conversion rate, calculated as number of tracked searches with at least one conversion event divided by the number of tracked searches. If null, Algolia didn\'t receive any search requests with `clickAnalytics` set to true.

packages/client-query-suggestions/model/getConfigStatus200Response.ts renamed to packages/client-query-suggestions/model/configStatus.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
export type GetConfigStatus200Response = {
3+
export type ConfigStatus = {
44
/**
55
* Name of the Query Suggestions index (case-sensitive).
66
*/

packages/client-query-suggestions/model/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22

33
export * from './appID';
44
export * from './baseResponse';
5+
export * from './configStatus';
56
export * from './configuration';
67
export * from './configurationResponse';
78
export * from './configurationWithIndex';
89
export * from './errorBase';
910
export * from './facet';
10-
export * from './getConfigStatus200Response';
11-
export * from './getLogFile200Response';
1211
export * from './languages';
12+
export * from './logFile';
1313
export * from './logLevel';
1414
export * from './sourceIndex';
1515
export * from './clientMethodProps';

packages/client-query-suggestions/model/getLogFile200Response.ts renamed to packages/client-query-suggestions/model/logFile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
import type { LogLevel } from './logLevel';
44

5-
export type GetLogFile200Response = {
5+
export type LogFile = {
66
/**
77
* Date and time of the log entry, in RFC 3339 format.
88
*/

packages/client-query-suggestions/src/querySuggestionsClient.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@ import type {
2626
GetLogFileProps,
2727
UpdateConfigProps,
2828
} from '../model/clientMethodProps';
29+
import type { ConfigStatus } from '../model/configStatus';
2930
import type { ConfigurationResponse } from '../model/configurationResponse';
3031
import type { ConfigurationWithIndex } from '../model/configurationWithIndex';
31-
import type { GetConfigStatus200Response } from '../model/getConfigStatus200Response';
32-
import type { GetLogFile200Response } from '../model/getLogFile200Response';
32+
import type { LogFile } from '../model/logFile';
3333

3434
export const apiClientVersion = '5.0.0-beta.12';
3535

@@ -387,7 +387,7 @@ export function createQuerySuggestionsClient({
387387
getConfigStatus(
388388
{ indexName }: GetConfigStatusProps,
389389
requestOptions?: RequestOptions
390-
): Promise<GetConfigStatus200Response> {
390+
): Promise<ConfigStatus> {
391391
if (!indexName) {
392392
throw new Error(
393393
'Parameter `indexName` is required when calling `getConfigStatus`.'
@@ -424,7 +424,7 @@ export function createQuerySuggestionsClient({
424424
getLogFile(
425425
{ indexName }: GetLogFileProps,
426426
requestOptions?: RequestOptions
427-
): Promise<GetLogFile200Response> {
427+
): Promise<LogFile> {
428428
if (!indexName) {
429429
throw new Error(
430430
'Parameter `indexName` is required when calling `getLogFile`.'
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
// 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.
22

3-
import type { AroundPrecisionFromValueInner } from './aroundPrecisionFromValueInner';
3+
import type { Range } from './range';
44

55
/**
66
* Precision of a coordinate-based search in meters to group results with similar distances. The Geo ranking criterion considers all matches within the same range of distances to be equal.
77
*/
8-
export type AroundPrecision = AroundPrecisionFromValueInner[] | number;
8+
export type AroundPrecision = Range[] | number;

packages/client-search/model/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ export * from './anchoring';
99
export * from './apiKey';
1010
export * from './apiKeyOperation';
1111
export * from './aroundPrecision';
12-
export * from './aroundPrecisionFromValueInner';
1312
export * from './aroundRadius';
1413
export * from './aroundRadiusAll';
1514
export * from './assignUserIdParams';
@@ -102,11 +101,12 @@ export * from './promote';
102101
export * from './promoteObjectID';
103102
export * from './promoteObjectIDs';
104103
export * from './queryType';
104+
export * from './range';
105105
export * from './rankingInfo';
106106
export * from './reRankingApplyFilter';
107107
export * from './redirect';
108+
export * from './redirectRuleIndexData';
108109
export * from './redirectRuleIndexMetadata';
109-
export * from './redirectRuleIndexMetadataData';
110110
export * from './redirectURL';
111111
export * from './removeStopWords';
112112
export * from './removeUserIdResponse';

packages/client-search/model/aroundPrecisionFromValueInner.ts renamed to packages/client-search/model/range.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
/**
44
* Range object with lower and upper values in meters to define custom ranges.
55
*/
6-
export type AroundPrecisionFromValueInner = {
6+
export type Range = {
77
/**
88
* Lower boundary of a range in meters. The Geo ranking criterion considers all records within the range to be equal.
99
*/

packages/algoliasearch/lite/model/redirectRuleIndexMetadataData.ts renamed to packages/client-search/model/redirectRuleIndexData.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
/**
44
* Redirect rule data.
55
*/
6-
export type RedirectRuleIndexMetadataData = {
6+
export type RedirectRuleIndexData = {
77
ruleObjectID: string;
88
};

packages/client-search/model/redirectRuleIndexMetadata.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
import type { RedirectRuleIndexMetadataData } from './redirectRuleIndexMetadataData';
3+
import type { RedirectRuleIndexData } from './redirectRuleIndexData';
44

55
export type RedirectRuleIndexMetadata = {
66
/**
@@ -23,5 +23,5 @@ export type RedirectRuleIndexMetadata = {
2323
*/
2424
succeed: boolean;
2525

26-
data: RedirectRuleIndexMetadataData;
26+
data: RedirectRuleIndexData;
2727
};

packages/client-search/model/searchParamsString.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
// 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.
22

3+
/**
4+
* Search parameters as query string.
5+
*/
36
export type SearchParamsString = {
47
/**
58
* Search parameters as a URL-encoded query string.

packages/client-usage/model/getUsage400ResponseErrorErrorsInner.ts renamed to packages/client-usage/model/errorItem.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// 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.
22

3-
export type GetUsage400ResponseErrorErrorsInner = {
3+
export type ErrorItem = {
44
code?: string;
55

66
message: string;
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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 { ForbiddenError } from './forbiddenError';
4+
5+
export type Forbidden = {
6+
error: ForbiddenError;
7+
};
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
// 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.
22

3-
import type { TimeInner } from './timeInner';
3+
import type { ErrorItem } from './errorItem';
44

5-
export type IndexingTimeResponseMetrics = {
6-
indexing?: Record<string, TimeInner[]>;
5+
export type ForbiddenError = {
6+
code?: string;
7+
8+
message?: string;
9+
10+
errors?: ErrorItem[];
711
};

0 commit comments

Comments
 (0)