@quesmed/types-rn 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/models/Job.d.ts
CHANGED
package/package.json
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
|