@quesmed/types-rn 2.6.7 → 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.
package/models/Video.d.ts
CHANGED
|
@@ -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
|
-
|
|
53
|
-
|
|
53
|
+
userId: Id;
|
|
54
|
+
createdAt: number | Date;
|
|
55
|
+
lastViewedAt: number | Date;
|
|
54
56
|
}
|
package/package.json
CHANGED
package/resolvers/query/video.js
CHANGED
|
@@ -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
|