aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/typings
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-04-20 15:32:11 +0200
committerChocobozzz <me@florianbigard.com>2020-04-20 15:42:27 +0200
commitb3af2601da92a6c0835cb2473b4c7a41a0d86e98 (patch)
treea20984ec2df1c22f235d03909177629892721c54 /server/typings
parent8c7725dc3c01a73bf56a48c8b192d144bfdc3ffe (diff)
downloadPeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.gz
PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.tar.zst
PeerTube-b3af2601da92a6c0835cb2473b4c7a41a0d86e98.zip
Add ability to remove privacies using plugins
Diffstat (limited to 'server/typings')
-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/...