fix(types): resolve post-merge regressions
This commit is contained in:
parent
6cf0c0d65e
commit
47eb461730
3 changed files with 7 additions and 6 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue