Home / Type/ GetLocaleRelativeUrl Type — astro Architecture

GetLocaleRelativeUrl Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  2c5e9e6a_bc07_a42c_92df_a7569b0ca908["GetLocaleRelativeUrl"]
  8585eccb_1f08_df1e_3383_f4002ac7762a["index.ts"]
  2c5e9e6a_bc07_a42c_92df_a7569b0ca908 -->|defined in| 8585eccb_1f08_df1e_3383_f4002ac7762a
  style 2c5e9e6a_bc07_a42c_92df_a7569b0ca908 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/i18n/index.ts lines 40–50

type GetLocaleRelativeUrl = GetLocaleOptions & {
	locale: string;
	base: string;
	locales: Locales;
	trailingSlash: AstroConfig['trailingSlash'];
	format: NonNullable<AstroConfig['build']['format']>;
	strategy?: RoutingStrategies;
	defaultLocale: string;
	domains: Record<string, string> | undefined;
	path?: string;
};

Frequently Asked Questions

What is the GetLocaleRelativeUrl type?
GetLocaleRelativeUrl is a type/interface in the astro codebase, defined in packages/astro/src/i18n/index.ts.
Where is GetLocaleRelativeUrl defined?
GetLocaleRelativeUrl is defined in packages/astro/src/i18n/index.ts at line 40.

Analyze Your Own Codebase

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

Try Supermodel Free