@quesmed/types 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.
@@ -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
- id: number;
108
- name: string;
109
- count: number;
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
  }
@@ -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
- id: number;
108
- name: string;
109
- count: number;
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;
@@ -153,21 +153,37 @@ export const QUESTION_STATS = gql `
153
153
  id
154
154
  name
155
155
  count
156
+ voteScore
157
+ firstAttemptScore
158
+ score
159
+ lastEditScore
156
160
  }
157
161
  mockCategories {
158
162
  id
159
163
  name
160
164
  count
165
+ voteScore
166
+ firstAttemptScore
167
+ score
168
+ lastEditScore
161
169
  }
162
170
  entitlements {
163
171
  id
164
172
  name
165
173
  count
174
+ voteScore
175
+ firstAttemptScore
176
+ score
177
+ lastEditScore
166
178
  }
167
179
  difficulties {
168
180
  id
169
181
  name
170
182
  count
183
+ voteScore
184
+ firstAttemptScore
185
+ score
186
+ lastEditScore
171
187
  }
172
188
  }
173
189
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.116",
3
+ "version": "2.6.117",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",