X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftypes%2Fexpress.d.ts;h=a992a9926ce87c9ce937804846e78e1b75e765a0;hb=05a60d85997c108d39bcfb14f1ffd4c74f8b1e93;hp=6fea4dac24bffc8a20d3fb6a7167d375c87ef54d;hpb=3f3530c3dbc5339b4cba53710b8568b4ad39152e;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/types/express.d.ts b/server/types/express.d.ts index 6fea4dac2..a992a9926 100644 --- a/server/types/express.d.ts +++ b/server/types/express.d.ts @@ -1,4 +1,5 @@ import { OutgoingHttpHeaders } from 'http' +import { Writable } from 'stream' import { RegisterServerAuthExternalOptions } from '@server/types' import { MAbuseMessage, @@ -8,6 +9,7 @@ import { MActorUrl, MChannelBannerAccountDefault, MChannelSyncChannel, + MRegistration, MStreamingPlaylist, MUserAccountUrl, MVideoChangeOwnershipFull, @@ -15,7 +17,7 @@ import { MVideoFormattableDetails, MVideoId, MVideoImmutable, - MVideoLive, + MVideoLiveFormattable, MVideoPlaylistFull, MVideoPlaylistFullSummary } from '@server/types/models' @@ -42,7 +44,6 @@ import { MVideoShareActor, MVideoThumbnail } from './models' -import { Writable } from 'stream' import { MVideoSource } from './models/video/video-source' declare module 'express' { @@ -123,7 +124,7 @@ declare module 'express' { onlyVideo?: MVideoThumbnail videoId?: MVideoId - videoLive?: MVideoLive + videoLive?: MVideoLiveFormattable videoLiveSession?: MVideoLiveSession videoShare?: MVideoShareActor @@ -171,6 +172,7 @@ declare module 'express' { actorFull?: MActorFull user?: MUserDefault + userRegistration?: MRegistration server?: MServer