@quesmed/types 2.5.83 → 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
  }
@@ -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
@@ -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
@@ -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
  }
@@ -50,9 +50,15 @@ export const DUPLICATE_PRESET = gql `
50
50
  name
51
51
  likes
52
52
  topicType
53
- total
54
- correct
55
- incorrect
53
+ correctQuestions
54
+ incorrectQuestions
55
+ completedQuestions
56
+ totalQuestions
57
+ yellowCards
58
+ greenCards
59
+ redCards
60
+ completedCards
61
+ totalCards
56
62
  userId
57
63
  university {
58
64
  id
@@ -104,9 +110,15 @@ export const EDIT_PRESET = gql `
104
110
  name
105
111
  likes
106
112
  topicType
107
- total
108
- correct
109
- incorrect
113
+ correctQuestions
114
+ incorrectQuestions
115
+ completedQuestions
116
+ totalQuestions
117
+ yellowCards
118
+ greenCards
119
+ redCards
120
+ completedCards
121
+ totalCards
110
122
  userId
111
123
  university {
112
124
  id
@@ -135,9 +147,15 @@ export const CREATE_PRESET = gql `
135
147
  name
136
148
  likes
137
149
  topicType
138
- total
139
- correct
140
- incorrect
150
+ correctQuestions
151
+ incorrectQuestions
152
+ completedQuestions
153
+ totalQuestions
154
+ yellowCards
155
+ greenCards
156
+ redCards
157
+ completedCards
158
+ totalCards
141
159
  userId
142
160
  university {
143
161
  id
@@ -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;
@@ -23,9 +23,15 @@ export const PRESETS = gql `
23
23
  name
24
24
  likes
25
25
  topicType
26
- total
27
- correct
28
- incorrect
26
+ correctQuestions
27
+ incorrectQuestions
28
+ completedQuestions
29
+ totalQuestions
30
+ yellowCards
31
+ greenCards
32
+ redCards
33
+ completedCards
34
+ totalCards
29
35
  userId
30
36
  university {
31
37
  id
@@ -54,9 +60,15 @@ export const PRESET = gql `
54
60
  name
55
61
  likes
56
62
  topicType
57
- total
58
- correct
59
- incorrect
63
+ correctQuestions
64
+ incorrectQuestions
65
+ completedQuestions
66
+ totalQuestions
67
+ yellowCards
68
+ greenCards
69
+ redCards
70
+ completedCards
71
+ totalCards
60
72
  userId
61
73
  university {
62
74
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.83",
3
+ "version": "2.5.84",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",