import { store } from '@/actions/App/Http/Controllers/Settings/LabelController'; import { SyncManager } from '@/lib/sync-manager'; import type { Label } from '@/types/label'; import type { UUID } from '@/types/uuid'; class LabelSyncService { private syncManager: SyncManager; constructor() { this.syncManager = new SyncManager({ storeName: 'labels', endpoint: '/api/sync/labels', }); } async sync() { return await this.syncManager.sync(); } async getAll(): Promise { return await this.syncManager.getAll