feat: ship agent-first mission control v0.2.57
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using Nexus.Api.Data;
|
||||
using Nexus.Api.Models;
|
||||
|
||||
namespace Nexus.Api.Repositories;
|
||||
|
||||
@@ -14,4 +15,22 @@ public interface ITaskRepository
|
||||
Task<int> CountAsync(CancellationToken ct = default);
|
||||
Task<int> CountByStateAsync(string state, CancellationToken ct = default);
|
||||
Task<WorkTask?> GetLastBlockedAsync(CancellationToken ct = default);
|
||||
Task<TaskBoardQueryPage> GetBoardPageAsync(
|
||||
int doneLimit,
|
||||
DateTimeOffset? doneBeforeUpdatedAt,
|
||||
Guid? doneBeforeId,
|
||||
CancellationToken ct = default);
|
||||
Task<TaskBoardCardDto?> GetBoardCardAsync(
|
||||
Guid id,
|
||||
CancellationToken ct = default);
|
||||
}
|
||||
|
||||
public sealed record TaskBoardQueryPage(
|
||||
IReadOnlyList<TaskBoardCardDto> ActiveTasks,
|
||||
IReadOnlyList<TaskBoardCardDto> DoneTasks,
|
||||
bool HasMoreDone,
|
||||
TaskBoardRevisionPoint? Revision);
|
||||
|
||||
public sealed record TaskBoardRevisionPoint(
|
||||
DateTimeOffset UpdatedAt,
|
||||
Guid Id);
|
||||
|
||||
Reference in New Issue
Block a user