Home / Function/ rodents.loader() — astro Function Reference

rodents.loader() — astro Function Reference

Architecture documentation for the rodents.loader() function in content.config.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  2f158bfc_47bf_067b_306d_66ad8cc30b76["rodents.loader()"]
  417a2168_7db3_8ba7_a451_05ede087524a["content.config.ts"]
  2f158bfc_47bf_067b_306d_66ad8cc30b76 -->|defined in| 417a2168_7db3_8ba7_a451_05ede087524a
  style 2f158bfc_47bf_067b_306d_66ad8cc30b76 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/e2e/fixtures/cloudflare/src/content.config.ts lines 24–65

	loader: () => ({
		capybara: {
			name: 'Capybara',
			scientificName: 'Hydrochoerus hydrochaeris',
			lifespan: 10,
			weight: 50000,
			diet: ['grass', 'aquatic plants', 'bark', 'fruits'],
			nocturnal: false,
		},
		hamster: {
			name: 'Golden Hamster',
			scientificName: 'Mesocricetus auratus',
			lifespan: 2,
			weight: 120,
			diet: ['seeds', 'nuts', 'insects'],
			nocturnal: true,
		},
		rat: {
			name: 'Brown Rat',
			scientificName: 'Rattus norvegicus',
			lifespan: 2,
			weight: 350,
			diet: ['grains', 'fruits', 'vegetables', 'meat'],
			nocturnal: true,
		},
		mouse: {
			name: 'House Mouse',
			scientificName: 'Mus musculus',
			lifespan: 1,
			weight: 20,
			diet: ['seeds', 'grains', 'fruits'],
			nocturnal: true,
		},
		guineaPig: {
			name: 'Guinea Pig',
			scientificName: 'Cavia porcellus',
			lifespan: 5,
			weight: 1000,
			diet: ['hay', 'vegetables', 'fruits'],
			nocturnal: false,
		},
	}),

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free