const BRACKET_MAJOR_SIMULATOR_TYPES = [ "cs2_major_qualifying_points", "tennis_qualifying_points", ] as const; /** * Returns true for major_tournament events that use a bracket (CS2, Tennis). * Golf (golf_qualifying_points) uses manual result entry and returns false. */ export function isBracketMajor(simulatorType: string | null | undefined): boolean { return BRACKET_MAJOR_SIMULATOR_TYPES.includes(simulatorType as typeof BRACKET_MAJOR_SIMULATOR_TYPES[number]); }