/** * Default App Service - Generic implementation with minimal returns */ import type { AppService, LogEntry } from './types' export class DefaultAppService implements AppService { async factoryReset(): Promise { // No-op } async readLogs(): Promise { return [] } parseLogLine(line: string): LogEntry { return { timestamp: Date.now(), level: 'info', target: 'default', message: line ?? '', } } async getJanDataFolder(): Promise { return undefined } async relocateJanDataFolder(path: string): Promise { console.log('relocateJanDataFolder called with path:', path) // No-op - not implemented in default service } async getServerStatus(): Promise { return false } async readYaml(path: string): Promise { console.log('readYaml called with path:', path) throw new Error('readYaml not implemented in default app service') } async supportsBlurEffects(): Promise { // On web/non-Windows platforms, always return false return false } }