refactor: extract interfaces to Interfaces folders and consolidate filters
Move interface declarations into per-area Interfaces/ subfolders, merge the small task-list filter classes into StatusFilter/SmartFlagFilter, and simplify related services, converters and hub DTO handling. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
77100b6b3b
commit
41da124a31
@@ -0,0 +1,6 @@
|
||||
namespace ClaudeDo.Worker.Prime;
|
||||
|
||||
public interface IPrimeBroadcaster
|
||||
{
|
||||
Task PrimeFiredAsync(Guid scheduleId, bool success, string message, DateTimeOffset firedAt);
|
||||
}
|
||||
@@ -0,0 +1,2 @@
|
||||
namespace ClaudeDo.Worker.Prime;
|
||||
public interface IPrimeClock { DateTimeOffset Now { get; } }
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace ClaudeDo.Worker.Prime;
|
||||
|
||||
public interface IPrimeRunner
|
||||
{
|
||||
Task<PrimeRunOutcome> FireAsync(PrimeScheduleDto schedule, CancellationToken ct);
|
||||
}
|
||||
|
||||
public sealed record PrimeRunOutcome(bool Success, string Message);
|
||||
@@ -0,0 +1,6 @@
|
||||
namespace ClaudeDo.Worker.Prime;
|
||||
public interface IPrimeScheduleSignal
|
||||
{
|
||||
void Signal();
|
||||
CancellationToken CurrentToken { get; }
|
||||
}
|
||||
Reference in New Issue
Block a user