You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/types-dev/index.d.ts
+41-5Lines changed: 41 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -290,20 +290,56 @@ declare global {
290
290
291
291
interfaceGetHistoryOptions{
292
292
instance?: string;
293
+
/** Start time in ms */
293
294
start?: number;
295
+
/** End time in ms. If not defined, it is "now" */
294
296
end?: number;
297
+
/** Step in ms of intervals. Used in aggregate (max, min, average, total, ...) */
295
298
step?: number;
299
+
/** number of values if aggregate is 'onchange' or number of intervals if other aggregate method. Count will be ignored if step is set, else default is 500 if not set */
296
300
count?: number;
301
+
/** if `from` field should be included in answer */
297
302
from?: boolean;
303
+
/** if `ack` field should be included in answer */
/** round result to number of digits after decimal point */
312
+
round?: number;
313
+
/** if null values should be included (false), replaced by last not null value (true) or replaced with 0 (0) */
314
+
ignoreNull?: boolean|0;
315
+
/** This number will be returned in answer, so the client can assign the request for it */
316
+
sessionId?: number;
317
+
/** aggregate method (Default: 'average') */
318
+
aggregate?:
319
+
|'onchange'
320
+
|'minmax'
321
+
|'min'
322
+
|'max'
323
+
|'average'
324
+
|'total'
325
+
|'count'
326
+
|'none'
327
+
|'percentile'
328
+
|'quantile'
329
+
|'integral'
330
+
|'integralTotal';
305
331
/** Returned data is normally sorted ascending by date, this option lets you return the newest instead of the oldest values if the number of returned points is limited */
306
332
returnNewestEntries?: boolean;
333
+
/** By default, the additional border values are returned to optimize charting. Set this option to true if this is not wanted (e.g. for script data processing) */
334
+
removeBorderValues?: boolean;
335
+
/** when using aggregate method `percentile` defines the percentile level (0..100)(defaults to 50) */
336
+
percentile?: number;
337
+
/** when using aggregate method `quantile` defines the quantile level (0..1)(defaults to 0.5) */
338
+
quantile?: number;
339
+
/** when using aggregate method `integral` defines the unit in seconds (defaults to 60s). e.g. to get integral in hours for Wh or such, set to 3600. */
340
+
integralUnit?: number;
341
+
/** when using aggregate method `integral` defines the interpolation method (defaults to `none`). */
0 commit comments