Skip to content

Commit

Permalink
fix type errors in src/__tests__/server/endpoints/settings.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
netroy committed Mar 15, 2024
1 parent e914eb2 commit 733e278
Showing 1 changed file with 18 additions and 2 deletions.
20 changes: 18 additions & 2 deletions packages/editor-ui/src/__tests__/server/endpoints/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ const defaultSettings: IN8nUISettings = {
auditLogs: false,
showNonProdBanner: false,
workflowHistory: false,
debugInEditor: false,
binaryDataS3: false,
externalSecrets: false,
workerView: false,
advancedPermissions: false,
},
expressions: {
evaluator: 'tournament',
Expand Down Expand Up @@ -55,7 +55,6 @@ const defaultSettings: IN8nUISettings = {
},
publicApi: { enabled: false, latestVersion: 0, path: '', swaggerUi: { enabled: false } },
pushBackend: 'websocket',
releaseChannel: 'stable',
saveDataErrorExecution: 'DEFAULT',
saveDataSuccessExecution: 'DEFAULT',
saveManualExecutions: false,
Expand All @@ -70,10 +69,14 @@ const defaultSettings: IN8nUISettings = {
timezone: '',
urlBaseEditor: '',
urlBaseWebhook: '',
authCookie: {
secure: false,
},
userManagement: {
showSetupOnFirstLoad: false,
smtpSetup: true,
authenticationMethod: 'email',
quota: 10,
},
versionCli: '',
versionNotifications: {
Expand All @@ -93,6 +96,19 @@ const defaultSettings: IN8nUISettings = {
dismissed: [],
},
binaryDataMode: 'default',
previewMode: false,
mfa: {
enabled: false,
},
ai: {
enabled: false,
provider: '',
errorDebugging: false,
},
workflowHistory: {
pruneTime: 0,
licensePruneTime: 0,
},
};

export function routesForSettings(server: Server) {
Expand Down

0 comments on commit 733e278

Please sign in to comment.