Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
28 lines
1.5 KiB
Plaintext
28 lines
1.5 KiB
Plaintext
import { NodeClient, NodeOptions } from '@sentry/node';
|
|
export * from '@sentry/node';
|
|
export { captureUnderscoreErrorException } from '../common/pages-router-instrumentation/_error';
|
|
export { startSpan, startSpanManual, startInactiveSpan } from '../common/utils/nextSpan';
|
|
/**
|
|
* A passthrough error boundary for the server that doesn't depend on any react. Error boundaries don't catch SSR errors
|
|
* so they should simply be a passthrough.
|
|
*/
|
|
export declare const ErrorBoundary: (props: React.PropsWithChildren<unknown>) => React.ReactNode;
|
|
/**
|
|
* A passthrough redux enhancer for the server that doesn't depend on anything from the `@sentry/react` package.
|
|
*/
|
|
export declare function createReduxEnhancer(): (createStore: unknown) => unknown;
|
|
/**
|
|
* A passthrough error boundary wrapper for the server that doesn't depend on any react. Error boundaries don't catch
|
|
* SSR errors so they should simply be a passthrough.
|
|
*/
|
|
export declare function withErrorBoundary<P extends Record<string, any>>(WrappedComponent: React.ComponentType<P>): React.FC<P>;
|
|
/**
|
|
* Just a passthrough since we're on the server and showing the report dialog on the server doesn't make any sense.
|
|
*/
|
|
export declare function showReportDialog(): void;
|
|
/** Inits the Sentry NextJS SDK on node. */
|
|
export declare function init(options: NodeOptions): NodeClient | undefined;
|
|
export * from '../common';
|
|
export { wrapApiHandlerWithSentry } from '../common/pages-router-instrumentation/wrapApiHandlerWithSentry';
|
|
//# sourceMappingURL=index.d.ts.map
|