Home / Type/ SessionDriver Type — astro Architecture

SessionDriver Type — astro Architecture

Architecture documentation for the SessionDriver type/interface in types.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  548cbcc3_62e1_d5ee_2110_1ad12f2d8f7e["SessionDriver"]
  8a043672_fcb4_880f_4008_7ebf53cfff0a["types.ts"]
  548cbcc3_62e1_d5ee_2110_1ad12f2d8f7e -->|defined in| 8a043672_fcb4_880f_4008_7ebf53cfff0a
  style 548cbcc3_62e1_d5ee_2110_1ad12f2d8f7e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/session/types.ts lines 4–8

export interface SessionDriver {
	removeItem: (key: string) => Promise<void>;
	getItem: (key: string) => Promise<any>;
	setItem: (key: string, value: any) => Promise<void>;
}

Frequently Asked Questions

What is the SessionDriver type?
SessionDriver is a type/interface in the astro codebase, defined in packages/astro/src/core/session/types.ts.
Where is SessionDriver defined?
SessionDriver is defined in packages/astro/src/core/session/types.ts at line 4.

Analyze Your Own Codebase

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

Try Supermodel Free