mirror of
https://github.com/Crosstalk-Solutions/project-nomad.git
synced 2026-03-28 03:29:25 +01:00
7 lines
288 B
TypeScript
7 lines
288 B
TypeScript
import Service from "#models/service"
|
|
|
|
export class SystemService {
|
|
async getServices(): Promise<{ id: number; service_name: string; installed: boolean }[]> {
|
|
return await Service.query().orderBy('service_name', 'asc').select('id', 'service_name', 'installed', 'ui_location');
|
|
}
|
|
} |