function getSettings
getSettings(userId: string): UserSettings

Returns the settings of user userId, the defaults if they changed none.

Parameters

userId: string

Return Type

Usage

import { getSettings } from "api/services/settings-service.ts";