Skip to content

Commit

Permalink
feat(specs): add (optional) _automaticInsights to search result (gene…
Browse files Browse the repository at this point in the history
…rated)

algolia/api-clients-automation#3688

Co-authored-by: algolia-bot <accounts+algolia-api-client-bot@algolia.com>
Co-authored-by: Raed <raed.chammam@algolia.com>
  • Loading branch information
algolia-bot and raed667 committed Sep 11, 2024
1 parent b6c417c commit 7215eba
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/algoliasearch/lite/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
*/
queryID?: string;

/**
* Whether automatic events collection is enabled for the application.
*/
_automaticInsights?: boolean;
};
5 changes: 5 additions & 0 deletions packages/client-search/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
*/
queryID?: string;

/**
* Whether automatic events collection is enabled for the application.
*/
_automaticInsights?: boolean;
};
5 changes: 5 additions & 0 deletions packages/recommend/model/baseSearchResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,4 +116,9 @@ export type BaseSearchResponse = Record<string, any> & {
* Unique identifier for the query. This is used for [click analytics](https://www.algolia.com/doc/guides/analytics/click-analytics/).
*/
queryID?: string;

/**
* Whether automatic events collection is enabled for the application.
*/
_automaticInsights?: boolean;
};

0 comments on commit 7215eba

Please sign in to comment.