import { IApartment, IRooms, IPlacedDecosDatabase, TBootLocation } from "@/src/types/shipTypes"; import { Model, Types } from "mongoose"; export interface IOrbiter { Features: string[]; Rooms: IRooms[]; ContentUrlSignature: string; BootLocation?: TBootLocation; } export interface IPersonalRooms { personalRoomsOwnerId: Types.ObjectId; activeShipId: Types.ObjectId; Ship: IOrbiter; Apartment: IApartment; } export type RoomsType = { Name: string; MaxCapacity: number; PlacedDecos: Types.DocumentArray }; export type PersonalRoomsDocumentProps = { Ship: Omit & { Rooms: RoomsType[]; }; Apartment: Omit & { Rooms: RoomsType[]; }; }; // eslint-disable-next-line @typescript-eslint/ban-types export type PersonalRoomsModelType = Model;