@quesmed/types-rn 2.5.3 → 2.5.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.
@@ -2,7 +2,13 @@ import { Id } from './Type';
2
2
  export declare enum EProductType {
3
3
  QBANK = 1,
4
4
  OSCE = 2,
5
- BUNDLE = 3
5
+ BUNDLE = 3,
6
+ ANATOMY = 4,
7
+ MEDICAL_SCIENCES = 5,
8
+ ANATOMY_BUNDLE = 6,
9
+ MRCP = 7,
10
+ MSRA = 8,
11
+ INTERVIEW = 9
6
12
  }
7
13
  export interface IProduct {
8
14
  id: Id;
@@ -15,3 +21,7 @@ export interface IProduct {
15
21
  public: boolean;
16
22
  typeId: EProductType;
17
23
  }
24
+ export interface IProductType {
25
+ id: Id;
26
+ name: string;
27
+ }
package/models/Product.js CHANGED
@@ -6,4 +6,10 @@ var EProductType;
6
6
  EProductType[EProductType["QBANK"] = 1] = "QBANK";
7
7
  EProductType[EProductType["OSCE"] = 2] = "OSCE";
8
8
  EProductType[EProductType["BUNDLE"] = 3] = "BUNDLE";
9
+ EProductType[EProductType["ANATOMY"] = 4] = "ANATOMY";
10
+ EProductType[EProductType["MEDICAL_SCIENCES"] = 5] = "MEDICAL_SCIENCES";
11
+ EProductType[EProductType["ANATOMY_BUNDLE"] = 6] = "ANATOMY_BUNDLE";
12
+ EProductType[EProductType["MRCP"] = 7] = "MRCP";
13
+ EProductType[EProductType["MSRA"] = 8] = "MSRA";
14
+ EProductType[EProductType["INTERVIEW"] = 9] = "INTERVIEW";
9
15
  })(EProductType = exports.EProductType || (exports.EProductType = {}));
package/models/User.d.ts CHANGED
@@ -58,6 +58,7 @@ export interface IMonthlyProgressData {
58
58
  marksheetCount: number;
59
59
  questionsCount: number;
60
60
  daysInCurrentStreak: number;
61
+ daysInPreviousStreak: number;
61
62
  daysInLongestStreak: number;
62
63
  }
63
64
  export interface IUser {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.3",
3
+ "version": "2.5.5",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -82,6 +82,7 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
82
82
  marksheetCount
83
83
  questionsCount
84
84
  daysInCurrentStreak
85
+ daysInPreviousStreak
85
86
  daysInLongestStreak
86
87
  }
87
88
  }
@@ -182,6 +183,7 @@ exports.DASHBOARD = (0, client_1.gql) `
182
183
  marksheetCount
183
184
  questionsCount
184
185
  daysInCurrentStreak
186
+ daysInPreviousStreak
185
187
  daysInLongestStreak
186
188
  }
187
189
  }