@quesmed/types-rn 2.6.240 → 2.6.242

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.
@@ -77,6 +77,12 @@ export interface IMarksheetSection {
77
77
  intro: string;
78
78
  timeLimitSeconds: number;
79
79
  marks: IMarksheetMark[];
80
+ correct: number;
81
+ incorrect: number;
82
+ partial: number;
83
+ sjtBand: number;
84
+ scaledScore: number;
85
+ percentile: number;
80
86
  }
81
87
  export interface IMarksheet {
82
88
  id: Id;
@@ -35,6 +35,18 @@ export interface IMockTest {
35
35
  questions: IQuestion[];
36
36
  productId: EProductType[];
37
37
  }
38
+ export interface IUcatMockStats {
39
+ id: number;
40
+ title: string;
41
+ typeId: EMockTestType;
42
+ date: Date | number;
43
+ total: number;
44
+ correct: number;
45
+ incorrect: number;
46
+ sjtBand: number;
47
+ percentile: number;
48
+ scaledScore: number;
49
+ }
38
50
  export interface IUserMockTest {
39
51
  id: Id;
40
52
  title: string;
@@ -62,6 +62,7 @@ export interface IOsceStation {
62
62
  totalMarks: number;
63
63
  completedMarks: number;
64
64
  topics?: ITopic[];
65
+ picture: IPicture | null;
65
66
  candidatePictures?: IPicture[];
66
67
  actorPictures?: IPicture[];
67
68
  examinerPictures?: IPicture[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.240",
3
+ "version": "2.6.242",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -60,6 +60,12 @@ exports.MARKSHEET_SECTION_FIELDS = (0, client_1.gql) `
60
60
  marks {
61
61
  ...MarksheetMarkFields
62
62
  }
63
+ correct
64
+ incorrect
65
+ partial
66
+ sjtBand
67
+ scaledScore
68
+ percentile
63
69
  }
64
70
  `;
65
71
  /**
@@ -25,6 +25,7 @@ exports.MOCK_TEST_FIELDS = (0, client_1.gql) `
25
25
  id
26
26
  startedAt
27
27
  endedAt
28
+ completed
28
29
  stats {
29
30
  ...MarksheetStatsFields
30
31
  }
@@ -59,6 +59,9 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
59
59
  id
60
60
  name
61
61
  }
62
+ picture {
63
+ ...PictureFields
64
+ }
62
65
  candidatePictures {
63
66
  ...PictureFields
64
67
  }
@@ -179,6 +179,9 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
179
179
  startedAt: number | Date;
180
180
  type: import("../../../models").EMarksheetType;
181
181
  endedAt: number | Date;
182
+ /**
183
+ * reBuildMarksheet
184
+ */
182
185
  typeId: import("../../../models").ETopicType;
183
186
  entitlement: import("../../../models").IEntitlement;
184
187
  topicIds: number[];
@@ -276,6 +279,9 @@ export declare const optimisticEndMarksheet: (marksheet: IMarksheet) => {
276
279
  startedAt: number | Date;
277
280
  type: import("../../../models").EMarksheetType;
278
281
  endedAt: number | Date;
282
+ /**
283
+ * reBuildMarksheet
284
+ */
279
285
  typeId: import("../../../models").ETopicType;
280
286
  entitlement: import("../../../models").IEntitlement;
281
287
  topicIds: number[];
@@ -1,4 +1,4 @@
1
- import { EEntitlementType, IMarksheetMark, ITheme } from '../../../models';
1
+ import { EEntitlementType, EMockTestType, IMarksheetMark, ITheme, IUcatMockStats } from '../../../models';
2
2
  import { RestrictedData } from '../../types';
3
3
  export type IUcatAnalyticsVar = {
4
4
  updatedAt?: Date | number;
@@ -31,18 +31,27 @@ export type IUcatOverallPerformanceData = RestrictedData<IUcatOverallStats[], 'u
31
31
  export declare const UCAT_OVERALL_PERFORMANCE: import("@apollo/client").DocumentNode;
32
32
  export type IUcatMockPerformanceVar = {
33
33
  limit?: number;
34
- mockTypeId?: number[];
34
+ mockTypeId?: EMockTestType[];
35
35
  };
36
- export interface IUcatMockStats {
37
- title: string;
38
- typeId: number;
39
- date: Date | number;
40
- total: number;
36
+ export type IUcatMockPerformanceData = RestrictedData<IUcatMockStats[], 'ucatMockPerformance'>;
37
+ export declare const UCAT_MOCK_PERFORMANCE: import("@apollo/client").DocumentNode;
38
+ export interface IUcatSectionStats {
39
+ entitlementId: number;
41
40
  correct: number;
42
41
  incorrect: number;
42
+ partial: number;
43
+ attempted: number;
44
+ percentile: number;
45
+ scaledScore: number;
46
+ sjtBand: number;
47
+ marksheets: IUcatMockStats[];
43
48
  }
44
- export type IUcatMockPerformanceData = RestrictedData<IUcatMockStats[], 'ucatMockPerformance'>;
45
- export declare const UCAT_MOCK_PERFORMANCE: import("@apollo/client").DocumentNode;
49
+ export type IUcatSectionPerformanceVar = {
50
+ limit?: number;
51
+ mockTypeId?: EMockTestType[];
52
+ };
53
+ export type IUcatSectionPerformanceData = RestrictedData<IUcatSectionStats[], 'ucatSectionPerformance'>;
54
+ export declare const UCAT_SECTION_PERFORMANCE: import("@apollo/client").DocumentNode;
46
55
  export type IUcatThemeAnalyticsVar = {
47
56
  updatedAt?: Date | number;
48
57
  entitlementId: EEntitlementType;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.UCAT_THEME_ANALYTICS = exports.UCAT_MOCK_PERFORMANCE = exports.UCAT_OVERALL_PERFORMANCE = exports.UCAT_ANALYTICS = void 0;
3
+ exports.UCAT_THEME_ANALYTICS = exports.UCAT_SECTION_PERFORMANCE = exports.UCAT_MOCK_PERFORMANCE = exports.UCAT_OVERALL_PERFORMANCE = exports.UCAT_ANALYTICS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const fragments_1 = require("../../fragments");
6
6
  exports.UCAT_ANALYTICS = (0, client_1.gql) `
@@ -48,12 +48,44 @@ exports.UCAT_MOCK_PERFORMANCE = (0, client_1.gql) `
48
48
  query UcatMockPerformance($limit: Int, $mockTypeId: [Int!]) {
49
49
  restricted {
50
50
  ucatMockPerformance(limit: $limit, mockTypeId: $mockTypeId) {
51
+ id
51
52
  title
52
53
  typeId
53
54
  date
54
55
  total
55
56
  correct
56
57
  incorrect
58
+ sjtBand
59
+ percentile
60
+ scaledScore
61
+ }
62
+ }
63
+ }
64
+ `;
65
+ exports.UCAT_SECTION_PERFORMANCE = (0, client_1.gql) `
66
+ query UcatSectionPerformance($limit: Int, $mockTypeId: [Int!]) {
67
+ restricted {
68
+ ucatSectionPerformance(limit: $limit, mockTypeId: $mockTypeId) {
69
+ entitlementId
70
+ correct
71
+ incorrect
72
+ partial
73
+ attempted
74
+ percentile
75
+ scaledScore
76
+ sjtBand
77
+ marksheets {
78
+ id
79
+ title
80
+ typeId
81
+ date
82
+ total
83
+ correct
84
+ incorrect
85
+ percentile
86
+ scaledScore
87
+ sjtBand
88
+ }
57
89
  }
58
90
  }
59
91
  }