DataQuery: { [questionId: string]: { type: "NUMBER"; value: { max: number; min: number } } | { text: string; type: "TEXT" } | { text: string; type: "LIST" } | { max: { max: number; min: number }; min: { max: number; min: number }; type: "RANGE" } | { checked: string[]; type: "CHECK" } | { type: "INT"; valueInt: { max: number; min: number } } | { date: { from: Date; to: Date }; type: "DATE" } }
Type declaration
-
[questionId: string]: { type: "NUMBER"; value: { max: number; min: number } } | { text: string; type: "TEXT" } | { text: string; type: "LIST" } | { max: { max: number; min: number }; min: { max: number; min: number }; type: "RANGE" } | { checked: string[]; type: "CHECK" } | { type: "INT"; valueInt: { max: number; min: number } } | { date: { from: Date; to: Date }; type: "DATE" }