1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
export enum QuestionType { TextArea = "textarea", Checkbox = "checkbox", Radio = "radio", Code = "code", Select = "select", ShortText = "short_text", Range = "range", Section = "section" } export interface Question { id: string, name: string, type: QuestionType, data: { [key: string]: any } }