Setting JSON Example

A flexible setting record for preferences and feature flags.

Example

{
  "key": "theme",
  "value": "dark",
  "type": "string",
  "updatedAt": "2026-08-15T08:00:00Z"
}

Explanation

Store type explicitly when values can be strings, numbers or booleans.