mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 06:50:19 +00:00
[algoliasearch] add method addAlgoliaAgent (#37105)
source: https://github.com/algolia/algoliasearch-client-javascript/blob/5c1ce1308749aa0807940456393aa23ae46fb9eb/src/AlgoliaSearchCore.js#L173
This commit is contained in:
committed by
Wesley Wigham
parent
2ccc2ff364
commit
70ba0dd2b4
Vendored
+4
@@ -211,6 +211,10 @@ declare namespace algoliasearch {
|
||||
* Get 1000 last events
|
||||
*/
|
||||
getLogs(options: LogsOptions): Promise<{ logs: Log[] }>;
|
||||
/**
|
||||
* add a header, used for flagging InstantSearch implementations
|
||||
*/
|
||||
addAlgoliaAgent(agent: string): void;
|
||||
}
|
||||
/**
|
||||
* Interface for the index algolia object
|
||||
|
||||
Vendored
+4
@@ -76,6 +76,10 @@ declare namespace algoliasearch {
|
||||
* remove an extra header for all upcoming requests
|
||||
*/
|
||||
unsetExtraHeader(name: string): void;
|
||||
/**
|
||||
* add a header, used for flagging InstantSearch implementations
|
||||
*/
|
||||
addAlgoliaAgent(agent: string): void;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user