Home / Type/ AstroAdapterClientConfig Type — astro Architecture

AstroAdapterClientConfig Type — astro Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/types/public/integrations.ts lines 109–120

export interface AstroAdapterClientConfig {
	/**
	 * Headers to inject into Astro's internal fetch calls (Actions, View Transitions, Server Islands, Prefetch).
	 * Can be an object of headers or a function that returns headers.
	 */
	internalFetchHeaders?: Record<string, string> | (() => Record<string, string>);
	/**
	 * Query parameters to append to all asset URLs (images, stylesheets, scripts, etc.).
	 * Useful for adapters that need to track deployment versions or other metadata.
	 */
	assetQueryParams?: URLSearchParams;
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free