Home / Type/ DriverConfig Type — astro Architecture

DriverConfig Type — astro Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/session/types.ts lines 44–49

interface DriverConfig<TDriver extends SessionDriverConfig> extends BaseSessionConfig {
	/** Config object for a session driver */
	driver: TDriver;
	/** @deprecated Pass options to the driver function directly. This will be removed in Astro 7 */
	options?: never;
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free