29 lines
578 B
TypeScript
Executable File
29 lines
578 B
TypeScript
Executable File
import { Config, Env } from '../decorators';
|
|
|
|
@Config
|
|
export class SentryConfig {
|
|
/** Sentry DSN (data source name) for the backend. */
|
|
@Env('N8N_SENTRY_DSN')
|
|
backendDsn: string = '';
|
|
|
|
/** Sentry DSN (data source name) for the frontend. */
|
|
@Env('N8N_FRONTEND_SENTRY_DSN')
|
|
frontendDsn: string = '';
|
|
|
|
/**
|
|
* Environment of the n8n instance.
|
|
*
|
|
* @example 'production'
|
|
*/
|
|
@Env('ENVIRONMENT')
|
|
environment: string = '';
|
|
|
|
/**
|
|
* Name of the deployment, e.g. cloud account name.
|
|
*
|
|
* @example 'janober'
|
|
*/
|
|
@Env('DEPLOYMENT_NAME')
|
|
deploymentName: string = '';
|
|
}
|