brackets-manager
Version:
A simple library to manage tournament brackets (round-robin, single elimination, double elimination)
27 lines • 854 B
TypeScript
import { Id } from 'brackets-model';
import { BaseUpdater } from './base/updater';
export declare class Reset extends BaseUpdater {
/**
* Resets the results of a match: the match `status`, and each opponent's `forfeit` and `result` properties.
*
* After resetting the results, you can update the match scores and complete the match again.
*
* 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