Summary
ApiAgentPatch is missing the districtId field. The Agent entity has a districtId FK column, but the PATCH type doesn't expose it, so coordinators cannot update an agent's district through the dashboard.
Proposed change
Add districtId?: number to ApiAgentPatch in src/types/api/agent.ts:
export interface ApiAgentPatch {
// existing fields ...
districtId?: number;
}
Relates to
need4deed-org/be#451
Acceptance criteria
ApiAgentPatch exposes districtId?: number
- New SDK version published so BE and FE can consume it
Summary
ApiAgentPatchis missing thedistrictIdfield. TheAgententity has adistrictIdFK column, but the PATCH type doesn't expose it, so coordinators cannot update an agent's district through the dashboard.Proposed change
Add
districtId?: numbertoApiAgentPatchinsrc/types/api/agent.ts:Relates to
need4deed-org/be#451
Acceptance criteria
ApiAgentPatchexposesdistrictId?: number