Home / Type/ LoadCollectionContext Type — astro Architecture

LoadCollectionContext Type — astro Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/content/loaders/types.ts lines 81–84

export interface LoadCollectionContext<TCollectionFilter = unknown> {
	filter?: TCollectionFilter;
	collection: string;
}

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free