@concord-consortium/lara-interactive-api 1.7.0-pre.1 → 1.7.1-pre.1
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.
- package/index-bundle.d.ts +5 -8
- package/index.js +2584 -2584
- package/package.json +1 -1
package/index-bundle.d.ts
CHANGED
|
@@ -65,9 +65,10 @@ interface IHostModalSupport extends IHostFeatureSupport {
|
|
|
65
65
|
lightbox?: boolean;
|
|
66
66
|
alert?: boolean;
|
|
67
67
|
}
|
|
68
|
-
interface IHostFeatures extends Record<string, IHostFeatureSupport | undefined> {
|
|
68
|
+
interface IHostFeatures extends Record<string, IHostFeatureSupport | string | undefined> {
|
|
69
69
|
modal?: IHostModalSupport;
|
|
70
70
|
getFirebaseJwt?: IHostFeatureSupport;
|
|
71
|
+
domain?: string;
|
|
71
72
|
}
|
|
72
73
|
interface IRuntimeInitInteractive<InteractiveState = {}, AuthoredState = {}, GlobalInteractiveState = {}> extends IInteractiveStateProps<InteractiveState> {
|
|
73
74
|
version: 1;
|
|
@@ -112,7 +113,7 @@ interface IAuthoringInitInteractive<AuthoredState = {}> {
|
|
|
112
113
|
authoredState: AuthoredState | null;
|
|
113
114
|
themeInfo: IThemeInfo;
|
|
114
115
|
interactiveItemId: string;
|
|
115
|
-
linkedInteractives
|
|
116
|
+
linkedInteractives?: ILinkedInteractive[];
|
|
116
117
|
}
|
|
117
118
|
interface IReportInitInteractive<InteractiveState = {}, AuthoredState = {}> {
|
|
118
119
|
version: 1;
|
|
@@ -367,11 +368,7 @@ interface IGetReportItemAnswer<InteractiveState = {}, AuthoredState = {}> extend
|
|
|
367
368
|
platformUserId: string;
|
|
368
369
|
interactiveState: InteractiveState;
|
|
369
370
|
authoredState: AuthoredState;
|
|
370
|
-
|
|
371
|
-
* When not provided, host should assume that itemsType is equal to "fullAnswer" (to maintain backward compatibility
|
|
372
|
-
* with version 2.0.0).
|
|
373
|
-
*/
|
|
374
|
-
itemsType?: ReportItemsType;
|
|
371
|
+
itemsType: ReportItemsType;
|
|
375
372
|
}
|
|
376
373
|
interface IReportItemAnswerItemAttachment {
|
|
377
374
|
type: "attachment";
|
|
@@ -404,7 +401,7 @@ interface IReportItemAnswer extends IBaseRequestResponse {
|
|
|
404
401
|
* When not provided, host should assume that itemsType is equal to "fullAnswer" (to maintain backward compatibility
|
|
405
402
|
* with version 2.0.0).
|
|
406
403
|
*/
|
|
407
|
-
itemsType
|
|
404
|
+
itemsType?: ReportItemsType;
|
|
408
405
|
}
|
|
409
406
|
declare type IGetReportItemAnswerHandler<InteractiveState = {}, AuthoredState = {}> = (message: IGetReportItemAnswer<InteractiveState, AuthoredState>) => void;
|
|
410
407
|
interface IReportItemHandlerMetadata {
|