UNPKG

@o3r/routing

Version:

This module helps you to configure an Otter application's routing (POST parameter management, preloading strategy, guard recommendation).

16 lines 1.08 kB
import { InjectionToken, ModuleWithProviders } from '@angular/core'; import { Action, ActionReducer } from '@ngrx/store'; import { RoutingGuardState } from './routing-guard.state'; import * as i0 from "@angular/core"; import * as i1 from "@ngrx/store"; /** Token of the RoutingGuard reducer */ export declare const ROUTING_GUARD_REDUCER_TOKEN: InjectionToken<ActionReducer<RoutingGuardState, Action<string>>>; /** Provide default reducer for RoutingGuard store */ export declare function getDefaultRoutingGuardReducer(): ActionReducer<RoutingGuardState, Action<string>>; export declare class RoutingGuardStoreModule { static forRoot<T extends RoutingGuardState>(reducerFactory: () => ActionReducer<T, Action>): ModuleWithProviders<RoutingGuardStoreModule>; static ɵfac: i0.ɵɵFactoryDeclaration<RoutingGuardStoreModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<RoutingGuardStoreModule, never, [typeof i1.StoreFeatureModule], never>; static ɵinj: i0.ɵɵInjectorDeclaration<RoutingGuardStoreModule>; } //# sourceMappingURL=routing-guard.module.d.ts.map