@quesmed/types-rn 2.6.116 → 2.6.117
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/package.json
CHANGED
|
@@ -100,29 +100,22 @@ export type IUserFeedbackVar = {
|
|
|
100
100
|
};
|
|
101
101
|
export type IUserFeedbackData = AdminData<IUserFeedback, 'userFeedbacks'>;
|
|
102
102
|
export declare const QUESTION_STATS: import("@apollo/client").DocumentNode;
|
|
103
|
+
export interface IStats {
|
|
104
|
+
id: number;
|
|
105
|
+
name: string;
|
|
106
|
+
count: number;
|
|
107
|
+
voteScore: number;
|
|
108
|
+
firstAttemptScore: number;
|
|
109
|
+
score: number;
|
|
110
|
+
lastEditScore: number;
|
|
111
|
+
}
|
|
103
112
|
export interface IQuestionStats {
|
|
104
113
|
totalQuestions: number;
|
|
105
114
|
totalMockQuestions: number;
|
|
106
|
-
mockTests: Array<
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
}>;
|
|
111
|
-
mockCategories: Array<{
|
|
112
|
-
id: number;
|
|
113
|
-
name: string;
|
|
114
|
-
count: number;
|
|
115
|
-
}>;
|
|
116
|
-
entitlements: Array<{
|
|
117
|
-
id: number;
|
|
118
|
-
name: string;
|
|
119
|
-
count: number;
|
|
120
|
-
}>;
|
|
121
|
-
difficulties: Array<{
|
|
122
|
-
id: number;
|
|
123
|
-
name: string;
|
|
124
|
-
count: number;
|
|
125
|
-
}>;
|
|
115
|
+
mockTests: Array<IStats>;
|
|
116
|
+
mockCategories: Array<IStats>;
|
|
117
|
+
entitlements: Array<IStats>;
|
|
118
|
+
difficulties: Array<IStats>;
|
|
126
119
|
}
|
|
127
120
|
export type IQuestionStatsVar = {
|
|
128
121
|
from: Date | number | null;
|
|
@@ -156,21 +156,37 @@ exports.QUESTION_STATS = (0, client_1.gql) `
|
|
|
156
156
|
id
|
|
157
157
|
name
|
|
158
158
|
count
|
|
159
|
+
voteScore
|
|
160
|
+
firstAttemptScore
|
|
161
|
+
score
|
|
162
|
+
lastEditScore
|
|
159
163
|
}
|
|
160
164
|
mockCategories {
|
|
161
165
|
id
|
|
162
166
|
name
|
|
163
167
|
count
|
|
168
|
+
voteScore
|
|
169
|
+
firstAttemptScore
|
|
170
|
+
score
|
|
171
|
+
lastEditScore
|
|
164
172
|
}
|
|
165
173
|
entitlements {
|
|
166
174
|
id
|
|
167
175
|
name
|
|
168
176
|
count
|
|
177
|
+
voteScore
|
|
178
|
+
firstAttemptScore
|
|
179
|
+
score
|
|
180
|
+
lastEditScore
|
|
169
181
|
}
|
|
170
182
|
difficulties {
|
|
171
183
|
id
|
|
172
184
|
name
|
|
173
185
|
count
|
|
186
|
+
voteScore
|
|
187
|
+
firstAttemptScore
|
|
188
|
+
score
|
|
189
|
+
lastEditScore
|
|
174
190
|
}
|
|
175
191
|
}
|
|
176
192
|
}
|