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"; import { Model, Types } from "mongoose";
export interface IOrbiter { export interface IOrbiter {
Features: string[]; Features: string[];
Rooms: IRooms[]; Rooms: IRoom[];
ContentUrlSignature: string; ContentUrlSignature: string;
BootLocation?: TBootLocation; BootLocation?: TBootLocation;
} }

View File

@ -26,7 +26,7 @@ export interface IShip {
Features: string[]; Features: string[];
ShipId: IOid; ShipId: IOid;
ShipInterior: IShipInterior; ShipInterior: IShipInterior;
Rooms: IRooms[]; Rooms: IRoom[];
ContentUrlSignature: string; ContentUrlSignature: string;
BootLocation?: TBootLocation; BootLocation?: TBootLocation;
} }
@ -41,7 +41,7 @@ export interface IShipDatabase {
SkinFlavourItem?: string; SkinFlavourItem?: string;
} }
export interface IRooms { export interface IRoom {
Name: string; Name: string;
MaxCapacity: number; MaxCapacity: number;
PlacedDecos?: IPlacedDecosDatabase[]; PlacedDecos?: IPlacedDecosDatabase[];
@ -62,7 +62,7 @@ export interface IGardening {
} }
export interface IApartment { export interface IApartment {
Gardening: IGardening; Gardening: IGardening;
Rooms: IRooms[]; Rooms: IRoom[];
FavouriteLoadouts: string[]; FavouriteLoadouts: string[];
} }