Убрал лишнюю нормализацию при отправке данных на ui

This commit is contained in:
Первов Артем
2026-06-22 03:20:28 +03:00
parent 05c13f36a4
commit 37ea9420c8
3 changed files with 8 additions and 75 deletions

View File

@@ -1,22 +1,11 @@
export type HistoryPointDto = {
t: number;
min: number;
avg: number;
max: number;
count: number;
};
export type HistorySeriesDto = {
edge: string;
tag: string;
points: HistoryPointDto[];
time: Date;
min_value: number;
avg_value: number;
max_value: number;
point_count: number;
};
export type HistoryResponseDto = {
edge: string;
tag: string;
from: Date;
to: Date;
granulate: string;
series: HistorySeriesDto[];
rows: HistoryPointDto[];
};