12 lines
454 B
TypeScript
12 lines
454 B
TypeScript
// This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
|
|
import type { FreeResponseAnswer } from "./FreeResponseAnswer";
|
|
import type { MultipleChoiceAnswer } from "./MultipleChoiceAnswer";
|
|
|
|
/**
|
|
* A user's response to a question.
|
|
*/
|
|
export type UserQuestionAnswer =
|
|
| ({ type: "multiple_choice" } & MultipleChoiceAnswer)
|
|
| ({ type: "free_response" } & FreeResponseAnswer)
|
|
| { type: "skipped" };
|