import EventEmitter from 'eventemitter3';

export const eventUnit = new EventEmitter();

export const labelOptions = {
  1: 'A',
  2: 'B',
  3: 'C',
  4: 'D',
  5: 'E',
  6: 'F',
  7: 'G',
  8: 'H',
  9: 'I',
  10: 'J'
} as any;

export const QuestionType = {
  RADIO: 'RADIO',
  CHECKBOX: 'CHECKBOX',
  LINK: 'LINK',
  SORT: 'SORT',
  PLAY: 'PLAY'
};
export const QuestionTypeName = {
  RADIO: '单选题',
  CHECKBOX: '多选题',
  LINK: '连线题',
  SORT: '排序题',
  PLAY: '演奏题'
};

export const AnswerType = {
  IMAGE: 'IMAGE',
  TXT: 'TXT',
  AUDIO: 'AUDIO'
};
