Something went wrong. Try again.
Starship Simulator Controls thoriumsim.com
Something went wrong. Try again.
416 B · 13 lines
TypeScript
at develop
1234567891011121314import z from "zod";
export const isWaypoint = z .object({ isActive: z.boolean().default(false), assignedShipId: z.number().default(-1), attachedObjectId: z.number().optional(), /** Whether the crew member can delete the waypoint */ permanent: z.boolean().default(false), /** Timestamp for ordering waypoints by most recently interacted */ lastInteractedAt: z.number().default(0), }) .default({});