PeerTube/shared/models/pods/remote-video/remote-video-event-request....

12 lines
249 B
TypeScript
Raw Normal View History

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