Haroen Viaene
2019-07-24 12:37:30 -07:00
committed by Wesley Wigham
parent 2ccc2ff364
commit 70ba0dd2b4
2 changed files with 8 additions and 0 deletions
+4
View File
@@ -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
+4
View File
@@ -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;
}
/**