import { Action } from '@ngrx/store' ; import { MinimalNodeEntity } from '@alfresco/js-api' ; export enum RouterActionTypes { NavigateUrl = 'NAVIGATE_URL' , NavigateRoute = 'NAVIGATE_ROUTE' , NavigateFolder = 'NAVIGATE_FOLDER' , NavigateParentFolder = 'NAVIGATE_PARENT_FOLDER' , NavigateToPreviousPage = 'NAVIGATE_TO_PREVIOUS_PAGE' } export class NavigateUrlAction implements Action { readonly type = RouterActionTypes . NavigateUrl ; constructor ( public payload ) { } } export class NavigateRouteAction implements Action { readonly type = RouterActionTypes . NavigateRoute ; constructor ( public payload ) { } } export class NavigateToFolder implements Action { readonly type = RouterActionTypes . NavigateFolder ; constructor ( public payload ) { } } export class NavigateToParentFolder implements Action { readonly type = RouterActionTypes . NavigateParentFolder ; constructor ( public payload ) { } } export class NavigateToPreviousPage implements Action { readonly type = RouterActionTypes . NavigateToPreviousPage ; constructor ( ) { } }