UNPKG

@apollo-orbit/angular

Version:

A fully-featured GraphQL client for Angular with modular state management.

8 lines (7 loc) 506 B
import { EnvironmentProviders } from '@angular/core'; import { ApolloOrbitFeature } from '@apollo-orbit/angular/core'; import { State } from '@apollo-orbit/core'; import { StateFactory } from './types'; export declare function withStates(...states: Array<State | StateFactory>): ApolloOrbitFeature; export declare function provideApolloOrbit(...features: Array<ApolloOrbitFeature>): EnvironmentProviders; export declare function provideStates(...states: Array<State | StateFactory>): EnvironmentProviders;