mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +02:00
Add like/dislike system for videos
This commit is contained in:
parent
8f90644321
commit
d38b828106
31 changed files with 907 additions and 47 deletions
|
@ -92,7 +92,9 @@ function isCommonVideoAttributesValid (video) {
|
|||
videosValidators.isVideoTagsValid(video.tags) &&
|
||||
videosValidators.isVideoRemoteIdValid(video.remoteId) &&
|
||||
videosValidators.isVideoExtnameValid(video.extname) &&
|
||||
videosValidators.isVideoViewsValid(video.views)
|
||||
videosValidators.isVideoViewsValid(video.views) &&
|
||||
videosValidators.isVideoLikesValid(video.likes) &&
|
||||
videosValidators.isVideoDislikesValid(video.dislikes)
|
||||
}
|
||||
|
||||
function isRequestTypeAddValid (value) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue