Update signup question types

This commit is contained in:
Aarni Halinen
2021-09-01 20:20:30 +03:00
parent b0b1120015
commit 14006ccc2d
8 changed files with 843 additions and 121 deletions
@@ -2,7 +2,9 @@ export interface Question {
id: string;
name: string;
type: OptionTypes;
options: string[];
enum?: string[];
enumNames?: string[];
description?: string;
required?: boolean;
}
@@ -13,7 +15,7 @@ export interface InputProps {
type: string;
}
type OptionTypes =
export type OptionTypes =
"text" |
"info" |
"integer" |