-
import { OutgoingHttpHeaders } from 'http'
+import { Writable } from 'stream'
import { RegisterServerAuthExternalOptions } from '@server/types'
import {
MAbuseMessage,
MActorUrl,
MChannelBannerAccountDefault,
MChannelSyncChannel,
+ MRegistration,
MStreamingPlaylist,
MUserAccountUrl,
MVideoChangeOwnershipFull,
MVideoFormattableDetails,
MVideoId,
MVideoImmutable,
- MVideoLive,
+ MVideoLiveFormattable,
MVideoPlaylistFull,
MVideoPlaylistFullSummary
} from '@server/types/models'
MVideoShareActor,
MVideoThumbnail
} from './models'
-import { Writable } from 'stream'
import { MVideoSource } from './models/video/video-source'
declare module 'express' {
onlyVideo?: MVideoThumbnail
videoId?: MVideoId
- videoLive?: MVideoLive
+ videoLive?: MVideoLiveFormattable
videoLiveSession?: MVideoLiveSession
videoShare?: MVideoShareActor
actorFull?: MActorFull
user?: MUserDefault
+ userRegistration?: MRegistration
server?: MServer