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'
32 import { RegisterServerAuthExternalOptions } from '@shared/models/plugins/register-server-auth.model'
34 declare module 'express' {
54 refreshTokenAuthName?: string
56 explicitLogout: boolean
58 videoAll?: MVideoFullLight
59 onlyImmutableVideo?: MVideoImmutable
60 onlyVideo?: MVideoThumbnail
61 onlyVideoWithRights?: MVideoWithRights
62 videoId?: MVideoIdThumbnail
64 videoShare?: MVideoShareActor
66 videoFile?: MVideoFile
68 videoImport?: MVideoImportDefault
70 videoBlacklist?: MVideoBlacklist
72 videoCaption?: MVideoCaptionVideo
74 videoAbuse?: MVideoAbuse
76 videoStreamingPlaylist?: MStreamingPlaylist
78 videoChannel?: MChannelAccountDefault
80 videoPlaylistFull?: MVideoPlaylistFull
81 videoPlaylistSummary?: MVideoPlaylistFullSummary
83 videoPlaylistElement?: MVideoPlaylistElement
84 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
86 accountVideoRate?: MAccountVideoRateAccountVideo
88 videoCommentFull?: MCommentOwnerVideoReply
89 videoCommentThread?: MComment
91 follow?: MActorFollowActorsDefault
92 subscription?: MActorFollowActorsDefaultSubscription
94 nextOwner?: MAccountDefault
95 videoChangeOwnership?: MVideoChangeOwnershipFull
97 account?: MAccountDefault
100 actorFull?: MActorFull
106 videoRedundancy?: MVideoRedundancyVideo
108 accountBlock?: MAccountBlocklist
109 serverBlock?: MServerBlocklist
112 token: MOAuthTokenUser
116 actor: MActorAccountChannelId
119 authenticated?: boolean
121 registeredPlugin?: RegisteredPlugin
123 externalAuth?: RegisterServerAuthExternalOptions