@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.
- package/dist/cjs/models/Preset.d.ts +9 -3
- package/dist/cjs/resolvers/mutation/restricted/preset.js +27 -9
- package/dist/cjs/resolvers/query/restricted/preset.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/preset.js +18 -6
- package/dist/mjs/models/Preset.d.ts +9 -3
- package/dist/mjs/resolvers/mutation/restricted/preset.js +27 -9
- package/dist/mjs/resolvers/query/restricted/preset.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/preset.js +18 -6
- package/package.json +1 -1
|
@@ -9,9 +9,15 @@ export interface IPreset {
|
|
|
9
9
|
name: string;
|
|
10
10
|
topicType: ETopicType;
|
|
11
11
|
likes: number;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
113
|
-
|
|
114
|
-
|
|
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
|
-
|
|
144
|
-
|
|
145
|
-
|
|
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
|
-
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
|
|
61
|
-
|
|
62
|
-
|
|
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
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
108
|
-
|
|
109
|
-
|
|
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
|
-
|
|
139
|
-
|
|
140
|
-
|
|
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
|
-
|
|
27
|
-
|
|
28
|
-
|
|
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
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|