mirror of
https://github.com/Spythere/station-manager-2.0.git
synced 2026-05-03 05:28:13 +00:00
Migracja projektu na Vite
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
export type Availability = 'default' | 'unavailable' | 'nonPublic' | 'abandoned' | 'nonDefault';
|
||||
|
||||
export interface SceneryRowItem {
|
||||
name: string;
|
||||
url: string;
|
||||
lines: string;
|
||||
project: string | null;
|
||||
reqLevel: number;
|
||||
signalType: string;
|
||||
controlType: string;
|
||||
SUP: boolean;
|
||||
routes: string;
|
||||
checkpoints: string;
|
||||
authors: string;
|
||||
availability: Availability;
|
||||
}
|
||||
|
||||
export interface IStore {
|
||||
dataState: string;
|
||||
unsavedChanges: boolean;
|
||||
stationList: SceneryRowItem[];
|
||||
backupList: string;
|
||||
stationsToRemove: string[];
|
||||
searchedSceneryName: string;
|
||||
changeList: { [key: string]: any };
|
||||
changeBackupList: { [key: string]: any };
|
||||
newStationsCount: number;
|
||||
routesModalVisible: boolean;
|
||||
currentStation: SceneryRowItem | null;
|
||||
selectedStationName: string;
|
||||
token: string | null;
|
||||
user: { name: string; id: string } | null;
|
||||
isAuthorized: boolean;
|
||||
notifyDiscord: boolean;
|
||||
alertMessage: string;
|
||||
confirmMessage: string;
|
||||
}
|
||||
Reference in New Issue
Block a user