Skip to main content

Type Alias: ConfigValue

type ConfigValue =
| boolean
| null
| number
| string
| string[];

Defined in: shared/types/configTypes.ts:146

Union type representing all possible configuration values.

Remarksโ€‹

Configuration values are stored as strings in the database but can represent:

  • Strings: theme names, language codes, etc.
  • Numbers: history limits, timeouts, etc. (stored as string representations)
  • Booleans: feature flags, etc. (stored as "true"/"false")
  • Arrays: stored as JSON strings