import { BaseService } from '@/lib/services/core'; import type { AppUpdateStatus, LogDatabaseStatus, SystemStatus } from './types'; export class AdminStatusService extends BaseService { protected static readonly basePath = '/api/v1/admin'; static async getSystemStatus(): Promise { return this.get('/status'); } static async getLogDatabaseStatus(): Promise { return this.get('/status/log-database'); } static async getUpdateStatus(): Promise { return this.get('/update'); } static async applyUpdate(): Promise { return this.post('/update/apply'); } }