Vehicles

Here, you'll find key exports for managing vehicles. These exports allow you to register and update vehicles as needed.


Type

type Vehicle = {
    plate: string,
    hash: string, // depends on your framework
    notes?: string,
    image?: string,
    owner: {
       identifier: string,
       name: string
    },
    gallery: {
       id: number,
       value: string,
       description: string
    }[],
    incidents: {
       id: number,
       createdAt: string
    }[],
    bolos: {
       id: number,
       createdAt: string
    }[]
}

Exports

RegisterVehicle

SearchVehicle

UpdateVehicle

Last updated

Was this helpful?