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";
 | 
			
		||||
 | 
			
		||||
export interface IOrbiter {
 | 
			
		||||
    Features: string[];
 | 
			
		||||
    Rooms: IRooms[];
 | 
			
		||||
    Rooms: IRoom[];
 | 
			
		||||
    ContentUrlSignature: string;
 | 
			
		||||
    BootLocation?: TBootLocation;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -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[];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user