aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/root-helpers/plugins-manager.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/root-helpers/plugins-manager.ts')
-rw-r--r--client/src/root-helpers/plugins-manager.ts7
1 files changed, 4 insertions, 3 deletions
diff --git a/client/src/root-helpers/plugins-manager.ts b/client/src/root-helpers/plugins-manager.ts
index fd7b5233b..e987f16d6 100644
--- a/client/src/root-helpers/plugins-manager.ts
+++ b/client/src/root-helpers/plugins-manager.ts
@@ -3,7 +3,7 @@ import * as debug from 'debug'
3import { firstValueFrom, ReplaySubject } from 'rxjs' 3import { firstValueFrom, ReplaySubject } from 'rxjs'
4import { first, shareReplay } from 'rxjs/operators' 4import { first, shareReplay } from 'rxjs/operators'
5import { RegisterClientHelpers } from 'src/types/register-client-option.model' 5import { RegisterClientHelpers } from 'src/types/register-client-option.model'
6import { getExternalAuthHref, getHookType, internalRunHook } from '@shared/core-utils/plugins/hooks' 6import { getExternalAuthHref, getHookType, internalRunHook } from '@peertube/peertube-core-utils'
7import { 7import {
8 ClientHookName, 8 ClientHookName,
9 clientHookObject, 9 clientHookObject,
@@ -11,13 +11,14 @@ import {
11 HTMLServerConfig, 11 HTMLServerConfig,
12 PluginClientScope, 12 PluginClientScope,
13 PluginType, 13 PluginType,
14 PluginType_Type,
14 RegisterClientFormFieldOptions, 15 RegisterClientFormFieldOptions,
15 RegisterClientHookOptions, 16 RegisterClientHookOptions,
16 RegisterClientRouteOptions, 17 RegisterClientRouteOptions,
17 RegisterClientSettingsScriptOptions, 18 RegisterClientSettingsScriptOptions,
18 RegisterClientVideoFieldOptions, 19 RegisterClientVideoFieldOptions,
19 ServerConfigPlugin 20 ServerConfigPlugin
20} from '@shared/models' 21} from '@peertube/peertube-models'
21import { environment } from '../environments/environment' 22import { environment } from '../environments/environment'
22import { ClientScript } from '../types' 23import { ClientScript } from '../types'
23import { logger } from './logger' 24import { logger } from './logger'
@@ -32,7 +33,7 @@ type Hooks = { [ name: string ]: HookStructValue[] }
32type PluginInfo = { 33type PluginInfo = {
33 plugin: ServerConfigPlugin 34 plugin: ServerConfigPlugin
34 clientScript: ClientScriptJSON 35 clientScript: ClientScriptJSON
35 pluginType: PluginType 36 pluginType: PluginType_Type
36 isTheme: boolean 37 isTheme: boolean
37} 38}
38 39