UNPKG

@overextended/ox_core

Version:
27 lines (26 loc) 1.29 kB
import type { OxVehicle } from '../../server/vehicle/class'; import type { PayAccountInvoice, DeleteAccountInvoice } from '../../server/accounts'; import type { OxPlayer } from '../../server/player/class'; import type { GetCharIdFromStateId, GetLicense, GetLicenses } from '../../server/player/db'; import type { CreateGroup, DeleteGroup, GetGroupsByType, RemoveGroupPermission, SetGroupPermission } from '../../server/groups'; import { OxCommon } from '../../lib'; interface OxServer extends OxCommon { SaveAllPlayers: typeof OxPlayer.saveAll; SaveAllVehicles: typeof OxVehicle.saveAll; GetCharIdFromStateId: typeof GetCharIdFromStateId; GenerateVehicleVin: (model: string) => Promise<string>; GenerateVehiclePlate: typeof OxVehicle.generatePlate; SetGroupPermission: typeof SetGroupPermission; RemoveGroupPermission: typeof RemoveGroupPermission; PayAccountInvoice: typeof PayAccountInvoice; DeleteAccountInvoice: typeof DeleteAccountInvoice; GetGroupsByType: typeof GetGroupsByType; CreateGroup: typeof CreateGroup; DeleteGroup: typeof DeleteGroup; GetLicenses: typeof GetLicenses; GetLicense: typeof GetLicense; } export declare const Ox: OxServer; export * from './player'; export * from './vehicle'; export * from './account';