import { Person } from './job';

export enum CarStatus {
  Accepted = 'Accepted',
  Parking = 'Parking',
}

export type Car = {
  spvId: string;
  driver: Person;
  batteryLevel: 'Low' | 'Middle' | 'High';
  connectionStatus: string;
  status: CarStatus;
  brand: string;
  model: string;
  fuelType: string;
  lastInspected: string;
  carType: string;
  image: string;
  jobId: string;
  location?: [number, number];
};
