export const DRAFTED_FLAGS = {
  OTHER_TEAM: 1,
  MY_TEAM: 2,
};

export const FILTER_TYPES = {
  POSITION: 'POSITION',
  DEPTH: 'DEPTH',
};

export const POSITION_SORT = {
  QB: 1,
  RB: 2,
  WR: 3,
  TE: 4,
  K: 5,
  LB: 6,
  DL: 7,
  DB: 8,
};

export const TAG_TYPES = {
  NAME: 'NAME',
  TIER: 'TIER',
};

export const times = (n, callback = i => i) => {
  const result = [];
  for (let index = 0; index < n; index++) {
    result[index] = callback(index);
  }
  return result;
};
