A reference to what will be updated in the storage.
Input of the update.
Optional
opponent1?: null | ({ id?: Id | null | undefined; position?: number | undefined; forfeit?: boolean | undefined; score?: number | undefined; result?: Result | undefined; })First opponent of the match.
Optional
opponent2?: null | ({ id?: Id | null | undefined; position?: number | undefined; forfeit?: boolean | undefined; score?: number | undefined; result?: Result | undefined; })Second opponent of the match.
Optional
status?: StatusStatus of the match.
A result to check in each opponent.
A result to set in each other opponent if check
is correct.
Indicates whether the match is in a round-robin stage.
Generated using TypeDoc
Enforces the symmetry between opponents.
Sets an opponent's result to something, based on the result on the other opponent.