]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/typings/express.ts
Update translations and support Greek language
[github/Chocobozzz/PeerTube.git] / server / typings / express.ts
index aec10b6065fa9f8e68a69e4f18cafdb3ad7fe94d..3bffc1e9a589631190c157ce11c22249f99de023 100644 (file)
@@ -21,10 +21,10 @@ import { VideoBlacklistModel } from '../models/video/video-blacklist'
 import { VideoCaptionModel } from '../models/video/video-caption'
 import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist'
 import { RegisteredPlugin } from '../lib/plugins/plugin-manager'
+import { PluginModel } from '../models/server/plugin'
 
 declare module 'express' {
 
-
   interface Response {
     locals: {
       video?: VideoModel
@@ -81,6 +81,8 @@ declare module 'express' {
       authenticated?: boolean
 
       registeredPlugin?: RegisteredPlugin
+
+      plugin?: PluginModel
     }
   }
 }