iobroker.js-controller
Version:
Updated by reinstall.js on 2018-06-11T15:19:56.688Z
21 lines • 627 B
TypeScript
import type { Client as ObjectsClient } from '@iobroker/db-objects-redis';
interface CalculatedProject {
id: string;
val: number;
}
interface CalculateProjectsOptions {
/** The objects db instance */
objects: ObjectsClient;
/** Vis instance */
instance: number;
/** Vis adapter name */
visAdapter: 'vis' | 'vis-2';
}
/**
* Calculate the number of data points for all vis projects of given instance
*
* @param options - db and vis options
*/
export declare function calcProjects(options: CalculateProjectsOptions): Promise<CalculatedProject[]>;
export {};
//# sourceMappingURL=states.d.ts.map