PeerTube_original/shared/models/user-video-rate.model.ts
2017-06-17 11:28:11 +02:00

8 lines
189 B
TypeScript

export type VideoRateType = 'like' | 'dislike'
export type UserVideoRateType = 'like' | 'dislike' | 'none'
export interface UserVideoRate {
videoId: string
rating: UserVideoRateType
}