diff --git a/src/types/personalRoomsTypes.ts b/src/types/personalRoomsTypes.ts index 0a5d9229..026b0c45 100644 --- a/src/types/personalRoomsTypes.ts +++ b/src/types/personalRoomsTypes.ts @@ -125,25 +125,18 @@ export interface IPlacedDecosClient extends Omit { export interface ISetShipCustomizationsRequest { ShipId: string; - Customization: Customization; + Customization: { + SkinFlavourItem?: string; + Colors?: IColor; + ShipAttachments?: IShipAttachments; + LevelDecosVisible?: boolean; + CustomJson?: string; + }; IsExterior: boolean; AirSupportPower?: string; IsShop?: boolean; } -export interface Customization { - SkinFlavourItem: string; - Colors: IColor; - ShipAttachments: ShipAttachments; - LevelDecosVisible: boolean; - CustomJson: string; -} - -//TODO: check for more attachments -export interface ShipAttachments { - HOOD_ORNAMENT: string; -} - export interface IShipDecorationsRequest { Type: string; Pos: [number, number, number]; @@ -206,8 +199,8 @@ export interface IFavouriteLoadoutDatabase { export interface ITailorShopDatabase { FavouriteLoadouts: IFavouriteLoadoutDatabase[]; Colors?: IColor; - CustomJson: string; - LevelDecosVisible: boolean; + CustomJson?: string; + LevelDecosVisible?: boolean; Rooms: IRoom[]; }