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

8 lines
189 B
TypeScript
Raw Normal View History

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