hotfixy dzienników

This commit is contained in:
2023-06-04 01:45:58 +02:00
parent 266edfd6e6
commit c3f687d439
9 changed files with 18 additions and 22 deletions
+1 -1
View File
@@ -11,4 +11,4 @@ export enum JournalFilterSection {
TIMETABLE_STATUS = 'timetable-status',
TWR = 'twr',
SKR = 'skr',
}
}
+5 -3
View File
@@ -1,4 +1,4 @@
import { JournalFilterSection, JournalFilterType } from '../enums/JournalFilterType';
import { JournalFilterType } from '../../scripts/enums/JournalFilterType';
export type JournalTimetableSearchKey =
| 'search-driver'
@@ -7,17 +7,19 @@ export type JournalTimetableSearchKey =
| 'search-dispatcher'
| 'search-issuedFrom';
export type JournalTimetableSorterKey = 'timetableId' | 'beginDate' | 'distance' | 'total-stops';
export type JournalTimetableSearchType = {
[key in JournalTimetableSearchKey]: string;
};
export interface JournalTimetableFilter {
id: JournalFilterType;
filterSection: JournalFilterSection;
filterSection: string;
isActive: boolean;
}
export interface JournalTimetableSorter {
id: 'timetableId' | 'beginDate' | 'routeDistance' | 'allStopsCount';
id: JournalTimetableSorterKey;
dir: 'asc' | 'desc';
}