Rename IRooms to IRoom

This commit is contained in:
Sainan 2024-12-22 19:51:20 +01:00
parent cbdd1cd0a7
commit 357f909569
2 changed files with 5 additions and 5 deletions

View File

@ -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;
}

View File

@ -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[];
}