Skip to content

Commit 1ce0d21

Browse files
algolia-botFluf22
andcommitted
fix(clients): processingTimeMS should be optional (generated)
algolia/api-clients-automation#5004 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Thomas Raffray <Fluf22@users.noreply.github.com>
1 parent 5865854 commit 1ce0d21

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

packages/algoliasearch/lite/model/baseSearchResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
8686
/**
8787
* Time the server took to process the request, in milliseconds.
8888
*/
89-
processingTimeMS: number;
89+
processingTimeMS?: number | undefined;
9090

9191
/**
9292
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

packages/client-composition/model/baseSearchResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
8686
/**
8787
* Time the server took to process the request, in milliseconds.
8888
*/
89-
processingTimeMS: number;
89+
processingTimeMS?: number | undefined;
9090

9191
/**
9292
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

packages/client-search/model/baseSearchResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
8686
/**
8787
* Time the server took to process the request, in milliseconds.
8888
*/
89-
processingTimeMS: number;
89+
processingTimeMS?: number | undefined;
9090

9191
/**
9292
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

packages/composition/model/baseSearchResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
8686
/**
8787
* Time the server took to process the request, in milliseconds.
8888
*/
89-
processingTimeMS: number;
89+
processingTimeMS?: number | undefined;
9090

9191
/**
9292
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

packages/recommend/model/baseSearchResponse.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ export type BaseSearchResponse = Record<string, any> & {
8686
/**
8787
* Time the server took to process the request, in milliseconds.
8888
*/
89-
processingTimeMS: number;
89+
processingTimeMS?: number | undefined;
9090

9191
/**
9292
* Experimental. List of processing steps and their times, in milliseconds. You can use this list to investigate performance issues.

0 commit comments

Comments
 (0)