@pocketprep/types 1.7.3 → 1.7.5
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/Study/Class.d.ts +2 -2
- package/Teach/Cloud.d.ts +2 -2
- package/package.json +3 -2
package/Study/Class.d.ts
CHANGED
|
@@ -239,6 +239,7 @@ export type UserWebConfig = {
|
|
|
239
239
|
hasSeenOnboarding?: boolean
|
|
240
240
|
hasSeenWelcomeModal?: boolean
|
|
241
241
|
hasSeenProductAnnouncementModal?: boolean
|
|
242
|
+
lastActiveApp?: 'study' | 'teach'
|
|
242
243
|
}
|
|
243
244
|
|
|
244
245
|
export type UserQuizSettings = {
|
|
@@ -413,10 +414,9 @@ export type Bundle = Parse.Object<{
|
|
|
413
414
|
export type BundleJSON = ReturnType<Bundle['toJSON']>
|
|
414
415
|
|
|
415
416
|
export type Referral = Parse.Object<{
|
|
416
|
-
redeemedUsers: User[]
|
|
417
417
|
referrer: User
|
|
418
418
|
referrerBundle: Bundle
|
|
419
|
-
|
|
419
|
+
redeemedUsers: User[]
|
|
420
420
|
}>
|
|
421
421
|
|
|
422
422
|
export type ReferralJSON = ReturnType<Referral['toJSON']>
|
package/Teach/Cloud.d.ts
CHANGED
|
@@ -31,12 +31,12 @@ export interface StudentStats {
|
|
|
31
31
|
quizScores: {
|
|
32
32
|
score: number
|
|
33
33
|
date: string
|
|
34
|
-
mode: 0 | 1 | 2 | 3 | 4 | 10
|
|
34
|
+
mode: 0 | 1 | 2 | 3 | 4 | 5 | 10
|
|
35
35
|
}[]
|
|
36
36
|
allActivity: ({
|
|
37
37
|
score: number
|
|
38
38
|
date: string
|
|
39
|
-
mode: 0 | 1 | 2 | 3 | 4 | 10
|
|
39
|
+
mode: 0 | 1 | 2 | 3 | 4 | 5 | 10
|
|
40
40
|
} | {
|
|
41
41
|
score: 0 | 1
|
|
42
42
|
date: string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocketprep/types",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.5",
|
|
4
4
|
"description": "Pocket Prep type declarations",
|
|
5
5
|
"main": "",
|
|
6
6
|
"repository": {
|
|
@@ -16,7 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"lint": "eslint '**/*.ts'",
|
|
19
|
-
"types-copy": "pwd | pbcopy"
|
|
19
|
+
"types-copy": "pwd | pbcopy",
|
|
20
|
+
"patch": "npm version patch --no-git-tag-version"
|
|
20
21
|
},
|
|
21
22
|
"homepage": "https://github.com/Pocket-Prep/types#readme",
|
|
22
23
|
"dependencies": {
|