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