From edbb6cec19464828fe368cd142a2dc7a73b76e8b Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 27 May 2024 13:59:25 +0100 Subject: [PATCH] Updated `_proto` inside `ITemplateItem` nullable Added `ItemType` enum for `_type` property in `ITemplateItem` --- project/src/models/eft/common/tables/ITemplateItem.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/project/src/models/eft/common/tables/ITemplateItem.ts b/project/src/models/eft/common/tables/ITemplateItem.ts index 59b545d0..1b564374 100644 --- a/project/src/models/eft/common/tables/ITemplateItem.ts +++ b/project/src/models/eft/common/tables/ITemplateItem.ts @@ -5,9 +5,9 @@ export interface ITemplateItem _id: string _name: string _parent: string - _type: string + _type: ItemType _props: Props - _proto: string + _proto?: string } export interface Props @@ -573,3 +573,9 @@ export interface IShotsGroupSettings ShotRecoilRotationStrength: Ixyz StartShotIndex: number } + +export enum ItemType +{ + NODE = "Node", + ITEM = "Item", +}