@quesmed/types 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.
@@ -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;
@@ -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
@@ -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;
@@ -185,6 +185,12 @@ export const UPSERT_USER_VIDEO_STATUS = gql `
185
185
  id
186
186
  status
187
187
  videoId
188
+ video {
189
+ concepts {
190
+ id
191
+ topicId
192
+ }
193
+ }
188
194
  userId
189
195
  createdAt
190
196
  }
@@ -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;
@@ -755,6 +755,7 @@ export const FLAGGED_QUESTIONS = gql `
755
755
  concept {
756
756
  id
757
757
  name
758
+ status
758
759
  topic {
759
760
  name
760
761
  typeId
@@ -75,7 +75,7 @@ export const DASHBOARD_QBANK = gql `
75
75
  totalCorrect
76
76
  totalCount
77
77
  }
78
- monthlyProgress {
78
+ userProgress {
79
79
  marksheetCount
80
80
  questionsCount
81
81
  daysInCurrentStreak
@@ -176,7 +176,7 @@ export const DASHBOARD = gql `
176
176
  totalCorrect
177
177
  totalCount
178
178
  }
179
- monthlyProgress {
179
+ userProgress {
180
180
  marksheetCount
181
181
  questionsCount
182
182
  daysInCurrentStreak
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.20",
3
+ "version": "2.5.21",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",