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 5d1af464_d500_1da6_dd8e_51480f78add5["rodents.loader()"] 6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc["content.config.ts"] 5d1af464_d500_1da6_dd8e_51480f78add5 -->|defined in| 6701f32e_5f47_2ad2_aaa6_e72b4a79cbcc style 5d1af464_d500_1da6_dd8e_51480f78add5 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/content-layer/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,
},
}),
Domain
Subdomains
Source
Frequently Asked Questions
What does rodents.loader() do?
rodents.loader() is a function in the astro codebase, defined in packages/astro/test/fixtures/content-layer/src/content.config.ts.
Where is rodents.loader() defined?
rodents.loader() is defined in packages/astro/test/fixtures/content-layer/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