mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-04-26 09:20:24 -05:00
* Initial * Start implementing TournamentFormatSelector * Progress * Small progress * Add source * Progress * Skeleton * Progress * Rename progression * Can submit progression * Fix potential issue with caching errors * Settings * isFinals/isUnderground * Valid formats tests * New bracket check in progress * Perf optimization: simulate brackets only frontend * Admin check in fix * resolvesWinner logic * SAME_PLACEMENT_TO_MULTIPLE_BRACKETS * Structure work * Edit bracket while tournament in progress initial * Delayed check in to follow up bracket * Progress validation * NEGATIVE_PROGRESSION * test first sources = null * Different text when invitational * More checks * Validate changed are in preview * Rename * Translated errors * Disbale submti if bracket progression is bad * Adjust bracketIdx * changedBracketProgressionFormat * Progress * Fix E2E tests * Docs progress * Fix state change * Add docs
17 lines
524 B
TypeScript
17 lines
524 B
TypeScript
export const TOURNAMENT = {
|
|
TEAM_NAME_MAX_LENGTH: 32,
|
|
COUNTERPICK_MAPS_PER_MODE: 2,
|
|
COUNTERPICK_MAX_STAGE_REPEAT: 2,
|
|
COUNTERPICK_ONE_MODE_TOURNAMENT_MAPS_PER_MODE: 6,
|
|
AVAILABLE_BEST_OF: [1, 3, 5, 7] as const,
|
|
ENOUGH_TEAMS_TO_START: 2,
|
|
MIN_GROUP_SIZE: 3,
|
|
MAX_GROUP_SIZE: 6,
|
|
MAX_BRACKETS_PER_TOURNAMENT: 10,
|
|
BRACKET_NAME_MAX_LENGTH: 32,
|
|
// just a fallback, normally this should be set by user explicitly
|
|
DEFAULT_TEAM_COUNT_PER_RR_GROUP: 4,
|
|
SWISS_DEFAULT_GROUP_COUNT: 1,
|
|
SWISS_DEFAULT_ROUND_COUNT: 5,
|
|
} as const;
|