1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Move to eslint

This commit is contained in:
Chocobozzz 2020-01-31 16:56:52 +01:00
parent a22046d166
commit a15871560f
No known key found for this signature in database
GPG key ID: 583A612D890159BE
390 changed files with 3950 additions and 3615 deletions

View file

@ -15,41 +15,41 @@ export type AcceptResult = {
// Can be filtered by plugins
function isLocalVideoAccepted (object: {
videoBody: VideoCreate,
videoFile: Express.Multer.File & { duration?: number },
videoBody: VideoCreate
videoFile: Express.Multer.File & { duration?: number }
user: UserModel
}): AcceptResult {
return { accepted: true }
}
function isLocalVideoThreadAccepted (_object: {
commentBody: VideoCommentCreate,
video: VideoModel,
commentBody: VideoCommentCreate
video: VideoModel
user: UserModel
}): AcceptResult {
return { accepted: true }
}
function isLocalVideoCommentReplyAccepted (_object: {
commentBody: VideoCommentCreate,
parentComment: VideoCommentModel,
video: VideoModel,
commentBody: VideoCommentCreate
parentComment: VideoCommentModel
video: VideoModel
user: UserModel
}): AcceptResult {
return { accepted: true }
}
function isRemoteVideoAccepted (_object: {
activity: ActivityCreate,
videoAP: VideoTorrentObject,
activity: ActivityCreate
videoAP: VideoTorrentObject
byActor: ActorModel
}): AcceptResult {
return { accepted: true }
}
function isRemoteVideoCommentAccepted (_object: {
activity: ActivityCreate,
commentAP: VideoCommentObject,
activity: ActivityCreate
commentAP: VideoCommentObject
byActor: ActorModel
}): AcceptResult {
return { accepted: true }