11 lines
249 B
TypeScript
11 lines
249 B
TypeScript
export type RemoteVideoEventType = 'views' | 'likes' | 'dislikes'
|
|
|
|
export interface RemoteVideoEventData {
|
|
uuid: string
|
|
eventType: RemoteVideoEventType
|
|
count: number
|
|
}
|
|
|
|
export interface RemoteVideoEventRequest {
|
|
data: RemoteVideoEventData
|
|
}
|