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, MStreamingPlaylist, MVideoFile } 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 onlyVideo?: MVideoThumbnail
39 onlyVideoWithRights?: MVideoWithRights
40 videoId?: MVideoIdThumbnail
42 videoShare?: MVideoShareActor
44 videoFile?: MVideoFile
46 videoImport?: MVideoImportDefault
48 videoBlacklist?: MVideoBlacklist
50 videoCaption?: MVideoCaptionVideo
52 videoAbuse?: MVideoAbuse
54 videoStreamingPlaylist?: MStreamingPlaylist
56 videoChannel?: MChannelAccountDefault
58 videoPlaylistFull?: MVideoPlaylistFull
59 videoPlaylistSummary?: MVideoPlaylistFullSummary
61 videoPlaylistElement?: MVideoPlaylistElement
62 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
64 accountVideoRate?: MAccountVideoRateAccountVideo
66 videoCommentFull?: MCommentOwnerVideoReply
67 videoCommentThread?: MComment
69 follow?: MActorFollowActorsDefault
70 subscription?: MActorFollowActorsDefaultSubscription
72 nextOwner?: MAccountDefault
73 videoChangeOwnership?: MVideoChangeOwnershipFull
75 account?: MAccountDefault
77 actorFull?: MActorFull
83 videoRedundancy?: MVideoRedundancyVideo
85 accountBlock?: MAccountBlocklist
86 serverBlock?: MServerBlocklist
89 token: MOAuthTokenUser
93 actor: MActorAccountChannelId
96 authenticated?: boolean
98 registeredPlugin?: RegisteredPlugin