0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:30:45 -05:00

Add interface for database bots object

This commit is contained in:
Dev 2024-05-28 10:33:29 +01:00
parent 65f27a7d8c
commit 17882ddeab
2 changed files with 12 additions and 4 deletions

View File

@ -0,0 +1,10 @@
import { IBotBase } from "@spt/models/eft/common/tables/IBotBase";
import { IBotCore } from "@spt/models/eft/common/tables/IBotCore";
import { IBotType } from "@spt/models/eft/common/tables/IBotType";
export interface IBots
{
types: Record<string, IBotType>
base: IBotBase
core: IBotCore
}

View File

@ -1,8 +1,5 @@
import { IGlobals } from "@spt/models/eft/common/IGlobals";
import { IAchievement } from "@spt/models/eft/common/tables/IAchievement";
import { IBotBase } from "@spt/models/eft/common/tables/IBotBase";
import { IBotCore } from "@spt/models/eft/common/tables/IBotCore";
import { IBotType } from "@spt/models/eft/common/tables/IBotType";
import { ICustomizationItem } from "@spt/models/eft/common/tables/ICustomizationItem";
import { IHandbookBase } from "@spt/models/eft/common/tables/IHandbookBase";
import { IMatch } from "@spt/models/eft/common/tables/IMatch";
@ -17,6 +14,7 @@ import { IHideoutScavCase } from "@spt/models/eft/hideout/IHideoutScavCase";
import { IHideoutSettingsBase } from "@spt/models/eft/hideout/IHideoutSettingsBase";
import { IQteData } from "@spt/models/eft/hideout/IQteData";
import { IDefaultEquipmentPreset } from "@spt/models/eft/profile/ISptProfile";
import { IBots } from "@spt/models/spt/bots/IBots";
import { ILocaleBase } from "@spt/models/spt/server/ILocaleBase";
import { ILocations } from "@spt/models/spt/server/ILocations";
import { IServerBase } from "@spt/models/spt/server/IServerBase";
@ -24,7 +22,7 @@ import { ISettingsBase } from "@spt/models/spt/server/ISettingsBase";
export interface IDatabaseTables
{
bots?: { types: Record<string, IBotType>, base: IBotBase, core: IBotCore }
bots?: IBots
hideout?: {
areas: IHideoutArea[]
production: IHideoutProduction[]