@quesmed/types-rn 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.
package/models/User.d.ts CHANGED
@@ -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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.81",
3
+ "version": "2.5.83",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -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