Pular para o conteúdo principal

PlayerPrivacyDto

@raizfc/contracts


@raizfc/contracts / PlayerPrivacyDto

Type Alias: PlayerPrivacyDto

PlayerPrivacyDto = Readonly<{ availabilityPublic: boolean; contactsPublic: boolean; currentTeamsPublic: boolean; formerTeamsPublic: boolean; profilePublic: boolean; statsPublic: boolean; }>

Defined in: player/player-privacy.dto.ts:8

SPEC-DOMAIN-PLAYER-001 "Privacidade e exposição pública": contacts, agenda (availability), current/former teams and stats each have an independent toggle. profilePublic gates the whole profile (private profile ⇒ public GET behaves like PROFILE_PRIVATE, mirroring the existing jogador-privado fixture from IS-MVP-01.2). Bio/avatar/positions have no listed toggle in the spec, so they stay always-visible whenever profilePublic is true.