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 {
284
284
/** Checks if a file exists in the DB */
285
285
fileExistsAsync ( adapterName : string | null , path : string , options ?: unknown ) : Promise < boolean > ;
286
286
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
+ } > ;
289
296
/** Deletes a state from the states DB, but not the associated object. Consider using deleteState instead */
290
297
delStateAsync ( id : string , options ?: unknown ) : Promise < void > ;
291
298
/** Deletes a state from the states DB, but not the associated object */
You can’t perform that action at this time.
0 commit comments