przystosowanie pod nowy format danych

This commit is contained in:
2023-02-15 19:05:30 +01:00
parent 132b5d5273
commit 30ce48bc02
4 changed files with 44 additions and 119 deletions
+10 -1
View File
@@ -49,7 +49,12 @@ export interface IStockData {
};
info: {
[key in TStockInfoKey]: any[];
'car-cargo': [string, string, boolean, boolean, string][];
'car-passenger': [string, string, boolean, boolean, string][];
'loco-e': [string, string, string, string, boolean][];
'loco-s': [string, string, string, string, boolean][];
'loco-szt': [string, string, string, string, boolean][];
'loco-ezt': [string, string, string, string, boolean][];
};
props: IStockProps[];
@@ -108,3 +113,7 @@ export interface IReadyStockList {
[key: string]: { stockString: string; type: string; number: string; name: string };
}