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

8 lines
189 B
TypeScript

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