aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/user-video-rate.model.ts
diff options
context:
space:
mode:
Diffstat (limited to 'shared/models/user-video-rate.model.ts')
-rw-r--r--shared/models/user-video-rate.model.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/shared/models/user-video-rate.model.ts b/shared/models/user-video-rate.model.ts
index d48774a4b..b770f4073 100644
--- a/shared/models/user-video-rate.model.ts
+++ b/shared/models/user-video-rate.model.ts
@@ -1 +1,7 @@
1export type VideoRateType = 'like' | 'dislike' 1export type VideoRateType = 'like' | 'dislike'
2export type UserVideoRateType = 'like' | 'dislike' | 'none'
3
4export interface UserVideoRate {
5 videoId: string
6 rating: UserVideoRateType
7}