Skip to content

Commit

Permalink
fix(specs): multiple clients fixes (generated)
Browse files Browse the repository at this point in the history
algolia/api-clients-automation#3971

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
  • Loading branch information
algolia-bot committed Oct 16, 2024
1 parent 916b1fe commit 71cdb13
Show file tree
Hide file tree
Showing 8 changed files with 20 additions and 5 deletions.
2 changes: 1 addition & 1 deletion packages/algoliasearch/lite/model/baseGetApiKeyResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type BaseGetApiKeyResponse = {
/**
* API key.
*/
value?: string;
value: string;

/**
* Timestamp when the object was created, in milliseconds since the Unix epoch.
Expand Down
5 changes: 5 additions & 0 deletions packages/algoliasearch/lite/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export type BaseSearchResponse = Record<string, any> & {

exhaustive?: Exhaustive;

/**
* Rules applied to the query.
*/
appliedRules?: Array<Record<string, unknown>>;

/**
* See the `facetsCount` field of the `exhaustive` object in the response.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/client-abtesting/model/aBTestConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import type { Outliers } from './outliers';
* A/B test configuration.
*/
export type ABTestConfiguration = {
outliers: Outliers;
outliers?: Outliers;

emptySearch?: EmptySearch;

Expand Down
2 changes: 1 addition & 1 deletion packages/client-abtesting/model/variant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export type Variant = {
/**
* Description for this variant.
*/
description: string;
description?: string;

/**
* Estimated number of searches required to achieve the desired statistical significance. The A/B test configuration must include a `mininmumDetectableEffect` setting for this number to be included in the response.
Expand Down
2 changes: 1 addition & 1 deletion packages/client-search/model/baseGetApiKeyResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ export type BaseGetApiKeyResponse = {
/**
* API key.
*/
value?: string;
value: string;

/**
* Timestamp when the object was created, in milliseconds since the Unix epoch.
Expand Down
5 changes: 5 additions & 0 deletions packages/client-search/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export type BaseSearchResponse = Record<string, any> & {

exhaustive?: Exhaustive;

/**
* Rules applied to the query.
*/
appliedRules?: Array<Record<string, unknown>>;

/**
* See the `facetsCount` field of the `exhaustive` object in the response.
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/client-search/model/getObjectsResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ export type GetObjectsResponse<T = Record<string, any>> = {
/**
* Retrieved records.
*/
results: T[];
results?: T[];
};
5 changes: 5 additions & 0 deletions packages/recommend/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ export type BaseSearchResponse = Record<string, any> & {

exhaustive?: Exhaustive;

/**
* Rules applied to the query.
*/
appliedRules?: Array<Record<string, unknown>>;

/**
* See the `facetsCount` field of the `exhaustive` object in the response.
*/
Expand Down

0 comments on commit 71cdb13

Please sign in to comment.