PeerTube/shared/models/user-video-rate.model.ts

8 lines
189 B
TypeScript
Raw Normal View History

2017-06-16 10:36:18 +02:00
export type VideoRateType = 'like' | 'dislike'
2017-06-17 11:28:11 +02:00
export type UserVideoRateType = 'like' | 'dislike' | 'none'
export interface UserVideoRate {
videoId: string
rating: UserVideoRateType
}