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'
31 import { UserRole } from '@shared/models'
33 declare module 'express' {
49 refreshTokenAuthName?: string
51 explicitLogout: boolean
53 videoAll?: MVideoFullLight
54 onlyImmutableVideo?: MVideoImmutable
55 onlyVideo?: MVideoThumbnail
56 onlyVideoWithRights?: MVideoWithRights
57 videoId?: MVideoIdThumbnail
59 videoShare?: MVideoShareActor
61 videoFile?: MVideoFile
63 videoImport?: MVideoImportDefault
65 videoBlacklist?: MVideoBlacklist
67 videoCaption?: MVideoCaptionVideo
69 videoAbuse?: MVideoAbuse
71 videoStreamingPlaylist?: MStreamingPlaylist
73 videoChannel?: MChannelAccountDefault
75 videoPlaylistFull?: MVideoPlaylistFull
76 videoPlaylistSummary?: MVideoPlaylistFullSummary
78 videoPlaylistElement?: MVideoPlaylistElement
79 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
81 accountVideoRate?: MAccountVideoRateAccountVideo
83 videoCommentFull?: MCommentOwnerVideoReply
84 videoCommentThread?: MComment
86 follow?: MActorFollowActorsDefault
87 subscription?: MActorFollowActorsDefaultSubscription
89 nextOwner?: MAccountDefault
90 videoChangeOwnership?: MVideoChangeOwnershipFull
92 account?: MAccountDefault
95 actorFull?: MActorFull
101 videoRedundancy?: MVideoRedundancyVideo
103 accountBlock?: MAccountBlocklist
104 serverBlock?: MServerBlocklist
107 token: MOAuthTokenUser
111 actor: MActorAccountChannelId
114 authenticated?: boolean
116 registeredPlugin?: RegisteredPlugin