1 | import { ClientOptions, Options } from '@sentry/types';
|
2 | import { NodeTransportOptions } from './transports';
|
3 | export interface BaseNodeOptions {
|
4 | /** Sets an optional server name (device name) */
|
5 | serverName?: string;
|
6 | /** Callback that is executed when a fatal global error occurs. */
|
7 | onFatalError?(error: Error): void;
|
8 | }
|
9 | /**
|
10 | * Configuration options for the Sentry Node SDK
|
11 | * @see @sentry/types Options for more information.
|
12 | */
|
13 | export interface NodeOptions extends Options<NodeTransportOptions>, BaseNodeOptions {
|
14 | }
|
15 | /**
|
16 | * Configuration options for the Sentry Node SDK Client class
|
17 | * @see NodeClient for more information.
|
18 | */
|
19 | export interface NodeClientOptions extends ClientOptions<NodeTransportOptions>, BaseNodeOptions {
|
20 | }
|
21 | //# sourceMappingURL=types.d.ts.map |
\ | No newline at end of file |