diff --git a/packages/backend-rs/index.d.ts b/packages/backend-rs/index.d.ts index e3980569e7..f283d39afd 100644 --- a/packages/backend-rs/index.d.ts +++ b/packages/backend-rs/index.d.ts @@ -31,16 +31,23 @@ export function loadEnv(): EnvConfig export interface ServerConfig { url: string port: number - /** host to listen on */ + /** the host address to bind to */ bind?: string disableHsts?: boolean + /** PostgreSQL configurations */ db: DbConfig + /** Redis configurations */ redis: RedisConfig + /** secondary Redis server configurations */ cacheServer?: RedisConfig + /** proxy host used for HTTP requests */ proxy?: string + /** proxy host used for SMTP requests */ proxySmtp?: string + /** hosts to bypass the proxy */ proxyBypassHosts?: Array allowedPrivateNetworks?: Array + /** maximum file size that can be uploaded to the drive (in bytes) */ maxFileSize?: number accessLog?: string clusterLimits?: WorkerConfigInternal @@ -52,8 +59,9 @@ export interface ServerConfig { inboxJobPerSec?: number deliverJobMaxAttempts?: number inboxJobMaxAttempts?: number - /** deprecated */ + /** deprecated in favor of `max_log_level` */ logLevel?: Array + /** verbosity of the server log. `error`, `warn`, `info`, `debug`, or `trace` */ maxLogLevel?: string syslog?: SysLogConfig proxyRemoteFiles?: boolean