Home / Type/ CreateRedirectsFromAstroRoutesParams Type — astro Architecture

CreateRedirectsFromAstroRoutesParams Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  6648f4cd_1e6e_1422_c34a_021e5c862777["CreateRedirectsFromAstroRoutesParams"]
  3303a596_77e9_a4f6_1515_7ec93bef6e53["astro.ts"]
  6648f4cd_1e6e_1422_c34a_021e5c862777 -->|defined in| 3303a596_77e9_a4f6_1515_7ec93bef6e53
  style 6648f4cd_1e6e_1422_c34a_021e5c862777 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/underscore-redirects/src/astro.ts lines 19–28

interface CreateRedirectsFromAstroRoutesParams {
	config: Pick<AstroConfig, 'build' | 'output' | 'base'>;
	/**
	 * Maps a `RouteData` to a dynamic target
	 */
	routeToDynamicTargetMap: Map<IntegrationResolvedRoute, string>;
	dir: URL;
	buildOutput: 'static' | 'server';
	assets: HookParameters<'astro:build:done'>['assets'];
}

Frequently Asked Questions

What is the CreateRedirectsFromAstroRoutesParams type?
CreateRedirectsFromAstroRoutesParams is a type/interface in the astro codebase, defined in packages/underscore-redirects/src/astro.ts.
Where is CreateRedirectsFromAstroRoutesParams defined?
CreateRedirectsFromAstroRoutesParams is defined in packages/underscore-redirects/src/astro.ts at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free