feat: ship agent-first mission control v0.2.57
This commit is contained in:
@@ -3,6 +3,7 @@ using Microsoft.AspNetCore.Authorization;
|
||||
using Nexus.Api.Controllers;
|
||||
using Nexus.Api.Data;
|
||||
using Nexus.Api.Integrations;
|
||||
using Nexus.Api.Models;
|
||||
using Nexus.Api.Repositories;
|
||||
using Nexus.Api.Services;
|
||||
using Xunit;
|
||||
@@ -80,6 +81,10 @@ internal sealed class GuardedProjectRepository(RepositoryConcurrencyGuard guard)
|
||||
public Task UpdateAsync(Project project, CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task DeleteAsync(Project project, CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task<bool> HasTasksAsync(Guid projectId, CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task<List<WorkTask>> GetTasksAsync(
|
||||
Guid projectId,
|
||||
CancellationToken ct = default)
|
||||
=> throw new NotSupportedException();
|
||||
}
|
||||
|
||||
internal sealed class GuardedTaskRepository(RepositoryConcurrencyGuard guard) : ITaskRepository
|
||||
@@ -101,6 +106,16 @@ internal sealed class GuardedTaskRepository(RepositoryConcurrencyGuard guard) :
|
||||
public Task<int> CountAsync(CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task<int> CountByStateAsync(string state, CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task<WorkTask?> GetLastBlockedAsync(CancellationToken ct = default) => throw new NotSupportedException();
|
||||
public Task<TaskBoardQueryPage> GetBoardPageAsync(
|
||||
int doneLimit,
|
||||
DateTimeOffset? doneBeforeUpdatedAt,
|
||||
Guid? doneBeforeId,
|
||||
CancellationToken ct = default)
|
||||
=> throw new NotSupportedException();
|
||||
public Task<TaskBoardCardDto?> GetBoardCardAsync(
|
||||
Guid id,
|
||||
CancellationToken ct = default)
|
||||
=> throw new NotSupportedException();
|
||||
}
|
||||
|
||||
internal sealed class GuardedActivityRepository(RepositoryConcurrencyGuard guard) : IActivityRepository
|
||||
|
||||
Reference in New Issue
Block a user