@quesmed/types-rn 2.6.111 → 2.6.113
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
|
@@ -91,3 +91,35 @@ export type IUserFeedbackVar = {
|
|
|
91
91
|
description: boolean | null;
|
|
92
92
|
};
|
|
93
93
|
export type IUserFeedbackData = AdminData<IUserFeedback, 'userFeedbacks'>;
|
|
94
|
+
export declare const QUESTION_STATS: import("@apollo/client").DocumentNode;
|
|
95
|
+
export interface IQuestionStats {
|
|
96
|
+
totalQuestions: number;
|
|
97
|
+
totalMockQuestions: number;
|
|
98
|
+
mockTests: Array<{
|
|
99
|
+
id: number;
|
|
100
|
+
name: string;
|
|
101
|
+
count: number;
|
|
102
|
+
}>;
|
|
103
|
+
mockCategories: Array<{
|
|
104
|
+
id: number;
|
|
105
|
+
name: string;
|
|
106
|
+
count: number;
|
|
107
|
+
}>;
|
|
108
|
+
entitlements: Array<{
|
|
109
|
+
id: number;
|
|
110
|
+
name: string;
|
|
111
|
+
count: number;
|
|
112
|
+
}>;
|
|
113
|
+
difficulties: Array<{
|
|
114
|
+
id: number;
|
|
115
|
+
name: string;
|
|
116
|
+
count: number;
|
|
117
|
+
}>;
|
|
118
|
+
}
|
|
119
|
+
export type IQuestionStatsVar = {
|
|
120
|
+
from: Date | number | null;
|
|
121
|
+
to: Date | number | null;
|
|
122
|
+
force: boolean;
|
|
123
|
+
productId: EProductType;
|
|
124
|
+
};
|
|
125
|
+
export type IQuestionStatsData = AdminData<IQuestionStats, 'questionStats'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.USER_FEEDBACKS = exports.USER_BREAKDOWN = exports.USER_STATUS = exports.EARNINGS = exports.IMPORT_STATS = void 0;
|
|
3
|
+
exports.QUESTION_STATS = exports.USER_FEEDBACKS = exports.USER_BREAKDOWN = exports.USER_STATUS = exports.EARNINGS = exports.IMPORT_STATS = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
exports.IMPORT_STATS = (0, client_1.gql) `
|
|
6
6
|
query ImportStats($force: Boolean) {
|
|
@@ -118,3 +118,43 @@ exports.USER_FEEDBACKS = (0, client_1.gql) `
|
|
|
118
118
|
}
|
|
119
119
|
}
|
|
120
120
|
`;
|
|
121
|
+
exports.QUESTION_STATS = (0, client_1.gql) `
|
|
122
|
+
query QuestionStats(
|
|
123
|
+
$productId: Int
|
|
124
|
+
$from: Date
|
|
125
|
+
$to: Date
|
|
126
|
+
$force: Boolean!
|
|
127
|
+
) {
|
|
128
|
+
admin {
|
|
129
|
+
questionStats(
|
|
130
|
+
force: $force
|
|
131
|
+
from: $from
|
|
132
|
+
to: $to
|
|
133
|
+
productId: $productId
|
|
134
|
+
) {
|
|
135
|
+
totalQuestions
|
|
136
|
+
totalMockQuestions
|
|
137
|
+
mockTests {
|
|
138
|
+
id
|
|
139
|
+
name
|
|
140
|
+
count
|
|
141
|
+
}
|
|
142
|
+
mockCategories {
|
|
143
|
+
id
|
|
144
|
+
name
|
|
145
|
+
count
|
|
146
|
+
}
|
|
147
|
+
entitlements {
|
|
148
|
+
id
|
|
149
|
+
name
|
|
150
|
+
count
|
|
151
|
+
}
|
|
152
|
+
difficulties {
|
|
153
|
+
id
|
|
154
|
+
name
|
|
155
|
+
count
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
`;
|