File

projects/core/src/routing/store/routing-state.ts

Index

Properties

Properties

ROUTING_FEATURE
ROUTING_FEATURE: RouterState
Type : RouterState
import { Params } from '@angular/router';
import * as fromNgrxRouter from '@ngrx/router-store';
import { PageContext } from '../models/page-context.model';

export const ROUTING_FEATURE = 'router';

export interface RouterState
  extends fromNgrxRouter.RouterReducerState<ActivatedRouterStateSnapshot> {
  nextState?: ActivatedRouterStateSnapshot;
}

export interface ActivatedRouterStateSnapshot {
  url: string;
  queryParams: Params;
  params: Params;
  context: PageContext;
  cmsRequired: boolean;
  semanticRoute?: string;
}

export interface State {
  [ROUTING_FEATURE]: RouterState;
}

result-matching ""

    No results matching ""