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 32d2aba8_8d5a_4eaa_019b_929d4f15c7a2["blogCollection.schema()"] 713e473b_be90_29ff_461c_69a801967230["content.config.ts"] 32d2aba8_8d5a_4eaa_019b_929d4f15c7a2 -->|defined in| 713e473b_be90_29ff_461c_69a801967230 style 32d2aba8_8d5a_4eaa_019b_929d4f15c7a2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/core-image-errors/src/content.config.ts lines 7–10
schema: ({image}) => z.object({
title: z.string(),
image: 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-errors/src/content.config.ts.
Where is blogCollection.schema() defined?
blogCollection.schema() is defined in packages/astro/test/fixtures/core-image-errors/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