@equinor/subsurface-app-management 5.4.2 → 5.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -10,18 +10,18 @@ export type QuestionVm = {
|
|
|
10
10
|
* The text answer provided for text questions.
|
|
11
11
|
* Only populated if the question type is Text.
|
|
12
12
|
*/
|
|
13
|
-
|
|
13
|
+
questionText: string;
|
|
14
14
|
/**
|
|
15
15
|
* The list of selected option IDs for choice questions.
|
|
16
16
|
* Only populated if the question type is MultipleChoice.
|
|
17
17
|
*/
|
|
18
18
|
options?: Array<QuestionOptionDto> | null;
|
|
19
19
|
maxSelections?: number | null;
|
|
20
|
-
|
|
21
|
-
min: number;
|
|
22
|
-
max: number;
|
|
23
|
-
minLabel: string;
|
|
20
|
+
linearScaleVm?: {
|
|
24
21
|
maxLabel: string;
|
|
22
|
+
maxValue: number;
|
|
23
|
+
minLabel: string;
|
|
24
|
+
minValue: number;
|
|
25
25
|
};
|
|
26
26
|
answer?: AnswerVm;
|
|
27
27
|
};
|
|
@@ -4,13 +4,13 @@ export declare function useActiveSurvey(): import("@tanstack/react-query").UseQu
|
|
|
4
4
|
questionId: import("../api").QuestionId;
|
|
5
5
|
type: import("../api").QuestionType;
|
|
6
6
|
order: number;
|
|
7
|
-
|
|
7
|
+
questionText: string;
|
|
8
8
|
maxSelections?: number | null;
|
|
9
|
-
|
|
10
|
-
min: number;
|
|
11
|
-
max: number;
|
|
12
|
-
minLabel: string;
|
|
9
|
+
linearScaleVm?: {
|
|
13
10
|
maxLabel: string;
|
|
11
|
+
maxValue: number;
|
|
12
|
+
minLabel: string;
|
|
13
|
+
minValue: number;
|
|
14
14
|
};
|
|
15
15
|
answer?: import("../api").AnswerVm;
|
|
16
16
|
}[];
|