Vairified TypeScript SDK - v0.3.1
    Preparing search index...

    Interface MatchInput

    One match to submit in a MatchBatch.

    A match is n-team × n-game:

    • teams: [['p1', 'p2'], ['p3', 'p4']] — standard doubles
    • teams: [['p1'], ['p2']] — singles
    • teams: [['p1'], ['p2'], ['p3']] — 3-way round robin

    Scores in each GameInput are parallel to the teams order.

    interface MatchInput {
        identifier: string;
        teams: readonly (readonly string[])[];
        games: readonly GameInput[];
        sport?: string;
        bracket?: string;
        event?: string;
        location?: string;
        matchDate?: string;
        matchSource?: string;
        matchType?: string;
        winScore?: number;
        winBy?: number;
        extras?: Readonly<Record<string, unknown>>;
        originalId?: string;
        originalType?: string;
        clubId?: number;
    }
    Index

    Properties

    identifier: string
    teams: readonly (readonly string[])[]
    games: readonly GameInput[]
    sport?: string
    bracket?: string
    event?: string
    location?: string
    matchDate?: string
    matchSource?: string
    matchType?: string
    winScore?: number
    winBy?: number
    extras?: Readonly<Record<string, unknown>>
    originalId?: string
    originalType?: string
    clubId?: number