diff options
Diffstat (limited to 'shared/models/user-video-rate.model.ts')
-rw-r--r-- | shared/models/user-video-rate.model.ts | 6 |
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 @@ | |||
1 | export type VideoRateType = 'like' | 'dislike' | 1 | export type VideoRateType = 'like' | 'dislike' |
2 | export type UserVideoRateType = 'like' | 'dislike' | 'none' | ||
3 | |||
4 | export interface UserVideoRate { | ||
5 | videoId: string | ||
6 | rating: UserVideoRateType | ||
7 | } | ||