refactor(api): changed fetching data from the new api endpoint

This commit is contained in:
2026-04-04 21:13:43 +02:00
parent a37c9916b5
commit a86ba561ea
4 changed files with 19 additions and 13 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
import { IVehicleRestrictions } from './common.types';
// API namespace
export namespace API {
export namespace VehiclesData {
@@ -6,7 +8,8 @@ export namespace API {
name: string;
type: string;
cabinName: string | null;
restrictions: Record<string, any> | null;
restrictions: IVehicleRestrictions | null;
vehicleGroupsId: number;
}