UNPKG

bitfront-library

Version:

Angular CLI project with components and classes used by other Angular projects of the BIT foundation.

22 lines (21 loc) 842 B
import { Router, Resolve, ActivatedRouteSnapshot } from "@angular/router"; import { Observable } from "rxjs"; import { Domain } from "../data/domain"; import { DomainCachedService } from "../service/domain-cached.service"; import * as i0 from "@angular/core"; export declare class DomainResolve implements Resolve<{ [key: string]: Observable<Domain[]>; }> { private service; private router; constructor(service: DomainCachedService, router: Router); /** * Permite obtener los datos del dominio de tipos de log de la cache de sessión o del servidor si no tuviéramos * los datos en caché */ resolve(route: ActivatedRouteSnapshot): { [key: string]: Observable<Domain[]>; }; static ɵfac: i0.ɵɵFactoryDef<DomainResolve, never>; static ɵprov: i0.ɵɵInjectableDef<DomainResolve>; }