aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/pods/remote-video/remote-video-event-request.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/pods/remote-video/remote-video-event-request.model.ts')
-rw-r--r--shared/models/pods/remote-video/remote-video-event-request.model.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/shared/models/pods/remote-video/remote-video-event-request.model.ts b/shared/models/pods/remote-video/remote-video-event-request.model.ts
new file mode 100644
index 000000000..84df1ca2f
--- /dev/null
+++ b/shared/models/pods/remote-video/remote-video-event-request.model.ts
@@ -0,0 +1,11 @@
1export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes'
2
3export interface RemoteVideoEventData {
4 remoteId: string
5 eventType: RemoteVideoEventType
6 count: number
7}
8
9export interface RemoteVideoEventRequest {
10 data: RemoteVideoEventData
11}