aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/express.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-08-09 08:17:16 +0200
committerChocobozzz <me@florianbigard.com>2019-08-09 08:17:16 +0200
commit5224c394b3bbac6ec1543e41fa0ec6db436e84fa (patch)
tree36eaecfe095547aca903a8a43fb6e0b0b01899a9 /server/typings/express.ts
parent511765c9f86fb07d5d856decd9dbf0ec2092f4fe (diff)
downloadPeerTube-5224c394b3bbac6ec1543e41fa0ec6db436e84fa.tar.gz
PeerTube-5224c394b3bbac6ec1543e41fa0ec6db436e84fa.tar.zst
PeerTube-5224c394b3bbac6ec1543e41fa0ec6db436e84fa.zip
Stronger actor association typing in AP functions
Diffstat (limited to 'server/typings/express.ts')
-rw-r--r--server/typings/express.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/typings/express.ts b/server/typings/express.ts
index 3bffc1e9a..f7da55ab0 100644
--- a/server/typings/express.ts
+++ b/server/typings/express.ts
@@ -22,6 +22,7 @@ import { 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' 24import { PluginModel } from '../models/server/plugin'
25import { SignatureActorModel } from './models'
25 26
26declare module 'express' { 27declare module 'express' {
27 28
@@ -75,7 +76,7 @@ declare module 'express' {
75 } 76 }
76 77
77 signature?: { 78 signature?: {
78 actor: ActorModel 79 actor: SignatureActorModel
79 } 80 }
80 81
81 authenticated?: boolean 82 authenticated?: boolean