From e8f902c05cb35f6d5e9b75a23ddabd51c220a976 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 Jul 2019 16:04:44 +0200 Subject: Use search client scope --- shared/models/plugins/plugin-client-scope.type.ts | 2 +- shared/models/plugins/plugin-package-json.model.ts | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/plugin-client-scope.type.ts b/shared/models/plugins/plugin-client-scope.type.ts index a2112eed7..0c616c5ed 100644 --- a/shared/models/plugins/plugin-client-scope.type.ts +++ b/shared/models/plugins/plugin-client-scope.type.ts @@ -1 +1 @@ -export type PluginClientScope = 'common' | 'video-watch' +export type PluginClientScope = 'common' | 'video-watch' | 'search' diff --git a/shared/models/plugins/plugin-package-json.model.ts b/shared/models/plugins/plugin-package-json.model.ts index f8029ec34..87a48e97f 100644 --- a/shared/models/plugins/plugin-package-json.model.ts +++ b/shared/models/plugins/plugin-package-json.model.ts @@ -1,6 +1,8 @@ +import { PluginClientScope } from './plugin-client-scope.type' + export type ClientScript = { script: string, - scopes: string[] + scopes: PluginClientScope[] } export type PluginPackageJson = { -- cgit v1.2.3