diff options
Diffstat (limited to 'server/typings/plugins')
-rw-r--r-- | server/typings/plugins/register-server-option.model.ts | 5 |
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 | |||
7 | import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' | 7 | import { PluginVideoLicenceManager } from '../../../shared/models/plugins/plugin-video-licence-manager.model' |
8 | import { Logger } from 'winston' | 8 | 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' | ||
11 | import { PluginPlaylistPrivacyManager } from '@shared/models/plugins/plugin-playlist-privacy-manager.model' | ||
10 | 12 | ||
11 | export type PeerTubeHelpers = { | 13 | export 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/... |