From c7cdac440970525d78d257a055899c26f6899a82 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 24 Dec 2021 10:40:51 +0100 Subject: Fix type conflict --- shared/models/plugins/plugin-package-json.model.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'shared/models/plugins') diff --git a/shared/models/plugins/plugin-package-json.model.ts b/shared/models/plugins/plugin-package-json.model.ts index b2f92af80..7ce968ff2 100644 --- a/shared/models/plugins/plugin-package-json.model.ts +++ b/shared/models/plugins/plugin-package-json.model.ts @@ -1,15 +1,15 @@ import { PluginClientScope } from './client/plugin-client-scope.type' -export type PluginTranslationPaths = { +export type PluginTranslationPathsJSON = { [ locale: string ]: string } -export type ClientScript = { +export type ClientScriptJSON = { script: string scopes: PluginClientScope[] } -export type PluginPackageJson = { +export type PluginPackageJSON = { name: string version: string description: string @@ -23,7 +23,7 @@ export type PluginPackageJson = { staticDirs: { [ name: string ]: string } css: string[] - clientScripts: ClientScript[] + clientScripts: ClientScriptJSON[] - translations: PluginTranslationPaths + translations: PluginTranslationPathsJSON } -- cgit v1.2.3