Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: improve naming
Browse files Browse the repository at this point in the history
urmauur committed Oct 29, 2024
1 parent e9efe04 commit 0133fef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/src/browser/views/UIManager.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
// Define an enum for the component types
export enum UIComponent {
Tab = 'right-panel-tab-component',
RightPanelTabItem = 'right-panel-tab-item-component',
InputChatBox = 'input-chat-box-component',
}

// Define object structures for each component type
interface Tab {
interface TabItem {
name: string
value: string
render?: any
@@ -20,7 +20,7 @@ interface InputChatBox {

// Map each `UIComponent` to a corresponding object type
type TypeObjectMap = {
[UIComponent.Tab]: Tab
[UIComponent.RightPanelTabItem]: TabItem
[UIComponent.InputChatBox]: InputChatBox
}

0 comments on commit 0133fef

Please sign in to comment.