refactor(core): Make new configs consistent (no-changelog) (#10393)

This commit is contained in:
Iván Ovejero
2024-08-14 11:30:26 +02:00
committed by GitHub
parent e640f1f42c
commit c0811b218a
14 changed files with 40 additions and 40 deletions

View File

@@ -0,0 +1,16 @@
import { Config, Env } from '../decorators';
@Config
export class VersionNotificationsConfig {
/** Whether to request notifications about new n8n versions */
@Env('N8N_VERSION_NOTIFICATIONS_ENABLED')
enabled = true;
/** Endpoint to retrieve n8n version information from */
@Env('N8N_VERSION_NOTIFICATIONS_ENDPOINT')
endpoint = 'https://api.n8n.io/api/versions/';
/** URL for versions panel to page instructing user on how to update n8n instance */
@Env('N8N_VERSION_NOTIFICATIONS_INFO_URL')
infoUrl = 'https://docs.n8n.io/hosting/installation/updating/';
}