@quesmed/types-rn 2.5.48 → 2.5.49

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.
@@ -1,4 +1,5 @@
1
1
  import { IBuildConfigData, IPreBuildMarksheet } from '../resolvers/mutation/restricted/marksheet';
2
+ import { EProductType } from './Product';
2
3
  import { IPrescribeAnswer, IPrescribeMark, IQuestion, IQuestionChoice, IQuestionQAAnswer } from './Question';
3
4
  import { ETopicType } from './Topic';
4
5
  import { Id } from './Type';
@@ -78,6 +79,7 @@ export interface IMarksheet {
78
79
  topicConceptData?: string;
79
80
  preBuildData?: IPreBuildMarksheet;
80
81
  builderConfig?: IBuildConfigData;
82
+ productId: EProductType;
81
83
  }
82
84
  export type IMarksheetMarkJSONB = string | [string] | [IQuestionQAAnswer] | [string[], string[]] | [IPrescribeMark] | IPrescribeAnswer | null;
83
85
  export interface IMarksheetMark {
@@ -1,3 +1,4 @@
1
+ import { EProductType } from './Product';
1
2
  import { IQuestion } from './Question';
2
3
  import { Id } from './Type';
3
4
  export declare enum EMockTestType {
@@ -21,6 +22,7 @@ export interface IMockTest {
21
22
  passingMark: number;
22
23
  public: boolean;
23
24
  questions: IQuestion[];
25
+ productId: EProductType[];
24
26
  }
25
27
  export interface IUserMockTest {
26
28
  id: Id;
@@ -1,4 +1,5 @@
1
1
  import { IOsceStation, IOsceStationMark, IOsceType } from './OsceStation';
2
+ import { EProductType } from './Product';
2
3
  import { Id } from './Type';
3
4
  import { IUser } from './User';
4
5
  export interface IOsceMarksheetMember {
@@ -81,6 +82,7 @@ export interface IOsceMarksheet {
81
82
  members: IOsceMarksheetMember[];
82
83
  state: EOsceMarksheetState;
83
84
  completed: boolean;
85
+ productId: EProductType;
84
86
  }
85
87
  export interface IDashboardOsce {
86
88
  lastSessionId: string;
package/models/Topic.d.ts CHANGED
@@ -8,7 +8,8 @@ export declare enum ETopicType {
8
8
  DATA_INTERPRETATION = 4,
9
9
  PSA = 5,
10
10
  OSCE = 6,
11
- MOCK_TEST = 7
11
+ MOCK_TEST = 7,
12
+ SJT = 8
12
13
  }
13
14
  export interface ITopicType {
14
15
  id: ETopicType;
package/models/Topic.js CHANGED
@@ -11,4 +11,5 @@ var ETopicType;
11
11
  ETopicType[ETopicType["PSA"] = 5] = "PSA";
12
12
  ETopicType[ETopicType["OSCE"] = 6] = "OSCE";
13
13
  ETopicType[ETopicType["MOCK_TEST"] = 7] = "MOCK_TEST";
14
+ ETopicType[ETopicType["SJT"] = 8] = "SJT";
14
15
  })(ETopicType = exports.ETopicType || (exports.ETopicType = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.5.48",
3
+ "version": "2.5.49",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -171,6 +171,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
171
171
  currentMarkId?: number | undefined;
172
172
  topicConceptData?: string | undefined;
173
173
  preBuildData?: IPreBuildMarksheet | undefined;
174
+ productId: import("../../../models").EProductType;
174
175
  };
175
176
  };
176
177
  };
@@ -267,6 +268,7 @@ export declare const optimisticEndMarksheet: (marksheet: IMarksheet) => {
267
268
  topicConceptData?: string | undefined;
268
269
  preBuildData?: IPreBuildMarksheet | undefined;
269
270
  builderConfig?: IBuildConfigData | undefined;
271
+ productId: import("../../../models").EProductType;
270
272
  __typename: string;
271
273
  };
272
274
  };
@@ -76,6 +76,7 @@ export declare const optimisticEndMockTest: (marksheet: IMarksheet) => {
76
76
  topicConceptData?: string | undefined;
77
77
  preBuildData?: import("./marksheet").IPreBuildMarksheet | undefined;
78
78
  builderConfig?: import("./marksheet").IBuildConfigData | undefined;
79
+ productId: import("../../../models").EProductType;
79
80
  __typename: string;
80
81
  };
81
82
  };