All files / src/constants index.ts

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

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 41 42 43 44 45 46 47 48 49 50 51 52 53 545x 5x                                                     5x     5x                       5x 5x                  
export const days = ['', 'Poniedziałek', 'Wtorek', 'Środa', 'Czwartek', 'Piątek'];
export const hours = [
  '8:00',
  '',
  '9:00',
  '',
  '10:00',
  '',
  '11:00',
  '',
  '12:00',
  '',
  '13:00',
  '',
  '14:00',
  '',
  '15:00',
  '',
  '16:00',
  '',
  '17:00',
  '',
  '18:00',
  '',
  '19:00',
  '',
];
 
export const MONDAY_TO_FRIDAY = 5;
 
//added 12:00, one of lectures starts at that time
export const courseStartTimeToEventRow: { [time: string]: number } = {
  '8.15': 0,
  '10.00': 1,
  '11.45': 2,
  '12.00': 2,
  '13.45': 3,
  '15.30': 4,
  '17.15': 5,
  '18.45': 6,
};
 
//groupTimeToEventRowMapping - 1;
export const ROWS_COUNT = 6;
export const dayMapping: { [key: number]: string } = {
  0: 'poniedziałek',
  1: 'wtorek',
  2: 'środa',
  3: 'czwartek',
  4: 'piątek',
  5: 'sobota',
  6: 'niedziela',
};