]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/types/express.d.ts
Add missing player translation
[github/Chocobozzz/PeerTube.git] / server / types / express.d.ts
index 1a99b598aabacb6be95983d07e610c81ff5a726c..7cc13f21d40506b1c7217de3ea64aabd2bdc234c 100644 (file)
@@ -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
     }
   }
 }