diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/browseResponse.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/browseResponse.ts index 96bba17e98..b1bd5513c8 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/browseResponse.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/browseResponse.ts @@ -5,4 +5,7 @@ import type { BrowsePagination } from './browsePagination'; import type { Cursor } from './cursor'; import type { SearchHits } from './searchHits'; -export type BrowseResponse> = BaseSearchResponse & BrowsePagination & SearchHits & Cursor; +export type BrowseResponse> = BaseSearchResponse & + BrowsePagination & + SearchHits & + Cursor; diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/hit.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/hit.ts index c7537b3a27..da626f902a 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/hit.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/hit.ts @@ -7,7 +7,7 @@ import type { SnippetResult } from './snippetResult'; /** * Search result. A hit is a record from your index, augmented with special attributes for highlighting, snippeting, and ranking. */ -export type Hit> = T & { +export type Hit> = T & { /** * Unique record identifier. */ diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchHits.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchHits.ts index 4376bd3bbb..3e410b8a06 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchHits.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchHits.ts @@ -2,7 +2,7 @@ import type { Hit } from './hit'; -export type SearchHits> = Record & { +export type SearchHits> = Record & { /** * Search results (hits). Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting. */ diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponse.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponse.ts index 066371fa77..e6a626fd8b 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponse.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponse.ts @@ -4,4 +4,4 @@ import type { BaseSearchResponse } from './baseSearchResponse'; import type { SearchHits } from './searchHits'; import type { SearchPagination } from './searchPagination'; -export type SearchResponse> = BaseSearchResponse & SearchPagination & SearchHits; +export type SearchResponse> = BaseSearchResponse & SearchPagination & SearchHits; diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponses.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponses.ts index 942c9b2ebb..8510fb9cfb 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponses.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResponses.ts @@ -2,6 +2,6 @@ import type { SearchResult } from './searchResult'; -export type SearchResponses> = { +export type SearchResponses> = { results: SearchResult[]; }; diff --git a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResult.ts b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResult.ts index 39813bcce6..f3a0d3d334 100644 --- a/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResult.ts +++ b/clients/algoliasearch-client-javascript/packages/algoliasearch/lite/model/searchResult.ts @@ -3,4 +3,4 @@ import type { SearchForFacetValuesResponse } from './searchForFacetValuesResponse'; import type { SearchResponse } from './searchResponse'; -export type SearchResult> = SearchResponse | SearchForFacetValuesResponse; +export type SearchResult> = SearchResponse | SearchForFacetValuesResponse; diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/browseResponse.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/browseResponse.ts index 96bba17e98..b1bd5513c8 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/browseResponse.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/browseResponse.ts @@ -5,4 +5,7 @@ import type { BrowsePagination } from './browsePagination'; import type { Cursor } from './cursor'; import type { SearchHits } from './searchHits'; -export type BrowseResponse> = BaseSearchResponse & BrowsePagination & SearchHits & Cursor; +export type BrowseResponse> = BaseSearchResponse & + BrowsePagination & + SearchHits & + Cursor; diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/clientMethodProps.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/clientMethodProps.ts index f82f0468ee..0cc37da4e9 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/clientMethodProps.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/clientMethodProps.ts @@ -861,7 +861,7 @@ export type ReplaceAllObjectsOptions = { /** * The array of `objects` to store in the given Algolia `indexName`. */ - objects: Array>; + objects: Array>; /** * The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000. diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/getObjectsResponse.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/getObjectsResponse.ts index 579ce4972a..c459f65ea7 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/getObjectsResponse.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/getObjectsResponse.ts @@ -1,6 +1,6 @@ // 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. -export type GetObjectsResponse> = { +export type GetObjectsResponse> = { /** * Retrieved records. */ diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/hit.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/hit.ts index c7537b3a27..da626f902a 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/hit.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/hit.ts @@ -7,7 +7,7 @@ import type { SnippetResult } from './snippetResult'; /** * Search result. A hit is a record from your index, augmented with special attributes for highlighting, snippeting, and ranking. */ -export type Hit> = T & { +export type Hit> = T & { /** * Unique record identifier. */ diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/searchHits.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/searchHits.ts index 4376bd3bbb..3e410b8a06 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/searchHits.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/searchHits.ts @@ -2,7 +2,7 @@ import type { Hit } from './hit'; -export type SearchHits> = Record & { +export type SearchHits> = Record & { /** * Search results (hits). Hits are records from your index that match the search criteria, augmented with additional attributes, such as, for highlighting. */ diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponse.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponse.ts index 066371fa77..e6a626fd8b 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponse.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponse.ts @@ -4,4 +4,4 @@ import type { BaseSearchResponse } from './baseSearchResponse'; import type { SearchHits } from './searchHits'; import type { SearchPagination } from './searchPagination'; -export type SearchResponse> = BaseSearchResponse & SearchPagination & SearchHits; +export type SearchResponse> = BaseSearchResponse & SearchPagination & SearchHits; diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponses.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponses.ts index 942c9b2ebb..8510fb9cfb 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponses.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResponses.ts @@ -2,6 +2,6 @@ import type { SearchResult } from './searchResult'; -export type SearchResponses> = { +export type SearchResponses> = { results: SearchResult[]; }; diff --git a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResult.ts b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResult.ts index 39813bcce6..f3a0d3d334 100644 --- a/clients/algoliasearch-client-javascript/packages/client-search/model/searchResult.ts +++ b/clients/algoliasearch-client-javascript/packages/client-search/model/searchResult.ts @@ -3,4 +3,4 @@ import type { SearchForFacetValuesResponse } from './searchForFacetValuesResponse'; import type { SearchResponse } from './searchResponse'; -export type SearchResult> = SearchResponse | SearchForFacetValuesResponse; +export type SearchResult> = SearchResponse | SearchForFacetValuesResponse;