@quesmed/types-rn 2.5.82 → 2.5.84

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.
@@ -9,9 +9,15 @@ export interface IPreset {
9
9
  name: string;
10
10
  topicType: ETopicType;
11
11
  likes: number;
12
- total: number;
13
- correct: number;
14
- incorrect: number;
12
+ correctQuestions: number;
13
+ incorrectQuestions: number;
14
+ completedQuestions: number;
15
+ totalQuestions: number;
16
+ yellowCards: number;
17
+ greenCards: number;
18
+ redCards: number;
19
+ completedCards: number;
20
+ totalCards: number;
15
21
  university: IUniversity;
16
22
  topics: ITopic[];
17
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.82",
3
+ "version": "2.5.84",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -54,9 +54,15 @@ exports.DUPLICATE_PRESET = (0, client_1.gql) `
54
54
  name
55
55
  likes
56
56
  topicType
57
- total
58
- correct
59
- incorrect
57
+ correctQuestions
58
+ incorrectQuestions
59
+ completedQuestions
60
+ totalQuestions
61
+ yellowCards
62
+ greenCards
63
+ redCards
64
+ completedCards
65
+ totalCards
60
66
  userId
61
67
  university {
62
68
  id
@@ -109,9 +115,15 @@ exports.EDIT_PRESET = (0, client_1.gql) `
109
115
  name
110
116
  likes
111
117
  topicType
112
- total
113
- correct
114
- incorrect
118
+ correctQuestions
119
+ incorrectQuestions
120
+ completedQuestions
121
+ totalQuestions
122
+ yellowCards
123
+ greenCards
124
+ redCards
125
+ completedCards
126
+ totalCards
115
127
  userId
116
128
  university {
117
129
  id
@@ -140,9 +152,15 @@ exports.CREATE_PRESET = (0, client_1.gql) `
140
152
  name
141
153
  likes
142
154
  topicType
143
- total
144
- correct
145
- incorrect
155
+ correctQuestions
156
+ incorrectQuestions
157
+ completedQuestions
158
+ totalQuestions
159
+ yellowCards
160
+ greenCards
161
+ redCards
162
+ completedCards
163
+ totalCards
146
164
  userId
147
165
  university {
148
166
  id
@@ -39,6 +39,16 @@ exports.DASHBOARD_OSCE = (0, client_1.gql) `
39
39
  completed
40
40
  total
41
41
  }
42
+ user {
43
+ examDate
44
+ userProgress {
45
+ marksheetCount
46
+ stationsCount
47
+ daysInCurrentStreak
48
+ daysInPreviousStreak
49
+ daysInLongestStreak
50
+ }
51
+ }
42
52
  }
43
53
  }
44
54
  `;
@@ -77,16 +87,6 @@ exports.OSCE_MARKSHEET_WINDOW = (0, client_1.gql) `
77
87
  score
78
88
  total
79
89
  }
80
- user {
81
- examDate
82
- userProgress {
83
- marksheetCount
84
- stationsCount
85
- daysInCurrentStreak
86
- daysInPreviousStreak
87
- daysInLongestStreak
88
- }
89
- }
90
90
  }
91
91
  }
92
92
  `;
@@ -1,6 +1,6 @@
1
1
  import { ETopicType, IPreset, Id } from '../../../models';
2
- import { RestrictedData } from '../../types';
3
2
  import { ESortOrder } from '../../enums';
3
+ import { RestrictedData } from '../../types';
4
4
  export interface IPresetsVar {
5
5
  userId?: Id;
6
6
  topicType?: ETopicType;
@@ -26,9 +26,15 @@ exports.PRESETS = (0, client_1.gql) `
26
26
  name
27
27
  likes
28
28
  topicType
29
- total
30
- correct
31
- incorrect
29
+ correctQuestions
30
+ incorrectQuestions
31
+ completedQuestions
32
+ totalQuestions
33
+ yellowCards
34
+ greenCards
35
+ redCards
36
+ completedCards
37
+ totalCards
32
38
  userId
33
39
  university {
34
40
  id
@@ -57,9 +63,15 @@ exports.PRESET = (0, client_1.gql) `
57
63
  name
58
64
  likes
59
65
  topicType
60
- total
61
- correct
62
- incorrect
66
+ correctQuestions
67
+ incorrectQuestions
68
+ completedQuestions
69
+ totalQuestions
70
+ yellowCards
71
+ greenCards
72
+ redCards
73
+ completedCards
74
+ totalCards
63
75
  userId
64
76
  university {
65
77
  id