@pocketprep/types 1.6.26 → 1.6.30
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 +1 -1
- package/Study/Cloud.d.ts +2 -1
- package/Teach/Class.d.ts +1 -0
- package/package.json +3 -2
package/Study/Class.d.ts
CHANGED
package/Study/Cloud.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import {
|
|
|
17
17
|
TEUserAppMetadata,
|
|
18
18
|
SubscriptionBundle,
|
|
19
19
|
Receipt,
|
|
20
|
+
User,
|
|
20
21
|
UserPayload,
|
|
21
22
|
GlobalQuestionMetricJSON,
|
|
22
23
|
} from './Class'
|
|
@@ -255,7 +256,6 @@ export type fetchQuizQuestionsV3 = (params: {
|
|
|
255
256
|
flagged?: boolean
|
|
256
257
|
incorrect?: boolean
|
|
257
258
|
}
|
|
258
|
-
mockExamId?: string
|
|
259
259
|
}) => ExamDataJSON[]
|
|
260
260
|
|
|
261
261
|
export type fetchFlaggedQuestionKnowledgeAreas =
|
|
@@ -297,6 +297,7 @@ export type fetchUserDataV2 = (params: {
|
|
|
297
297
|
}) => {
|
|
298
298
|
quizzes: Quiz[]
|
|
299
299
|
subscriptions: Subscription[]
|
|
300
|
+
user: User
|
|
300
301
|
userExamMetadata: UserExamMetadata | undefined
|
|
301
302
|
}
|
|
302
303
|
|
package/Teach/Class.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ export type OrgStudentPayload = Payload<OrgStudent>
|
|
|
44
44
|
|
|
45
45
|
export type Organization = Parse.Object<{
|
|
46
46
|
name: string
|
|
47
|
+
archivedAt?: Date
|
|
47
48
|
}>
|
|
48
49
|
export type OrganizationJSON = ReturnType<Organization['toJSON']>
|
|
49
50
|
export type OrganizationPayload = Payload<Organization>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pocketprep/types",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.30",
|
|
4
4
|
"description": "Pocket Prep type declarations",
|
|
5
5
|
"main": "",
|
|
6
6
|
"repository": {
|
|
@@ -15,7 +15,8 @@
|
|
|
15
15
|
"url": "https://github.com/Pocket-Prep/types/issues"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
|
-
"lint": "eslint '**/*.ts'"
|
|
18
|
+
"lint": "eslint '**/*.ts'",
|
|
19
|
+
"types-copy": "pwd | pbcopy"
|
|
19
20
|
},
|
|
20
21
|
"homepage": "https://github.com/Pocket-Prep/types#readme",
|
|
21
22
|
"dependencies": {
|