Weapons

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


Type

type Weapon = {
    name: string,
    label: string, 
    serial: string, 
    notes: string, 
    evidences: {
        id: number,
        createdAt: string
    }[]
}

Exports

Search for a weapon

exports['redutzu-mdt']:SearchWeapon(serial: string) // WeaponType | null

Register a new weapon

Generate a weapon Serial

Update a weapons info

Last updated

Was this helpful?