rename IPersonalRooms to IPersonalRoomsClient
All checks were successful
Build / build (push) Successful in 1m30s
Build / build (pull_request) Successful in 1m25s

This commit is contained in:
Sainan 2025-04-26 00:45:56 +02:00
parent 5edd9a0507
commit 3937dc0ef8
2 changed files with 3 additions and 3 deletions

View File

@ -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");

View File

@ -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;