Home / Type/ LiveCollectionConfig Type — astro Architecture

LiveCollectionConfig Type — astro Architecture

Architecture documentation for the LiveCollectionConfig type/interface in config.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  9002dcb6_b568_4fce_d987_b1c34e4a048d["LiveCollectionConfig"]
  be7d1eab_916b_90f9_3072_d169ed547abf["config.ts"]
  9002dcb6_b568_4fce_d987_b1c34e4a048d -->|defined in| be7d1eab_916b_90f9_3072_d169ed547abf
  style 9002dcb6_b568_4fce_d987_b1c34e4a048d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/config.ts lines 102–109

export type LiveCollectionConfig<
	L extends LiveLoader,
	S extends BaseSchema | undefined = undefined,
> = {
	type?: 'live';
	schema?: S;
	loader: L;
};

Frequently Asked Questions

What is the LiveCollectionConfig type?
LiveCollectionConfig is a type/interface in the astro codebase, defined in packages/astro/src/content/config.ts.
Where is LiveCollectionConfig defined?
LiveCollectionConfig is defined in packages/astro/src/content/config.ts at line 102.

Analyze Your Own Codebase

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

Try Supermodel Free