@quesmed/types-rn 2.6.203 → 2.6.204
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/package.json
CHANGED
|
@@ -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
|