Home / Type/ CollectionConfig Type — astro Architecture

CollectionConfig Type — astro Architecture

Architecture documentation for the CollectionConfig type/interface in frontmatterHolders.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e0e1e4c3_8763_48a5_bda9_548de122b4da["CollectionConfig"]
  f60cb650_8357_a1b3_0ec1_4fa2349de8ca["frontmatterHolders.ts"]
  e0e1e4c3_8763_48a5_bda9_548de122b4da -->|defined in| f60cb650_8357_a1b3_0ec1_4fa2349de8ca
  style e0e1e4c3_8763_48a5_bda9_548de122b4da fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/language-tools/language-server/src/core/frontmatterHolders.ts lines 17–23

export type CollectionConfig = {
	reload: (folders: { uri: string }[]) => void;
	configs: {
		folder: URI;
		config: CollectionConfigInstance;
	}[];
};

Frequently Asked Questions

What is the CollectionConfig type?
CollectionConfig is a type/interface in the astro codebase, defined in packages/language-tools/language-server/src/core/frontmatterHolders.ts.
Where is CollectionConfig defined?
CollectionConfig is defined in packages/language-tools/language-server/src/core/frontmatterHolders.ts at line 17.

Analyze Your Own Codebase

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

Try Supermodel Free