@quesmed/types-rn 2.5.20 → 2.5.21

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/models/User.d.ts CHANGED
@@ -56,7 +56,7 @@ export interface IDailyProgressData {
56
56
  totalCorrect: number;
57
57
  intensity: EPracticeIntensity;
58
58
  }
59
- export interface IMonthlyProgressData {
59
+ export interface IUserProgressData {
60
60
  marksheetCount: number;
61
61
  questionsCount: number;
62
62
  daysInCurrentStreak: number;
@@ -97,7 +97,7 @@ export interface IUser {
97
97
  completedRedCardsCount?: number | null;
98
98
  dailyFeed: ITodo;
99
99
  dailyProgress: IDailyProgressData[];
100
- monthlyProgress: IMonthlyProgressData;
100
+ userProgress: IUserProgressData;
101
101
  notifications: INotification[];
102
102
  subscriptions: ISubscription[];
103
103
  qbankSubscriptionEndDate: number | Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.20",
3
+ "version": "2.5.21",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -190,6 +190,12 @@ exports.UPSERT_USER_VIDEO_STATUS = (0, client_1.gql) `
190
190
  id
191
191
  status
192
192
  videoId
193
+ video {
194
+ concepts {
195
+ id
196
+ topicId
197
+ }
198
+ }
193
199
  userId
194
200
  createdAt
195
201
  }
@@ -29,6 +29,11 @@ export type IMarksheetsData = RestrictedData<{
29
29
  total: number;
30
30
  score: number;
31
31
  }, 'marksheets'>;
32
+ export type IMarksheetsWindowData = RestrictedData<{
33
+ results: (graphqlNormalize & IMarksheet)[];
34
+ total: number;
35
+ score: number;
36
+ }, 'marksheetsWindow'>;
32
37
  export interface PaginatedMarksheets {
33
38
  results: (graphqlNormalize & IMarksheet)[];
34
39
  total: number;
@@ -758,6 +758,7 @@ exports.FLAGGED_QUESTIONS = (0, client_1.gql) `
758
758
  concept {
759
759
  id
760
760
  name
761
+ status
761
762
  topic {
762
763
  name
763
764
  typeId
@@ -78,7 +78,7 @@ exports.DASHBOARD_QBANK = (0, client_1.gql) `
78
78
  totalCorrect
79
79
  totalCount
80
80
  }
81
- monthlyProgress {
81
+ userProgress {
82
82
  marksheetCount
83
83
  questionsCount
84
84
  daysInCurrentStreak
@@ -179,7 +179,7 @@ exports.DASHBOARD = (0, client_1.gql) `
179
179
  totalCorrect
180
180
  totalCount
181
181
  }
182
- monthlyProgress {
182
+ userProgress {
183
183
  marksheetCount
184
184
  questionsCount
185
185
  daysInCurrentStreak