@quesmed/types 2.6.189 → 2.6.190
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 +7 -3
- package/dist/cjs/resolvers/fragments/job.js +1 -1
- package/dist/cjs/resolvers/fragments/record.js +5 -1
- package/dist/cjs/resolvers/mutation/admin/job.d.ts +1 -0
- package/dist/mjs/models/Job.d.ts +7 -3
- package/dist/mjs/resolvers/fragments/job.js +1 -1
- package/dist/mjs/resolvers/fragments/record.js +5 -1
- package/dist/mjs/resolvers/mutation/admin/job.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
|
@@ -132,15 +132,19 @@ export interface IJobRecordChapter {
|
|
|
132
132
|
explanation: string;
|
|
133
133
|
}
|
|
134
134
|
export interface IJobRecordStation {
|
|
135
|
-
|
|
135
|
+
station: string;
|
|
136
136
|
}
|
|
137
137
|
export interface IJobRecordMockTest {
|
|
138
138
|
question: string;
|
|
139
|
+
stem?: string | null;
|
|
140
|
+
stemFromRecordId?: IJobRecord['id'] | null;
|
|
139
141
|
conceptId?: number | null;
|
|
140
142
|
explanation?: string | null;
|
|
141
143
|
learningPoint?: string | null;
|
|
142
|
-
typeId: EQuestionType;
|
|
143
144
|
answer: Exclude<IQuestionAnswer, 'string'>;
|
|
145
|
+
themeIds?: number[];
|
|
146
|
+
typeId: EQuestionType;
|
|
147
|
+
subTypeId?: string | null;
|
|
144
148
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
145
149
|
explanation?: IQuestionChoice['explanation'];
|
|
146
150
|
}>;
|
|
@@ -192,7 +196,6 @@ export interface IJobRecord {
|
|
|
192
196
|
referenceCount: number;
|
|
193
197
|
}
|
|
194
198
|
export interface IJobMetaData {
|
|
195
|
-
productId: EProductType;
|
|
196
199
|
mockTest?: {
|
|
197
200
|
mockTestId: number;
|
|
198
201
|
isNew: boolean;
|
|
@@ -238,6 +241,7 @@ export interface IJob {
|
|
|
238
241
|
priority: EJobPriority;
|
|
239
242
|
totalRecords: number;
|
|
240
243
|
createdBy: IUser['id'];
|
|
244
|
+
productId: EProductType;
|
|
241
245
|
metadata: IJobMetaData;
|
|
242
246
|
dueDate: Date | number;
|
|
243
247
|
createdAt: Date | number;
|
|
@@ -10,7 +10,6 @@ exports.JOB_STATUS_FRAGMENT = (0, client_1.gql) `
|
|
|
10
10
|
`;
|
|
11
11
|
exports.JOB_META_DATA_FRAGMENT = (0, client_1.gql) `
|
|
12
12
|
fragment JobMetaData on JobMetaData {
|
|
13
|
-
productId
|
|
14
13
|
question {
|
|
15
14
|
typeId
|
|
16
15
|
conceptId
|
|
@@ -31,6 +30,7 @@ exports.JOB_FIELDS_FRAGMENT = (0, client_1.gql) `
|
|
|
31
30
|
name
|
|
32
31
|
description
|
|
33
32
|
type
|
|
33
|
+
productId
|
|
34
34
|
priority
|
|
35
35
|
totalRecords
|
|
36
36
|
dueDate
|
|
@@ -123,15 +123,19 @@ exports.JOB_RECORD_CHAPTER_FRAGMENT = (0, client_1.gql) `
|
|
|
123
123
|
`;
|
|
124
124
|
exports.JOB_RECORD_STATION_FRAGMENT = (0, client_1.gql) `
|
|
125
125
|
fragment JobRecordStation on JobRecordStation {
|
|
126
|
-
|
|
126
|
+
station
|
|
127
127
|
}
|
|
128
128
|
`;
|
|
129
129
|
exports.JOB_RECORD_MOCK_TEST_FRAGMENT = (0, client_1.gql) `
|
|
130
130
|
fragment JobRecordMockTest on JobRecordMockTest {
|
|
131
131
|
question
|
|
132
|
+
stem
|
|
133
|
+
stemFromRecordId
|
|
132
134
|
conceptId
|
|
133
135
|
typeId
|
|
134
136
|
answer
|
|
137
|
+
themeIds
|
|
138
|
+
subTypeId
|
|
135
139
|
choices {
|
|
136
140
|
label
|
|
137
141
|
name
|
package/dist/mjs/models/Job.d.ts
CHANGED
|
@@ -132,15 +132,19 @@ export interface IJobRecordChapter {
|
|
|
132
132
|
explanation: string;
|
|
133
133
|
}
|
|
134
134
|
export interface IJobRecordStation {
|
|
135
|
-
|
|
135
|
+
station: string;
|
|
136
136
|
}
|
|
137
137
|
export interface IJobRecordMockTest {
|
|
138
138
|
question: string;
|
|
139
|
+
stem?: string | null;
|
|
140
|
+
stemFromRecordId?: IJobRecord['id'] | null;
|
|
139
141
|
conceptId?: number | null;
|
|
140
142
|
explanation?: string | null;
|
|
141
143
|
learningPoint?: string | null;
|
|
142
|
-
typeId: EQuestionType;
|
|
143
144
|
answer: Exclude<IQuestionAnswer, 'string'>;
|
|
145
|
+
themeIds?: number[];
|
|
146
|
+
typeId: EQuestionType;
|
|
147
|
+
subTypeId?: string | null;
|
|
144
148
|
choices: Array<Pick<IQuestionChoice, 'label' | 'name' | 'answer'> & {
|
|
145
149
|
explanation?: IQuestionChoice['explanation'];
|
|
146
150
|
}>;
|
|
@@ -192,7 +196,6 @@ export interface IJobRecord {
|
|
|
192
196
|
referenceCount: number;
|
|
193
197
|
}
|
|
194
198
|
export interface IJobMetaData {
|
|
195
|
-
productId: EProductType;
|
|
196
199
|
mockTest?: {
|
|
197
200
|
mockTestId: number;
|
|
198
201
|
isNew: boolean;
|
|
@@ -238,6 +241,7 @@ export interface IJob {
|
|
|
238
241
|
priority: EJobPriority;
|
|
239
242
|
totalRecords: number;
|
|
240
243
|
createdBy: IUser['id'];
|
|
244
|
+
productId: EProductType;
|
|
241
245
|
metadata: IJobMetaData;
|
|
242
246
|
dueDate: Date | number;
|
|
243
247
|
createdAt: Date | number;
|
|
@@ -7,7 +7,6 @@ export const JOB_STATUS_FRAGMENT = gql `
|
|
|
7
7
|
`;
|
|
8
8
|
export const JOB_META_DATA_FRAGMENT = gql `
|
|
9
9
|
fragment JobMetaData on JobMetaData {
|
|
10
|
-
productId
|
|
11
10
|
question {
|
|
12
11
|
typeId
|
|
13
12
|
conceptId
|
|
@@ -28,6 +27,7 @@ export const JOB_FIELDS_FRAGMENT = gql `
|
|
|
28
27
|
name
|
|
29
28
|
description
|
|
30
29
|
type
|
|
30
|
+
productId
|
|
31
31
|
priority
|
|
32
32
|
totalRecords
|
|
33
33
|
dueDate
|
|
@@ -120,15 +120,19 @@ export const JOB_RECORD_CHAPTER_FRAGMENT = gql `
|
|
|
120
120
|
`;
|
|
121
121
|
export const JOB_RECORD_STATION_FRAGMENT = gql `
|
|
122
122
|
fragment JobRecordStation on JobRecordStation {
|
|
123
|
-
|
|
123
|
+
station
|
|
124
124
|
}
|
|
125
125
|
`;
|
|
126
126
|
export const JOB_RECORD_MOCK_TEST_FRAGMENT = gql `
|
|
127
127
|
fragment JobRecordMockTest on JobRecordMockTest {
|
|
128
128
|
question
|
|
129
|
+
stem
|
|
130
|
+
stemFromRecordId
|
|
129
131
|
conceptId
|
|
130
132
|
typeId
|
|
131
133
|
answer
|
|
134
|
+
themeIds
|
|
135
|
+
subTypeId
|
|
132
136
|
choices {
|
|
133
137
|
label
|
|
134
138
|
name
|