Pular para o conteúdo principal

GuestConfirmationDto

@raizfc/contracts


@raizfc/contracts / GuestConfirmationDto

Type Alias: GuestConfirmationDto

GuestConfirmationDto = Readonly<{ categoryName: string; detectedAt: ISODateString; guestDisplayNameUsed: string; id: ID; linkId: ID; matchDate: ISODateString; opponentName?: string; position: string; resolvedAt?: ISODateString; status: GuestConfirmationStatus; team: PublicTeamSummaryDto; }>

Defined in: player/guest-confirmation.dto.ts:22

SPEC-DOMAIN-PLAYER-001 "Confirmação de convidado": a candidate match between an already activated player and a guest squad membership (TeamPlayerLinkDto with kind: 'guest') a team manager registered before the player had an account. The match is detected server-side by comparing the guest's private contact (CreateGuestPlayerRequest.privateContact, IS-MVP-04.4 — accepted but unused until now) against the player's own contact — never exposed to the client, which only ever sees the resulting candidate. linkId ties back to the underlying team-player-links guest record so confirming converts it in place instead of duplicating squad data here.

opponentName/matchDate are a lightweight, descriptive reference ("partida/time/data/nome usado" per SPEC-UX-PLAYER-PANEL-001's Guest Confirmation component) — deliberately not a matchId/publicRoute into a real match page, since this pack does not implement the match management domain (EP-MVP-06.1); linking to a page that doesn't exist would be worse than a plain label.