Home / Type/ FindRouteToRewrite Type — astro Architecture

FindRouteToRewrite Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  ae05c6ff_030d_cb6c_4960_0bc485587f08["FindRouteToRewrite"]
  67024343_d7f2_f928_d5b2_367cfa846343["rewrite.ts"]
  ae05c6ff_030d_cb6c_4960_0bc485587f08 -->|defined in| 67024343_d7f2_f928_d5b2_367cfa846343
  style ae05c6ff_030d_cb6c_4960_0bc485587f08 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/routing/rewrite.ts lines 18–26

type FindRouteToRewrite = {
	payload: RewritePayload;
	routes: RouteData[];
	request: Request;
	trailingSlash: AstroConfig['trailingSlash'];
	buildFormat: AstroConfig['build']['format'];
	base: AstroConfig['base'];
	outDir: URL | string;
};

Frequently Asked Questions

What is the FindRouteToRewrite type?
FindRouteToRewrite is a type/interface in the astro codebase, defined in packages/astro/src/core/routing/rewrite.ts.
Where is FindRouteToRewrite defined?
FindRouteToRewrite is defined in packages/astro/src/core/routing/rewrite.ts at line 18.

Analyze Your Own Codebase

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

Try Supermodel Free