@quesmed/types 2.6.203 → 2.6.205
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 +1 -0
- package/dist/cjs/resolvers/fragments/job.js +2 -0
- package/dist/cjs/resolvers/query/admin/chapter.d.ts +2 -1
- package/dist/cjs/resolvers/query/admin/chapter.js +2 -2
- package/dist/cjs/resolvers/query/admin/job.d.ts +1 -0
- package/dist/mjs/models/Job.d.ts +1 -0
- package/dist/mjs/resolvers/fragments/job.js +2 -0
- package/dist/mjs/resolvers/query/admin/chapter.d.ts +2 -1
- package/dist/mjs/resolvers/query/admin/chapter.js +2 -2
- package/dist/mjs/resolvers/query/admin/job.d.ts +1 -0
- package/package.json +1 -1
package/dist/cjs/models/Job.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ exports.LIST_JOB_FRAGMENT = (0, client_1.gql) `
|
|
|
114
114
|
${exports.JOB_MEMBER_FRAGMENT}
|
|
115
115
|
fragment Job on Job {
|
|
116
116
|
id
|
|
117
|
+
trial
|
|
117
118
|
updatedAt
|
|
118
119
|
createdAt
|
|
119
120
|
recordCount
|
|
@@ -161,6 +162,7 @@ exports.FULL_JOB_FRAGMENT = (0, client_1.gql) `
|
|
|
161
162
|
id
|
|
162
163
|
updatedAt
|
|
163
164
|
createdAt
|
|
165
|
+
trial
|
|
164
166
|
recordCount
|
|
165
167
|
publishedCount
|
|
166
168
|
resolvedCount
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IChapter } from '../../../models';
|
|
2
2
|
import { AdminData, graphqlNormalize } from '../../types';
|
|
3
3
|
export interface IAdminChapterVar {
|
|
4
|
-
id
|
|
4
|
+
id?: number;
|
|
5
|
+
conceptId?: number;
|
|
5
6
|
}
|
|
6
7
|
export type IAdminChapterData = AdminData<graphqlNormalize & IChapter, 'chapter'>;
|
|
7
8
|
export declare const ADMIN_CHAPTER: import("@apollo/client").DocumentNode;
|
|
@@ -5,9 +5,9 @@ const client_1 = require("@apollo/client");
|
|
|
5
5
|
const fragments_1 = require("../../fragments");
|
|
6
6
|
exports.ADMIN_CHAPTER = (0, client_1.gql) `
|
|
7
7
|
${fragments_1.PICTURE_FIELDS}
|
|
8
|
-
query AdminChapter($id: Int
|
|
8
|
+
query AdminChapter($id: Int!, $conceptId: Int) {
|
|
9
9
|
admin {
|
|
10
|
-
chapter(id: $id) {
|
|
10
|
+
chapter(id: $id, conceptId: $conceptId) {
|
|
11
11
|
id
|
|
12
12
|
explanation
|
|
13
13
|
summary
|
package/dist/mjs/models/Job.d.ts
CHANGED
|
@@ -111,6 +111,7 @@ export const LIST_JOB_FRAGMENT = gql `
|
|
|
111
111
|
${JOB_MEMBER_FRAGMENT}
|
|
112
112
|
fragment Job on Job {
|
|
113
113
|
id
|
|
114
|
+
trial
|
|
114
115
|
updatedAt
|
|
115
116
|
createdAt
|
|
116
117
|
recordCount
|
|
@@ -158,6 +159,7 @@ export const FULL_JOB_FRAGMENT = gql `
|
|
|
158
159
|
id
|
|
159
160
|
updatedAt
|
|
160
161
|
createdAt
|
|
162
|
+
trial
|
|
161
163
|
recordCount
|
|
162
164
|
publishedCount
|
|
163
165
|
resolvedCount
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { IChapter } from '../../../models';
|
|
2
2
|
import { AdminData, graphqlNormalize } from '../../types';
|
|
3
3
|
export interface IAdminChapterVar {
|
|
4
|
-
id
|
|
4
|
+
id?: number;
|
|
5
|
+
conceptId?: number;
|
|
5
6
|
}
|
|
6
7
|
export type IAdminChapterData = AdminData<graphqlNormalize & IChapter, 'chapter'>;
|
|
7
8
|
export declare const ADMIN_CHAPTER: import("@apollo/client").DocumentNode;
|
|
@@ -2,9 +2,9 @@ import { gql } from '@apollo/client';
|
|
|
2
2
|
import { PICTURE_FIELDS } from '../../fragments';
|
|
3
3
|
export const ADMIN_CHAPTER = gql `
|
|
4
4
|
${PICTURE_FIELDS}
|
|
5
|
-
query AdminChapter($id: Int
|
|
5
|
+
query AdminChapter($id: Int!, $conceptId: Int) {
|
|
6
6
|
admin {
|
|
7
|
-
chapter(id: $id) {
|
|
7
|
+
chapter(id: $id, conceptId: $conceptId) {
|
|
8
8
|
id
|
|
9
9
|
explanation
|
|
10
10
|
summary
|