Skip to content

Commit 7215eba

Browse files
algolia-botraed667
andcommitted
feat(specs): add (optional) _automaticInsights to search result (generated)
algolia/api-clients-automation#3688 Co-authored-by: algolia-bot <[email protected]> Co-authored-by: Raed <[email protected]>
1 parent b6c417c commit 7215eba

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

packages/algoliasearch/lite/model/baseSearchResponse.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
116116
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
117117
*/
118118
queryID?: string;
119+
120+
/**
121+
* Whether automatic events collection is enabled for the application.
122+
*/
123+
_automaticInsights?: boolean;
119124
};

packages/client-search/model/baseSearchResponse.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
116116
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
117117
*/
118118
queryID?: string;
119+
120+
/**
121+
* Whether automatic events collection is enabled for the application.
122+
*/
123+
_automaticInsights?: boolean;
119124
};

packages/recommend/model/baseSearchResponse.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
116116
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
117117
*/
118118
queryID?: string;
119+
120+
/**
121+
* Whether automatic events collection is enabled for the application.
122+
*/
123+
_automaticInsights?: boolean;
119124
};

0 commit comments

Comments
 (0)