diff --git a/packages/editor-ui/src/Interface.ts b/packages/editor-ui/src/Interface.ts index 972ef0cbd8..745e0f11fb 100644 --- a/packages/editor-ui/src/Interface.ts +++ b/packages/editor-ui/src/Interface.ts @@ -428,3 +428,20 @@ export interface ITimeoutHMS { } export type WorkflowTitleStatus = 'EXECUTING' | 'IDLE' | 'ERROR'; + +export type MenuItemType = 'link'; +export type MenuItemPosition = 'top' | 'bottom'; + +export interface IMenuItem { + id: string; + type: MenuItemType; + position: MenuItemPosition; + properties: ILinkMenuItemProperties; +} + +export interface ILinkMenuItemProperties { + title: string; + icon: string; + href: string; + newWindow?: boolean; +} \ No newline at end of file diff --git a/packages/editor-ui/src/components/MainSidebar.vue b/packages/editor-ui/src/components/MainSidebar.vue index 2b6ae3e054..6de1de6c98 100644 --- a/packages/editor-ui/src/components/MainSidebar.vue +++ b/packages/editor-ui/src/components/MainSidebar.vue @@ -21,6 +21,22 @@ + + + + {{ item.properties.title }} + + +