Home / Function/ images.schema() — astro Function Reference

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
  b4f5cff8_3838_8dab_f4b0_02eb70a2d5fb["images.schema()"]
  417a2168_7db3_8ba7_a451_05ede087524a["content.config.ts"]
  b4f5cff8_3838_8dab_f4b0_02eb70a2d5fb -->|defined in| 417a2168_7db3_8ba7_a451_05ede087524a
  style b4f5cff8_3838_8dab_f4b0_02eb70a2d5fb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/e2e/fixtures/cloudflare/src/content.config.ts lines 193–197

	schema: ({ image }) =>
		z.object({
			id: z.string(),
			image: image(),
		}),

Subdomains

Frequently Asked Questions

What does images.schema() do?
images.schema() is a function in the astro codebase, defined in packages/astro/e2e/fixtures/cloudflare/src/content.config.ts.
Where is images.schema() defined?
images.schema() is defined in packages/astro/e2e/fixtures/cloudflare/src/content.config.ts at line 193.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free