MatchEventDto
@raizfc/contracts / MatchEventDto
Type Alias: MatchEventDto
MatchEventDto =
Readonly<{createdAt:ISODateString;createdByUserId:ID;id:ID;matchId:ID;minute:number;note?:string;period:MatchEventPeriod;primaryParticipant?:MatchParticipantRefDto;secondaryParticipant?:MatchParticipantRefDto;teamId:ID;type:MatchEventType; }>
Defined in: match/match-report.dto.ts:49
secondaryParticipant means assist for 'goal', player coming in for 'substitution'; absent
for 'yellow_card'/'red_card'. primaryParticipant is optional only for 'administrative'
events (SPEC-DOMAIN-MATCH-001: "Eventos que afetam stats devem estar associados a participante
elegível" — administrative notes do not affect stats).