diff options
author | 2020-12-28 21:40:51 +0000 | |
---|---|---|
committer | 2020-12-28 21:40:51 +0000 | |
commit | bf8bcb11035aa398e61508d58b3de8576c4be6ca (patch) | |
tree | 31c29d5a4813ca5bc10d4c13776ddb4c4fcb00d2 /src/api | |
parent | Merge pull request #59 from python-discord/renovate/typescript-eslint-monorepo (diff) | |
parent | Add required field to question interface (diff) |
Merge pull request #57 from python-discord/ks123/optional-questions
Add required field to question interface
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/question.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/question.ts b/src/api/question.ts index bdd6b99..18951b9 100644 --- a/src/api/question.ts +++ b/src/api/question.ts @@ -13,5 +13,6 @@ export interface Question { id: string, name: string, type: QuestionType, - data: { [key: string]: any } + data: { [key: string]: any }, + required: boolean } |