aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/question.ts
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2020-10-05 13:13:51 +0100
committerGravatar GitHub <[email protected]>2020-10-05 13:13:51 +0100
commit91ef1e8d905e1ac68f6a3968f379d0675dfe6dcf (patch)
tree617e685d475acd15a7a6423d3a9b7826ee674f00 /src/api/question.ts
parentMerge pull request #14 from python-discord/api/add-dummy-forms (diff)
parentUpdate header test to include custom titles (diff)
Merge pull request #15 from python-discord/forms/add-form-page
Add specific form page
Diffstat (limited to 'src/api/question.ts')
-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
+}