UNPKG

apollo-mantra

Version:

Tools for integration of apollo with Mantra

17 lines (16 loc) 558 B
/// <reference types="react" /> import * as React from 'react'; import ApolloClient from 'apollo-client'; export interface GlobalOptions { loadingComponent: React.StatelessComponent<any>; authComponent: React.StatelessComponent<any>; LoggingIn: React.StatelessComponent<any>; apolloClient: ApolloClient; contextTypes: Object; store: any; isLoggingIn?(context: any): boolean; userIdSelector?(context: any): string; userRolesSelector?(context: any): string[]; } declare const options: GlobalOptions; export default options;