@quesmed/types-rn 2.6.87 → 2.6.88
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/Question.d.ts
CHANGED
|
@@ -73,8 +73,8 @@ export interface IQuestion {
|
|
|
73
73
|
conceptId: Id;
|
|
74
74
|
public: boolean;
|
|
75
75
|
concept?: IConcept;
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
conditions?: ICondition[];
|
|
77
|
+
presentations?: IPresentation[];
|
|
78
78
|
question: string;
|
|
79
79
|
explanation?: string;
|
|
80
80
|
learningPoint?: string;
|
package/package.json
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export declare const QUESTION_COMMENT_FIELDS: import("@apollo/client").DocumentNode;
|
|
2
|
+
export declare const QUESTION_UKMLA_FIELDS: import("@apollo/client").DocumentNode;
|
|
2
3
|
export declare const QUESTION_CATEGORY_FIELDS: import("@apollo/client").DocumentNode;
|
|
3
4
|
export declare const QUESTION_FIELDS: import("@apollo/client").DocumentNode;
|
|
4
5
|
export declare const QUESTION_WITH_HIGHLIGHT_FIELDS: import("@apollo/client").DocumentNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QUESTION_WITH_LEARNING_FIELDS = exports.QUESTION_WITH_COMMENT_FIELDS = exports.QUESTION_WITH_HIGHLIGHT_FIELDS = exports.QUESTION_FIELDS = exports.QUESTION_CATEGORY_FIELDS = exports.QUESTION_COMMENT_FIELDS = void 0;
|
|
3
|
+
exports.QUESTION_WITH_LEARNING_FIELDS = exports.QUESTION_WITH_COMMENT_FIELDS = exports.QUESTION_WITH_HIGHLIGHT_FIELDS = exports.QUESTION_FIELDS = exports.QUESTION_CATEGORY_FIELDS = exports.QUESTION_UKMLA_FIELDS = exports.QUESTION_COMMENT_FIELDS = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
5
|
const concept_1 = require("./concept");
|
|
6
6
|
const highlight_1 = require("./highlight");
|
|
@@ -37,6 +37,28 @@ exports.QUESTION_COMMENT_FIELDS = (0, client_1.gql) `
|
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
`;
|
|
40
|
+
exports.QUESTION_UKMLA_FIELDS = (0, client_1.gql) `
|
|
41
|
+
fragment QuestionUkmlaFields on Question {
|
|
42
|
+
presentations {
|
|
43
|
+
id
|
|
44
|
+
name
|
|
45
|
+
topicId
|
|
46
|
+
topic {
|
|
47
|
+
id
|
|
48
|
+
name
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
conditions {
|
|
52
|
+
id
|
|
53
|
+
name
|
|
54
|
+
topicId
|
|
55
|
+
topic {
|
|
56
|
+
id
|
|
57
|
+
name
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
`;
|
|
40
62
|
exports.QUESTION_CATEGORY_FIELDS = (0, client_1.gql) `
|
|
41
63
|
fragment QuestionCategoryFields on Question {
|
|
42
64
|
... on QuestionSBA {
|
|
@@ -99,6 +121,7 @@ exports.QUESTION_CATEGORY_FIELDS = (0, client_1.gql) `
|
|
|
99
121
|
}
|
|
100
122
|
`;
|
|
101
123
|
exports.QUESTION_FIELDS = (0, client_1.gql) `
|
|
124
|
+
${exports.QUESTION_UKMLA_FIELDS}
|
|
102
125
|
${highlight_1.HIGHLIGHT_FIELDS}
|
|
103
126
|
${exports.QUESTION_CATEGORY_FIELDS}
|
|
104
127
|
${exports.QUESTION_COMMENT_FIELDS}
|
|
@@ -143,6 +166,7 @@ exports.QUESTION_FIELDS = (0, client_1.gql) `
|
|
|
143
166
|
pictures {
|
|
144
167
|
...PictureFields
|
|
145
168
|
}
|
|
169
|
+
...QuestionUkmlaFields
|
|
146
170
|
...QuestionCategoryFields
|
|
147
171
|
}
|
|
148
172
|
`;
|