@quesmed/types 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[];
@@ -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
  }
@@ -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[];
@@ -57,6 +57,12 @@ export const MARKSHEET_SECTION_FIELDS = gql `
57
57
  marks {
58
58
  ...MarksheetMarkFields
59
59
  }
60
+ correct
61
+ incorrect
62
+ partial
63
+ sjtBand
64
+ scaledScore
65
+ percentile
60
66
  }
61
67
  `;
62
68
  /**
@@ -22,6 +22,7 @@ export const MOCK_TEST_FIELDS = gql `
22
22
  id
23
23
  startedAt
24
24
  endedAt
25
+ completed
25
26
  stats {
26
27
  ...MarksheetStatsFields
27
28
  }
@@ -56,6 +56,9 @@ export const OSCE_STATION_FIELDS = gql `
56
56
  id
57
57
  name
58
58
  }
59
+ picture {
60
+ ...PictureFields
61
+ }
59
62
  candidatePictures {
60
63
  ...PictureFields
61
64
  }
@@ -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;
@@ -45,12 +45,44 @@ export const UCAT_MOCK_PERFORMANCE = gql `
45
45
  query UcatMockPerformance($limit: Int, $mockTypeId: [Int!]) {
46
46
  restricted {
47
47
  ucatMockPerformance(limit: $limit, mockTypeId: $mockTypeId) {
48
+ id
48
49
  title
49
50
  typeId
50
51
  date
51
52
  total
52
53
  correct
53
54
  incorrect
55
+ sjtBand
56
+ percentile
57
+ scaledScore
58
+ }
59
+ }
60
+ }
61
+ `;
62
+ export const UCAT_SECTION_PERFORMANCE = gql `
63
+ query UcatSectionPerformance($limit: Int, $mockTypeId: [Int!]) {
64
+ restricted {
65
+ ucatSectionPerformance(limit: $limit, mockTypeId: $mockTypeId) {
66
+ entitlementId
67
+ correct
68
+ incorrect
69
+ partial
70
+ attempted
71
+ percentile
72
+ scaledScore
73
+ sjtBand
74
+ marksheets {
75
+ id
76
+ title
77
+ typeId
78
+ date
79
+ total
80
+ correct
81
+ incorrect
82
+ percentile
83
+ scaledScore
84
+ sjtBand
85
+ }
54
86
  }
55
87
  }
56
88
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.240",
3
+ "version": "2.6.242",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",