brackets-manager
Version:
A simple library to manage tournament brackets (round-robin, single elimination, double elimination)
18 lines • 517 B
TypeScript
import { InputStage, Stage } from 'brackets-model';
import { Storage } from './types';
export declare class Create {
private storage;
/**
* Creates an instance of Create.
*
* @param storage The implementation of Storage.
*/
constructor(storage: Storage);
/**
* Creates a stage for an existing tournament. The tournament won't be created.
*
* @param data The stage to create.
*/
stage(data: InputStage): Promise<Stage>;
}
//# sourceMappingURL=create.d.ts.map