aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'server/typings/plugins')
-rw-r--r--server/typings/plugins/register-server-option.model.ts5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/typings/plugins/register-server-option.model.ts b/server/typings/plugins/register-server-option.model.ts
index 3d6217d1b..813e93003 100644
--- a/server/typings/plugins/register-server-option.model.ts
+++ b/server/typings/plugins/register-server-option.model.ts
@@ -7,6 +7,8 @@ import { PluginVideoLanguageManager } from '../../../shared/models/plugins/plugi
7import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' 7import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model'
8import { Logger } from 'winston' 8import { Logger } from 'winston'
9import { Router } from 'express' 9import { Router } from 'express'
10import { PluginVideoPrivacyManager } from '@shared/models/plugins/plugin-video-privacy-manager.model'
11import { PluginPlaylistPrivacyManager } from '@shared/models/plugins/plugin-playlist-privacy-manager.model'
10 12
11export type PeerTubeHelpers = { 13export type PeerTubeHelpers = {
12 logger: Logger 14 logger: Logger
@@ -33,6 +35,9 @@ export type RegisterServerOptions = {
33 videoLanguageManager: PluginVideoLanguageManager 35 videoLanguageManager: PluginVideoLanguageManager
34 videoLicenceManager: PluginVideoLicenceManager 36 videoLicenceManager: PluginVideoLicenceManager
35 37
38 videoPrivacyManager: PluginVideoPrivacyManager
39 playlistPrivacyManager: PluginPlaylistPrivacyManager
40
36 // Get plugin router to create custom routes 41 // Get plugin router to create custom routes
37 // Base routes of this router are 42 // Base routes of this router are
38 // * /plugins/:pluginName/:pluginVersion/router/... 43 // * /plugins/:pluginName/:pluginVersion/router/...