Home / Type/ LoadEntryContext Type — astro Architecture

LoadEntryContext Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  c0da61ea_405b_b0ce_3a7d_ad1e444b54ca["LoadEntryContext"]
  a146b99b_6ede_06f0_3c83_b19531b5f76a["types.ts"]
  c0da61ea_405b_b0ce_3a7d_ad1e444b54ca -->|defined in| a146b99b_6ede_06f0_3c83_b19531b5f76a
  style c0da61ea_405b_b0ce_3a7d_ad1e444b54ca fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/loaders/types.ts lines 76–79

export interface LoadEntryContext<TEntryFilter = never> {
	filter: TEntryFilter extends never ? { id: string } : TEntryFilter;
	collection: string;
}

Frequently Asked Questions

What is the LoadEntryContext type?
LoadEntryContext is a type/interface in the astro codebase, defined in packages/astro/src/content/loaders/types.ts.
Where is LoadEntryContext defined?
LoadEntryContext is defined in packages/astro/src/content/loaders/types.ts at line 76.

Analyze Your Own Codebase

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

Try Supermodel Free