Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "config"

Index

Variables

Const FUNCTIONS_CONFIG

FUNCTIONS_CONFIG: object = process.env.IS_RUNNING_ON_LOCALHOST ? FUNCTIONS_CONFIG_LOCAL : FUNCTIONS_CONFIG_PROD

Current Configs

Type declaration

  • cacheResponses: boolean

    do you want to cache responses?

  • defaultLanguageCode: string

    default language code to redirect; en, tr

  • supportedCultureCodes: string[]

    supported culture codes; ['en', 'tr']

  • supportedLanguageCodes: string[]

    supported language codes; ['en', 'tr']

Object literals

Const FUNCTIONS_CONFIG_LOCAL

FUNCTIONS_CONFIG_LOCAL: object

Local Configs

cacheResponses

cacheResponses: boolean = false

do you want to cache responses?

defaultLanguageCode

defaultLanguageCode: string = "tr"

default language code to redirect; en, tr

supportedCultureCodes

supportedCultureCodes: string[] = ['en-US', 'tr-TR']

supported culture codes; ['en', 'tr']

supportedLanguageCodes

supportedLanguageCodes: string[] = ['en', 'tr']

supported language codes; ['en', 'tr']

Const FUNCTIONS_CONFIG_PROD

FUNCTIONS_CONFIG_PROD: object

Production Configs

cacheResponses

cacheResponses: boolean = true

do you want to cache responses?

defaultLanguageCode

defaultLanguageCode: string = "tr"

default language code to redirect; en, tr

supportedCultureCodes

supportedCultureCodes: string[] = ['en-US', 'tr-TR']

supported culture codes; ['en', 'tr']

supportedLanguageCodes

supportedLanguageCodes: string[] = ['en', 'tr']

supported language codes; ['en', 'tr']

Generated using TypeDoc