Interface MatchWithMetadata

A match with metadata constructed by the viewer.

Hierarchy

  • Match
    • MatchWithMetadata

Properties

Properties

metadata: {
    stageType: StageType;
    games: MatchGame[];
    label?: string;
    roundNumber?: number;
    roundCount?: number;
    matchLocation?: GroupType;
    connectFinal?: boolean;
    connection?: Connection;
    originHint?: OriginHint;
}

Type declaration

  • stageType: StageType

    Type of the stage this match is in.

  • games: MatchGame[]

    The list of child games of this match.

  • Optional label?: string

    Label as shown in the UI

  • Optional roundNumber?: number

    Number of the round this match is in.

  • Optional roundCount?: number

    Count of rounds in the group this match is in.

  • Optional matchLocation?: GroupType

    Group type this match is in.

  • Optional connectFinal?: boolean

    Whether to connect this match to the final if it happens to be the last one of the bracket.

  • Optional connection?: Connection

    Whether to connect this match with previous or next matches.

  • Optional originHint?: OriginHint

    Function returning an origin hint based on a participant's position for this match.

Generated using TypeDoc