Home / Type/ AstroAdapter Type — astro Architecture

AstroAdapter Type — astro Architecture

Architecture documentation for the AstroAdapter type/interface in integrations.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  5610bdaa_e7d6_496a_c84c_45728fad86a3["AstroAdapter"]
  5a61a076_c3db_01bc_0201_03ec73ca05bb["integrations.ts"]
  5610bdaa_e7d6_496a_c84c_45728fad86a3 -->|defined in| 5a61a076_c3db_01bc_0201_03ec73ca05bb
  style 5610bdaa_e7d6_496a_c84c_45728fad86a3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/integrations.ts lines 145–159

export type AstroAdapter = {
	name: string;
	previewEntrypoint?: string | URL;
	adapterFeatures?: AstroAdapterFeatures;
	/**
	 * List of features supported by an adapter.
	 *
	 * If the adapter is not able to handle certain configurations, Astro will throw an error.
	 */
	supportedAstroFeatures: AstroAdapterFeatureMap;
	/**
	 * Configuration for Astro's client-side code.
	 */
	client?: AstroAdapterClientConfig;
} & (AdapterLegacyDynamicProperties | AdapterSelfProperties);

Frequently Asked Questions

What is the AstroAdapter type?
AstroAdapter is a type/interface in the astro codebase, defined in packages/astro/src/types/public/integrations.ts.
Where is AstroAdapter defined?
AstroAdapter is defined in packages/astro/src/types/public/integrations.ts at line 145.

Analyze Your Own Codebase

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

Try Supermodel Free