X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftypes%2Fexpress.d.ts;h=7cc13f21d40506b1c7217de3ea64aabd2bdc234c;hb=b003d5751803e737b34dc71ce61e66a0d9d12eb4;hp=1a99b598aabacb6be95983d07e610c81ff5a726c;hpb=3318147300b4f998adf728eb0a5a14a4c1829c51;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/types/express.d.ts b/server/types/express.d.ts index 1a99b598a..7cc13f21d 100644 --- a/server/types/express.d.ts +++ b/server/types/express.d.ts @@ -40,7 +40,7 @@ import { MVideoRedundancyVideo, MVideoShareActor, MVideoThumbnail -} from '../../types/models' +} from './models' import { Writable } from 'stream' declare module 'express' { @@ -60,6 +60,7 @@ declare module 'express' { export type UploadFileForCheck = { originalname: string mimetype: string + size: number } export type UploadFilesForCheck = { @@ -118,6 +119,7 @@ declare module 'express' { videoId?: MVideoId videoLive?: MVideoLive + videoLiveSession?: MVideoLiveSession videoShare?: MVideoShareActor @@ -184,6 +186,8 @@ declare module 'express' { externalAuth?: RegisterServerAuthExternalOptions plugin?: MPlugin + + localViewerFull?: MLocalVideoViewerWithWatchSections } } }