@beabee/beabee-common 1.18.0-alpha.3 → 1.18.0-alpha.5
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.
|
@@ -43,6 +43,7 @@ export interface CalloutNavigationSchema {
|
|
|
43
43
|
}
|
|
44
44
|
export interface CalloutSlideSchema {
|
|
45
45
|
id: string;
|
|
46
|
+
title: string;
|
|
46
47
|
components: CalloutComponentSchema[];
|
|
47
48
|
navigation: CalloutNavigationSchema;
|
|
48
49
|
}
|
|
@@ -62,4 +63,7 @@ export interface CalloutResponseAnswerFileUpload {
|
|
|
62
63
|
url: string;
|
|
63
64
|
}
|
|
64
65
|
export type CalloutResponseAnswer = string | boolean | number | null | undefined | Record<string, boolean> | CalloutResponseAnswerAddress | CalloutResponseAnswerFileUpload;
|
|
65
|
-
|
|
66
|
+
/**
|
|
67
|
+
* Answers are grouped by slide key: {[slideId]: {[componentKey]: answer | answer[]}}
|
|
68
|
+
*/
|
|
69
|
+
export type CalloutResponseAnswers = Record<string, Record<string, CalloutResponseAnswer | CalloutResponseAnswer[]>>;
|