@quesmed/types-rn 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/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.82",
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;
@@ -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
  `;