@turnix-co/konva-editor 3.0.54 → 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/README.md +558 -558
- package/dist/index.d.ts +14 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +78 -79
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;
|
|
@@ -286,6 +287,9 @@ type MultipleChoice = {
|
|
|
286
287
|
responseOptions: {
|
|
287
288
|
options: string[];
|
|
288
289
|
correctIndex: number[];
|
|
290
|
+
selectedIndices?: number[];
|
|
291
|
+
isCorrect?: boolean;
|
|
292
|
+
attempts?: number;
|
|
289
293
|
};
|
|
290
294
|
};
|
|
291
295
|
x: number;
|
|
@@ -316,6 +320,9 @@ type TrueFalse = {
|
|
|
316
320
|
responseOptions: {
|
|
317
321
|
options: string[];
|
|
318
322
|
correctAnswer: boolean;
|
|
323
|
+
selectedResponse: boolean;
|
|
324
|
+
isCorrect: boolean;
|
|
325
|
+
attempts?: number;
|
|
319
326
|
};
|
|
320
327
|
};
|
|
321
328
|
x: number;
|
|
@@ -344,6 +351,9 @@ type ShortAnswer = {
|
|
|
344
351
|
responseOptions: {
|
|
345
352
|
options: string[];
|
|
346
353
|
correctShortAnswer: string;
|
|
354
|
+
userAnswer?: string;
|
|
355
|
+
isCorrect?: boolean;
|
|
356
|
+
attempts?: number;
|
|
347
357
|
};
|
|
348
358
|
};
|
|
349
359
|
x: number;
|
|
@@ -368,6 +378,7 @@ type LongAnswer = {
|
|
|
368
378
|
responseOptions: {
|
|
369
379
|
options: string[];
|
|
370
380
|
correctLongAnswer: string;
|
|
381
|
+
userAnswer?: string;
|
|
371
382
|
};
|
|
372
383
|
};
|
|
373
384
|
x: number;
|
|
@@ -392,6 +403,9 @@ type FillInTheBlanks = {
|
|
|
392
403
|
responseOptions: {
|
|
393
404
|
options: string[];
|
|
394
405
|
correctShortAnswer: string;
|
|
406
|
+
userAnswer?: string;
|
|
407
|
+
isCorrect?: boolean;
|
|
408
|
+
attempts?: number;
|
|
395
409
|
};
|
|
396
410
|
};
|
|
397
411
|
x: number;
|