From ff1c421194a79babf605aa4bd4d123dae98a2363 Mon Sep 17 00:00:00 2001 From: Corepex Date: Wed, 21 Feb 2024 12:01:05 +0000 Subject: [PATCH] Apply eslint-fixer changes --- assets/js/src/modules/asset/tab/tab.tsx | 2 +- .../interface/IAssetEditorTabManager.ts | 12 ++++++------ .../editor-tab-manager/interface/IEditorTab.ts | 10 +++++----- .../interface/IEditorTabManager.ts | 6 +++--- .../interface/types/IAssetEditorTab.ts | 2 +- .../interface/types/IDocumentEditorTab.ts | 2 +- .../interface/types/IObjectEditorTab.ts | 2 +- 7 files changed, 18 insertions(+), 18 deletions(-) diff --git a/assets/js/src/modules/asset/tab/tab.tsx b/assets/js/src/modules/asset/tab/tab.tsx index 6d18335ef..34304992b 100644 --- a/assets/js/src/modules/asset/tab/tab.tsx +++ b/assets/js/src/modules/asset/tab/tab.tsx @@ -1,5 +1,5 @@ import React from 'react' -import {EditorTabs} from "@Pimcore/modules/asset/editor-tabs/container/editor-tabs"; +import { EditorTabs } from '@Pimcore/modules/asset/editor-tabs/container/editor-tabs' export const Tab = (): React.JSX.Element => { return ( diff --git a/assets/js/src/modules/editor-tab-manager/interface/IAssetEditorTabManager.ts b/assets/js/src/modules/editor-tab-manager/interface/IAssetEditorTabManager.ts index 8c38d860b..35e5cc7d1 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/IAssetEditorTabManager.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/IAssetEditorTabManager.ts @@ -1,9 +1,9 @@ -import {IAssetEditorTab} from "@Pimcore/modules/editor-tab-manager/interface/types/IAssetEditorTab"; -import {IEditorTabManager} from "@Pimcore/modules/editor-tab-manager/interface/IEditorTabManager"; +import { type IAssetEditorTab } from '@Pimcore/modules/editor-tab-manager/interface/types/IAssetEditorTab' +import { type IEditorTabManager } from '@Pimcore/modules/editor-tab-manager/interface/IEditorTabManager' export interface IAssetEditorTabManager extends IEditorTabManager { - tabs: IAssetEditorTab[] - getTabs(): IAssetEditorTab[] - getTab(key: string): IAssetEditorTab | undefined - register(tab: IAssetEditorTab): void + tabs: IAssetEditorTab[] + getTabs: () => IAssetEditorTab[] + getTab: (key: string) => IAssetEditorTab | undefined + register: (tab: IAssetEditorTab) => void } diff --git a/assets/js/src/modules/editor-tab-manager/interface/IEditorTab.ts b/assets/js/src/modules/editor-tab-manager/interface/IEditorTab.ts index 6263bb26a..04a1f1f34 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/IEditorTab.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/IEditorTab.ts @@ -1,8 +1,8 @@ -import type React from "react"; +import type React from 'react' export interface IEditorTab { - key: string - label: string - children: React.JSX.Element - icon: React.JSX.Element + key: string + label: string + children: React.JSX.Element + icon: React.JSX.Element } diff --git a/assets/js/src/modules/editor-tab-manager/interface/IEditorTabManager.ts b/assets/js/src/modules/editor-tab-manager/interface/IEditorTabManager.ts index 519cbda60..601b0b170 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/IEditorTabManager.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/IEditorTabManager.ts @@ -1,6 +1,6 @@ -import {IEditorTab} from "@Pimcore/modules/editor-tab-manager/interface/IEditorTab"; +import { type IEditorTab } from '@Pimcore/modules/editor-tab-manager/interface/IEditorTab' export interface IEditorTabManager { - type: string - tabs: IEditorTab[] + type: string + tabs: IEditorTab[] } diff --git a/assets/js/src/modules/editor-tab-manager/interface/types/IAssetEditorTab.ts b/assets/js/src/modules/editor-tab-manager/interface/types/IAssetEditorTab.ts index ae0bf3767..ba03bb5c6 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/types/IAssetEditorTab.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/types/IAssetEditorTab.ts @@ -1,3 +1,3 @@ -import {IEditorTab} from "@Pimcore/modules/editor-tab-manager/interface/IEditorTab"; +import { type IEditorTab } from '@Pimcore/modules/editor-tab-manager/interface/IEditorTab' export interface IAssetEditorTab extends IEditorTab {} diff --git a/assets/js/src/modules/editor-tab-manager/interface/types/IDocumentEditorTab.ts b/assets/js/src/modules/editor-tab-manager/interface/types/IDocumentEditorTab.ts index 807a1355c..0d4058f5a 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/types/IDocumentEditorTab.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/types/IDocumentEditorTab.ts @@ -1,3 +1,3 @@ -import {IEditorTab} from "@Pimcore/modules/editor-tab-manager/interface/IEditorTab"; +import { type IEditorTab } from '@Pimcore/modules/editor-tab-manager/interface/IEditorTab' export interface IDocumentEditorTab extends IEditorTab {} diff --git a/assets/js/src/modules/editor-tab-manager/interface/types/IObjectEditorTab.ts b/assets/js/src/modules/editor-tab-manager/interface/types/IObjectEditorTab.ts index 35c20dd17..85663cca7 100644 --- a/assets/js/src/modules/editor-tab-manager/interface/types/IObjectEditorTab.ts +++ b/assets/js/src/modules/editor-tab-manager/interface/types/IObjectEditorTab.ts @@ -1,3 +1,3 @@ -import {IEditorTab} from "@Pimcore/modules/editor-tab-manager/interface/IEditorTab"; +import { type IEditorTab } from '@Pimcore/modules/editor-tab-manager/interface/IEditorTab' export interface IObjectEditorTab extends IEditorTab {}