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 d14dcd6d_7232_ff9b_07c3_109a0d4c47de["blogCollection.schema()"] 50f25acc_6496_df81_4949_07c1ab675259["content.config.ts"] d14dcd6d_7232_ff9b_07c3_109a0d4c47de -->|defined in| 50f25acc_6496_df81_4949_07c1ab675259 style d14dcd6d_7232_ff9b_07c3_109a0d4c47de fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/core-image-base/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-base/src/content.config.ts.
Where is blogCollection.schema() defined?
blogCollection.schema() is defined in packages/astro/test/fixtures/core-image-base/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