aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/express.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-23 11:36:50 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-05-04 16:21:39 +0200
commite1c5503114deef954731904695cd40dccfcef555 (patch)
tree72cec4ee691a3362a7d024dc830d215a6b2c800a /server/typings/express.ts
parent8dc8a34ee8428e7657414115d1c137592efa174d (diff)
downloadPeerTube-e1c5503114deef954731904695cd40dccfcef555.tar.gz
PeerTube-e1c5503114deef954731904695cd40dccfcef555.tar.zst
PeerTube-e1c5503114deef954731904695cd40dccfcef555.zip
Support logout and add id and pass tests
Diffstat (limited to 'server/typings/express.ts')
-rw-r--r--server/typings/express.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/server/typings/express.ts b/server/typings/express.ts
index ebccf7f7d..2d12a486a 100644
--- a/server/typings/express.ts
+++ b/server/typings/express.ts
@@ -37,6 +37,7 @@ declare module 'express' {
37 bypassLogin?: { 37 bypassLogin?: {
38 bypass: boolean 38 bypass: boolean
39 pluginName: string 39 pluginName: string
40 authName?: string
40 user: { 41 user: {
41 username: string 42 username: string
42 email: string 43 email: string
@@ -45,6 +46,8 @@ declare module 'express' {
45 } 46 }
46 } 47 }
47 48
49 explicitLogout: boolean
50
48 videoAll?: MVideoFullLight 51 videoAll?: MVideoFullLight
49 onlyImmutableVideo?: MVideoImmutable 52 onlyImmutableVideo?: MVideoImmutable
50 onlyVideo?: MVideoThumbnail 53 onlyVideo?: MVideoThumbnail