@quesmed/types 1.5.7 → 1.5.9

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.
@@ -2,6 +2,7 @@ import { EDifficultyType } from './Difficulty';
2
2
  import { IOsceActorPicture, IOsceCandidatePicture, IOsceExaminerPicture, IOsceWalkthroughPicture } from './Picture';
3
3
  import { ITopic } from './Topic';
4
4
  import { Id } from './Type';
5
+ import { IVideo } from './Video';
5
6
  export interface IOsceType {
6
7
  id: Id;
7
8
  name: string;
@@ -40,6 +41,7 @@ export interface IOsceStation {
40
41
  actorPictures?: IOsceActorPicture[];
41
42
  examinerPictures?: IOsceExaminerPicture[];
42
43
  walkthroughPictures?: IOsceWalkthroughPicture[];
44
+ videos?: IVideo[];
43
45
  }
44
46
  export interface IOsceStationItem extends IOsceStation {
45
47
  lastOsceMarksheetId: Id;
package/models/Video.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { IConcept } from './Concept';
2
2
  import { IFile } from './File';
3
+ import { IOsceStation } from './OsceStation';
3
4
  import { Id } from './Type';
4
5
  export interface IVideo {
5
6
  id: Id;
@@ -15,6 +16,7 @@ export interface IVideo {
15
16
  description: string;
16
17
  duration: number;
17
18
  concepts: IConcept[];
19
+ osceStation: IOsceStation;
18
20
  files: IFile[];
19
21
  send1hrPushAt: number | Date | null;
20
22
  sent1hrPushAt: number | Date | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "1.5.7",
3
+ "version": "1.5.9",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "main": "index.js",
6
6
  "module": "index.mjs",
@@ -48,6 +48,18 @@ exports.OSCE_STATION_FIELDS = (0, client_1.gql) `
48
48
  walkthroughPictures {
49
49
  ...OscePictureFields
50
50
  }
51
+ videos {
52
+ id
53
+ title
54
+ museId
55
+ thumbnail
56
+ concepts {
57
+ name
58
+ }
59
+ live
60
+ description
61
+ duration
62
+ }
51
63
 
52
64
  # user-specific keys
53
65
  # lastOsceMarksheetId
@@ -45,6 +45,18 @@ export const OSCE_STATION_FIELDS = gql `
45
45
  walkthroughPictures {
46
46
  ...OscePictureFields
47
47
  }
48
+ videos {
49
+ id
50
+ title
51
+ museId
52
+ thumbnail
53
+ concepts {
54
+ name
55
+ }
56
+ live
57
+ description
58
+ duration
59
+ }
48
60
 
49
61
  # user-specific keys
50
62
  # lastOsceMarksheetId
@@ -4,7 +4,7 @@ export interface IVideoVar {
4
4
  }
5
5
  export declare type IVideoData = IVideo;
6
6
  export interface IVideosVar {
7
- filter: 'new' | 'popular' | 'personal' | 'live';
7
+ filter: 'new' | 'popular' | 'personal' | 'live' | 'osce';
8
8
  limit: number;
9
9
  }
10
10
  export declare type IVideosData = IVideo[];