@khanacademy/perseus-core 0.0.0-PR2946-20251003162336 → 0.0.0-PR2946-20251003163019
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.
|
@@ -145,6 +145,56 @@ export declare const v2Widget: {
|
|
|
145
145
|
minor: number;
|
|
146
146
|
};
|
|
147
147
|
};
|
|
148
|
+
export declare const v2WidgetWithRationale: {
|
|
149
|
+
type: "radio";
|
|
150
|
+
graded: boolean;
|
|
151
|
+
options: {
|
|
152
|
+
choices: ({
|
|
153
|
+
content: string;
|
|
154
|
+
correct: boolean;
|
|
155
|
+
rationale: string;
|
|
156
|
+
isNoneOfTheAbove: boolean;
|
|
157
|
+
widgets: undefined;
|
|
158
|
+
} | {
|
|
159
|
+
content: string;
|
|
160
|
+
correct: boolean;
|
|
161
|
+
rationale: string;
|
|
162
|
+
widgets: undefined;
|
|
163
|
+
isNoneOfTheAbove?: undefined;
|
|
164
|
+
} | {
|
|
165
|
+
content: string;
|
|
166
|
+
correct: boolean;
|
|
167
|
+
isNoneOfTheAbove: boolean;
|
|
168
|
+
widgets: {};
|
|
169
|
+
rationale?: undefined;
|
|
170
|
+
} | {
|
|
171
|
+
content: string;
|
|
172
|
+
rationale: string;
|
|
173
|
+
isNoneOfTheAbove: boolean;
|
|
174
|
+
correct?: undefined;
|
|
175
|
+
widgets?: undefined;
|
|
176
|
+
} | {
|
|
177
|
+
content: string;
|
|
178
|
+
correct?: undefined;
|
|
179
|
+
rationale?: undefined;
|
|
180
|
+
isNoneOfTheAbove?: undefined;
|
|
181
|
+
widgets?: undefined;
|
|
182
|
+
})[];
|
|
183
|
+
numCorrect: number;
|
|
184
|
+
hasNoneOfTheAbove: boolean;
|
|
185
|
+
countChoices: boolean;
|
|
186
|
+
randomize: boolean;
|
|
187
|
+
multipleSelect: boolean;
|
|
188
|
+
deselectEnabled: boolean;
|
|
189
|
+
onePerLine: boolean;
|
|
190
|
+
displayCount: boolean;
|
|
191
|
+
noneOfTheAbove: undefined;
|
|
192
|
+
};
|
|
193
|
+
version: {
|
|
194
|
+
major: number;
|
|
195
|
+
minor: number;
|
|
196
|
+
};
|
|
197
|
+
};
|
|
148
198
|
export declare const v3Widget: {
|
|
149
199
|
type: "radio";
|
|
150
200
|
graded: boolean;
|