diff options
author | 2020-10-05 13:13:51 +0100 | |
---|---|---|
committer | 2020-10-05 13:13:51 +0100 | |
commit | 91ef1e8d905e1ac68f6a3968f379d0675dfe6dcf (patch) | |
tree | 617e685d475acd15a7a6423d3a9b7826ee674f00 /src/api/question.ts | |
parent | Merge pull request #14 from python-discord/api/add-dummy-forms (diff) | |
parent | Update 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.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 +} |