UNPKG

@spartacus/core

Version:

Spartacus - the core framework

19 lines (18 loc) 611 B
import { Params } from '@angular/router'; import * as fromNgrxRouter from '@ngrx/router-store'; import { PageContext } from '../models/page-context.model'; export declare 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; }