diff options
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/express.ts | 3 | ||||
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts | 6 |
2 files changed, 8 insertions, 1 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 |
diff --git a/server/typings/plugins/register-server-option.model.ts b/server/typings/plugins/register-server-option.model.ts index 0c0993c14..bcabf2fec 100644 --- a/server/typings/plugins/register-server-option.model.ts +++ b/server/typings/plugins/register-server-option.model.ts | |||
@@ -9,7 +9,11 @@ import { Logger } from 'winston' | |||
9 | import { Router } from 'express' | 9 | import { Router } from 'express' |
10 | import { PluginVideoPrivacyManager } from '@shared/models/plugins/plugin-video-privacy-manager.model' | 10 | import { PluginVideoPrivacyManager } from '@shared/models/plugins/plugin-video-privacy-manager.model' |
11 | import { PluginPlaylistPrivacyManager } from '@shared/models/plugins/plugin-playlist-privacy-manager.model' | 11 | import { PluginPlaylistPrivacyManager } from '@shared/models/plugins/plugin-playlist-privacy-manager.model' |
12 | import { RegisterServerAuthPassOptions, RegisterServerAuthExternalOptions, RegisterServerAuthExternalResult } from '@shared/models/plugins/register-server-auth.model' | 12 | import { |
13 | RegisterServerAuthExternalOptions, | ||
14 | RegisterServerAuthExternalResult, | ||
15 | RegisterServerAuthPassOptions | ||
16 | } from '@shared/models/plugins/register-server-auth.model' | ||
13 | 17 | ||
14 | export type PeerTubeHelpers = { | 18 | export type PeerTubeHelpers = { |
15 | logger: Logger | 19 | logger: Logger |