@quesmed/types 2.6.44 → 2.6.45

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.
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.COMPLETED_OSCE_STATION_FRAGMENT = exports.COMPLETED_OSCE_MARKSHEET_FRAGMENT = exports.STATION_CONCEPT_FRAGMENT = exports.OSCE_MATCHMAKING_ACTION_FIELDS = exports.OSCE_MARKSHEET_FIELDS = exports.OSCE_MARKSHEET_MARK_FIELDS = exports.OSCE_STATION_FIELDS = exports.OSCE_STATION_MARK_FIELDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
5
  const picture_1 = require("./picture");
6
+ const video_1 = require("./video");
6
7
  exports.OSCE_STATION_MARK_FIELDS = (0, client_1.gql) `
7
8
  fragment OsceStationMarkFields on OsceStationMark {
8
9
  id
@@ -21,6 +22,7 @@ exports.OSCE_STATION_MARK_FIELDS = (0, client_1.gql) `
21
22
  exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
22
23
  ${picture_1.PICTURE_FIELDS}
23
24
  ${exports.OSCE_STATION_MARK_FIELDS}
25
+ ${video_1.VIDEO_FIELDS}
24
26
  fragment OsceStationFields on OsceStation {
25
27
  id
26
28
  updatedAt
@@ -63,22 +65,9 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
63
65
  ...PictureFields
64
66
  }
65
67
  videos {
66
- id
67
- demo
68
- title
69
- status
70
- museId
71
- thumbnail
72
- concepts {
73
- id
74
- name
75
- }
76
- live
77
- description
78
- duration
68
+ ...VideoFields
79
69
  }
80
70
  demo
81
-
82
71
  # user-specific keys
83
72
  # lastOsceMarksheetId
84
73
  # score
@@ -2,7 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VIDEO_STATUS_FRAGMENT = exports.VIDEO_FIELDS = exports.VIDEO_FILE_FIELDS = void 0;
4
4
  const client_1 = require("@apollo/client");
5
- const picture_1 = require("./picture");
6
5
  exports.VIDEO_FILE_FIELDS = (0, client_1.gql) `
7
6
  fragment VideoFileFields on File {
8
7
  id
@@ -13,7 +12,6 @@ exports.VIDEO_FILE_FIELDS = (0, client_1.gql) `
13
12
  }
14
13
  `;
15
14
  exports.VIDEO_FIELDS = (0, client_1.gql) `
16
- ${picture_1.PICTURE_FIELDS}
17
15
  ${exports.VIDEO_FILE_FIELDS}
18
16
  fragment VideoFields on Video {
19
17
  id
@@ -30,6 +28,13 @@ exports.VIDEO_FIELDS = (0, client_1.gql) `
30
28
  startTime
31
29
  endTime
32
30
  viewsToday
31
+ views
32
+ userViewed
33
+ osceStation {
34
+ id
35
+ name
36
+ hiddenName
37
+ }
33
38
  concepts {
34
39
  id
35
40
  name
@@ -1,5 +1,6 @@
1
1
  import { gql } from '@apollo/client';
2
2
  import { PICTURE_FIELDS } from './picture';
3
+ import { VIDEO_FIELDS } from './video';
3
4
  export const OSCE_STATION_MARK_FIELDS = gql `
4
5
  fragment OsceStationMarkFields on OsceStationMark {
5
6
  id
@@ -18,6 +19,7 @@ export const OSCE_STATION_MARK_FIELDS = gql `
18
19
  export const OSCE_STATION_FIELDS = gql `
19
20
  ${PICTURE_FIELDS}
20
21
  ${OSCE_STATION_MARK_FIELDS}
22
+ ${VIDEO_FIELDS}
21
23
  fragment OsceStationFields on OsceStation {
22
24
  id
23
25
  updatedAt
@@ -60,22 +62,9 @@ export const OSCE_STATION_FIELDS = gql `
60
62
  ...PictureFields
61
63
  }
62
64
  videos {
63
- id
64
- demo
65
- title
66
- status
67
- museId
68
- thumbnail
69
- concepts {
70
- id
71
- name
72
- }
73
- live
74
- description
75
- duration
65
+ ...VideoFields
76
66
  }
77
67
  demo
78
-
79
68
  # user-specific keys
80
69
  # lastOsceMarksheetId
81
70
  # score
@@ -1,5 +1,4 @@
1
1
  import { gql } from '@apollo/client';
2
- import { PICTURE_FIELDS } from './picture';
3
2
  export const VIDEO_FILE_FIELDS = gql `
4
3
  fragment VideoFileFields on File {
5
4
  id
@@ -10,7 +9,6 @@ export const VIDEO_FILE_FIELDS = gql `
10
9
  }
11
10
  `;
12
11
  export const VIDEO_FIELDS = gql `
13
- ${PICTURE_FIELDS}
14
12
  ${VIDEO_FILE_FIELDS}
15
13
  fragment VideoFields on Video {
16
14
  id
@@ -27,6 +25,13 @@ export const VIDEO_FIELDS = gql `
27
25
  startTime
28
26
  endTime
29
27
  viewsToday
28
+ views
29
+ userViewed
30
+ osceStation {
31
+ id
32
+ name
33
+ hiddenName
34
+ }
30
35
  concepts {
31
36
  id
32
37
  name
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.44",
3
+ "version": "2.6.45",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",