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

withSymlinkedData.schema() — astro Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  c37e2de2_4085_a6b4_8666_8ba9d1c1e55e["withSymlinkedData.schema()"]
  e7dce0db_0b3a_afb5_bbd5_09510a54a5df["content.config.ts"]
  c37e2de2_4085_a6b4_8666_8ba9d1c1e55e -->|defined in| e7dce0db_0b3a_afb5_bbd5_09510a54a5df
  style c37e2de2_4085_a6b4_8666_8ba9d1c1e55e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/test/fixtures/content-collections/src/content.config.ts lines 58–62

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

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free