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