@quesmed/types 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/dist/cjs/models/Concept.d.ts +2 -0
- package/dist/cjs/resolvers/index.d.ts +1 -0
- package/dist/cjs/resolvers/index.js +1 -0
- package/dist/cjs/resolvers/query/restricted/quesBook.d.ts +5 -1
- package/dist/cjs/resolvers/query/restricted/quesBook.js +29 -44
- package/dist/mjs/models/Concept.d.ts +2 -0
- package/dist/mjs/resolvers/index.d.ts +1 -0
- package/dist/mjs/resolvers/index.js +1 -0
- package/dist/mjs/resolvers/query/restricted/quesBook.d.ts +5 -1
- package/dist/mjs/resolvers/query/restricted/quesBook.js +29 -44
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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
|
}
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -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;
|
|
@@ -129,59 +129,44 @@ export const OSCE_KNOWLEDGE_VIDEO_LIBRARY = gql `
|
|
|
129
129
|
}
|
|
130
130
|
`;
|
|
131
131
|
export const PACE_KNOWLEDGE_LIBRARY = gql `
|
|
132
|
-
query PaceKnowledgeLibrary($typeId: [Int]
|
|
132
|
+
query PaceKnowledgeLibrary($typeId: [Int]) {
|
|
133
133
|
restricted {
|
|
134
|
-
|
|
134
|
+
paceBook(typeId: $typeId) {
|
|
135
135
|
id
|
|
136
136
|
name
|
|
137
|
-
typeId
|
|
138
137
|
demo
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
urgentConcepts
|
|
143
|
-
unwatchedVideos
|
|
144
|
-
completedVideos
|
|
145
|
-
revisingVideos
|
|
146
|
-
urgentVideos
|
|
147
|
-
concepts {
|
|
138
|
+
status
|
|
139
|
+
typeId
|
|
140
|
+
chapter {
|
|
148
141
|
id
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
totalCards
|
|
153
|
-
totalQuestions
|
|
154
|
-
chapter {
|
|
142
|
+
typeId
|
|
143
|
+
explanation
|
|
144
|
+
pictures {
|
|
155
145
|
id
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
path
|
|
165
|
-
path512
|
|
166
|
-
path256
|
|
167
|
-
index
|
|
168
|
-
}
|
|
146
|
+
createdAt
|
|
147
|
+
updatedAt
|
|
148
|
+
name
|
|
149
|
+
caption
|
|
150
|
+
path
|
|
151
|
+
path512
|
|
152
|
+
path256
|
|
153
|
+
index
|
|
169
154
|
}
|
|
170
|
-
|
|
171
|
-
|
|
155
|
+
}
|
|
156
|
+
topicId
|
|
157
|
+
videos {
|
|
158
|
+
id
|
|
159
|
+
status
|
|
160
|
+
title
|
|
161
|
+
museId
|
|
162
|
+
thumbnail
|
|
163
|
+
concepts {
|
|
172
164
|
id
|
|
173
|
-
|
|
174
|
-
title
|
|
175
|
-
museId
|
|
176
|
-
thumbnail
|
|
177
|
-
concepts {
|
|
178
|
-
id
|
|
179
|
-
name
|
|
180
|
-
}
|
|
181
|
-
live
|
|
182
|
-
description
|
|
183
|
-
duration
|
|
165
|
+
name
|
|
184
166
|
}
|
|
167
|
+
live
|
|
168
|
+
description
|
|
169
|
+
duration
|
|
185
170
|
}
|
|
186
171
|
}
|
|
187
172
|
}
|