website refactor
This commit is contained in:
17
apps/website/lib/services/drivers/SettingsService.ts
Normal file
17
apps/website/lib/services/drivers/SettingsService.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { Result } from '@/lib/contracts/Result';
|
||||
import type { Service } from '@/lib/contracts/services/Service';
|
||||
|
||||
/**
|
||||
* Settings Service
|
||||
*
|
||||
* Currently not implemented - returns NotImplemented errors for all endpoints.
|
||||
*/
|
||||
export class SettingsService implements Service {
|
||||
async getSettings(): Promise<Result<void, 'NOT_IMPLEMENTED'>> {
|
||||
return Result.err('NOT_IMPLEMENTED');
|
||||
}
|
||||
|
||||
async updateSettings(): Promise<Result<void, 'NOT_IMPLEMENTED'>> {
|
||||
return Result.err('NOT_IMPLEMENTED');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user