14 lines
301 B
TypeScript
14 lines
301 B
TypeScript
import Service from '#models/service'
|
|
|
|
export type ServiceStatus = 'unknown' | 'running' | 'stopped'
|
|
export type ServiceSlim = Pick<
|
|
Service,
|
|
| 'id'
|
|
| 'service_name'
|
|
| 'installed'
|
|
| 'installation_status'
|
|
| 'ui_location'
|
|
| 'friendly_name'
|
|
| 'description'
|
|
> & { status?: ServiceStatus }
|