@quesmed/types 2.6.8 → 2.6.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.
@@ -33,6 +33,7 @@ export interface IVideo {
33
33
  sent24hrPushAt: number | Date | null;
34
34
  viewsToday?: number | null;
35
35
  status?: EUserLearningStatus | null;
36
+ userViewed?: boolean;
36
37
  }
37
38
  export interface IVideoOsceStation {
38
39
  id: Id;
@@ -49,6 +50,7 @@ export interface IVideoConcept {
49
50
  export interface IVideoViews {
50
51
  id: Id;
51
52
  videoId: number;
52
- date: number | Date;
53
- views: number;
53
+ userId: Id;
54
+ createdAt: number | Date;
55
+ lastViewedAt: number | Date;
54
56
  }
@@ -11,6 +11,7 @@ exports.VIDEO = (0, client_1.gql) `
11
11
  museId
12
12
  viewsToday
13
13
  views
14
+ userViewed
14
15
  thumbnail
15
16
  concepts {
16
17
  id
@@ -21,6 +21,7 @@ exports.SAMPLE_VIDEOS = (0, client_1.gql) `
21
21
  thumbnail
22
22
  viewsToday
23
23
  views
24
+ userViewed
24
25
  live
25
26
  description
26
27
  duration
@@ -69,6 +70,7 @@ exports.SAMPLE_VIDEO = (0, client_1.gql) `
69
70
  museId
70
71
  viewsToday
71
72
  views
73
+ userViewed
72
74
  thumbnail
73
75
  concepts {
74
76
  id
@@ -33,6 +33,7 @@ export interface IVideo {
33
33
  sent24hrPushAt: number | Date | null;
34
34
  viewsToday?: number | null;
35
35
  status?: EUserLearningStatus | null;
36
+ userViewed?: boolean;
36
37
  }
37
38
  export interface IVideoOsceStation {
38
39
  id: Id;
@@ -49,6 +50,7 @@ export interface IVideoConcept {
49
50
  export interface IVideoViews {
50
51
  id: Id;
51
52
  videoId: number;
52
- date: number | Date;
53
- views: number;
53
+ userId: Id;
54
+ createdAt: number | Date;
55
+ lastViewedAt: number | Date;
54
56
  }
@@ -8,6 +8,7 @@ export const VIDEO = gql `
8
8
  museId
9
9
  viewsToday
10
10
  views
11
+ userViewed
11
12
  thumbnail
12
13
  concepts {
13
14
  id
@@ -18,6 +18,7 @@ export const SAMPLE_VIDEOS = gql `
18
18
  thumbnail
19
19
  viewsToday
20
20
  views
21
+ userViewed
21
22
  live
22
23
  description
23
24
  duration
@@ -66,6 +67,7 @@ export const SAMPLE_VIDEO = gql `
66
67
  museId
67
68
  viewsToday
68
69
  views
70
+ userViewed
69
71
  thumbnail
70
72
  concepts {
71
73
  id
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@quesmed/types",
3
- "version": "2.6.8",
3
+ "version": "2.6.9",
4
4
  "description": "Typescript types for Quesmed",
5
5
  "keywords": [
6
6
  "quesmed",