blogCollection.schema() — astro Function Reference
Architecture documentation for the blogCollection.schema() function in content.config.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 6f9e2906_f039_9789_0957_f60296104863["blogCollection.schema()"] 135ecb81_4e93_9e60_2022_672a384123ae["content.config.ts"] 6f9e2906_f039_9789_0957_f60296104863 -->|defined in| 135ecb81_4e93_9e60_2022_672a384123ae style 6f9e2906_f039_9789_0957_f60296104863 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/core-image/src/content.config.ts lines 7–14
schema: ({image}) => z.object({
title: z.string(),
image: image(),
cover: z.object({
image: image()
}),
arrayOfImages: z.array(image()),
}),
Domain
Subdomains
Source
Frequently Asked Questions
What does blogCollection.schema() do?
blogCollection.schema() is a function in the astro codebase, defined in packages/astro/test/fixtures/core-image/src/content.config.ts.
Where is blogCollection.schema() defined?
blogCollection.schema() is defined in packages/astro/test/fixtures/core-image/src/content.config.ts at line 7.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free