@quesmed/types 2.6.174 → 2.6.175
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 +2 -1
- package/dist/cjs/resolvers/fragments/job.js +4 -0
- package/dist/cjs/resolvers/query/admin/job.d.ts +1 -0
- package/dist/mjs/models/Job.d.ts +2 -1
- package/dist/mjs/resolvers/fragments/job.js +4 -0
- package/dist/mjs/resolvers/query/admin/job.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Id } from '../models';
|
|
|
2
2
|
import { EMockTestType } from './MockTest';
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { EEntitlementType, EProductType } from './Product';
|
|
5
|
-
import { EQuestionType, IQuestionAnswer, IQuestionChoice } from './Question';
|
|
5
|
+
import { EQuestionType, IQuestionAnswer, IQuestionChoice, IQuestionComment } from './Question';
|
|
6
6
|
import { IUser } from './User';
|
|
7
7
|
export declare enum EJobPriority {
|
|
8
8
|
LOW = 1,
|
|
@@ -150,6 +150,7 @@ export interface IJobRecordMetricsSummary {
|
|
|
150
150
|
incorrect: number;
|
|
151
151
|
percentage: number;
|
|
152
152
|
commentCount: number;
|
|
153
|
+
comments: IQuestionComment[];
|
|
153
154
|
likes: number;
|
|
154
155
|
dislikes: number;
|
|
155
156
|
}
|
|
@@ -106,6 +106,7 @@ exports.LIST_JOB_FRAGMENT = (0, client_1.gql) `
|
|
|
106
106
|
${exports.JOB_FIELDS_FRAGMENT}
|
|
107
107
|
${exports.JOB_STATUS_FRAGMENT}
|
|
108
108
|
${record_1.JOB_USER_FRAGMENT}
|
|
109
|
+
${exports.JOB_MEMBER_FRAGMENT}
|
|
109
110
|
fragment Job on Job {
|
|
110
111
|
id
|
|
111
112
|
updatedAt
|
|
@@ -119,6 +120,9 @@ exports.LIST_JOB_FRAGMENT = (0, client_1.gql) `
|
|
|
119
120
|
createdByUser {
|
|
120
121
|
...JobUser
|
|
121
122
|
}
|
|
123
|
+
members {
|
|
124
|
+
...JobMember
|
|
125
|
+
}
|
|
122
126
|
...JobFields
|
|
123
127
|
...JobStatus
|
|
124
128
|
}
|
package/dist/mjs/models/Job.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import { Id } from '../models';
|
|
|
2
2
|
import { EMockTestType } from './MockTest';
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { EEntitlementType, EProductType } from './Product';
|
|
5
|
-
import { EQuestionType, IQuestionAnswer, IQuestionChoice } from './Question';
|
|
5
|
+
import { EQuestionType, IQuestionAnswer, IQuestionChoice, IQuestionComment } from './Question';
|
|
6
6
|
import { IUser } from './User';
|
|
7
7
|
export declare enum EJobPriority {
|
|
8
8
|
LOW = 1,
|
|
@@ -150,6 +150,7 @@ export interface IJobRecordMetricsSummary {
|
|
|
150
150
|
incorrect: number;
|
|
151
151
|
percentage: number;
|
|
152
152
|
commentCount: number;
|
|
153
|
+
comments: IQuestionComment[];
|
|
153
154
|
likes: number;
|
|
154
155
|
dislikes: number;
|
|
155
156
|
}
|
|
@@ -103,6 +103,7 @@ export const LIST_JOB_FRAGMENT = gql `
|
|
|
103
103
|
${JOB_FIELDS_FRAGMENT}
|
|
104
104
|
${JOB_STATUS_FRAGMENT}
|
|
105
105
|
${JOB_USER_FRAGMENT}
|
|
106
|
+
${JOB_MEMBER_FRAGMENT}
|
|
106
107
|
fragment Job on Job {
|
|
107
108
|
id
|
|
108
109
|
updatedAt
|
|
@@ -116,6 +117,9 @@ export const LIST_JOB_FRAGMENT = gql `
|
|
|
116
117
|
createdByUser {
|
|
117
118
|
...JobUser
|
|
118
119
|
}
|
|
120
|
+
members {
|
|
121
|
+
...JobMember
|
|
122
|
+
}
|
|
119
123
|
...JobFields
|
|
120
124
|
...JobStatus
|
|
121
125
|
}
|