feat(ui): add Prime schedule client + PrimeFired event

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mika Kuns
2026-04-28 09:10:21 +02:00
parent fd5562b6e8
commit f890fa85b9
2 changed files with 42 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
namespace ClaudeDo.Ui.Services;
public sealed record PrimeScheduleDto(
Guid Id,
DateOnly StartDate,
DateOnly EndDate,
TimeSpan TimeOfDay,
bool WorkdaysOnly,
bool Enabled,
DateTimeOffset? LastRunAt,
string? PromptOverride);
public sealed record PrimeFiredEvent(
Guid ScheduleId,
bool Success,
string Message,
DateTimeOffset FiredAt);