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' {
50 refreshTokenAuthName?: string
52 explicitLogout: boolean
54 videoAll?: MVideoFullLight
55 onlyImmutableVideo?: MVideoImmutable
56 onlyVideo?: MVideoThumbnail
57 onlyVideoWithRights?: MVideoWithRights
58 videoId?: MVideoIdThumbnail
60 videoShare?: MVideoShareActor
62 videoFile?: MVideoFile
64 videoImport?: MVideoImportDefault
66 videoBlacklist?: MVideoBlacklist
68 videoCaption?: MVideoCaptionVideo
70 videoAbuse?: MVideoAbuse
72 videoStreamingPlaylist?: MStreamingPlaylist
74 videoChannel?: MChannelAccountDefault
76 videoPlaylistFull?: MVideoPlaylistFull
77 videoPlaylistSummary?: MVideoPlaylistFullSummary
79 videoPlaylistElement?: MVideoPlaylistElement
80 videoPlaylistElementAP?: MVideoPlaylistElementVideoUrlPlaylistPrivacy
82 accountVideoRate?: MAccountVideoRateAccountVideo
84 videoCommentFull?: MCommentOwnerVideoReply
85 videoCommentThread?: MComment
87 follow?: MActorFollowActorsDefault
88 subscription?: MActorFollowActorsDefaultSubscription
90 nextOwner?: MAccountDefault
91 videoChangeOwnership?: MVideoChangeOwnershipFull
93 account?: MAccountDefault
96 actorFull?: MActorFull
102 videoRedundancy?: MVideoRedundancyVideo
104 accountBlock?: MAccountBlocklist
105 serverBlock?: MServerBlocklist
108 token: MOAuthTokenUser
112 actor: MActorAccountChannelId
115 authenticated?: boolean
117 registeredPlugin?: RegisteredPlugin
119 externalAuth?: RegisterServerAuthExternalOptions