1 export enum SelectedComponentType {
2 COMPONENT_INSTANCE = "COMPONENT_INSTANCE",
5 TOPOLOGY_TEMPLATE = "TOPOLOGY_TEMPLATE"
8 export class UpdateSelectedComponentAction {
9 static readonly type = '[COMPOSITION] UpdateSelectedComponent';
11 constructor(public payload: {uniqueId?: string, type?: string}) {
15 export class SetSelectedComponentAction {
16 static readonly type = '[COMPOSITION] SetSelectedComponent';
18 constructor(public payload: {component?: any, type?: SelectedComponentType}) {
22 export class OnSidebarOpenOrCloseAction {
23 static readonly type = '[COMPOSITION] OnSidebarOpenOrCloseAction';
29 export class TogglePanelLoadingAction {
30 static readonly type = '[COMPOSITION] TogglePanelLoading';
31 constructor(public payload: { isLoading: boolean}) {