From 0a40d2612bc2efabd1fab74be71a0f355973ea79 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 15 Dec 2024 21:48:01 +0100 Subject: [PATCH] Fix IGetShipResponse The type here was always incorrect --- src/types/shipTypes.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/types/shipTypes.ts b/src/types/shipTypes.ts index 77b5cd8a..dec14ff6 100644 --- a/src/types/shipTypes.ts +++ b/src/types/shipTypes.ts @@ -1,12 +1,13 @@ import { Schema, Types } from "mongoose"; import { IOid } from "@/src/types/commonTypes"; import { IColor } from "@/src/types/inventoryTypes/commonInventoryTypes"; +import { ILoadoutClient } from "./saveLoadoutTypes"; export interface IGetShipResponse { ShipOwnerId: string; Ship: IShip; Apartment: IApartment; - LoadOutInventory: { LoadOutPresets: Types.ObjectId }; + LoadOutInventory: { LoadOutPresets: ILoadoutClient }; } export interface IShipAttachments {