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 {
|
interface ProvisioningMemberLike {
|
||||||
name: string;
|
name: string;
|
||||||
removedAt?: number;
|
removedAt?: number;
|
||||||
|
agentType?: string;
|
||||||
|
status?: string;
|
||||||
|
currentTaskId?: string | null;
|
||||||
|
taskCount?: number;
|
||||||
|
lastActiveAt?: string | null;
|
||||||
|
messageCount?: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FailedSpawnDetail {
|
interface FailedSpawnDetail {
|
||||||
|
|
|
||||||
|
|
@ -44,7 +44,7 @@ describe('normalizeDashboardRecentProjectsPayload', () => {
|
||||||
normalizeDashboardRecentProjectsPayload({
|
normalizeDashboardRecentProjectsPayload({
|
||||||
degraded: false,
|
degraded: false,
|
||||||
projects: null,
|
projects: null,
|
||||||
} as unknown as { degraded: boolean; projects: null })
|
} as unknown as Parameters<typeof normalizeDashboardRecentProjectsPayload>[0])
|
||||||
).toBeNull();
|
).toBeNull();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -194,11 +194,6 @@ describe('buildInlineActivityEntries', () => {
|
||||||
|
|
||||||
it('routes comment activity to a member lane when task.owner is stored as stable owner id', () => {
|
it('routes comment activity to a member lane when task.owner is stored as stable owner id', () => {
|
||||||
const data = createBaseTeamData({
|
const data = createBaseTeamData({
|
||||||
config: {
|
|
||||||
name: 'My Team',
|
|
||||||
members: [{ name: 'team-lead', agentId: 'lead-agent' }, { name: 'jack', agentId: 'agent-jack' }],
|
|
||||||
projectPath: '/repo',
|
|
||||||
},
|
|
||||||
tasks: [
|
tasks: [
|
||||||
{
|
{
|
||||||
id: 'task-stable-owner',
|
id: 'task-stable-owner',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue