mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
Co-authored-by: Yiorgis Gozadinos <yiorgis@n8n.io> Co-authored-by: JP van Oosten <jp@n8n.io> Co-authored-by: Giulio Andreini <g.andreini@gmail.com> Co-authored-by: Michael Kret <michael.k@radency.com>
167 lines
3.3 KiB
TypeScript
167 lines
3.3 KiB
TypeScript
import type { FrontendSettings } from '@n8n/api-types';
|
|
|
|
export const defaultSettings: FrontendSettings = {
|
|
inE2ETests: false,
|
|
databaseType: 'sqlite',
|
|
isDocker: false,
|
|
pruning: {
|
|
isEnabled: false,
|
|
maxAge: 0,
|
|
maxCount: 0,
|
|
},
|
|
allowedModules: {},
|
|
communityNodesEnabled: false,
|
|
unverifiedCommunityNodesEnabled: true,
|
|
defaultLocale: '',
|
|
endpointForm: '',
|
|
endpointFormTest: '',
|
|
endpointFormWaiting: '',
|
|
endpointMcp: '',
|
|
endpointMcpTest: '',
|
|
endpointWebhook: '',
|
|
endpointWebhookTest: '',
|
|
endpointWebhookWaiting: '',
|
|
enterprise: {
|
|
sharing: false,
|
|
ldap: false,
|
|
saml: false,
|
|
logStreaming: false,
|
|
debugInEditor: false,
|
|
advancedExecutionFilters: false,
|
|
variables: false,
|
|
sourceControl: false,
|
|
auditLogs: false,
|
|
showNonProdBanner: false,
|
|
workflowHistory: false,
|
|
binaryDataS3: false,
|
|
externalSecrets: false,
|
|
workerView: false,
|
|
advancedPermissions: false,
|
|
apiKeyScopes: false,
|
|
projects: {
|
|
team: {
|
|
limit: 1,
|
|
},
|
|
},
|
|
},
|
|
executionMode: 'regular',
|
|
isMultiMain: false,
|
|
executionTimeout: 0,
|
|
hideUsagePage: false,
|
|
hiringBannerEnabled: false,
|
|
instanceId: '',
|
|
license: { environment: 'development', consumerId: 'unknown' },
|
|
logLevel: 'info',
|
|
maxExecutionTimeout: 0,
|
|
oauthCallbackUrls: { oauth1: '', oauth2: '' },
|
|
personalizationSurveyEnabled: false,
|
|
releaseChannel: 'stable',
|
|
posthog: {
|
|
apiHost: '',
|
|
apiKey: '',
|
|
autocapture: false,
|
|
debug: false,
|
|
disableSessionRecording: false,
|
|
enabled: false,
|
|
},
|
|
publicApi: {
|
|
enabled: false,
|
|
latestVersion: 0,
|
|
path: '',
|
|
swaggerUi: { enabled: false },
|
|
},
|
|
pushBackend: 'websocket',
|
|
saveDataErrorExecution: 'all',
|
|
saveDataSuccessExecution: 'all',
|
|
saveManualExecutions: false,
|
|
saveExecutionProgress: false,
|
|
sso: {
|
|
ldap: { loginEnabled: false, loginLabel: '' },
|
|
saml: { loginEnabled: false, loginLabel: '' },
|
|
},
|
|
telemetry: {
|
|
enabled: false,
|
|
},
|
|
templates: { enabled: false, host: '' },
|
|
timezone: '',
|
|
urlBaseEditor: '',
|
|
urlBaseWebhook: '',
|
|
authCookie: {
|
|
secure: false,
|
|
},
|
|
userManagement: {
|
|
showSetupOnFirstLoad: false,
|
|
smtpSetup: true,
|
|
authenticationMethod: 'email',
|
|
quota: 10,
|
|
},
|
|
versionCli: '',
|
|
nodeJsVersion: '',
|
|
concurrency: -1,
|
|
versionNotifications: {
|
|
enabled: true,
|
|
endpoint: '',
|
|
infoUrl: '',
|
|
},
|
|
workflowCallerPolicyDefaultOption: 'any',
|
|
workflowTagsDisabled: false,
|
|
variables: {
|
|
limit: -1,
|
|
},
|
|
deployment: {
|
|
type: 'default',
|
|
},
|
|
banners: {
|
|
dismissed: [],
|
|
},
|
|
binaryDataMode: 'default',
|
|
previewMode: false,
|
|
mfa: {
|
|
enabled: false,
|
|
},
|
|
askAi: {
|
|
enabled: false,
|
|
},
|
|
workflowHistory: {
|
|
pruneTime: 0,
|
|
licensePruneTime: 0,
|
|
},
|
|
security: {
|
|
blockFileAccessToN8nFiles: false,
|
|
},
|
|
aiAssistant: {
|
|
enabled: false,
|
|
},
|
|
aiCredits: {
|
|
enabled: false,
|
|
credits: 0,
|
|
},
|
|
easyAIWorkflowOnboarded: false,
|
|
partialExecution: {
|
|
version: 1,
|
|
},
|
|
folders: {
|
|
enabled: false,
|
|
},
|
|
insights: {
|
|
enabled: false,
|
|
summary: true,
|
|
dashboard: false,
|
|
dateRanges: [
|
|
{ key: 'day', licensed: true, granularity: 'hour' },
|
|
{ key: 'week', licensed: true, granularity: 'day' },
|
|
{ key: '2weeks', licensed: true, granularity: 'day' },
|
|
{ key: 'month', licensed: false, granularity: 'day' },
|
|
{ key: 'quarter', licensed: false, granularity: 'week' },
|
|
{ key: '6months', licensed: false, granularity: 'week' },
|
|
{ key: 'year', licensed: false, granularity: 'week' },
|
|
],
|
|
},
|
|
logsView: {
|
|
enabled: false,
|
|
},
|
|
evaluation: {
|
|
quota: 0,
|
|
},
|
|
};
|