@quesmed/types 2.6.42 → 2.6.44
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/Product.d.ts +1 -0
- package/dist/cjs/resolvers/fragments/osce.js +1 -0
- package/dist/cjs/resolvers/mutation/restricted/osce.js +2 -0
- package/dist/cjs/resolvers/query/restricted/quesBook.js +3 -0
- package/dist/cjs/resolvers/query/restricted/topics.js +4 -0
- package/dist/cjs/resolvers/query/restricted/video.js +11 -60
- package/dist/mjs/models/Product.d.ts +1 -0
- package/dist/mjs/resolvers/fragments/osce.js +1 -0
- package/dist/mjs/resolvers/mutation/restricted/osce.js +2 -0
- package/dist/mjs/resolvers/query/restricted/quesBook.js +3 -0
- package/dist/mjs/resolvers/query/restricted/topics.js +4 -0
- package/dist/mjs/resolvers/query/restricted/video.js +11 -60
- package/package.json +1 -1
|
@@ -168,6 +168,7 @@ exports.PRESTART_OSCE_MARKSHEET = (0, client_1.gql) `
|
|
|
168
168
|
$readingTime: Int!
|
|
169
169
|
$stationTime: Int!
|
|
170
170
|
$feedbackTime: Int!
|
|
171
|
+
$isTimed: Boolean
|
|
171
172
|
) {
|
|
172
173
|
restricted {
|
|
173
174
|
prestartOsceMarksheet(
|
|
@@ -175,6 +176,7 @@ exports.PRESTART_OSCE_MARKSHEET = (0, client_1.gql) `
|
|
|
175
176
|
readingTime: $readingTime
|
|
176
177
|
stationTime: $stationTime
|
|
177
178
|
feedbackTime: $feedbackTime
|
|
179
|
+
isTimed: $isTimed
|
|
178
180
|
) {
|
|
179
181
|
...OsceMarksheetFields
|
|
180
182
|
osceStation {
|
|
@@ -14,6 +14,7 @@ exports.QBANK_KNOWLEDGE_VIDEO_LIBRARY = (0, client_1.gql) `
|
|
|
14
14
|
entitlement {
|
|
15
15
|
id
|
|
16
16
|
name
|
|
17
|
+
index
|
|
17
18
|
}
|
|
18
19
|
unreadConcepts
|
|
19
20
|
completedConcepts
|
|
@@ -78,6 +79,7 @@ exports.PUBLIC_QBANK_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
|
|
|
78
79
|
entitlement {
|
|
79
80
|
id
|
|
80
81
|
name
|
|
82
|
+
index
|
|
81
83
|
}
|
|
82
84
|
unreadConcepts
|
|
83
85
|
completedConcepts
|
|
@@ -155,6 +157,7 @@ exports.PACE_KNOWLEDGE_LIBRARY = (0, client_1.gql) `
|
|
|
155
157
|
entitlement {
|
|
156
158
|
id
|
|
157
159
|
name
|
|
160
|
+
index
|
|
158
161
|
}
|
|
159
162
|
chapter {
|
|
160
163
|
id
|
|
@@ -11,6 +11,7 @@ exports.TOPIC = (0, client_1.gql) `
|
|
|
11
11
|
entitlement {
|
|
12
12
|
id
|
|
13
13
|
name
|
|
14
|
+
index
|
|
14
15
|
}
|
|
15
16
|
totalQuestions
|
|
16
17
|
correctQuestions
|
|
@@ -43,6 +44,7 @@ exports.TOPICS = (0, client_1.gql) `
|
|
|
43
44
|
entitlement {
|
|
44
45
|
id
|
|
45
46
|
name
|
|
47
|
+
index
|
|
46
48
|
}
|
|
47
49
|
concepts {
|
|
48
50
|
id
|
|
@@ -68,6 +70,7 @@ exports.QUESTION_TOPICS = (0, client_1.gql) `
|
|
|
68
70
|
entitlement {
|
|
69
71
|
id
|
|
70
72
|
name
|
|
73
|
+
index
|
|
71
74
|
}
|
|
72
75
|
concepts {
|
|
73
76
|
id
|
|
@@ -95,6 +98,7 @@ exports.FLASHCARDS_TOPICS = (0, client_1.gql) `
|
|
|
95
98
|
entitlement {
|
|
96
99
|
id
|
|
97
100
|
name
|
|
101
|
+
index
|
|
98
102
|
}
|
|
99
103
|
concepts {
|
|
100
104
|
id
|
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VIDEOS = exports.VIDEO = void 0;
|
|
4
4
|
const client_1 = require("@apollo/client");
|
|
5
|
+
const fragments_1 = require("../../fragments");
|
|
5
6
|
exports.VIDEO = (0, client_1.gql) `
|
|
7
|
+
${fragments_1.PICTURE_FIELDS}
|
|
6
8
|
query Video($id: Int!) {
|
|
7
9
|
restricted {
|
|
8
10
|
video(id: $id) {
|
|
@@ -48,6 +50,11 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
48
50
|
osceType {
|
|
49
51
|
id
|
|
50
52
|
}
|
|
53
|
+
entitlement {
|
|
54
|
+
id
|
|
55
|
+
name
|
|
56
|
+
index
|
|
57
|
+
}
|
|
51
58
|
candidateBrief
|
|
52
59
|
examinerBrief
|
|
53
60
|
actorBrief
|
|
@@ -66,72 +73,16 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
66
73
|
}
|
|
67
74
|
}
|
|
68
75
|
candidatePictures {
|
|
69
|
-
|
|
70
|
-
createdAt
|
|
71
|
-
updatedAt
|
|
72
|
-
name
|
|
73
|
-
caption
|
|
74
|
-
path
|
|
75
|
-
path512
|
|
76
|
-
path256
|
|
77
|
-
thumbhash
|
|
78
|
-
topicId
|
|
79
|
-
topic {
|
|
80
|
-
id
|
|
81
|
-
name
|
|
82
|
-
typeId
|
|
83
|
-
}
|
|
76
|
+
...PictureFields
|
|
84
77
|
}
|
|
85
78
|
actorPictures {
|
|
86
|
-
|
|
87
|
-
createdAt
|
|
88
|
-
updatedAt
|
|
89
|
-
name
|
|
90
|
-
caption
|
|
91
|
-
path
|
|
92
|
-
path512
|
|
93
|
-
path256
|
|
94
|
-
thumbhash
|
|
95
|
-
topicId
|
|
96
|
-
topic {
|
|
97
|
-
id
|
|
98
|
-
name
|
|
99
|
-
typeId
|
|
100
|
-
}
|
|
79
|
+
...PictureFields
|
|
101
80
|
}
|
|
102
81
|
examinerPictures {
|
|
103
|
-
|
|
104
|
-
createdAt
|
|
105
|
-
updatedAt
|
|
106
|
-
name
|
|
107
|
-
caption
|
|
108
|
-
path
|
|
109
|
-
path512
|
|
110
|
-
path256
|
|
111
|
-
thumbhash
|
|
112
|
-
topicId
|
|
113
|
-
topic {
|
|
114
|
-
id
|
|
115
|
-
name
|
|
116
|
-
typeId
|
|
117
|
-
}
|
|
82
|
+
...PictureFields
|
|
118
83
|
}
|
|
119
84
|
walkthroughPictures {
|
|
120
|
-
|
|
121
|
-
createdAt
|
|
122
|
-
updatedAt
|
|
123
|
-
name
|
|
124
|
-
caption
|
|
125
|
-
path
|
|
126
|
-
path512
|
|
127
|
-
path256
|
|
128
|
-
thumbhash
|
|
129
|
-
topicId
|
|
130
|
-
topic {
|
|
131
|
-
id
|
|
132
|
-
name
|
|
133
|
-
typeId
|
|
134
|
-
}
|
|
85
|
+
...PictureFields
|
|
135
86
|
}
|
|
136
87
|
lastOsceMarksheetId
|
|
137
88
|
}
|
|
@@ -164,6 +164,7 @@ export const PRESTART_OSCE_MARKSHEET = gql `
|
|
|
164
164
|
$readingTime: Int!
|
|
165
165
|
$stationTime: Int!
|
|
166
166
|
$feedbackTime: Int!
|
|
167
|
+
$isTimed: Boolean
|
|
167
168
|
) {
|
|
168
169
|
restricted {
|
|
169
170
|
prestartOsceMarksheet(
|
|
@@ -171,6 +172,7 @@ export const PRESTART_OSCE_MARKSHEET = gql `
|
|
|
171
172
|
readingTime: $readingTime
|
|
172
173
|
stationTime: $stationTime
|
|
173
174
|
feedbackTime: $feedbackTime
|
|
175
|
+
isTimed: $isTimed
|
|
174
176
|
) {
|
|
175
177
|
...OsceMarksheetFields
|
|
176
178
|
osceStation {
|
|
@@ -11,6 +11,7 @@ export const QBANK_KNOWLEDGE_VIDEO_LIBRARY = gql `
|
|
|
11
11
|
entitlement {
|
|
12
12
|
id
|
|
13
13
|
name
|
|
14
|
+
index
|
|
14
15
|
}
|
|
15
16
|
unreadConcepts
|
|
16
17
|
completedConcepts
|
|
@@ -75,6 +76,7 @@ export const PUBLIC_QBANK_KNOWLEDGE_LIBRARY = gql `
|
|
|
75
76
|
entitlement {
|
|
76
77
|
id
|
|
77
78
|
name
|
|
79
|
+
index
|
|
78
80
|
}
|
|
79
81
|
unreadConcepts
|
|
80
82
|
completedConcepts
|
|
@@ -152,6 +154,7 @@ export const PACE_KNOWLEDGE_LIBRARY = gql `
|
|
|
152
154
|
entitlement {
|
|
153
155
|
id
|
|
154
156
|
name
|
|
157
|
+
index
|
|
155
158
|
}
|
|
156
159
|
chapter {
|
|
157
160
|
id
|
|
@@ -8,6 +8,7 @@ export const TOPIC = gql `
|
|
|
8
8
|
entitlement {
|
|
9
9
|
id
|
|
10
10
|
name
|
|
11
|
+
index
|
|
11
12
|
}
|
|
12
13
|
totalQuestions
|
|
13
14
|
correctQuestions
|
|
@@ -40,6 +41,7 @@ export const TOPICS = gql `
|
|
|
40
41
|
entitlement {
|
|
41
42
|
id
|
|
42
43
|
name
|
|
44
|
+
index
|
|
43
45
|
}
|
|
44
46
|
concepts {
|
|
45
47
|
id
|
|
@@ -65,6 +67,7 @@ export const QUESTION_TOPICS = gql `
|
|
|
65
67
|
entitlement {
|
|
66
68
|
id
|
|
67
69
|
name
|
|
70
|
+
index
|
|
68
71
|
}
|
|
69
72
|
concepts {
|
|
70
73
|
id
|
|
@@ -92,6 +95,7 @@ export const FLASHCARDS_TOPICS = gql `
|
|
|
92
95
|
entitlement {
|
|
93
96
|
id
|
|
94
97
|
name
|
|
98
|
+
index
|
|
95
99
|
}
|
|
96
100
|
concepts {
|
|
97
101
|
id
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { gql } from '@apollo/client';
|
|
2
|
+
import { PICTURE_FIELDS } from '../../fragments';
|
|
2
3
|
export const VIDEO = gql `
|
|
4
|
+
${PICTURE_FIELDS}
|
|
3
5
|
query Video($id: Int!) {
|
|
4
6
|
restricted {
|
|
5
7
|
video(id: $id) {
|
|
@@ -45,6 +47,11 @@ export const VIDEO = gql `
|
|
|
45
47
|
osceType {
|
|
46
48
|
id
|
|
47
49
|
}
|
|
50
|
+
entitlement {
|
|
51
|
+
id
|
|
52
|
+
name
|
|
53
|
+
index
|
|
54
|
+
}
|
|
48
55
|
candidateBrief
|
|
49
56
|
examinerBrief
|
|
50
57
|
actorBrief
|
|
@@ -63,72 +70,16 @@ export const VIDEO = gql `
|
|
|
63
70
|
}
|
|
64
71
|
}
|
|
65
72
|
candidatePictures {
|
|
66
|
-
|
|
67
|
-
createdAt
|
|
68
|
-
updatedAt
|
|
69
|
-
name
|
|
70
|
-
caption
|
|
71
|
-
path
|
|
72
|
-
path512
|
|
73
|
-
path256
|
|
74
|
-
thumbhash
|
|
75
|
-
topicId
|
|
76
|
-
topic {
|
|
77
|
-
id
|
|
78
|
-
name
|
|
79
|
-
typeId
|
|
80
|
-
}
|
|
73
|
+
...PictureFields
|
|
81
74
|
}
|
|
82
75
|
actorPictures {
|
|
83
|
-
|
|
84
|
-
createdAt
|
|
85
|
-
updatedAt
|
|
86
|
-
name
|
|
87
|
-
caption
|
|
88
|
-
path
|
|
89
|
-
path512
|
|
90
|
-
path256
|
|
91
|
-
thumbhash
|
|
92
|
-
topicId
|
|
93
|
-
topic {
|
|
94
|
-
id
|
|
95
|
-
name
|
|
96
|
-
typeId
|
|
97
|
-
}
|
|
76
|
+
...PictureFields
|
|
98
77
|
}
|
|
99
78
|
examinerPictures {
|
|
100
|
-
|
|
101
|
-
createdAt
|
|
102
|
-
updatedAt
|
|
103
|
-
name
|
|
104
|
-
caption
|
|
105
|
-
path
|
|
106
|
-
path512
|
|
107
|
-
path256
|
|
108
|
-
thumbhash
|
|
109
|
-
topicId
|
|
110
|
-
topic {
|
|
111
|
-
id
|
|
112
|
-
name
|
|
113
|
-
typeId
|
|
114
|
-
}
|
|
79
|
+
...PictureFields
|
|
115
80
|
}
|
|
116
81
|
walkthroughPictures {
|
|
117
|
-
|
|
118
|
-
createdAt
|
|
119
|
-
updatedAt
|
|
120
|
-
name
|
|
121
|
-
caption
|
|
122
|
-
path
|
|
123
|
-
path512
|
|
124
|
-
path256
|
|
125
|
-
thumbhash
|
|
126
|
-
topicId
|
|
127
|
-
topic {
|
|
128
|
-
id
|
|
129
|
-
name
|
|
130
|
-
typeId
|
|
131
|
-
}
|
|
82
|
+
...PictureFields
|
|
132
83
|
}
|
|
133
84
|
lastOsceMarksheetId
|
|
134
85
|
}
|