@pocketprep/types 1.8.6 → 1.8.8

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/Study/Class.d.ts +4 -0
  2. package/package.json +1 -1
package/Study/Class.d.ts CHANGED
@@ -280,6 +280,8 @@ export type Subject = Parse.Object<{
280
280
  examMetadata: ExamMetadata | Parse.Pointer
281
281
  }>
282
282
 
283
+ export type SubjectJSON = ReturnType<Subject['toJSON']>
284
+
283
285
  export type Question = Parse.Object<{
284
286
  prompt: string
285
287
  subject: Subject | Parse.Pointer
@@ -311,6 +313,8 @@ export type Question = Parse.Object<{
311
313
  isMockQuestion: boolean
312
314
  }>
313
315
 
316
+ export type QuestionJSON = ReturnType<Question['toJSON']>
317
+
314
318
  export type ExamData = Parse.Object<{
315
319
  archived?: 0 | 1
316
320
  lastUpdated?: string // A date-formatted string...
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pocketprep/types",
3
- "version": "1.8.6",
3
+ "version": "1.8.8",
4
4
  "description": "Pocket Prep type declarations",
5
5
  "repository": {
6
6
  "type": "git",