1- import type React from 'react' ;
2-
31import { AsideNavigation } from '../../containers/AsideNavigation/AsideNavigation' ;
42import { ErrorBoundaryInner } from '../ErrorBoundary/ErrorBoundary' ;
53import { ShardsTable } from '../ShardsTable/ShardsTable' ;
64import { StaffCard } from '../User/StaffCard' ;
75
86import { AIAssistantButtonPlaceholder , ChatPanelPlaceholder } from './chatPlaceholderTypes' ;
9- import type { AIAssistantButtonProps , ChatPanelProps } from './chatPlaceholderTypes' ;
107import type { ComponentsRegistryTemplate } from './registry' ;
118import { Registry } from './registry' ;
129
@@ -15,13 +12,8 @@ const componentsRegistryInner = new Registry()
1512 . register ( 'AsideNavigation' , AsideNavigation )
1613 . register ( 'ErrorBoundary' , ErrorBoundaryInner )
1714 . register ( 'ShardsTable' , ShardsTable )
18- // Placeholder registrations for chat components
19- // These will be overridden by external implementations
20- . register (
21- 'AIAssistantButton' ,
22- AIAssistantButtonPlaceholder as React . ComponentType < AIAssistantButtonProps > ,
23- )
24- . register ( 'ChatPanel' , ChatPanelPlaceholder as React . ComponentType < ChatPanelProps > ) ;
15+ . register ( 'AIAssistantButton' , AIAssistantButtonPlaceholder )
16+ . register ( 'ChatPanel' , ChatPanelPlaceholder ) ;
2517
2618export type ComponentsRegistry = ComponentsRegistryTemplate < typeof componentsRegistryInner > ;
2719
0 commit comments