diff --git a/tgui/packages/tgui/interfaces/ShipOwner.tsx b/tgui/packages/tgui/interfaces/ShipOwner.tsx index db5942e9179a..e09c499c80a4 100644 --- a/tgui/packages/tgui/interfaces/ShipOwner.tsx +++ b/tgui/packages/tgui/interfaces/ShipOwner.tsx @@ -9,6 +9,40 @@ import { } from '../components'; import { Window } from '../layouts'; +type ShipOwnerData = { + crew: [CrewData]; + jobs: [JobData]; + jobIncreaseAllowed: [string]; + memo: string; + pending: boolean; + joinMode: string; + cooldown: number; + applications: [ApplicationData]; + isAdmin: boolean; +}; + +type ApplicationData = { + ref: string; + key: string; + name: string; + text: string; + status: string; +}; + +type CrewData = { + ref: string; + name: string; + allowed: boolean; +}; + +type JobData = { + ref: string; + name: string; + slots: number; + max: number; + def: number; +}; + export const ShipOwner = (props, context) => { return ( @@ -20,7 +54,7 @@ export const ShipOwner = (props, context) => { }; const ShipOwnerContent = (props, context: any) => { - const { act, data } = useBackend(context); + const { act, data } = useBackend(context); const [tab, setTab] = useLocalState(context, 'tab', 1); const { crew = [],