@quesmed/types-rn 2.6.142 → 2.6.144
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/models/Blog.d.ts
CHANGED
|
@@ -13,7 +13,9 @@ export declare enum EBlogTags {
|
|
|
13
13
|
QUESMED_MRCP = "Quesmed_MRCP",
|
|
14
14
|
MLA_AKT = "MLA_AKT",
|
|
15
15
|
MLA_CSPA = "MLA_CPSA",
|
|
16
|
-
MRCP_VIDEO = "MRCP_Video"
|
|
16
|
+
MRCP_VIDEO = "MRCP_Video",
|
|
17
|
+
PLAB1 = "PLAB1",
|
|
18
|
+
PLAB2 = "PLAB2"
|
|
17
19
|
}
|
|
18
20
|
export interface IBlogTag {
|
|
19
21
|
id: Id;
|
package/models/Blog.js
CHANGED
package/package.json
CHANGED
|
@@ -138,6 +138,14 @@ export type IEarningsGraphVar = {
|
|
|
138
138
|
productIds: EProductType[];
|
|
139
139
|
};
|
|
140
140
|
export type IEarningsGraphData = AdminData<Array<ITimeSeriesData>, 'earningsGraph'>;
|
|
141
|
+
export declare const APP_USAGE_GRAPH: import("@apollo/client").DocumentNode;
|
|
142
|
+
export type IAppUsageGraphVar = {
|
|
143
|
+
year: number | null;
|
|
144
|
+
force: boolean;
|
|
145
|
+
productIds: EProductType[];
|
|
146
|
+
groupBy: 'question' | 'quiz';
|
|
147
|
+
};
|
|
148
|
+
export type IAppUsageGraphData = AdminData<Array<ITimeSeriesData>, 'appUsageGraph'>;
|
|
141
149
|
export declare const QUESTION_STATS: import("@apollo/client").DocumentNode;
|
|
142
150
|
export interface IStats {
|
|
143
151
|
id: number;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DROPDOWN_OPTIONS = exports.USER_CANCELLATION_REASONS = exports.QUESTION_STATS = exports.EARNINGS_GRAPH = exports.USER_FEEDBACK_GRAPH = exports.USER_FEEDBACKS = exports.USER_BREAKDOWN = exports.USER_STATUS = exports.ESubType = exports.EARNINGS = exports.IMPORT_STATS = void 0;
|
|
3
|
+
exports.DROPDOWN_OPTIONS = exports.USER_CANCELLATION_REASONS = exports.QUESTION_STATS = exports.APP_USAGE_GRAPH = exports.EARNINGS_GRAPH = exports.USER_FEEDBACK_GRAPH = exports.USER_FEEDBACKS = exports.USER_BREAKDOWN = exports.USER_STATUS = exports.ESubType = 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($from: Date, $to: Date, $force: Boolean) {
|
|
@@ -213,6 +213,35 @@ exports.EARNINGS_GRAPH = (0, client_1.gql) `
|
|
|
213
213
|
}
|
|
214
214
|
}
|
|
215
215
|
`;
|
|
216
|
+
exports.APP_USAGE_GRAPH = (0, client_1.gql) `
|
|
217
|
+
query AppUsageGraph(
|
|
218
|
+
$year: Int
|
|
219
|
+
$force: Boolean
|
|
220
|
+
$productIds: [Int]
|
|
221
|
+
$groupBy: String
|
|
222
|
+
) {
|
|
223
|
+
admin {
|
|
224
|
+
appUsageGraph(
|
|
225
|
+
year: $year
|
|
226
|
+
force: $force
|
|
227
|
+
productIds: $productIds
|
|
228
|
+
groupBy: $groupBy
|
|
229
|
+
) {
|
|
230
|
+
month
|
|
231
|
+
count
|
|
232
|
+
value
|
|
233
|
+
stats {
|
|
234
|
+
count
|
|
235
|
+
value
|
|
236
|
+
product {
|
|
237
|
+
id
|
|
238
|
+
name
|
|
239
|
+
}
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
`;
|
|
216
245
|
exports.QUESTION_STATS = (0, client_1.gql) `
|
|
217
246
|
query QuestionStats(
|
|
218
247
|
$productId: Int
|