@pocketprep/types 1.10.0 → 1.10.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.
Files changed (2) hide show
  1. package/CMS/Class.d.ts +10 -1
  2. package/package.json +1 -1
package/CMS/Class.d.ts CHANGED
@@ -1,5 +1,12 @@
1
1
  import { Study, Payload } from '../index'
2
2
 
3
+ export interface ICopyleaksScore {
4
+ identicalWords: number
5
+ minorChangedWords: number
6
+ relatedMeaningWords: number
7
+ aggregatedScore: number
8
+ }
9
+
3
10
  export type QuestionDraft = Parse.Object<{
4
11
  prompt?: string
5
12
  examDataId?: string
@@ -19,7 +26,7 @@ export type QuestionDraft = Parse.Object<{
19
26
  serial?: string
20
27
  subCategory?: string
21
28
  dateAdded?: string
22
- images?: {
29
+ images?: {
23
30
  explanation?: {
24
31
  url: string
25
32
  altText: string
@@ -42,6 +49,8 @@ export type QuestionDraft = Parse.Object<{
42
49
  percentCorrect?: number
43
50
  willResetMetrics?: boolean
44
51
  isMockQuestion?: boolean
52
+ copyleaksId?: string
53
+ copyleaksScore?: ICopyleaksScore
45
54
  }>
46
55
 
47
56
  export type QuestionDraftJSON = ReturnType<QuestionDraft['toJSON']>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",