From bf7d7f0a5dab87723376addbb0783a406d5b5626 Mon Sep 17 00:00:00 2001 From: ks129 <45097959+ks129@users.noreply.github.com> Date: Mon, 28 Dec 2020 14:32:16 +0200 Subject: Add required field to question interface --- src/api/question.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/api') 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 } -- cgit v1.2.3