mirror of
https://github.com/Spythere/stacjownik.git
synced 2026-05-03 13:28:11 +00:00
hotfixy dzienników
This commit is contained in:
@@ -11,4 +11,4 @@ export enum JournalFilterSection {
|
||||
TIMETABLE_STATUS = 'timetable-status',
|
||||
TWR = 'twr',
|
||||
SKR = 'skr',
|
||||
}
|
||||
}
|
||||
@@ -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';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user