aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings')
-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 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'
29import { MServerBlocklist } from './models/server/server-blocklist' 29import { MServerBlocklist } from './models/server/server-blocklist'
30import { MOAuthTokenUser } from '@server/typings/models/oauth/oauth-token' 30import { MOAuthTokenUser } from '@server/typings/models/oauth/oauth-token'
31import { UserRole } from '@shared/models' 31import { UserRole } from '@shared/models'
32import { RegisterServerAuthExternalOptions } from '@shared/models/plugins/register-server-auth.model'
32 33
33declare module 'express' { 34declare 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 }