All files / shared/config eventConfigEnums.ts

100% Statements 24/24
100% Branches 0/0
100% Functions 6/6
100% Lines 24/24

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40        732x 732x 732x 732x     732x 732x 732x 732x     732x 732x 732x 732x     732x 732x 732x 732x 732x     732x 732x 732x     732x 732x 732x 732x    
// Kept apart from the config schema because the settings model needs two of
// these, and the schema in turn needs the settings model's sign-up question:
// with the enums in that same file the two modules would form a runtime cycle,
// and whichever loaded second would see the other's enums as undefined
export enum EventSignupStrategy {
  DIRECT = "direct",
  LOTTERY = "lottery",
  LOTTERY_AND_DIRECT = "lottery+direct",
}
 
export enum AssignmentAlgorithm {
  PADG = "padg",
  RANDOM = "random",
  RANDOM_PADG = "random+padg",
}
 
export enum LoginProvider {
  LOCAL = "local",
  KOMPASSI = "kompassi",
  LOCAL_KOMPASSI = "local+kompassi",
}
 
export enum EventName {
  ROPECON = "Ropecon",
  HITPOINT = "Tracon Hitpoint",
  SOLMUKOHTA = "Solmukohta",
  TRACON = "Tracon",
}
 
export enum EntryConditionText {
  K16 = "k16",
  K18 = "k18",
}
 
export enum RemoveLotterySignupsStrategy {
  NONE = "none",
  OVERLAP = "overlap",
  ALL_UPCOMING = "allUpcoming",
}