SessionPreviewEvent
Defined in: src/types.ts:433
Payload for the session:preview WebSocket event.
Carries only the assigned preview port (or null when no preview is active).
The UI builds the full URL from window.location + this port so the URL
auto-adapts to Tailscale vs. local-dev access modes.
NOTE: this is live-derived ephemeral state — NOT persisted to the DB.
Properties
Section titled “Properties”id:
string
Defined in: src/types.ts:434
previewPort
Section titled “previewPort”previewPort:
number|null
Defined in: src/types.ts:435