File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed
packages/adapter/src/lib/adapter Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -284,8 +284,15 @@ export interface AdapterClass {
284284 /** Checks if a file exists in the DB */
285285 fileExistsAsync ( adapterName : string | null , path : string , options ?: unknown ) : Promise < boolean > ;
286286
287- // TODO correct types needed
288- getHistoryAsync ( ...args : any [ ] ) : Promise < any > ;
287+ /** Read historian data for states of any instance or system state. */
288+ getHistoryAsync (
289+ id : string ,
290+ options ?: ioBroker . GetHistoryOptions ,
291+ ) : Promise < {
292+ result ?: ioBroker . GetHistoryResult ;
293+ step ?: number ;
294+ sessionId ?: number ;
295+ } > ;
289296 /** Deletes a state from the states DB, but not the associated object. Consider using deleteState instead */
290297 delStateAsync ( id : string , options ?: unknown ) : Promise < void > ;
291298 /** Deletes a state from the states DB, but not the associated object */
You can’t perform that action at this time.
0 commit comments