@quesmed/types-rn 2.5.33 → 2.5.35
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
|
@@ -18,6 +18,22 @@ export interface IOsceMarksheetsVar {
|
|
|
18
18
|
days?: number;
|
|
19
19
|
}
|
|
20
20
|
export type IOsceMarksheetsData = RestrictedData<(graphqlNormalize & IOsceMarksheet)[], 'osceMarksheets'>;
|
|
21
|
+
export interface IOsceMarksheetsWindowVar {
|
|
22
|
+
filter: {
|
|
23
|
+
limit: number;
|
|
24
|
+
order?: string;
|
|
25
|
+
updatedAt?: Date | number;
|
|
26
|
+
solo?: boolean;
|
|
27
|
+
period?: number;
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
export declare const OSCE_MARKSHEET_WINDOW: import("@apollo/client").DocumentNode;
|
|
31
|
+
export interface IOsceMarksheetsDashboardData {
|
|
32
|
+
total: number;
|
|
33
|
+
score: number;
|
|
34
|
+
results: IOsceMarksheet[];
|
|
35
|
+
}
|
|
36
|
+
export type IOsceMarksheetsWindowData = RestrictedData<graphqlNormalize & IOsceMarksheetsDashboardData, 'osceMarksheetsWindow'>;
|
|
21
37
|
export declare const OSCE_MARKSHEET: import("@apollo/client").DocumentNode;
|
|
22
38
|
export interface IOsceMarksheetVar {
|
|
23
39
|
id: number;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.HEARTBEAT = exports.SEARCH_OSCE_STATIONS = exports.OSCE_TOPICS = exports.OSCE_STATION = exports.OSCE_STATIONS = exports.OSCE_MARKSHEET = exports.OSCE_MARKSHEETS = exports.DASHBOARD_OSCE = exports.OSCE_STATS = void 0;
|
|
3
|
+
exports.HEARTBEAT = exports.SEARCH_OSCE_STATIONS = exports.OSCE_TOPICS = exports.OSCE_STATION = exports.OSCE_STATIONS = exports.OSCE_MARKSHEET = exports.OSCE_MARKSHEET_WINDOW = exports.OSCE_MARKSHEETS = exports.DASHBOARD_OSCE = exports.OSCE_STATS = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
const osce_1 = require("../../fragments/osce");
|
|
6
6
|
const osce_2 = require("./../../fragments/osce");
|
|
7
7
|
exports.OSCE_STATS = (0, client_1.gql) `
|
|
8
|
-
query OsceStats($solo: Boolean!, $typeId: [Int]) {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
avgScore
|
|
12
|
-
completed
|
|
13
|
-
total
|
|
14
|
-
types {
|
|
8
|
+
query OsceStats($solo: Boolean!, $typeId: [Int]) {
|
|
9
|
+
restricted {
|
|
10
|
+
osceStats(solo: $solo, typeId: $typeId) {
|
|
15
11
|
avgScore
|
|
16
12
|
completed
|
|
17
|
-
id
|
|
18
|
-
name
|
|
19
13
|
total
|
|
14
|
+
types {
|
|
15
|
+
avgScore
|
|
16
|
+
completed
|
|
17
|
+
id
|
|
18
|
+
name
|
|
19
|
+
total
|
|
20
|
+
}
|
|
20
21
|
}
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
|
-
}
|
|
24
24
|
`;
|
|
25
25
|
exports.DASHBOARD_OSCE = (0, client_1.gql) `
|
|
26
26
|
query DashboardOsce($solo: Boolean!) {
|
|
@@ -56,7 +56,27 @@ exports.OSCE_MARKSHEETS = (0, client_1.gql) `
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
`;
|
|
59
|
-
|
|
59
|
+
exports.OSCE_MARKSHEET_WINDOW = (0, client_1.gql) `
|
|
60
|
+
${osce_2.OSCE_STATION_FIELDS}
|
|
61
|
+
${osce_1.OSCE_MARKSHEET_FIELDS}
|
|
62
|
+
query OsceMarksheetsWindow($filter: OsceMarksheetWindowFilterInput!) {
|
|
63
|
+
restricted {
|
|
64
|
+
osceMarksheetsWindow(filter: $filter) {
|
|
65
|
+
results {
|
|
66
|
+
...OsceMarksheetFields
|
|
67
|
+
correct
|
|
68
|
+
total
|
|
69
|
+
osceStation {
|
|
70
|
+
...OsceStationFields
|
|
71
|
+
__typename
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
score
|
|
75
|
+
total
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
`;
|
|
60
80
|
exports.OSCE_MARKSHEET = (0, client_1.gql) `
|
|
61
81
|
${osce_2.OSCE_STATION_FIELDS}
|
|
62
82
|
${osce_1.OSCE_MARKSHEET_FIELDS}
|