brackets-manager
Version:
A simple library to manage tournament brackets (round-robin, single elimination, double elimination)
25 lines • 674 B
TypeScript
import { Id } from 'brackets-model';
import { BaseUpdater } from './base/updater';
export declare class Reset extends BaseUpdater {
/**
* Resets the results of a match.
*
* This will update related matches accordingly.
*
* @param matchId ID of the match.
*/
matchResults(matchId: Id): Promise<void>;
/**
* Resets the results of a match game.
*
* @param gameId ID of the match game.
*/
matchGameResults(gameId: Id): Promise<void>;
/**
* Resets the seeding of a stage.
*
* @param stageId ID of the stage.
*/
seeding(stageId: Id): Promise<void>;
}
//# sourceMappingURL=reset.d.ts.map