From 357f9095697a763231b1378baa2a703b8d3d5e67 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sun, 22 Dec 2024 19:51:20 +0100 Subject: [PATCH] Rename IRooms to IRoom --- src/types/personalRoomsTypes.ts | 4 ++-- src/types/shipTypes.ts | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/types/personalRoomsTypes.ts b/src/types/personalRoomsTypes.ts index dda71362..02521112 100644 --- a/src/types/personalRoomsTypes.ts +++ b/src/types/personalRoomsTypes.ts @@ -1,9 +1,9 @@ -import { IApartment, IRooms, IPlacedDecosDatabase, TBootLocation } from "@/src/types/shipTypes"; +import { IApartment, IRoom, IPlacedDecosDatabase, TBootLocation } from "@/src/types/shipTypes"; import { Model, Types } from "mongoose"; export interface IOrbiter { Features: string[]; - Rooms: IRooms[]; + Rooms: IRoom[]; ContentUrlSignature: string; BootLocation?: TBootLocation; } diff --git a/src/types/shipTypes.ts b/src/types/shipTypes.ts index fe5e3608..3e07b53a 100644 --- a/src/types/shipTypes.ts +++ b/src/types/shipTypes.ts @@ -26,7 +26,7 @@ export interface IShip { Features: string[]; ShipId: IOid; ShipInterior: IShipInterior; - Rooms: IRooms[]; + Rooms: IRoom[]; ContentUrlSignature: string; BootLocation?: TBootLocation; } @@ -41,7 +41,7 @@ export interface IShipDatabase { SkinFlavourItem?: string; } -export interface IRooms { +export interface IRoom { Name: string; MaxCapacity: number; PlacedDecos?: IPlacedDecosDatabase[]; @@ -62,7 +62,7 @@ export interface IGardening { } export interface IApartment { Gardening: IGardening; - Rooms: IRooms[]; + Rooms: IRoom[]; FavouriteLoadouts: string[]; }