@quesmed/types 2.5.81 → 2.5.83

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.
@@ -75,6 +75,7 @@ export interface IDailyProgressData {
75
75
  }
76
76
  export interface IUserProgressData {
77
77
  marksheetCount: number;
78
+ stationsCount: number;
78
79
  questionsCount: number;
79
80
  daysInCurrentStreak: number;
80
81
  daysInPreviousStreak: number;
@@ -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;
@@ -39,6 +39,16 @@ exports.DASHBOARD_OSCE = (0, client_1.gql) `
39
39
  completed
40
40
  total
41
41
  }
42
+ user {
43
+ examDate
44
+ userProgress {
45
+ marksheetCount
46
+ stationsCount
47
+ daysInCurrentStreak
48
+ daysInPreviousStreak
49
+ daysInLongestStreak
50
+ }
51
+ }
42
52
  }
43
53
  }
44
54
  `;
@@ -71,7 +81,7 @@ exports.OSCE_MARKSHEET_WINDOW = (0, client_1.gql) `
71
81
  osceStation {
72
82
  ...OsceStationFields
73
83
  __typename
74
- }
84
+ }
75
85
  }
76
86
  }
77
87
  score
@@ -75,6 +75,7 @@ export interface IDailyProgressData {
75
75
  }
76
76
  export interface IUserProgressData {
77
77
  marksheetCount: number;
78
+ stationsCount: number;
78
79
  questionsCount: number;
79
80
  daysInCurrentStreak: number;
80
81
  daysInPreviousStreak: number;
@@ -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;
@@ -36,6 +36,16 @@ export const DASHBOARD_OSCE = gql `
36
36
  completed
37
37
  total
38
38
  }
39
+ user {
40
+ examDate
41
+ userProgress {
42
+ marksheetCount
43
+ stationsCount
44
+ daysInCurrentStreak
45
+ daysInPreviousStreak
46
+ daysInLongestStreak
47
+ }
48
+ }
39
49
  }
40
50
  }
41
51
  `;
@@ -68,7 +78,7 @@ export const OSCE_MARKSHEET_WINDOW = gql `
68
78
  osceStation {
69
79
  ...OsceStationFields
70
80
  __typename
71
- }
81
+ }
72
82
  }
73
83
  }
74
84
  score
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.5.81",
3
+ "version": "2.5.83",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",