diff options
author | 2020-10-05 13:04:53 +0100 | |
---|---|---|
committer | 2020-10-05 13:04:53 +0100 | |
commit | 1c686c78ee92dd6ad3701511c6e63984b49124e8 (patch) | |
tree | e11792ca3aff75f481002dd148f7ac709c114420 | |
parent | Update the forms API wrapper to fetch a specific form (diff) |
Add a very basic question type
-rw-r--r-- | src/api/question.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/api/question.ts b/src/api/question.ts new file mode 100644 index 0000000..e051459 --- /dev/null +++ b/src/api/question.ts @@ -0,0 +1,11 @@ +export enum QuestionType { + Text, + Checkbox, + Radio, + Code +} + +export interface Question { + name: string, + type: QuestionType +} |