mirror of
https://github.com/Spythere/pojazdownik.git
synced 2026-05-04 03:58:11 +00:00
refactor(api): changed fetching data from the new api endpoint
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user