Poprawki w filtrach i ustawieniach dzienników

This commit is contained in:
2022-09-10 22:49:56 +02:00
parent 065143c359
commit a81cc4559b
7 changed files with 107 additions and 49 deletions
@@ -1,3 +1,8 @@
export type JournalDispatcherSearcher = {
[key in 'search-dispatcher' | 'search-station']: string;
};
export interface JournalDispatcherSorter {
id: 'timestampFrom' | 'duration';
dir: -1 | 1;
}
+2 -2
View File
@@ -4,13 +4,13 @@ export type JorunalTimetableSearchType = {
[key in 'search-driver' | 'search-train' | 'search-date']: string;
};
export interface JournalFilter {
export interface JournalTimetableFilter {
id: JournalFilterType;
filterSection: string;
isActive: boolean;
}
export interface JournalSorter {
export interface JournalTimetableSorter {
id: 'timetableId' | 'beginDate' | 'distance' | 'total-stops';
dir: -1 | 1;
}