From 218044d23be831bca4386ee1630f6213f1cb9451 Mon Sep 17 00:00:00 2001 From: Dev Date: Mon, 23 Sep 2024 10:20:02 +0100 Subject: [PATCH] Renamed interfaces --- project/src/models/eft/trade/IProcessBuyTradeRequestData.ts | 4 ++-- project/src/models/eft/trade/IProcessSellTradeRequestData.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/project/src/models/eft/trade/IProcessBuyTradeRequestData.ts b/project/src/models/eft/trade/IProcessBuyTradeRequestData.ts index 154c61c7..fbb79805 100644 --- a/project/src/models/eft/trade/IProcessBuyTradeRequestData.ts +++ b/project/src/models/eft/trade/IProcessBuyTradeRequestData.ts @@ -7,10 +7,10 @@ export interface IProcessBuyTradeRequestData extends IProcessBaseTradeRequestDat item_id: string; count: number; scheme_id: number; - scheme_items: SchemeItem[]; + scheme_items: ISchemeItem[]; } -export interface SchemeItem { +export interface ISchemeItem { /** Id of stack to take money from, is money tpl when Action is `SptInsure` */ id: string; count: number; diff --git a/project/src/models/eft/trade/IProcessSellTradeRequestData.ts b/project/src/models/eft/trade/IProcessSellTradeRequestData.ts index a484efdb..9ac93ce4 100644 --- a/project/src/models/eft/trade/IProcessSellTradeRequestData.ts +++ b/project/src/models/eft/trade/IProcessSellTradeRequestData.ts @@ -5,10 +5,10 @@ export interface IProcessSellTradeRequestData extends IProcessBaseTradeRequestDa type: string; tid: string; price: number; - items: Item[]; + items: ISoldItem[]; } -export interface Item { +export interface ISoldItem { id: string; count: number; scheme_id: number;