aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/pods/remote-video/remote-video-event-request.model.ts
blob: 84df1ca2fdd268ca3341968fdfcb6645debbe621 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes'

export interface RemoteVideoEventData {
  remoteId: string
  eventType: RemoteVideoEventType
  count: number
}

export interface RemoteVideoEventRequest {
  data: RemoteVideoEventData
}