short_answer= tested and implemented; local preview works, but canvas isn't getting the answers

This commit is contained in:
Adam Teichert
2025-01-15 17:42:39 -07:00
parent ade3f4dca4
commit 5f11fe76f1
4 changed files with 131 additions and 23 deletions

View File

@@ -11,6 +11,7 @@ export enum QuestionType {
SHORT_ANSWER = "short_answer",
MATCHING = "matching",
NONE = "",
SHORT_ANSWER_WITH_ANSWERS = "short_answer=",
}
export const zodQuestionType = z.enum([
@@ -20,6 +21,7 @@ export const zodQuestionType = z.enum([
QuestionType.SHORT_ANSWER,
QuestionType.MATCHING,
QuestionType.NONE,
QuestionType.SHORT_ANSWER_WITH_ANSWERS,
]);
export interface LocalQuizQuestion {