export type AppState = 'invalid' | 'stopped' | 'starting' | 'running' | 'stopping' export type LogLine = { time: number text: string } export type App = { name: string state: AppState icon?: string port?: number started?: number logs?: LogLine[] }