feat(ui): team builder — lead + helpers with live duration preview, wired into the action panels (#44)

This commit is contained in:
2026-10-02 20:34:14 +00:00
parent 07c1508999
commit a199b64348
9 changed files with 374 additions and 62 deletions
+12 -1
View File
@@ -913,8 +913,19 @@ export const openApiSpec = {
leadName: { type: 'string', description: 'The team lead by name; `unknown` when the crew row no longer exists' },
helperNames: { type: 'array', description: 'The supporting crew by name (empty when none)', items: { type: 'string' } },
remaining: { type: 'integer', description: 'Turns left — the stored row value (a pure read, not recomputed)' },
status: {
type: 'string',
enum: ['ACTIVE', 'PENDING'],
description: 'The row state — the ACTIVE block precedes the PENDING block in the array',
},
leadCrewId: { type: 'integer', description: 'crew.id of the team lead' },
helperCrewIds: {
type: 'array',
description: 'crew.id of the supporting crew (empty when none)',
items: { type: 'integer' },
},
},
required: ['id', 'type', 'targetLabel', 'leadName', 'helperNames', 'remaining'],
required: ['id', 'type', 'targetLabel', 'leadName', 'helperNames', 'remaining', 'status', 'leadCrewId', 'helperCrewIds'],
},
JumpRequest: {
type: 'object',