Options
All
  • Public
  • Public/Protected
  • All
Menu

Module bin/read-env-options

Index

Functions

readEnvOptions

  • readEnvOptions(env?: Record<string, undefined | string>): { appId: number; args: never[]; baseUrl: string; host: undefined | string; logFormat: undefined | "json" | "pretty"; logLevel: LogLevel; logLevelInString: boolean; logMessageKey: undefined | string; port: number; privateKey: undefined | string; redisConfig: undefined | string; secret: undefined | string; sentryDsn: undefined | string; webhookPath: undefined | string; webhookProxy: undefined | string }
  • Parameters

    • env: Record<string, undefined | string> = process.env

    Returns { appId: number; args: never[]; baseUrl: string; host: undefined | string; logFormat: undefined | "json" | "pretty"; logLevel: LogLevel; logLevelInString: boolean; logMessageKey: undefined | string; port: number; privateKey: undefined | string; redisConfig: undefined | string; secret: undefined | string; sentryDsn: undefined | string; webhookPath: undefined | string; webhookProxy: undefined | string }

    • appId: number
    • args: never[]
    • baseUrl: string
    • host: undefined | string
    • logFormat: undefined | "json" | "pretty"
    • logLevel: LogLevel
    • logLevelInString: boolean
    • logMessageKey: undefined | string
    • port: number
    • privateKey: undefined | string
    • redisConfig: undefined | string
    • secret: undefined | string
    • sentryDsn: undefined | string
    • webhookPath: undefined | string
    • webhookProxy: undefined | string

Generated using TypeDoc