/* eslint-disable @typescript-eslint/explicit-module-boundary-types */
import { action } from 'typesafe-actions';
export const saveAnswer = (answer) => action('SAVE_ANSWER', answer);
export const saveAnswerSucceeded = (answer) => action('SAVE_ANSWER_SUCCEEDED', answer);
export const saveAnswerFailed = (answer, error) => action('SAVE_ANSWER_FAILED', { answer, error }, undefined, true);
export const selectAnswerVersion = (questionId, questionText) => action('SELECT_ANSWER_VERSION', { questionId, questionText });
export const answerFocused = (questionId) => action('ANSWER_FOCUSED', questionId);
export const answerBlurred = (questionId) => action('ANSWER_BLURRED', questionId);
//# sourceMappingURL=actions.js.map