first commit

This commit is contained in:
Первов Артем
2026-06-19 08:18:52 +03:00
commit 05a9e0e535
61 changed files with 11950 additions and 0 deletions

View File

@@ -0,0 +1,26 @@
export type HistoryPointDto = {
t: number;
v: number;
min: number;
avg: number;
max: number;
count: number;
};
export type HistorySeriesDto = {
edge: string;
tag: string;
points: HistoryPointDto[];
};
export type HistoryResponseSource = 'empty' | 'latest' | 'raw' | '1m' | '5m' | '1h' | '1d';
export type HistoryResponseDto = {
edge: string;
source: HistoryResponseSource;
targetPoints: number;
series: HistorySeriesDto[];
from?: Date;
to?: Date;
resolutionSeconds?: number | null;
};