type alias SessionData
Since 0.2.0

Arbitrary serializable session payload.

Values must survive JSON.stringify/JSON.parse, because both strategies serialize the payload — a Date comes back as a string, and a Map does not survive at all.

Definition

Record<string, unknown>

Usage

import { type SessionData } from "common/src/index.ts";