@turnix-co/konva-editor 3.0.55 → 3.0.56
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/dist/index.d.ts +5 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -152,6 +152,7 @@ type Shape = {
|
|
|
152
152
|
height: number;
|
|
153
153
|
rotation: number;
|
|
154
154
|
color?: string;
|
|
155
|
+
hasBorder?: boolean;
|
|
155
156
|
locked?: boolean;
|
|
156
157
|
link?: string;
|
|
157
158
|
altText?: string;
|
|
@@ -288,6 +289,7 @@ type MultipleChoice = {
|
|
|
288
289
|
correctIndex: number[];
|
|
289
290
|
selectedIndices?: number[];
|
|
290
291
|
isCorrect?: boolean;
|
|
292
|
+
attempts?: number;
|
|
291
293
|
};
|
|
292
294
|
};
|
|
293
295
|
x: number;
|
|
@@ -320,6 +322,7 @@ type TrueFalse = {
|
|
|
320
322
|
correctAnswer: boolean;
|
|
321
323
|
selectedResponse: boolean;
|
|
322
324
|
isCorrect: boolean;
|
|
325
|
+
attempts?: number;
|
|
323
326
|
};
|
|
324
327
|
};
|
|
325
328
|
x: number;
|
|
@@ -350,6 +353,7 @@ type ShortAnswer = {
|
|
|
350
353
|
correctShortAnswer: string;
|
|
351
354
|
userAnswer?: string;
|
|
352
355
|
isCorrect?: boolean;
|
|
356
|
+
attempts?: number;
|
|
353
357
|
};
|
|
354
358
|
};
|
|
355
359
|
x: number;
|
|
@@ -401,6 +405,7 @@ type FillInTheBlanks = {
|
|
|
401
405
|
correctShortAnswer: string;
|
|
402
406
|
userAnswer?: string;
|
|
403
407
|
isCorrect?: boolean;
|
|
408
|
+
attempts?: number;
|
|
404
409
|
};
|
|
405
410
|
};
|
|
406
411
|
x: number;
|