interface UserSettings

Returned by GET /api/me/settings, and by a PATCH once applied. The client's useSettings reads it from the session.

Properties

Null until the user picks one, so the instance's default style (GERBEUR_DEFAULT_STYLE) applies, and so a browser's earlier choice can be carried over on first sign-in.

Null until the user picks one, which reads as "auto".

Whether the weekly digest is sent.

Whether the monthly recap is sent.

Usage

import { type UserSettings } from "shared/settings.ts";