Wire the previously orphaned LaborCrewPanel into the game-structures editor so staff can set actual headcount and per-worker wage for a labor classification. Adds a laborCrewPanel ui field on the edit view, a POST route under /api/game-structures that authenticates and gates on game-structures:update, delegates to the canonical setLaborHeadcount service (enforcing caps and wage logic), and an integration test covering auth, validation, and cap enforcement. |
||
|---|---|---|
| .. | ||
| e2e | ||
| int | ||
| push-schema.ts | ||
| seed-baseline.ts | ||
| test-db.ts | ||
| vitest-global.ts | ||
| vitest-teardown.ts | ||