@quesmed/types 2.5.114 → 2.6.1
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/MockTest.d.ts +2 -1
- package/dist/cjs/models/MockTest.js +1 -0
- package/dist/cjs/models/Picture.d.ts +1 -0
- package/dist/cjs/resolvers/constants.js +2 -2
- package/dist/cjs/resolvers/fragments/blog.js +1 -0
- package/dist/cjs/resolvers/fragments/chapter.js +1 -0
- package/dist/cjs/resolvers/fragments/marksheet.js +3 -0
- package/dist/cjs/resolvers/fragments/picture.js +1 -0
- package/dist/cjs/resolvers/fragments/user.js +1 -0
- package/dist/cjs/resolvers/mutation/restricted/marksheet.js +63 -0
- package/dist/cjs/resolvers/mutation/restricted/todo.d.ts +2 -2
- package/dist/cjs/resolvers/mutation/restricted/todo.js +1 -0
- package/dist/cjs/resolvers/query/restricted/marksheet.d.ts +1 -1
- package/dist/cjs/resolvers/query/restricted/marksheet.js +66 -0
- package/dist/cjs/resolvers/query/restricted/quesBook.js +2 -0
- package/dist/cjs/resolvers/query/restricted/question.js +21 -0
- package/dist/cjs/resolvers/query/restricted/replication.js +4 -1
- package/dist/cjs/resolvers/query/restricted/todos.js +2 -0
- package/dist/cjs/resolvers/query/restricted/video.js +5 -0
- package/dist/cjs/resolvers/query/sample.d.ts +1 -1
- package/dist/cjs/resolvers/query/sample.js +3 -0
- package/dist/cjs/resolvers/query/video.js +6 -0
- package/dist/mjs/models/MockTest.d.ts +2 -1
- package/dist/mjs/models/MockTest.js +1 -0
- package/dist/mjs/models/Picture.d.ts +1 -0
- package/dist/mjs/resolvers/constants.js +2 -2
- package/dist/mjs/resolvers/fragments/blog.js +1 -0
- package/dist/mjs/resolvers/fragments/chapter.js +1 -0
- package/dist/mjs/resolvers/fragments/marksheet.js +3 -0
- package/dist/mjs/resolvers/fragments/picture.js +1 -0
- package/dist/mjs/resolvers/fragments/user.js +1 -0
- package/dist/mjs/resolvers/mutation/restricted/marksheet.js +63 -0
- package/dist/mjs/resolvers/mutation/restricted/todo.d.ts +2 -2
- package/dist/mjs/resolvers/mutation/restricted/todo.js +1 -0
- package/dist/mjs/resolvers/query/restricted/marksheet.d.ts +1 -1
- package/dist/mjs/resolvers/query/restricted/marksheet.js +66 -0
- package/dist/mjs/resolvers/query/restricted/quesBook.js +2 -0
- package/dist/mjs/resolvers/query/restricted/question.js +21 -0
- package/dist/mjs/resolvers/query/restricted/replication.js +4 -1
- package/dist/mjs/resolvers/query/restricted/todos.js +2 -0
- package/dist/mjs/resolvers/query/restricted/video.js +5 -0
- package/dist/mjs/resolvers/query/sample.d.ts +1 -1
- package/dist/mjs/resolvers/query/sample.js +3 -0
- package/dist/mjs/resolvers/query/video.js +6 -0
- package/package.json +1 -1
|
@@ -32,6 +32,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
32
32
|
path
|
|
33
33
|
path512
|
|
34
34
|
path256
|
|
35
|
+
thumbhash
|
|
35
36
|
index
|
|
36
37
|
topicId
|
|
37
38
|
}
|
|
@@ -71,6 +72,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
71
72
|
path
|
|
72
73
|
path512
|
|
73
74
|
path256
|
|
75
|
+
thumbhash
|
|
74
76
|
topicId
|
|
75
77
|
topic {
|
|
76
78
|
id
|
|
@@ -87,6 +89,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
87
89
|
path
|
|
88
90
|
path512
|
|
89
91
|
path256
|
|
92
|
+
thumbhash
|
|
90
93
|
topicId
|
|
91
94
|
topic {
|
|
92
95
|
id
|
|
@@ -103,6 +106,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
103
106
|
path
|
|
104
107
|
path512
|
|
105
108
|
path256
|
|
109
|
+
thumbhash
|
|
106
110
|
topicId
|
|
107
111
|
topic {
|
|
108
112
|
id
|
|
@@ -119,6 +123,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
119
123
|
path
|
|
120
124
|
path512
|
|
121
125
|
path256
|
|
126
|
+
thumbhash
|
|
122
127
|
topicId
|
|
123
128
|
topic {
|
|
124
129
|
id
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IMarksheet, IOsceMarksheet, ITodo } from '../../models';
|
|
2
|
-
import {
|
|
2
|
+
import { RootData, graphqlNormalize } from '../types';
|
|
3
3
|
export declare const SAMPLE_CONTENT: import("@apollo/client").DocumentNode;
|
|
4
4
|
export type ISampleContentVar = null;
|
|
5
5
|
interface ISampleContent {
|
|
@@ -59,6 +59,7 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
|
|
|
59
59
|
path
|
|
60
60
|
path512
|
|
61
61
|
path256
|
|
62
|
+
thumbhash
|
|
62
63
|
index
|
|
63
64
|
topicId
|
|
64
65
|
topic {
|
|
@@ -87,6 +88,7 @@ exports.SAMPLE_MARKSHEET = (0, client_1.gql) `
|
|
|
87
88
|
path
|
|
88
89
|
path512
|
|
89
90
|
path256
|
|
91
|
+
thumbhash
|
|
90
92
|
}
|
|
91
93
|
}
|
|
92
94
|
}
|
|
@@ -123,6 +125,7 @@ exports.SAMPLE_TODO = (0, client_1.gql) `
|
|
|
123
125
|
path
|
|
124
126
|
path512
|
|
125
127
|
path256
|
|
128
|
+
thumbhash
|
|
126
129
|
index
|
|
127
130
|
topicId
|
|
128
131
|
topic {
|
|
@@ -47,6 +47,7 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
|
|
|
47
47
|
path
|
|
48
48
|
path512
|
|
49
49
|
path256
|
|
50
|
+
thumbhash
|
|
50
51
|
index
|
|
51
52
|
topicId
|
|
52
53
|
topic {
|
|
@@ -84,6 +85,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
84
85
|
path
|
|
85
86
|
path512
|
|
86
87
|
path256
|
|
88
|
+
thumbhash
|
|
87
89
|
index
|
|
88
90
|
topicId
|
|
89
91
|
topic {
|
|
@@ -121,6 +123,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
121
123
|
path
|
|
122
124
|
path512
|
|
123
125
|
path256
|
|
126
|
+
thumbhash
|
|
124
127
|
topicId
|
|
125
128
|
topic {
|
|
126
129
|
id
|
|
@@ -137,6 +140,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
137
140
|
path
|
|
138
141
|
path512
|
|
139
142
|
path256
|
|
143
|
+
thumbhash
|
|
140
144
|
topicId
|
|
141
145
|
topic {
|
|
142
146
|
id
|
|
@@ -153,6 +157,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
153
157
|
path
|
|
154
158
|
path512
|
|
155
159
|
path256
|
|
160
|
+
thumbhash
|
|
156
161
|
topicId
|
|
157
162
|
topic {
|
|
158
163
|
id
|
|
@@ -169,6 +174,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
|
|
|
169
174
|
path
|
|
170
175
|
path512
|
|
171
176
|
path256
|
|
177
|
+
thumbhash
|
|
172
178
|
topicId
|
|
173
179
|
topic {
|
|
174
180
|
id
|
|
@@ -7,4 +7,5 @@ export var EMockTestType;
|
|
|
7
7
|
EMockTestType[EMockTestType["UNIVERSITY_SPECIFIC"] = 4] = "UNIVERSITY_SPECIFIC";
|
|
8
8
|
EMockTestType[EMockTestType["ANATOMY_SPOTTER"] = 5] = "ANATOMY_SPOTTER";
|
|
9
9
|
EMockTestType[EMockTestType["UKMLA"] = 6] = "UKMLA";
|
|
10
|
+
EMockTestType[EMockTestType["MRCP"] = 7] = "MRCP";
|
|
10
11
|
})(EMockTestType || (EMockTestType = {}));
|
|
@@ -59,13 +59,13 @@ export const productMapping = {
|
|
|
59
59
|
db: DB_TYPE.MRCP,
|
|
60
60
|
topicType: [ETopicType.CLINICAL],
|
|
61
61
|
builderTopicType: [ETopicType.CLINICAL],
|
|
62
|
-
mockType:
|
|
62
|
+
mockType: [EMockTestType.MRCP],
|
|
63
63
|
},
|
|
64
64
|
[EProductType.MRCP_PART2]: {
|
|
65
65
|
db: DB_TYPE.MRCP,
|
|
66
66
|
topicType: [ETopicType.CLINICAL],
|
|
67
67
|
builderTopicType: [ETopicType.CLINICAL],
|
|
68
|
-
mockType:
|
|
68
|
+
mockType: [EMockTestType.MRCP],
|
|
69
69
|
},
|
|
70
70
|
[EProductType.PACES]: {
|
|
71
71
|
db: DB_TYPE.MRCP,
|
|
@@ -38,6 +38,7 @@ export const MARKSHEET_MARK_FIELDS = gql `
|
|
|
38
38
|
path
|
|
39
39
|
path512
|
|
40
40
|
path256
|
|
41
|
+
thumbhash
|
|
41
42
|
}
|
|
42
43
|
}
|
|
43
44
|
comments {
|
|
@@ -84,6 +85,7 @@ export const MARKSHEET_MARK_FIELDS = gql `
|
|
|
84
85
|
path
|
|
85
86
|
path512
|
|
86
87
|
path256
|
|
88
|
+
thumbhash
|
|
87
89
|
index
|
|
88
90
|
topicId
|
|
89
91
|
topic {
|
|
@@ -120,6 +122,7 @@ export const MARKSHEET_MARK_FIELDS = gql `
|
|
|
120
122
|
path
|
|
121
123
|
path512
|
|
122
124
|
path256
|
|
125
|
+
thumbhash
|
|
123
126
|
topicId
|
|
124
127
|
topic {
|
|
125
128
|
id
|