@quesmed/types 2.6.221 → 2.6.222
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.
- package/dist/cjs/models/Job.d.ts +15 -2
- package/dist/cjs/models/Job.js +1 -1
- package/dist/mjs/models/Job.d.ts +15 -2
- package/dist/mjs/models/Job.js +1 -1
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IChapter, IOsceStation, IQuestionPrescription, Id } from '../models';
|
|
1
|
+
import { EDifficultyType, EOsceType, IChapter, IOsceStation, IOsceStationMark, IQuestionPrescription, Id } from '../models';
|
|
2
2
|
import { EMockTestType } from './MockTest';
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { EEntitlementType, EProductType } from './Product';
|
|
@@ -146,7 +146,16 @@ export interface IJobRecordChapter {
|
|
|
146
146
|
topicTypeId?: number | null;
|
|
147
147
|
}
|
|
148
148
|
export interface IJobRecordStation {
|
|
149
|
-
|
|
149
|
+
actorBrief: string;
|
|
150
|
+
candidateBrief: string;
|
|
151
|
+
difficulty: EDifficultyType;
|
|
152
|
+
entitlementIds: number[];
|
|
153
|
+
examinerBrief: string;
|
|
154
|
+
explanation: string;
|
|
155
|
+
hiddenName: string;
|
|
156
|
+
marks: Pick<IOsceStationMark, 'header' | 'name' | 'index'>[];
|
|
157
|
+
name: string;
|
|
158
|
+
osceTypeId: EOsceType;
|
|
150
159
|
}
|
|
151
160
|
export interface IJobRecordMockTest {
|
|
152
161
|
question: string;
|
|
@@ -229,6 +238,10 @@ export interface IJobMetaData {
|
|
|
229
238
|
conceptId: number | null;
|
|
230
239
|
entitlementIds: EEntitlementType[] | null;
|
|
231
240
|
} | null;
|
|
241
|
+
station?: {
|
|
242
|
+
typeId: EOsceType | null;
|
|
243
|
+
entitlementIds: EEntitlementType[] | null;
|
|
244
|
+
} | null;
|
|
232
245
|
}
|
|
233
246
|
export interface IJobChat {
|
|
234
247
|
id: string;
|
package/dist/cjs/models/Job.js
CHANGED
|
@@ -118,7 +118,7 @@ const IsJobRecordMockTest = (record) => {
|
|
|
118
118
|
};
|
|
119
119
|
exports.IsJobRecordMockTest = IsJobRecordMockTest;
|
|
120
120
|
const IsJobRecordStation = (record) => {
|
|
121
|
-
return !!record && typeof record === 'object' && '
|
|
121
|
+
return !!record && typeof record === 'object' && 'actorBrief' in record;
|
|
122
122
|
};
|
|
123
123
|
exports.IsJobRecordStation = IsJobRecordStation;
|
|
124
124
|
const IsJobRecordChapter = (record) => {
|
package/dist/mjs/models/Job.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { IChapter, IOsceStation, IQuestionPrescription, Id } from '../models';
|
|
1
|
+
import { EDifficultyType, EOsceType, IChapter, IOsceStation, IOsceStationMark, IQuestionPrescription, Id } from '../models';
|
|
2
2
|
import { EMockTestType } from './MockTest';
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { EEntitlementType, EProductType } from './Product';
|
|
@@ -146,7 +146,16 @@ export interface IJobRecordChapter {
|
|
|
146
146
|
topicTypeId?: number | null;
|
|
147
147
|
}
|
|
148
148
|
export interface IJobRecordStation {
|
|
149
|
-
|
|
149
|
+
actorBrief: string;
|
|
150
|
+
candidateBrief: string;
|
|
151
|
+
difficulty: EDifficultyType;
|
|
152
|
+
entitlementIds: number[];
|
|
153
|
+
examinerBrief: string;
|
|
154
|
+
explanation: string;
|
|
155
|
+
hiddenName: string;
|
|
156
|
+
marks: Pick<IOsceStationMark, 'header' | 'name' | 'index'>[];
|
|
157
|
+
name: string;
|
|
158
|
+
osceTypeId: EOsceType;
|
|
150
159
|
}
|
|
151
160
|
export interface IJobRecordMockTest {
|
|
152
161
|
question: string;
|
|
@@ -229,6 +238,10 @@ export interface IJobMetaData {
|
|
|
229
238
|
conceptId: number | null;
|
|
230
239
|
entitlementIds: EEntitlementType[] | null;
|
|
231
240
|
} | null;
|
|
241
|
+
station?: {
|
|
242
|
+
typeId: EOsceType | null;
|
|
243
|
+
entitlementIds: EEntitlementType[] | null;
|
|
244
|
+
} | null;
|
|
232
245
|
}
|
|
233
246
|
export interface IJobChat {
|
|
234
247
|
id: string;
|
package/dist/mjs/models/Job.js
CHANGED
|
@@ -113,7 +113,7 @@ export const IsJobRecordMockTest = (record) => {
|
|
|
113
113
|
return !!record && typeof record === 'object' && 'question' in record;
|
|
114
114
|
};
|
|
115
115
|
export const IsJobRecordStation = (record) => {
|
|
116
|
-
return !!record && typeof record === 'object' && '
|
|
116
|
+
return !!record && typeof record === 'object' && 'actorBrief' in record;
|
|
117
117
|
};
|
|
118
118
|
export const IsJobRecordChapter = (record) => {
|
|
119
119
|
return !!record && typeof record === 'object' && 'summary' in record;
|