@quesmed/types-rn 2.6.28 → 2.6.29

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,5 +1,5 @@
1
1
  import { IBuildConfigData, IPreBuildMarksheet } from '../resolvers/mutation/restricted/marksheet';
2
- import { EProductType } from './Product';
2
+ import { EProductType, IEntitlement } from './Product';
3
3
  import { IPrescribeMark, IQuestion, IQuestionChoice, IQuestionQAAnswer } from './Question';
4
4
  import { ETopicType } from './Topic';
5
5
  import { Id } from './Type';
@@ -65,6 +65,7 @@ export interface IMarksheet {
65
65
  type: EMarksheetType;
66
66
  endedAt: number | Date;
67
67
  typeId: ETopicType;
68
+ entitlement: IEntitlement;
68
69
  topicIds: number[];
69
70
  topicNames?: string[];
70
71
  source: string;
@@ -216,4 +216,10 @@ export interface IPrescribeMark {
216
216
  routeId: number;
217
217
  frequencyId: number;
218
218
  durationId: number;
219
+ drugLabel?: string;
220
+ doseLabel?: string;
221
+ unitLabel?: string;
222
+ routeLabel?: string;
223
+ frequencyLabel?: string;
224
+ durationLabel?: string;
219
225
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types-rn",
3
- "version": "2.6.28",
3
+ "version": "2.6.29",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",
@@ -164,6 +164,7 @@ export declare const optimisticModifyMarksheetBuilderConfig: (marksheetId: numbe
164
164
  type: import("../../../models").EMarksheetType;
165
165
  endedAt: number | Date;
166
166
  typeId: import("../../../models").ETopicType;
167
+ entitlement: import("../../../models").IEntitlement;
167
168
  topicIds: number[];
168
169
  topicNames?: string[] | undefined;
169
170
  source: string;
@@ -263,6 +264,7 @@ export declare const optimisticEndMarksheet: (marksheet: IMarksheet) => {
263
264
  type: import("../../../models").EMarksheetType;
264
265
  endedAt: number | Date;
265
266
  typeId: import("../../../models").ETopicType;
267
+ entitlement: import("../../../models").IEntitlement;
266
268
  topicIds: number[];
267
269
  topicNames?: string[] | undefined;
268
270
  source: string;
@@ -14,10 +14,13 @@ exports.BUILD_QUESTION_MARKSHEET = (0, client_1.gql) `
14
14
  agoraId
15
15
  sessionId
16
16
  topicIds
17
+ entitlement {
18
+ id
19
+ name
20
+ }
17
21
  completed
18
22
  passingMark
19
23
  duration
20
- topicIds
21
24
  topicNames
22
25
  mockTestId
23
26
  totalQuestions
@@ -1033,10 +1036,13 @@ exports.BUILD_MARKSHEET = (0, client_1.gql) `
1033
1036
  agoraId
1034
1037
  sessionId
1035
1038
  topicIds
1039
+ entitlement {
1040
+ id
1041
+ name
1042
+ }
1036
1043
  completed
1037
1044
  passingMark
1038
1045
  duration
1039
- topicIds
1040
1046
  topicNames
1041
1047
  mockTestId
1042
1048
  totalQuestions
@@ -2061,6 +2067,10 @@ exports.RE_BUILD_MARKSHEET = (0, client_1.gql) `
2061
2067
  duration
2062
2068
  timeTaken
2063
2069
  topicIds
2070
+ entitlement {
2071
+ id
2072
+ name
2073
+ }
2064
2074
  topicNames
2065
2075
  mockTestId
2066
2076
  totalQuestions
@@ -3081,10 +3091,13 @@ exports.QUICK_BUILD_MARKSHEET = (0, client_1.gql) `
3081
3091
  agoraId
3082
3092
  sessionId
3083
3093
  topicIds
3094
+ entitlement {
3095
+ id
3096
+ name
3097
+ }
3084
3098
  completed
3085
3099
  passingMark
3086
3100
  duration
3087
- topicIds
3088
3101
  topicNames
3089
3102
  mockTestId
3090
3103
  totalQuestions
@@ -54,6 +54,7 @@ export declare const optimisticEndMockTest: (marksheet: IMarksheet) => {
54
54
  type: import("../../../models").EMarksheetType;
55
55
  endedAt: number | Date;
56
56
  typeId: import("../../../models").ETopicType;
57
+ entitlement: import("../../../models").IEntitlement;
57
58
  topicIds: number[];
58
59
  topicNames?: string[] | undefined;
59
60
  source: string;
@@ -13,6 +13,10 @@ exports.MARKSHEET = (0, client_1.gql) `
13
13
  passingMark
14
14
  duration
15
15
  timeTaken
16
+ entitlement {
17
+ id
18
+ name
19
+ }
16
20
  topicIds
17
21
  topicNames
18
22
  mockTestId
@@ -1071,6 +1075,10 @@ exports.MARKSHEETS_WINDOW = (0, client_1.gql) `
1071
1075
  incorrect
1072
1076
  totalQuestions
1073
1077
  typeId
1078
+ entitlement {
1079
+ id
1080
+ name
1081
+ }
1074
1082
  isTestMarksheet
1075
1083
  solo
1076
1084
  completed
@@ -1138,6 +1146,10 @@ exports.FLAGGED_QUESTIONS_MARKSHEET = (0, client_1.gql) `
1138
1146
  completed
1139
1147
  passingMark
1140
1148
  duration
1149
+ entitlement {
1150
+ id
1151
+ name
1152
+ }
1141
1153
  topicIds
1142
1154
  topicNames
1143
1155
  mockTestId