@quesmed/types 2.6.1 → 2.6.3

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.
@@ -43,6 +43,7 @@ export const QBANK_KNOWLEDGE_VIDEO_LIBRARY = gql `
43
43
  topicId
44
44
  videos {
45
45
  id
46
+ demo
46
47
  status
47
48
  title
48
49
  museId
@@ -102,6 +103,7 @@ export const PUBLIC_QBANK_KNOWLEDGE_LIBRARY = gql `
102
103
  topicId
103
104
  videos {
104
105
  id
106
+ demo
105
107
  status
106
108
  title
107
109
  museId
@@ -158,6 +160,7 @@ query PaceKnowledgeLibrary($typeId: [Int]) {
158
160
  topicId
159
161
  videos {
160
162
  id
163
+ demo
161
164
  status
162
165
  title
163
166
  museId
@@ -1,5 +1,5 @@
1
- import { IUser } from '../../../models';
2
- import { graphqlNormalize, RestrictedData } from '../../types';
1
+ import { IClassYear, IUser, IUserStats } from '../../../models';
2
+ import { RestrictedData, graphqlNormalize } from '../../types';
3
3
  export type IUserVar = {
4
4
  active?: boolean;
5
5
  };
@@ -11,3 +11,9 @@ export declare const USER_COMPLETED_DATA: import("@apollo/client").DocumentNode;
11
11
  export type IDailyFeedVar = null;
12
12
  export type IDailyFeedData = RestrictedData<graphqlNormalize & Pick<IUser, 'dailyFeed'>, 'user'>;
13
13
  export declare const DAILY_FEED: import("@apollo/client").DocumentNode;
14
+ export type IUserStatsVar = {
15
+ classYear?: IClassYear;
16
+ universityId?: number;
17
+ };
18
+ export type IUserStatsData = RestrictedData<graphqlNormalize & IUserStats, 'userStats'>;
19
+ export declare const USER_STATS: import("@apollo/client").DocumentNode;
@@ -112,3 +112,16 @@ export const DAILY_FEED = gql `
112
112
  }
113
113
  }
114
114
  `;
115
+ export const USER_STATS = gql `
116
+ query UserStats($classYear: String, $universityId: Int) {
117
+ restricted {
118
+ userStats(classYear: $classYear, universityId: $universityId) {
119
+ userId
120
+ score
121
+ percentile
122
+ median
123
+ series
124
+ }
125
+ }
126
+ }
127
+ `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.1",
3
+ "version": "2.6.3",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",