@quesmed/types-rn 2.5.112 → 2.5.114
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/Concept.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { IChapter } from './Chapter';
|
|
2
|
+
import { EPaceType } from './Paces';
|
|
2
3
|
import { ITopic } from './Topic';
|
|
3
4
|
import { Id } from './Type';
|
|
4
5
|
import { EUserLearningStatus } from './User';
|
|
@@ -15,6 +16,7 @@ export interface IConcept {
|
|
|
15
16
|
chapter?: IChapter;
|
|
16
17
|
videos?: IVideo[];
|
|
17
18
|
demo?: boolean;
|
|
19
|
+
typeId?: EPaceType | null;
|
|
18
20
|
totalQuestions?: number | null;
|
|
19
21
|
correctQuestions?: number | null;
|
|
20
22
|
incorrectQuestions?: number | null;
|
package/package.json
CHANGED
package/resolvers/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import * as subscription from './subscription';
|
|
|
5
5
|
export * from './apollo';
|
|
6
6
|
export * from './types';
|
|
7
7
|
export * from './enums';
|
|
8
|
+
export * from './constants';
|
|
8
9
|
export declare namespace Resolvers {
|
|
9
10
|
export import Fragment = fragment;
|
|
10
11
|
export import Muation = mutation;
|
package/resolvers/index.js
CHANGED
|
@@ -34,6 +34,7 @@ const subscription = __importStar(require("./subscription"));
|
|
|
34
34
|
__exportStar(require("./apollo"), exports);
|
|
35
35
|
__exportStar(require("./types"), exports);
|
|
36
36
|
__exportStar(require("./enums"), exports);
|
|
37
|
+
__exportStar(require("./constants"), exports);
|
|
37
38
|
var Resolvers;
|
|
38
39
|
(function (Resolvers) {
|
|
39
40
|
Resolvers.Fragment = fragment;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EOsceType, EPaceType, ETopicType, IOsceStation, ITopic } from '../../../models';
|
|
1
|
+
import { EOsceType, EPaceType, ETopicType, IConcept, IOsceStation, ITopic } from '../../../models';
|
|
2
2
|
import { RestrictedData, graphqlNormalize } from '../../types';
|
|
3
3
|
export type IQuesBookVar = {
|
|
4
4
|
/**TODO: make it mandatory once frontend changes are completed */
|
|
@@ -15,5 +15,9 @@ export type IOsceBookVar = {
|
|
|
15
15
|
};
|
|
16
16
|
export type IOsceBookData = RestrictedData<(graphqlNormalize & IOsceStation)[], 'osceBook'>;
|
|
17
17
|
export declare const OSCE_KNOWLEDGE_VIDEO_LIBRARY: import("@apollo/client").DocumentNode;
|
|
18
|
+
export type IPaceBookVar = {
|
|
19
|
+
typeId?: EPaceType[];
|
|
20
|
+
};
|
|
21
|
+
export type IPaceBookData = RestrictedData<(graphqlNormalize & IConcept)[], 'paceBook'>;
|
|
18
22
|
export declare const PACE_KNOWLEDGE_LIBRARY: import("@apollo/client").DocumentNode;
|
|
19
23
|
export declare const PACE_VIDEO_LIBRARY: import("@apollo/client").DocumentNode;
|
|
@@ -132,59 +132,44 @@ exports.OSCE_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
|
|
|
132
132
|
}
|
|
133
133
|
`;
|
|
134
134
|
exports.PACE_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
|
|
135
|
-
query PaceKnowledgeLibrary($typeId: [Int]
|
|
135
|
+
query PaceKnowledgeLibrary($typeId: [Int]) {
|
|
136
136
|
restricted {
|
|
137
|
-
|
|
137
|
+
paceBook(typeId: $typeId) {
|
|
138
138
|
id
|
|
139
139
|
name
|
|
140
|
-
typeId
|
|
141
140
|
demo
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
urgentConcepts
|
|
146
|
-
unwatchedVideos
|
|
147
|
-
completedVideos
|
|
148
|
-
revisingVideos
|
|
149
|
-
urgentVideos
|
|
150
|
-
concepts {
|
|
141
|
+
status
|
|
142
|
+
typeId
|
|
143
|
+
chapter {
|
|
151
144
|
id
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
totalCards
|
|
156
|
-
totalQuestions
|
|
157
|
-
chapter {
|
|
145
|
+
typeId
|
|
146
|
+
explanation
|
|
147
|
+
pictures {
|
|
158
148
|
id
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
path
|
|
168
|
-
path512
|
|
169
|
-
path256
|
|
170
|
-
index
|
|
171
|
-
}
|
|
149
|
+
createdAt
|
|
150
|
+
updatedAt
|
|
151
|
+
name
|
|
152
|
+
caption
|
|
153
|
+
path
|
|
154
|
+
path512
|
|
155
|
+
path256
|
|
156
|
+
index
|
|
172
157
|
}
|
|
173
|
-
|
|
174
|
-
|
|
158
|
+
}
|
|
159
|
+
topicId
|
|
160
|
+
videos {
|
|
161
|
+
id
|
|
162
|
+
status
|
|
163
|
+
title
|
|
164
|
+
museId
|
|
165
|
+
thumbnail
|
|
166
|
+
concepts {
|
|
175
167
|
id
|
|
176
|
-
|
|
177
|
-
title
|
|
178
|
-
museId
|
|
179
|
-
thumbnail
|
|
180
|
-
concepts {
|
|
181
|
-
id
|
|
182
|
-
name
|
|
183
|
-
}
|
|
184
|
-
live
|
|
185
|
-
description
|
|
186
|
-
duration
|
|
168
|
+
name
|
|
187
169
|
}
|
|
170
|
+
live
|
|
171
|
+
description
|
|
172
|
+
duration
|
|
188
173
|
}
|
|
189
174
|
}
|
|
190
175
|
}
|