diff options
Diffstat (limited to 'client/src/root-helpers/plugins-manager.ts')
-rw-r--r-- | client/src/root-helpers/plugins-manager.ts | 7 |
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' | |||
3 | import { firstValueFrom, ReplaySubject } from 'rxjs' | 3 | import { firstValueFrom, ReplaySubject } from 'rxjs' |
4 | import { first, shareReplay } from 'rxjs/operators' | 4 | import { first, shareReplay } from 'rxjs/operators' |
5 | import { RegisterClientHelpers } from 'src/types/register-client-option.model' | 5 | import { RegisterClientHelpers } from 'src/types/register-client-option.model' |
6 | import { getExternalAuthHref, getHookType, internalRunHook } from '@shared/core-utils/plugins/hooks' | 6 | import { getExternalAuthHref, getHookType, internalRunHook } from '@peertube/peertube-core-utils' |
7 | import { | 7 | import { |
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' |
21 | import { environment } from '../environments/environment' | 22 | import { environment } from '../environments/environment' |
22 | import { ClientScript } from '../types' | 23 | import { ClientScript } from '../types' |
23 | import { logger } from './logger' | 24 | import { logger } from './logger' |
@@ -32,7 +33,7 @@ type Hooks = { [ name: string ]: HookStructValue[] } | |||
32 | type PluginInfo = { | 33 | type 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 | ||