@quesmed/types 2.5.13 → 2.5.15
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/OsceStation.d.ts +2 -0
- package/dist/cjs/resolvers/fragments/osce.js +2 -0
- package/dist/cjs/resolvers/query/restricted/video.js +8 -15
- package/dist/cjs/resolvers/query/video.js +1 -0
- package/dist/mjs/models/OsceStation.d.ts +2 -0
- package/dist/mjs/resolvers/fragments/osce.js +2 -0
- package/dist/mjs/resolvers/query/restricted/video.js +8 -15
- package/dist/mjs/resolvers/query/video.js +1 -0
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { EDifficultyType } from './Difficulty';
|
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { ITopic } from './Topic';
|
|
5
5
|
import { Id } from './Type';
|
|
6
|
+
import { EUserLearningStatus } from './User';
|
|
6
7
|
import { IVideo } from './Video';
|
|
7
8
|
export interface IOsceType {
|
|
8
9
|
id: Id;
|
|
@@ -50,6 +51,7 @@ export interface IOsceStation {
|
|
|
50
51
|
videos?: IVideo[];
|
|
51
52
|
lastOsceMarksheetId?: Id;
|
|
52
53
|
score?: number;
|
|
54
|
+
status?: EUserLearningStatus;
|
|
53
55
|
}
|
|
54
56
|
export interface IOsceStationTopic {
|
|
55
57
|
id: Id;
|
|
@@ -19,6 +19,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
|
|
|
19
19
|
id
|
|
20
20
|
updatedAt
|
|
21
21
|
name
|
|
22
|
+
status
|
|
22
23
|
osceType {
|
|
23
24
|
id
|
|
24
25
|
name
|
|
@@ -50,6 +51,7 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
|
|
|
50
51
|
videos {
|
|
51
52
|
id
|
|
52
53
|
title
|
|
54
|
+
status
|
|
53
55
|
museId
|
|
54
56
|
thumbnail
|
|
55
57
|
concepts {
|
|
@@ -40,6 +40,7 @@ exports.VIDEO = (0, client_1.gql) `
|
|
|
40
40
|
osceStation {
|
|
41
41
|
id
|
|
42
42
|
name
|
|
43
|
+
status
|
|
43
44
|
osceType {
|
|
44
45
|
id
|
|
45
46
|
}
|
|
@@ -155,6 +156,13 @@ exports.VIDEOS = (0, client_1.gql) `
|
|
|
155
156
|
duration
|
|
156
157
|
startTime
|
|
157
158
|
endTime
|
|
159
|
+
osceStation {
|
|
160
|
+
id
|
|
161
|
+
name
|
|
162
|
+
osceType {
|
|
163
|
+
id
|
|
164
|
+
}
|
|
165
|
+
}
|
|
158
166
|
concepts {
|
|
159
167
|
id
|
|
160
168
|
name
|
|
@@ -164,21 +172,6 @@ exports.VIDEOS = (0, client_1.gql) `
|
|
|
164
172
|
name
|
|
165
173
|
typeId
|
|
166
174
|
}
|
|
167
|
-
chapter {
|
|
168
|
-
id
|
|
169
|
-
explanation
|
|
170
|
-
pictures {
|
|
171
|
-
id
|
|
172
|
-
createdAt
|
|
173
|
-
updatedAt
|
|
174
|
-
name
|
|
175
|
-
caption
|
|
176
|
-
path
|
|
177
|
-
path512
|
|
178
|
-
path256
|
|
179
|
-
index
|
|
180
|
-
}
|
|
181
|
-
}
|
|
182
175
|
}
|
|
183
176
|
}
|
|
184
177
|
}
|
|
@@ -3,6 +3,7 @@ import { EDifficultyType } from './Difficulty';
|
|
|
3
3
|
import { IPicture } from './Picture';
|
|
4
4
|
import { ITopic } from './Topic';
|
|
5
5
|
import { Id } from './Type';
|
|
6
|
+
import { EUserLearningStatus } from './User';
|
|
6
7
|
import { IVideo } from './Video';
|
|
7
8
|
export interface IOsceType {
|
|
8
9
|
id: Id;
|
|
@@ -50,6 +51,7 @@ export interface IOsceStation {
|
|
|
50
51
|
videos?: IVideo[];
|
|
51
52
|
lastOsceMarksheetId?: Id;
|
|
52
53
|
score?: number;
|
|
54
|
+
status?: EUserLearningStatus;
|
|
53
55
|
}
|
|
54
56
|
export interface IOsceStationTopic {
|
|
55
57
|
id: Id;
|
|
@@ -37,6 +37,7 @@ export const VIDEO = gql `
|
|
|
37
37
|
osceStation {
|
|
38
38
|
id
|
|
39
39
|
name
|
|
40
|
+
status
|
|
40
41
|
osceType {
|
|
41
42
|
id
|
|
42
43
|
}
|
|
@@ -152,6 +153,13 @@ export const VIDEOS = gql `
|
|
|
152
153
|
duration
|
|
153
154
|
startTime
|
|
154
155
|
endTime
|
|
156
|
+
osceStation {
|
|
157
|
+
id
|
|
158
|
+
name
|
|
159
|
+
osceType {
|
|
160
|
+
id
|
|
161
|
+
}
|
|
162
|
+
}
|
|
155
163
|
concepts {
|
|
156
164
|
id
|
|
157
165
|
name
|
|
@@ -161,21 +169,6 @@ export const VIDEOS = gql `
|
|
|
161
169
|
name
|
|
162
170
|
typeId
|
|
163
171
|
}
|
|
164
|
-
chapter {
|
|
165
|
-
id
|
|
166
|
-
explanation
|
|
167
|
-
pictures {
|
|
168
|
-
id
|
|
169
|
-
createdAt
|
|
170
|
-
updatedAt
|
|
171
|
-
name
|
|
172
|
-
caption
|
|
173
|
-
path
|
|
174
|
-
path512
|
|
175
|
-
path256
|
|
176
|
-
index
|
|
177
|
-
}
|
|
178
|
-
}
|
|
179
172
|
}
|
|
180
173
|
}
|
|
181
174
|
}
|