tournament-organizer
Version:
JavaScript library for running tournaments
31 lines (30 loc) • 627 B
TypeScript
/**
* All properties that can be set with {@link Match.values}.
*
* See {@link MatchValues} for detailed descriptions of properties.
*/
export interface SettableMatchValues {
round?: number;
match?: number;
active?: boolean;
bye?: boolean;
player1?: {
id?: string | null;
win?: number;
loss?: number;
draw?: number;
};
player2?: {
id?: string | null;
win?: number;
loss?: number;
draw?: number;
};
path?: {
win?: string | null;
loss?: string | null;
};
meta?: {
[key: string]: any;
};
}