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:
parent
a22046d166
commit
a15871560f
390 changed files with 3950 additions and 3615 deletions
|
@ -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 }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue