Home / Type/ GetParamsAndPropsOptions Type — astro Architecture

GetParamsAndPropsOptions Type — astro Architecture

Architecture documentation for the GetParamsAndPropsOptions type/interface in params-and-props.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  3e87f358_283a_9cd2_88fb_ffb169723cb5["GetParamsAndPropsOptions"]
  2b2f7826_50bd_a387_80cc_9a3b7ef783f7["params-and-props.ts"]
  3e87f358_283a_9cd2_88fb_ffb169723cb5 -->|defined in| 2b2f7826_50bd_a387_80cc_9a3b7ef783f7
  style 3e87f358_283a_9cd2_88fb_ffb169723cb5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/render/params-and-props.ts lines 12–21

interface GetParamsAndPropsOptions {
	mod: ComponentInstance | undefined;
	routeData?: RouteData | undefined;
	routeCache: RouteCache;
	pathname: string;
	logger: Logger;
	serverLike: boolean;
	base: string;
	trailingSlash: AstroConfig['trailingSlash'];
}

Frequently Asked Questions

What is the GetParamsAndPropsOptions type?
GetParamsAndPropsOptions is a type/interface in the astro codebase, defined in packages/astro/src/core/render/params-and-props.ts.
Where is GetParamsAndPropsOptions defined?
GetParamsAndPropsOptions is defined in packages/astro/src/core/render/params-and-props.ts at line 12.

Analyze Your Own Codebase

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

Try Supermodel Free