import { BaseService } from '@/lib/services/core'; import type { CacheConfig, CacheStatus } from './types'; export class AdminCacheService extends BaseService { protected static readonly basePath = '/api/v1/admin'; static async getCacheStatus(): Promise { return this.get('/cache/status'); } static async updateCacheConfig(config: CacheConfig): Promise { return this.post('/cache/config', config); } static async clearCache(): Promise { return this.post('/cache/clear'); } }