1 /** 2 * The type of the action which signals feedback was closed without submitting. 3 * 4 * { 5 * type: CANCEL_FEEDBACK, 6 * message: string, 7 * score: number 8 * } 9 */ 10 export const CANCEL_FEEDBACK = 'CANCEL_FEEDBACK'; 11 12 /** 13 * The type of the action which signals feedback failed to be recorded. 14 * 15 * { 16 * type: SUBMIT_FEEDBACK_ERROR 17 * error: string 18 * } 19 */ 20 export const SUBMIT_FEEDBACK_ERROR = 'SUBMIT_FEEDBACK_ERROR'; 21 22 /** 23 * The type of the action which signals feedback has been recorded. 24 * 25 * { 26 * type: SUBMIT_FEEDBACK_SUCCESS, 27 * } 28 */ 29 export const SUBMIT_FEEDBACK_SUCCESS = 'SUBMIT_FEEDBACK_SUCCESS';