feat: gardening #1849
@ -6,7 +6,7 @@ import { getPersonalRooms } from "@/src/services/personalRoomsService";
 | 
				
			|||||||
import { getShip } from "@/src/services/shipService";
 | 
					import { getShip } from "@/src/services/shipService";
 | 
				
			||||||
import { toOid } from "@/src/helpers/inventoryHelpers";
 | 
					import { toOid } from "@/src/helpers/inventoryHelpers";
 | 
				
			||||||
import { IGetShipResponse } from "@/src/types/shipTypes";
 | 
					import { IGetShipResponse } from "@/src/types/shipTypes";
 | 
				
			||||||
import { IPersonalRooms } from "@/src/types/personalRoomsTypes";
 | 
					import { IPersonalRoomsClient } from "@/src/types/personalRoomsTypes";
 | 
				
			||||||
import { getLoadout } from "@/src/services/loadoutService";
 | 
					import { getLoadout } from "@/src/services/loadoutService";
 | 
				
			||||||
import { getRandomElement } from "@/src/services/rngService";
 | 
					import { getRandomElement } from "@/src/services/rngService";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@ -77,7 +77,7 @@ export const getShipController: RequestHandler = async (req, res) => {
 | 
				
			|||||||
        await personalRoomsDb.save();
 | 
					        await personalRoomsDb.save();
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    const personalRooms = personalRoomsDb.toJSON<IPersonalRooms>();
 | 
					    const personalRooms = personalRoomsDb.toJSON<IPersonalRoomsClient>();
 | 
				
			||||||
    const loadout = await getLoadout(accountId);
 | 
					    const loadout = await getLoadout(accountId);
 | 
				
			||||||
    const ship = await getShip(personalRoomsDb.activeShipId, "ShipAttachments SkinFlavourItem");
 | 
					    const ship = await getShip(personalRoomsDb.activeShipId, "ShipAttachments SkinFlavourItem");
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
@ -21,7 +21,7 @@ export interface IOrbiter {
 | 
				
			|||||||
    BootLocation?: TBootLocation;
 | 
					    BootLocation?: TBootLocation;
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
export interface IPersonalRooms {
 | 
					export interface IPersonalRoomsClient {
 | 
				
			||||||
    ShipInteriorColors: IColor;
 | 
					    ShipInteriorColors: IColor;
 | 
				
			||||||
    Ship: IOrbiter;
 | 
					    Ship: IOrbiter;
 | 
				
			||||||
    Apartment: IApartmentClient;
 | 
					    Apartment: IApartmentClient;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user