aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/express.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings/express.ts')
-rw-r--r--server/typings/express.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/server/typings/express.ts b/server/typings/express.ts
index aec10b606..3bffc1e9a 100644
--- a/server/typings/express.ts
+++ b/server/typings/express.ts
@@ -21,10 +21,10 @@ import { VideoBlacklistModel } from '../models/video/video-blacklist'
21import { VideoCaptionModel } from '../models/video/video-caption' 21import { VideoCaptionModel } from '../models/video/video-caption'
22import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist' 22import { VideoStreamingPlaylistModel } from '../models/video/video-streaming-playlist'
23import { RegisteredPlugin } from '../lib/plugins/plugin-manager' 23import { RegisteredPlugin } from '../lib/plugins/plugin-manager'
24import { PluginModel } from '../models/server/plugin'
24 25
25declare module 'express' { 26declare module 'express' {
26 27
27
28 interface Response { 28 interface Response {
29 locals: { 29 locals: {
30 video?: VideoModel 30 video?: VideoModel
@@ -81,6 +81,8 @@ declare module 'express' {
81 authenticated?: boolean 81 authenticated?: boolean
82 82
83 registeredPlugin?: RegisteredPlugin 83 registeredPlugin?: RegisteredPlugin
84
85 plugin?: PluginModel
84 } 86 }
85 } 87 }
86} 88}