Pular para o conteúdo principal

UpdateCategoryRequest

@raizfc/contracts


@raizfc/contracts / UpdateCategoryRequest

Type Alias: UpdateCategoryRequest

UpdateCategoryRequest = Readonly<{ active?: boolean; name?: string; order?: number; version: number; }>

Defined in: team/team-category.dto.ts:17

order is the category's desired 1-based position among the team's categories; the backend resequences the full list to keep order values contiguous, so this is a "move to" request, not a raw field assignment. No active-only removal endpoint exists — categories are never deleted (SPEC-DOMAIN-TEAM-001/IS-MVP-04.3 "Protect historical references").