fix(autopilot): type the lineup box so the deploy build passes
ci / rust (push) Successful in 7m58s
ci / typescript (push) Failing after 10m43s

The row of a team is a box, not a detection. The API build rejected the crop rules on that.
This commit is contained in:
spark committed 2026-11-05 21:14:17 +00:00
1 parent 43fe5b1c58
commit 74d05a13ea
1 file changed
+1 -1
+1 -1
View File
@@ -275,7 +275,7 @@ export function findSubject(
// of them would delete the others, which is not the photograph.
const cast = openCast(people) ?? widePlan(people);
if (cast) {
const box = cast.reduce((u, p) => union(u, p), cast[0]!);
const box = cast.reduce<Box>((u, p) => union(u, p), cast[0]!);
return { box, reason: "group", people: cast };
}
// The main subject: the person the camera focused on, when that point lands on someone who is sharp and