This commit is contained in:
Alex Holliday committed 2026-03-20 11:42:40 -07:00
1 parent 8322adbb26
commit 6fb7ad63f6
3 files changed
+29 -4

No files matched your search

+8 -1
View File
@@ -6,7 +6,14 @@ import { IEmailService, ISettingsService } from "@/service/index.js";
const SERVICE_NAME = "SettingsController";
class SettingsController {
export interface ISettingsController {
serviceName: string;
getAppSettings(req: Request, res: Response, next: NextFunction): Promise<Response | void>;
updateAppSettings(req: Request, res: Response, next: NextFunction): Promise<Response | void>;
sendTestEmail(req: Request, res: Response, next: NextFunction): Promise<Response | void>;
}
class SettingsController implements ISettingsController {
static SERVICE_NAME = SERVICE_NAME;
private settingsService: ISettingsService;
private emailService: IEmailService;