+
+
+
diff --git a/src/locales/en.json b/src/locales/en.json
index 5181252..ee24c2d 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -22,5 +22,9 @@
"storage-preview-empty": "No entries found for given parameters",
"storage-preview-info": "Archived timetable {id} for user {driverName} from: {date}",
"storage-preview-button-text": "Return",
- "delete-timetable-confirm": "Are you sure that you want to delete this timetable?"
+ "delete-timetable-confirm": "Are you sure that you want to delete this timetable?",
+ "storage-mode": {
+ "local": "LOCALLY",
+ "api": "STACJOWNIK"
+ }
}
\ No newline at end of file
diff --git a/src/locales/pl.json b/src/locales/pl.json
index d67abab..2434e29 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -22,5 +22,9 @@
"storage-preview-empty": "Nie znaleziono żadnych wpisów dla podanych parametrów",
"storage-preview-info": "Rozkład archiwalny {id} maszynisty {driverName} z dnia {date}",
"storage-preview-button-text": "Powróć",
- "delete-timetable-confirm": "Czy na pewno chcesz usunąć ten rozkład jazdy z archiwum?"
+ "delete-timetable-confirm": "Czy na pewno chcesz usunąć ten rozkład jazdy z archiwum?",
+ "storage-mode": {
+ "local": "LOKALNIE",
+ "api": "STACJOWNIK"
+ }
}
\ No newline at end of file
diff --git a/src/types/common.types.ts b/src/types/common.types.ts
index bcdc926..3e8652a 100644
--- a/src/types/common.types.ts
+++ b/src/types/common.types.ts
@@ -1,5 +1,10 @@
export type ViewMode = 'active' | 'storage';
+export enum StorageMode {
+ LOCAL = 'local',
+ API = 'api'
+}
+
export interface ActiveData {
trains: ActiveTrain[];
activeSceneries: ActiveScenery[];