import { OutgoingHttpHeaders } from 'http'
+import { Writable } from 'stream'
import { RegisterServerAuthExternalOptions } from '@server/types'
import {
MAbuseMessage,
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