@sentry/ember
Version:
Official Sentry SDK for Ember.js
37 lines (36 loc) • 1.21 kB
TypeScript
import type { BrowserOptions, browserTracingIntegration } from '@sentry/browser';
type BrowserTracingOptions = Parameters<typeof browserTracingIntegration>[0];
export type EmberSentryConfig = {
sentry: BrowserOptions & {
browserTracingOptions?: BrowserTracingOptions;
};
transitionTimeout: number;
/**
* @deprecated This option is no longer used and will be removed in the next major version.
*/
ignoreEmberOnErrorWarning: boolean;
disableInstrumentComponents: boolean;
disablePerformance: boolean;
disablePostTransitionRender: boolean;
disableRunloopPerformance: boolean;
disableInitialLoadInstrumentation: boolean;
enableComponentDefinitions: boolean;
minimumRunloopQueueDuration: number;
minimumComponentRenderDuration: number;
browserTracingOptions: BrowserTracingOptions;
};
export type OwnConfig = {
sentryConfig: EmberSentryConfig;
};
export interface EmberRouterMain {
location: {
getURL?: () => string;
formatURL?: (url: string) => string;
implementation?: string;
rootURL: string;
};
}
export type GlobalConfig = {
__sentryEmberConfig: EmberSentryConfig['sentry'];
};
export {};