UNPKG

@apollo-orbit/angular

Version:

A full-featured GraphQL client for Angular

22 lines (17 loc) 676 B
import { HttpClient } from '@angular/common/http'; import { HttpLink } from '@apollo/client/link/http'; import * as i0 from '@angular/core'; import { Provider } from '@angular/core'; declare class HttpLinkFactory { private readonly httpClient; constructor(httpClient: HttpClient); create(options?: HttpLink.Options): HttpLink; static ɵfac: i0.ɵɵFactoryDeclaration<HttpLinkFactory, never>; static ɵprov: i0.ɵɵInjectableDeclaration<HttpLinkFactory>; } interface ApolloOrbitFeature { kind: `APOLLO_ORBIT_${string}`; providers: Array<Provider>; } declare function withHttpLink(): ApolloOrbitFeature; export { HttpLinkFactory, withHttpLink };