UNPKG

@lagoshny/ngx-hateoas-client

Version:

This client used to develop `Angular 12+` applications working with RESTfulll server API with HAL/JSON response type (supports server implementation by Spring HATEOAS)

23 lines (22 loc) 862 B
import { Injector } from '@angular/core'; import { HateoasConfiguration } from './hateoas-configuration.interface'; import * as i0 from "@angular/core"; /** * This service for configuration library. * * You should inject this service in your main AppModule and pass * configuration using {@link #configure()} method. */ export declare class NgxHateoasClientConfigurationService { private injector; constructor(injector: Injector); private static isCommonRouteConfig; /** * Configure library with client params. * * @param config suitable client properties needed to properly library work */ configure(config: HateoasConfiguration): void; static ɵfac: i0.ɵɵFactoryDeclaration<NgxHateoasClientConfigurationService, never>; static ɵprov: i0.ɵɵInjectableDeclaration<NgxHateoasClientConfigurationService>; }