@quesmed/types 2.5.81 → 2.5.82
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/dist/cjs/models/User.d.ts +1 -0
- package/dist/cjs/resolvers/query/restricted/osce.d.ts +8 -2
- package/dist/cjs/resolvers/query/restricted/osce.js +11 -1
- package/dist/mjs/models/User.d.ts +1 -0
- package/dist/mjs/resolvers/query/restricted/osce.d.ts +8 -2
- package/dist/mjs/resolvers/query/restricted/osce.js +11 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EDifficultyType, EOsceType, Id, IDashboardOsce, IOsceMarksheet, IOsceStation, IOsceStats } from '../../../models';
|
|
1
|
+
import { EDifficultyType, EOsceType, Id, IDashboardOsce, IOsceMarksheet, IOsceStation, IOsceStats, IUser } from '../../../models';
|
|
2
|
+
import { ESortOrder } from '../../enums';
|
|
2
3
|
import { graphqlNormalize, RestrictedData } from '../../types';
|
|
3
4
|
import { ITopic } from './../../../models/Topic';
|
|
4
|
-
import { ESortOrder } from '../../enums';
|
|
5
5
|
export interface IOsceStatsVar {
|
|
6
6
|
typeId?: EOsceType[];
|
|
7
7
|
solo: boolean;
|
|
@@ -14,6 +14,12 @@ export interface IDashboardOsceVar {
|
|
|
14
14
|
order?: ESortOrder;
|
|
15
15
|
}
|
|
16
16
|
export type IDashboardOsceData = RestrictedData<graphqlNormalize & IDashboardOsce, 'dashboardOsce'>;
|
|
17
|
+
export interface IDashboardOsceQueryData {
|
|
18
|
+
restricted: {
|
|
19
|
+
dashboardOsce: IDashboardOsce;
|
|
20
|
+
user: IUser;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
17
23
|
export declare const OSCE_MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
18
24
|
export interface IOsceMarksheetsVar {
|
|
19
25
|
solo?: boolean;
|
|
@@ -71,12 +71,22 @@ exports.OSCE_MARKSHEET_WINDOW = (0, client_1.gql) `
|
|
|
71
71
|
osceStation {
|
|
72
72
|
...OsceStationFields
|
|
73
73
|
__typename
|
|
74
|
-
}
|
|
74
|
+
}
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
score
|
|
78
78
|
total
|
|
79
79
|
}
|
|
80
|
+
user {
|
|
81
|
+
examDate
|
|
82
|
+
userProgress {
|
|
83
|
+
marksheetCount
|
|
84
|
+
stationsCount
|
|
85
|
+
daysInCurrentStreak
|
|
86
|
+
daysInPreviousStreak
|
|
87
|
+
daysInLongestStreak
|
|
88
|
+
}
|
|
89
|
+
}
|
|
80
90
|
}
|
|
81
91
|
}
|
|
82
92
|
`;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EDifficultyType, EOsceType, Id, IDashboardOsce, IOsceMarksheet, IOsceStation, IOsceStats } from '../../../models';
|
|
1
|
+
import { EDifficultyType, EOsceType, Id, IDashboardOsce, IOsceMarksheet, IOsceStation, IOsceStats, IUser } from '../../../models';
|
|
2
|
+
import { ESortOrder } from '../../enums';
|
|
2
3
|
import { graphqlNormalize, RestrictedData } from '../../types';
|
|
3
4
|
import { ITopic } from './../../../models/Topic';
|
|
4
|
-
import { ESortOrder } from '../../enums';
|
|
5
5
|
export interface IOsceStatsVar {
|
|
6
6
|
typeId?: EOsceType[];
|
|
7
7
|
solo: boolean;
|
|
@@ -14,6 +14,12 @@ export interface IDashboardOsceVar {
|
|
|
14
14
|
order?: ESortOrder;
|
|
15
15
|
}
|
|
16
16
|
export type IDashboardOsceData = RestrictedData<graphqlNormalize & IDashboardOsce, 'dashboardOsce'>;
|
|
17
|
+
export interface IDashboardOsceQueryData {
|
|
18
|
+
restricted: {
|
|
19
|
+
dashboardOsce: IDashboardOsce;
|
|
20
|
+
user: IUser;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
17
23
|
export declare const OSCE_MARKSHEETS: import("@apollo/client").DocumentNode;
|
|
18
24
|
export interface IOsceMarksheetsVar {
|
|
19
25
|
solo?: boolean;
|
|
@@ -68,12 +68,22 @@ export const OSCE_MARKSHEET_WINDOW = gql `
|
|
|
68
68
|
osceStation {
|
|
69
69
|
...OsceStationFields
|
|
70
70
|
__typename
|
|
71
|
-
}
|
|
71
|
+
}
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
score
|
|
75
75
|
total
|
|
76
76
|
}
|
|
77
|
+
user {
|
|
78
|
+
examDate
|
|
79
|
+
userProgress {
|
|
80
|
+
marksheetCount
|
|
81
|
+
stationsCount
|
|
82
|
+
daysInCurrentStreak
|
|
83
|
+
daysInPreviousStreak
|
|
84
|
+
daysInLongestStreak
|
|
85
|
+
}
|
|
86
|
+
}
|
|
77
87
|
}
|
|
78
88
|
}
|
|
79
89
|
`;
|