-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9efebd2
commit 1b61dc6
Showing
2 changed files
with
113 additions
and
44 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,97 @@ | ||
import { | ||
AssignmentAlgorithm, | ||
EventName, | ||
EventConfig, | ||
EntryConditionText, | ||
} from "shared/config/eventConfigTypes"; | ||
import { ProgramType } from "shared/types/models/programItem"; | ||
|
||
// Event days | ||
const friday = "2024-09-06"; | ||
// const saturday = "2024-09-07"; | ||
// const sunday = "2024-09-07"; | ||
|
||
export const eventConfig: EventConfig = { | ||
// Event info | ||
eventName: EventName.TRACON, | ||
eventYear: "2024", | ||
|
||
// Event settings | ||
requireRegistrationCode: true, | ||
assignmentAlgorithm: AssignmentAlgorithm.RANDOM, | ||
popularityAlgorithm: AssignmentAlgorithm.RANDOM, | ||
enableGroups: true, | ||
signupOpen: true, | ||
resultsVisible: true, | ||
logInvalidStartTimes: false, | ||
enableRemoveOverlapSignups: false, | ||
|
||
activeProgramTypes: [ | ||
ProgramType.TABLETOP_RPG, | ||
ProgramType.LARP, | ||
ProgramType.FLEAMARKET, | ||
], | ||
|
||
twoPhaseSignupProgramTypes: [ProgramType.FLEAMARKET], | ||
|
||
// Event start at 15:00 GMT+3 but lottery signups start at 08:00 GMT+3 | ||
eventStartTime: `${friday}T05:00:00Z`, // Fri 08:00 GMT+3 | ||
|
||
directSignupWindows: {}, | ||
|
||
rollingDirectSignupProgramTypes: [ProgramType.TABLETOP_RPG, ProgramType.LARP], | ||
enableRollingDirectSignupPreviousDay: false, | ||
|
||
hideParticipantListProgramTypes: [ProgramType.FLEAMARKET], | ||
|
||
// Direct signup open till program item endTime instead of startTime | ||
directSignupOpenToEndProgramTypes: [ProgramType.FLEAMARKET], | ||
|
||
// These program items have their signup always open even if signup mode is set to lottery | ||
directSignupAlwaysOpenIds: [], | ||
|
||
// Add these to Konsti under 'other' program type | ||
addToKonstiOther: [], | ||
|
||
// These program items have hand picked revolving door status | ||
addRevolvingDoorIds: [], | ||
|
||
// These program items are imported to Konsti but don't have Konsti signup | ||
noKonstiSignupIds: [], | ||
|
||
signupQuestions: [], | ||
|
||
tournamentSignupQuestion: null, | ||
|
||
tournamentSignupQuestionExcludeIds: [], | ||
|
||
isEnglishProgramItems: [], | ||
|
||
entryConditions: [ | ||
{ | ||
conditionText: EntryConditionText.K16, | ||
programItemIds: [ | ||
"alien-evac", // ALIEN: EVAC | ||
"alien-fallout", // ALIEN: Fallout | ||
"kriisitunturi", // Kriisitunturi | ||
"murheen-valama-vankila", // Murheen valama vankila | ||
"seestunturin-salaisuus", // Seestunturin salaisuus | ||
"ristipisto", // Ristipisto | ||
"circumstances-zombie-apocalypse-co-op", // Circumstances – Zombie Apocalypse (co-op) | ||
"circumstances-zombie-apocalypse-pahispelautus", // Circumstances – Zombie Apocalypse (pahispelautus) | ||
"mita-kellarista-loytyy", // Mitä kellarista löytyy? | ||
"kusinen-homma", // Kusinen Homma | ||
], | ||
}, | ||
{ | ||
conditionText: EntryConditionText.K18, | ||
programItemIds: ["varjojen-sisarkunta"], // Varjojen sisarkunta | ||
}, | ||
], | ||
|
||
// Two phase signup settings | ||
preSignupStart: 60 * 4, // minutes | ||
directSignupPhaseStart: 60 * 2, // minutes | ||
phaseGap: 15, // minutes | ||
fixedLotterySignupTime: `${friday}T05:00:00Z`, // Fri 08:00 GMT+3 | ||
}; |