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