For the complete documentation index, see llms.txt. This page is also available as Markdown.

Citizens

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


Type

type Citizen = {
    identifier: string,
    firstname: string,
    lastname: string,
    gender: string,
    image?: string,
    notes?: string,
    birthdate: string,
    job: string,
    job_grade: string,
    vehicles: string[],
    images: {
        id: number,
        value: string,
        description: string
    }[],
    incidents: {
        id: number,
        createdAt: string
    }[],
    evidences: {
        id: number,
        createdAt: string
    }[],
    warrants: {
        id: number,
        createdAt: string
    }[],
    bolos: {
        id: number,
        createdAt: string
    }[],
    weapons: {
        serial: string,
        label: string
    }[]
}

Exports

The exports can contain data from the type field.

SearchCitizen

RegisterCitizen

UpdateCitizen

Last updated