All files / src/constants positions.js

0% Statements 0/15
0% Branches 0/1
0% Functions 0/1
0% Lines 0/15

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                                 
export const PLAYER_POSITIONS = [
  { full_name: 'Goalkeeper', abbreviation: 'GK' },
  { full_name: 'Left Back', abbreviation: 'LB' },
  { full_name: 'Left Center Back', abbreviation: 'LCB' },
  { full_name: 'Right Center Back', abbreviation: 'RCB' },
  { full_name: 'Right Back', abbreviation: 'RB' },
  { full_name: 'Left Central Midfielder', abbreviation: 'LCM' },
  { full_name: 'Central Defensive Midfielder', abbreviation: 'CDM' },
  { full_name: 'Right Central Midfielder', abbreviation: 'RCM' },
  { full_name: 'Left Winger', abbreviation: 'LW' },
  { full_name: 'Striker', abbreviation: 'ST' },
  { full_name: 'Right Winger', abbreviation: 'RW' },
];
 
// Convenience: just abbreviations for checkboxes
export const POSITION_ABBREVIATIONS = PLAYER_POSITIONS.map(p => p.abbreviation);