Skip to content

SurfaceContext

type SurfaceContext = "embed" | "dashboard";

Where a surface may be rendered. "embed" = inside another app (hosted inline); "dashboard" = as a standalone widget on the shell-owned home dashboard. A surface declares the contexts it supports; advisory — the data behind the surface stays backend-enforced regardless.