@turnix-co/konva-editor 3.0.56 → 4.0.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/dist/index.d.ts CHANGED
@@ -298,6 +298,10 @@ type MultipleChoice = {
298
298
  x: number;
299
299
  y: number;
300
300
  };
301
+ optionDragDropPos?: Record<number, {
302
+ x: number;
303
+ y: number;
304
+ }>;
301
305
  scaleX?: number;
302
306
  scaleY?: number;
303
307
  width: number;
@@ -320,8 +324,8 @@ type TrueFalse = {
320
324
  responseOptions: {
321
325
  options: string[];
322
326
  correctAnswer: boolean;
323
- selectedResponse: boolean;
324
- isCorrect: boolean;
327
+ selectedResponse?: boolean;
328
+ isCorrect?: boolean;
325
329
  attempts?: number;
326
330
  };
327
331
  };
@@ -331,6 +335,16 @@ type TrueFalse = {
331
335
  x: number;
332
336
  y: number;
333
337
  };
338
+ optionDragDropPos?: {
339
+ true?: {
340
+ x: number;
341
+ y: number;
342
+ };
343
+ false?: {
344
+ x: number;
345
+ y: number;
346
+ };
347
+ };
334
348
  width: number;
335
349
  height: number;
336
350
  rotation: number;