@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.
@@ -234,3 +234,16 @@ export interface IUserStationStatus {
234
234
  user: IUser;
235
235
  station: IOsceStation;
236
236
  }
237
+ /**
238
+ * IUserStats
239
+ * ```ts
240
+ * series: [x, y][]
241
+ * ```
242
+ */
243
+ export interface IUserStats {
244
+ userId: number;
245
+ score: number;
246
+ percentile: number;
247
+ median: number;
248
+ series: [number, number][];
249
+ }
@@ -21,6 +21,7 @@ export interface IVideo {
21
21
  thumbnail: string;
22
22
  views: number;
23
23
  live: boolean;
24
+ demo: boolean;
24
25
  description: string;
25
26
  duration: number;
26
27
  concepts: IConcept[];
@@ -59,6 +59,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
59
59
  }
60
60
  videos {
61
61
  id
62
+ demo
62
63
  title
63
64
  status
64
65
  museId
@@ -1,6 +1,6 @@
1
1
  import { ApolloCache, ApolloClient } from '@apollo/client';
2
2
  import { ApolloUpdateOptions, ApolloUpdateResultRestricted } from '../..';
3
- import { Id } from '../../../models';
3
+ import { EDifficultyType, Id } from '../../../models';
4
4
  import { RestrictedData, graphqlNormalize } from '../../types';
5
5
  import { EMarksheetAction, EMarksheetState, EStudyAction, IMarksheet, IMarksheetMark } from './../../../models/Marksheet';
6
6
  import { IUser, IUserFlaggedQuestion } from './../../../models/User';
@@ -39,6 +39,19 @@ export interface IReBuildMarksheetVar {
39
39
  marksheetId: number;
40
40
  }
41
41
  export type IReBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'reBuildMarksheet'>;
42
+ export interface IQuickBuildMarksheetVar {
43
+ input: {
44
+ totalQuestions?: number;
45
+ isTest?: boolean;
46
+ difficulty?: EDifficultyType[];
47
+ secondsPerQuestion?: number;
48
+ unseen?: boolean;
49
+ seenCorrect?: boolean;
50
+ seenIncorrect?: boolean;
51
+ };
52
+ }
53
+ export type IQuickBuildMarksheetData = RestrictedData<graphqlNormalize & IMarksheet, 'quickBuildMarksheet'>;
54
+ export declare const QUICK_BUILD_MARKSHEET: import("@apollo/client").DocumentNode;
42
55
  export interface ISaveMarksheetInput {
43
56
  marksheetId: Id;
44
57
  markId: Id;