Skip to content

Commit f47b128

Browse files
fix(specs): remove unnecessary required fields (generated)
algolia/api-clients-automation#5959 Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com> Co-authored-by: Mario-Alexandru Dan <marioalexandrudan@gmail.com>
1 parent 662c6fa commit f47b128

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/algoliasearch/lite/model/searchHits.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export type SearchHits<T = Record<string, unknown>> = Record<string, any> & {
1111
/**
1212
* Search query.
1313
*/
14-
query: string;
14+
query?: string | undefined;
1515

1616
/**
1717
* URL-encoded string of all search parameters.
1818
*/
19-
params: string;
19+
params?: string | undefined;
2020
};

packages/client-search/model/searchHits.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ export type SearchHits<T = Record<string, unknown>> = Record<string, any> & {
1111
/**
1212
* Search query.
1313
*/
14-
query: string;
14+
query?: string | undefined;
1515

1616
/**
1717
* URL-encoded string of all search parameters.
1818
*/
19-
params: string;
19+
params?: string | undefined;
2020
};

0 commit comments

Comments
 (0)