1 import { RegisteredPlugin } from '../lib/plugins/plugin-manager'
4 MActorAccountChannelId,
5 MActorFollowActorsDefault,
6 MActorFollowActorsDefaultSubscription,
8 MChannelAccountDefault,
10 MCommentOwnerVideoReply,
17 MVideoRedundancyVideo,
22 import { MVideoPlaylistFull, MVideoPlaylistFullSummary } from './models/video/video-playlist'
23 import { MVideoImportDefault } from '@server/typings/models/video/video-import'
24 import { MAccountBlocklist, MActorUrl, MStreamingPlaylist, MVideoFile, MVideoImmutable } from '@server/typings/models'
25 import { MVideoPlaylistElement, MVideoPlaylistElementVideoUrlPlaylistPrivacy } from '@server/typings/models/video/video-playlist-element'
26 import { MAccountVideoRateAccountVideo } from '@server/typings/models/video/video-rate'
27 import { MVideoChangeOwnershipFull } from './models/video/video-change-ownership'
28 import { MPlugin, MServer } from '@server/typings/models/server'
29 import { MServerBlocklist } from './models/server/server-blocklist'
30 import { MOAuthTokenUser } from '@server/typings/models/oauth/oauth-token'
32 declare module 'express' {
37 videoAll?: MVideoFullLight
38 onlyImmutableVideo?: MVideoImmutable
39 onlyVideo?: MVideoThumbnail
40 onlyVideoWithRights?: MVideoWithRights
41 videoId?: MVideoIdThumbnail
43 videoShare?: MVideoShareActor
45 videoFile?: MVideoFile
47 videoImport?: MVideoImportDefault
49 videoBlacklist?: MVideoBlacklist
51 videoCaption?: MVideoCaptionVideo
53 videoAbuse?: MVideoAbuse
55 videoStreamingPlaylist?: MStreamingPlaylist
57 videoChannel?: MChannelAccountDefault
59 videoPlaylistFull?: MVideoPlaylistFull
60 videoPlaylistSummary?: MVideoPlaylistFullSummary
62 videoPlaylistElement?: MVideoPlaylistElement
63 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
65 accountVideoRate?: MAccountVideoRateAccountVideo
67 videoCommentFull?: MCommentOwnerVideoReply
68 videoCommentThread?: MComment
70 follow?: MActorFollowActorsDefault
71 subscription?: MActorFollowActorsDefaultSubscription
73 nextOwner?: MAccountDefault
74 videoChangeOwnership?: MVideoChangeOwnershipFull
76 account?: MAccountDefault
79 actorFull?: MActorFull
85 videoRedundancy?: MVideoRedundancyVideo
87 accountBlock?: MAccountBlocklist
88 serverBlock?: MServerBlocklist
91 token: MOAuthTokenUser
95 actor: MActorAccountChannelId
98 authenticated?: boolean
100 registeredPlugin?: RegisteredPlugin