using ROLAC.API.DTOs.Settings;
namespace ROLAC.API.Services;
///
/// Reads and writes the singleton SiteSetting and NotificationSetting rows. Notification secrets
/// are masked on read and treated as write-only on update (blank = keep). After a notification
/// update the runtime cache is reloaded so changes apply without an API restart.
///
public interface ISettingsService
{
Task GetSiteAsync();
Task UpdateSiteAsync(UpdateSiteSettingRequest request);
Task GetNotificationAsync();
Task UpdateNotificationAsync(UpdateNotificationSettingRequest request);
}