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 explicitLogout: boolean
51 videoAll?: MVideoFullLight
52 onlyImmutableVideo?: MVideoImmutable
53 onlyVideo?: MVideoThumbnail
54 onlyVideoWithRights?: MVideoWithRights
55 videoId?: MVideoIdThumbnail
57 videoShare?: MVideoShareActor
59 videoFile?: MVideoFile
61 videoImport?: MVideoImportDefault
63 videoBlacklist?: MVideoBlacklist
65 videoCaption?: MVideoCaptionVideo
67 videoAbuse?: MVideoAbuse
69 videoStreamingPlaylist?: MStreamingPlaylist
71 videoChannel?: MChannelAccountDefault
73 videoPlaylistFull?: MVideoPlaylistFull
74 videoPlaylistSummary?: MVideoPlaylistFullSummary
76 videoPlaylistElement?: MVideoPlaylistElement
77 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
79 accountVideoRate?: MAccountVideoRateAccountVideo
81 videoCommentFull?: MCommentOwnerVideoReply
82 videoCommentThread?: MComment
84 follow?: MActorFollowActorsDefault
85 subscription?: MActorFollowActorsDefaultSubscription
87 nextOwner?: MAccountDefault
88 videoChangeOwnership?: MVideoChangeOwnershipFull
90 account?: MAccountDefault
93 actorFull?: MActorFull
99 videoRedundancy?: MVideoRedundancyVideo
101 accountBlock?: MAccountBlocklist
102 serverBlock?: MServerBlocklist
105 token: MOAuthTokenUser
109 actor: MActorAccountChannelId
112 authenticated?: boolean
114 registeredPlugin?: RegisteredPlugin