SpaceNinjaServer/src/types/shipTypes.ts
Sainan 5089f67146
All checks were successful
Build / build (push) Successful in 47s
Build Docker image / docker-amd64 (push) Successful in 59s
Build Docker image / docker-arm64 (push) Successful in 49s
chore: improve ship customization stuff (#2402)
The only functionally relevant change is that orbiter scenes are now saved via SkinFlavourItem (as of U39?).
The rest is cleanup of the types because the ship customization stuff was duplicated all over the place.

Reviewed-on: #2402
Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com>
Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
2025-07-04 15:19:15 -07:00

13 lines
388 B
TypeScript

import { Types } from "mongoose";
import { IColor } from "@/src/types/inventoryTypes/commonInventoryTypes";
import { IShipAttachments } from "./personalRoomsTypes";
export interface IShipDatabase {
ItemType: string;
ShipOwnerId: Types.ObjectId;
ShipExteriorColors?: IColor;
AirSupportPower: string;
ShipAttachments?: IShipAttachments;
SkinFlavourItem?: string;
}