UNPKG

wcif-helpers

Version:
21 lines (15 loc) 1.57 kB
import * as _wca_helpers from '@wca/helpers'; import { Competition, Activity } from '@wca/helpers'; declare const getActivityInfoFromSchedule: (roundId: string, wcif: Competition) => null; declare const getActivityInfoFromScheduleWithRoom: (roundId: string, roomName: string, wcif: Competition) => null; declare const getGroupInfoByActivityId: (activityId: number, wcif: Competition) => Activity | null; declare const prettyRoundFormat: (format: string, cutoffAttempts?: number) => string; declare const getEventInfoFromWcif: (eventId: string, wcif: Competition) => _wca_helpers.Event | undefined; declare const getRoundInfoFromWcif: (roundId: string, wcif: Competition) => _wca_helpers.Round | undefined; declare const getEventIdFromRoundId: (roundId: string) => string; declare const getCutoffByRoundId: (roundId: string, wcif: Competition) => _wca_helpers.Cutoff | null; declare const getLimitByRoundId: (roundId: string, wcif: Competition) => _wca_helpers.TimeLimit | null; declare const getNumberOfAttemptsForRound: (roundId: string, wcif: Competition) => number; declare const getCompetitionDates: (startDate: Date, numberOfDays: number) => Date[]; declare const getPersonFromWcif: (registrantId: number, wcif: Competition) => _wca_helpers.Person | undefined; export { getActivityInfoFromSchedule, getActivityInfoFromScheduleWithRoom, getCompetitionDates, getCutoffByRoundId, getEventIdFromRoundId, getEventInfoFromWcif, getGroupInfoByActivityId, getLimitByRoundId, getNumberOfAttemptsForRound, getPersonFromWcif, getRoundInfoFromWcif, prettyRoundFormat };