Skip to content

Commit

Permalink
Apply eslint-fixer changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Corepex authored and github-actions[bot] committed Feb 21, 2024
1 parent f167d0d commit ff1c421
Show file tree
Hide file tree
Showing 7 changed files with 18 additions and 18 deletions.
2 changes: 1 addition & 1 deletion assets/js/src/modules/asset/tab/tab.tsx
Original file line number Diff line number Diff line change
@@ -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 (
Expand Down
Original file line number Diff line number Diff line change
@@ -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
}
10 changes: 5 additions & 5 deletions assets/js/src/modules/editor-tab-manager/interface/IEditorTab.ts
Original file line number Diff line number Diff line change
@@ -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
}
Original file line number Diff line number Diff line change
@@ -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[]
}
Original file line number Diff line number Diff line change
@@ -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 {}
Original file line number Diff line number Diff line change
@@ -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 {}
Original file line number Diff line number Diff line change
@@ -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 {}

0 comments on commit ff1c421

Please sign in to comment.