return byActor.url + '/dislikes/' + video.id
}
+function getVideoSharesActivityPubUrl (video: VideoModel) {
+ return video.url + '/announces'
+}
+
+function getVideoCommentsActivityPubUrl (video: VideoModel) {
+ return video.url + '/comments'
+}
+
+function getVideoLikesActivityPubUrl (video: VideoModel) {
+ return video.url + '/likes'
+}
+
+function getVideoDislikesActivityPubUrl (video: VideoModel) {
+ return video.url + '/dislikes'
+}
+
function getActorFollowActivityPubUrl (actorFollow: ActorFollowModel) {
const me = actorFollow.ActorFollower
const following = actorFollow.ActorFollowing
return originalUrl + '/announces/' + byActor.id
}
+function getDeleteActivityPubUrl (originalUrl: string) {
+ return originalUrl + '/delete'
+}
+
function getUpdateActivityPubUrl (originalUrl: string, updatedAt: string) {
return originalUrl + '/updates/' + updatedAt
}
getVideoViewActivityPubUrl,
getVideoLikeActivityPubUrl,
getVideoDislikeActivityPubUrl,
- getVideoCommentActivityPubUrl
+ getVideoCommentActivityPubUrl,
+ getDeleteActivityPubUrl,
+ getVideoSharesActivityPubUrl,
+ getVideoCommentsActivityPubUrl,
+ getVideoLikesActivityPubUrl,
+ getVideoDislikesActivityPubUrl
}