Home / Type/ SessionData Type — astro Architecture

SessionData Type — astro Architecture

Architecture documentation for the SessionData type/interface in session-env.d.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  ac31a113_6752_ac86_5e99_fe0c20cc4add["SessionData"]
  6c429f76_b25b_132d_17d0_da868101a572["session-env.d.ts"]
  ac31a113_6752_ac86_5e99_fe0c20cc4add -->|defined in| 6c429f76_b25b_132d_17d0_da868101a572
  style ac31a113_6752_ac86_5e99_fe0c20cc4add fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/types/session-env.d.ts lines 2–10

	interface SessionData {
		value: string;
		cart: Array<string>;
		key: { value: 'none' | 'expected' | 'unexpected' };
		user: {
			id: string;
			email: string;
		};
	}

Frequently Asked Questions

What is the SessionData type?
SessionData is a type/interface in the astro codebase, defined in packages/astro/test/types/session-env.d.ts.
Where is SessionData defined?
SessionData is defined in packages/astro/test/types/session-env.d.ts at line 2.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free