diff options
Diffstat (limited to 'server/types/express.d.ts')
-rw-r--r-- | server/types/express.d.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/server/types/express.d.ts b/server/types/express.d.ts index a992a9926..a8aeabb3a 100644 --- a/server/types/express.d.ts +++ b/server/types/express.d.ts | |||
@@ -44,6 +44,7 @@ import { | |||
44 | MVideoShareActor, | 44 | MVideoShareActor, |
45 | MVideoThumbnail | 45 | MVideoThumbnail |
46 | } from './models' | 46 | } from './models' |
47 | import { MRunner, MRunnerJobRunner, MRunnerRegistrationToken } from './models/runners' | ||
47 | import { MVideoSource } from './models/video/video-source' | 48 | import { MVideoSource } from './models/video/video-source' |
48 | 49 | ||
49 | declare module 'express' { | 50 | declare module 'express' { |
@@ -102,6 +103,8 @@ declare module 'express' { | |||
102 | instance?: string | 103 | instance?: string |
103 | 104 | ||
104 | data?: PeerTubeProblemDocumentData | 105 | data?: PeerTubeProblemDocumentData |
106 | |||
107 | tags?: string[] | ||
105 | }) => void | 108 | }) => void |
106 | 109 | ||
107 | locals: { | 110 | locals: { |
@@ -203,6 +206,9 @@ declare module 'express' { | |||
203 | 206 | ||
204 | localViewerFull?: MLocalVideoViewerWithWatchSections | 207 | localViewerFull?: MLocalVideoViewerWithWatchSections |
205 | 208 | ||
209 | runner?: MRunner | ||
210 | runnerRegistrationToken?: MRunnerRegistrationToken | ||
211 | runnerJob?: MRunnerJobRunner | ||
206 | } | 212 | } |
207 | } | 213 | } |
208 | } | 214 | } |