@digabi/exam-engine-core 21.0.0-annoteta-react.0 → 21.0.2-annoteta-react.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -45,13 +45,15 @@ export interface TextAnnotation extends BaseAnnotation {
45
45
  /** The length of the annotation in characters. Images are counted as 1 character. */
46
46
  length: number;
47
47
  }
48
- export interface ExamAnnotation extends TextAnnotation {
48
+ export interface NewExamAnnotation extends TextAnnotation {
49
49
  displayNumber: string;
50
- annotationId: number;
51
50
  annotationAnchor: string;
52
51
  hidden: boolean;
53
52
  selectedText: string;
54
53
  }
54
+ export interface ExamAnnotation extends NewExamAnnotation {
55
+ annotationId: number;
56
+ }
55
57
  interface ShapeAnnotation extends BaseAnnotation {
56
58
  /** A 0-indexed number describing which <img /> in the answer the annotation is attached to. */
57
59
  attachmentIndex: number;
@@ -1 +1 @@
1
- {"version":3,"file":"Score.d.ts","sourceRoot":"","sources":["../../src/types/Score.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,MAAM,MAAM,QAAQ,GAAG,MAAM,CAAA;AAE7B,MAAM,WAAW,KAAK;IACpB,UAAU,EAAE,UAAU,CAAA;IACtB,QAAQ,EAAE,QAAQ,CAAA;IAClB,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,SAAS,CAAC,EAAE,cAAc,CAAA;IAC1B,UAAU,CAAC,EAAE,eAAe,CAAA;IAC5B,WAAW,CAAC,EAAE,eAAe,CAAA;CAC9B;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAA;CACd;AAED,MAAM,WAAW,eAAe;IAC9B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,UAAU,EAAE,CAAA;CAC3B;AAED,MAAM,WAAW,cAAc;IAC7B,MAAM,EAAE,KAAK,CAAC;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAA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KAAK,EAAE,MAAM,CAAA;IACb,6FAA6F;IAC7F,MAAM,EAAE,MAAM,CAAA;CACf;AAED;;;;;GAKG;AACH,MAAM,MAAM,eAAe,GAAG,cAAc,GAAG,cAAc,CAAA;AAE7D,MAAM,MAAM,UAAU,GAAG,cAAc,GAAG,eAAe,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@digabi/exam-engine-core",
3
- "version": "21.0.0-annoteta-react.0",
3
+ "version": "21.0.2-annoteta-react.0",
4
4
  "main": "dist/main-bundle.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "author": "Matriculation Examination Board, Finland",
@@ -58,5 +58,5 @@
58
58
  "webpack-bundle-analyzer": "^4.1.0",
59
59
  "webpack-cli": "^5.0.2"
60
60
  },
61
- "gitHead": "3d4e41c6d6303d363bf97e5aa932d8991d480d5b"
61
+ "gitHead": "cb538d41ea2a8234413813ab89b607b5494fac43"
62
62
  }