Fix IGetShipResponse

The type here was always incorrect
This commit is contained in:
Sainan 2024-12-15 21:48:01 +01:00
parent b491cf81b6
commit 0a40d2612b

View File

@ -1,12 +1,13 @@
import { Schema, Types } from "mongoose"; import { Schema, Types } from "mongoose";
import { IOid } from "@/src/types/commonTypes"; import { IOid } from "@/src/types/commonTypes";
import { IColor } from "@/src/types/inventoryTypes/commonInventoryTypes"; import { IColor } from "@/src/types/inventoryTypes/commonInventoryTypes";
import { ILoadoutClient } from "./saveLoadoutTypes";
export interface IGetShipResponse { export interface IGetShipResponse {
ShipOwnerId: string; ShipOwnerId: string;
Ship: IShip; Ship: IShip;
Apartment: IApartment; Apartment: IApartment;
LoadOutInventory: { LoadOutPresets: Types.ObjectId }; LoadOutInventory: { LoadOutPresets: ILoadoutClient };
} }
export interface IShipAttachments { export interface IShipAttachments {