Rename IRooms to IRoom
This commit is contained in:
parent
cbdd1cd0a7
commit
357f909569
@ -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;
|
||||||
}
|
}
|
||||||
|
@ -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[];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user