Home / Type/ UnstorageConfig Type — astro Architecture

UnstorageConfig Type — astro Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/core/session/types.ts lines 51–67

interface UnstorageConfig<
	TDriver extends keyof BuiltinDriverOptions | undefined,
	TOptions = TDriver extends keyof BuiltinDriverOptions
		? NoInfer<BuiltinDriverOptions[TDriver]>
		: undefined,
> extends BaseSessionConfig {
	/**
	 * Entrypoint for an unstorage session driver
	 * @deprecated Use `import { sessionDrivers } from 'astro/config'` instead. This will be removed in Astro 7
	 */
	driver?: TDriver;
	/**
	 * Options for the unstorage driver
	 * @deprecated Use `import { sessionDrivers } from 'astro/config'` instead. This will be removed in Astro 7
	 */
	options?: TOptions;
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free