aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
Diffstat (limited to 'src/api')
-rw-r--r--src/api/question.ts11
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
+}