AstroAdapterFeatures Type — astro Architecture
Architecture documentation for the AstroAdapterFeatures type/interface in integrations.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 8ad28dd3_6053_b5fe_d21f_9e8f5579400d["AstroAdapterFeatures"] 5a61a076_c3db_01bc_0201_03ec73ca05bb["integrations.ts"] 8ad28dd3_6053_b5fe_d21f_9e8f5579400d -->|defined in| 5a61a076_c3db_01bc_0201_03ec73ca05bb style 8ad28dd3_6053_b5fe_d21f_9e8f5579400d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/types/public/integrations.ts lines 83–102
export interface AstroAdapterFeatures {
/**
* Creates an edge function that will communicate with the Astro middleware
*/
edgeMiddleware: boolean;
/**
* Determine the type of build output the adapter is intended for. Defaults to `server`;
*/
buildOutput?: 'static' | 'server';
/**
* If supported by the adapter and enabled, Astro won't add any `<meta http-equiv>` tags
* in the static pages, instead it will return a mapping in the
* `astro:build:generated` hook, so adapters can consume them and add them inside
* their hosting headers configuration file.
*
* Future features may decide to use this feature to create/add headers for static pages.
*/
staticHeaders?: boolean;
}
Source
Frequently Asked Questions
What is the AstroAdapterFeatures type?
AstroAdapterFeatures is a type/interface in the astro codebase, defined in packages/astro/src/types/public/integrations.ts.
Where is AstroAdapterFeatures defined?
AstroAdapterFeatures is defined in packages/astro/src/types/public/integrations.ts at line 83.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free