Przystosowanie pod update API

This commit is contained in:
2022-12-21 20:24:48 +01:00
parent 1665134d6f
commit db3be87dd8
4 changed files with 69 additions and 25 deletions
+8 -4
View File
@@ -10,8 +10,10 @@ export interface ITimetablesDailyStats {
timetableDriver: string;
timetableRouteDistance: number;
dispatcherName: string;
dispatcherTimetablesCount: number;
mostActiveDispatchers: {
name: string;
count: number;
}[];
}
export interface ITimetablesDailyStatsResponse {
@@ -19,8 +21,10 @@ export interface ITimetablesDailyStatsResponse {
distanceSum: number;
distanceAvg: number;
maxTimetable: TimetableHistory | null;
mostActiveDispatcher: {
mostActiveDispatchers: {
name: string;
count: number;
} | null;
}[];
}