apollo-link-sentry
Version:
[Apollo Link](https://www.apollographql.com/docs/react/api/link/introduction) to enrich [Sentry](https://sentry.io) events with [GraphQL](https://graphql.org) data
9 lines (8 loc) • 396 B
TypeScript
import { ApolloLink, FetchResult, NextLink, Operation } from '@apollo/client/core';
import { Observable } from 'zen-observable-ts';
import { SentryLinkOptions } from './options';
export declare class SentryLink extends ApolloLink {
private readonly options;
constructor(options?: SentryLinkOptions);
request(operation: Operation, forward: NextLink): Observable<FetchResult> | null;
}