]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - shared/models/user-video-rate.model.ts
Fix test (#71)
[github/Chocobozzz/PeerTube.git] / shared / models / user-video-rate.model.ts
index d48774a4b45ddc91d62efb26bebcd029442393a8..b770f407309e674ed0283486a98831b11207d4ba 100644 (file)
@@ -1 +1,7 @@
 export type VideoRateType = 'like' | 'dislike'
+export type UserVideoRateType = 'like' | 'dislike' | 'none'
+
+export interface UserVideoRate {
+  videoId: string
+  rating: UserVideoRateType
+}