ContentCollectionConfig Type — astro Architecture
Architecture documentation for the ContentCollectionConfig type/interface in config.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 4161c9f3_3999_3821_683d_9c06502e3c4d["ContentCollectionConfig"] be7d1eab_916b_90f9_3072_d169ed547abf["config.ts"] 4161c9f3_3999_3821_683d_9c06502e3c4d -->|defined in| be7d1eab_916b_90f9_3072_d169ed547abf style 4161c9f3_3999_3821_683d_9c06502e3c4d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/config.ts lines 96–100
type ContentCollectionConfig<S extends BaseSchema> = {
type?: 'content';
schema?: S | ((context: SchemaContext) => S);
loader?: never;
};
Defined In
Source
Frequently Asked Questions
What is the ContentCollectionConfig type?
ContentCollectionConfig is a type/interface in the astro codebase, defined in packages/astro/src/content/config.ts.
Where is ContentCollectionConfig defined?
ContentCollectionConfig is defined in packages/astro/src/content/config.ts at line 96.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free