Pular para o conteúdo principal

TeamPlayerLinkDto

@raizfc/contracts


@raizfc/contracts / TeamPlayerLinkDto

Type Alias: TeamPlayerLinkDto

TeamPlayerLinkDto = Readonly<{ categoryIds: readonly ID[]; categoryNames?: readonly string[]; endedAt?: ISODateString; guestDisplayName?: string; id: ID; invitedAt?: ISODateString; kind: TeamPlayerLinkKind; player?: PublicPlayerSummaryDto; position: string; respondedAt?: ISODateString; status: TeamPlayerLinkStatus; team: PublicTeamSummaryDto; }>

Defined in: team.ts:188

Single link entity shared by both directions of SPEC-API-TEAM-TORCIDA-001/SPEC-API-PLAYER-001: a team's squad list (management view, needs player) and a player's own team-links list (future IS-MVP-05.2, needs team). team stays required since it's cheap to include either way; player is only present for kind: 'registered' — guests use guestDisplayName instead and never expose private contact/document data through this DTO (SPEC-DOMAIN-TEAM-001: "Guest document/contact nunca público").