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

rockets.schema() — astro Function Reference

Architecture documentation for the rockets.schema() function in content.config.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  214634b0_5c85_f2f3_c4fb_6791c4dce4ae["rockets.schema()"]
  6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc["content.config.ts"]
  214634b0_5c85_f2f3_c4fb_6791c4dce4ae -->|defined in| 6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc
  style 214634b0_5c85_f2f3_c4fb_6791c4dce4ae fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/fixtures/content-layer/src/content.config.ts lines 324–330

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

Subdomains

Frequently Asked Questions

What does rockets.schema() do?
rockets.schema() is a function in the astro codebase, defined in packages/astro/test/fixtures/content-layer/src/content.config.ts.
Where is rockets.schema() defined?
rockets.schema() is defined in packages/astro/test/fixtures/content-layer/src/content.config.ts at line 324.

Analyze Your Own Codebase

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

Try Supermodel Free