Stores scheduler page display preferences per user

This commit is contained in:
BinaryAlley committed 2026-09-03 14:06:01 -07:00
1 parent ab8ab51397
commit 237be9e2c8
50 files changed
+3144 -60

No files matched your search

@@ -48,6 +48,7 @@ public class UnitOfWork : IUnitOfWork, IDisposable
private ILibraryBookReaderConfigurationRepository? _libraryBookReaderConfigurationRepository;
private IScheduledJobRepository? _scheduledJobRepository;
private IScheduledJobExecutionRepository? _scheduledJobExecutionRepository;
private ISchedulerDisplayPreferencesRepository? _schedulerDisplayPreferencesRepository;
private IPluginRepository? _pluginRepository;
private IThemeRepository? _themeRepository;
private IUserRepository? _userRepository;
@@ -242,6 +243,18 @@ public class UnitOfWork : IUnitOfWork, IDisposable
}
}
/// <summary>
/// Gets the scheduler display preferences repository.
/// </summary>
public ISchedulerDisplayPreferencesRepository SchedulerDisplayPreferencesRepository
{
get
{
_schedulerDisplayPreferencesRepository ??= new SchedulerDisplayPreferencesRepository(_luminaDbContext);
return _schedulerDisplayPreferencesRepository;
}
}
/// <summary>
/// Gets the plugin repository.
/// </summary>