fix(types): resolve post-merge regressions

This commit is contained in:
777genius 2026-04-16 19:45:31 +03:00
parent 6cf0c0d65e
commit 47eb461730
3 changed files with 7 additions and 6 deletions

View file

@ -19,6 +19,12 @@ type MemberSpawnStatusCollection =
interface ProvisioningMemberLike {
name: string;
removedAt?: number;
agentType?: string;
status?: string;
currentTaskId?: string | null;
taskCount?: number;
lastActiveAt?: string | null;
messageCount?: number;
}
interface FailedSpawnDetail {

View file

@ -44,7 +44,7 @@ describe('normalizeDashboardRecentProjectsPayload', () => {
normalizeDashboardRecentProjectsPayload({
degraded: false,
projects: null,
} as unknown as { degraded: boolean; projects: null })
} as unknown as Parameters<typeof normalizeDashboardRecentProjectsPayload>[0])
).toBeNull();
});
});

View file

@ -194,11 +194,6 @@ describe('buildInlineActivityEntries', () => {
it('routes comment activity to a member lane when task.owner is stored as stable owner id', () => {
const data = createBaseTeamData({
config: {
name: 'My Team',
members: [{ name: 'team-lead', agentId: 'lead-agent' }, { name: 'jack', agentId: 'agent-jack' }],
projectPath: '/repo',
},
tasks: [
{
id: 'task-stable-owner',