mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 12:11:47 +00:00
algoliasearch: Added "clickAnalytics" boolean option (#33816)
* Added "clickAnalytics" boolean option to Algoliasearch. The clickAnalytics definition allows us to track clicks using "search-insights". See: https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/ * algoliasearch: Added "clickAnalytics" to tests * algoliasearch: Bumped version number
This commit is contained in:
committed by
Wesley Wigham
parent
4cce72c390
commit
ba8a93471a
@@ -148,6 +148,7 @@ let _algoliaQueryParameters: QueryParameters = {
|
||||
tagFilters: [''],
|
||||
facetFilters: [''],
|
||||
analytics: false,
|
||||
clickAnalytics: true,
|
||||
analyticsTags: [''],
|
||||
synonyms: true,
|
||||
replaceSynonymsInHighlight: false,
|
||||
|
||||
Vendored
+7
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for algoliasearch-client-js 3.30.0
|
||||
// Type definitions for algoliasearch-client-js 3.30.1
|
||||
// Project: https://github.com/algolia/algoliasearch-client-js
|
||||
// Definitions by: Baptiste Coquelle <https://github.com/cbaptiste>
|
||||
// Haroen Viaene <https://github.com/haroenv>
|
||||
@@ -1426,6 +1426,12 @@ declare namespace algoliasearch {
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/analytics/
|
||||
*/
|
||||
analytics?: boolean;
|
||||
/**
|
||||
* If set to true, enables the Click Analytics feature
|
||||
* default false
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/
|
||||
*/
|
||||
clickAnalytics?: boolean;
|
||||
/**
|
||||
* If set, tag your query with the specified identifiers
|
||||
* default: []
|
||||
|
||||
Vendored
+7
-1
@@ -1,4 +1,4 @@
|
||||
// Type definitions for algoliasearch-client-js 3.30.0
|
||||
// Type definitions for algoliasearch-client-js 3.30.1
|
||||
// Project: https://github.com/algolia/algoliasearch-client-js
|
||||
// Definitions by: Baptiste Coquelle <https://github.com/cbaptiste>
|
||||
// Haroen Viaene <https://github.com/haroenv>
|
||||
@@ -506,6 +506,12 @@ declare namespace algoliasearch {
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/analytics/
|
||||
*/
|
||||
analytics?: boolean;
|
||||
/**
|
||||
* If set to true, enables the Click Analytics feature
|
||||
* default false
|
||||
* https://www.algolia.com/doc/api-reference/api-parameters/clickAnalytics/
|
||||
*/
|
||||
clickAnalytics?: boolean;
|
||||
/**
|
||||
* If set, tag your query with the specified identifiers
|
||||
* default: []
|
||||
|
||||
Reference in New Issue
Block a user