banners.schema() — astro Function Reference
Architecture documentation for the banners.schema() function in content.config.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 3c2d1017_56e7_77fb_bade_840b2ec1a974["banners.schema()"] 34673a6c_f432_5920_30e2_e95c0926dc36["content.config.ts"] 3c2d1017_56e7_77fb_bade_840b2ec1a974 -->|defined in| 34673a6c_f432_5920_30e2_e95c0926dc36 style 3c2d1017_56e7_77fb_bade_840b2ec1a974 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/content-collection-references/src/content.config.ts lines 7–11
schema: ({ image }) =>
z.object({
alt: z.string(),
src: image(),
}),
Domain
Subdomains
Source
Frequently Asked Questions
What does banners.schema() do?
banners.schema() is a function in the astro codebase, defined in packages/astro/test/fixtures/content-collection-references/src/content.config.ts.
Where is banners.schema() defined?
banners.schema() is defined in packages/astro/test/fixtures/content-collection-references/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