diff options
Diffstat (limited to 'server/typings')
-rw-r--r-- | server/typings/express.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/typings/express.ts b/server/typings/express.ts index e6e120403..5973496f1 100644 --- a/server/typings/express.ts +++ b/server/typings/express.ts | |||
@@ -29,6 +29,7 @@ import { MPlugin, MServer } from '@server/typings/models/server' | |||
29 | import { MServerBlocklist } from './models/server/server-blocklist' | 29 | import { MServerBlocklist } from './models/server/server-blocklist' |
30 | import { MOAuthTokenUser } from '@server/typings/models/oauth/oauth-token' | 30 | import { MOAuthTokenUser } from '@server/typings/models/oauth/oauth-token' |
31 | import { UserRole } from '@shared/models' | 31 | import { UserRole } from '@shared/models' |
32 | import { RegisterServerAuthExternalOptions } from '@shared/models/plugins/register-server-auth.model' | ||
32 | 33 | ||
33 | declare module 'express' { | 34 | declare module 'express' { |
34 | interface Response { | 35 | interface Response { |
@@ -115,6 +116,8 @@ declare module 'express' { | |||
115 | 116 | ||
116 | registeredPlugin?: RegisteredPlugin | 117 | registeredPlugin?: RegisteredPlugin |
117 | 118 | ||
119 | externalAuth?: RegisterServerAuthExternalOptions | ||
120 | |||
118 | plugin?: MPlugin | 121 | plugin?: MPlugin |
119 | } | 122 | } |
120 | } | 123 | } |