aboutsummaryrefslogtreecommitdiffstats
path: root/src/api
diff options
context:
space:
mode:
authorGravatar ks129 <[email protected]>2020-12-28 14:32:16 +0200
committerGravatar GitHub <[email protected]>2020-12-28 14:32:16 +0200
commitbf7d7f0a5dab87723376addbb0783a406d5b5626 (patch)
tree03f914cc5c974039305490399a9d1c0a06896f78 /src/api
parentMerge pull request #56 from python-discord/renovate/webpack-cli-4.x (diff)
Add required field to question interface
Diffstat (limited to 'src/api')
-rw-r--r--src/api/question.ts3
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
}