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 c195066a_fb5e_6608_e947_3b7db94a17aa["rodents.loader()"] 4a0c2eb4_49bc_cddf_6299_9c405c48de31["content.config.ts"] c195066a_fb5e_6608_e947_3b7db94a17aa -->|defined in| 4a0c2eb4_49bc_cddf_6299_9c405c48de31 style c195066a_fb5e_6608_e947_3b7db94a17aa fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/test/fixtures/astro-mode/src/content.config.ts lines 4–45
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/astro-mode/src/content.config.ts.
Where is rodents.loader() defined?
rodents.loader() is defined in packages/astro/test/fixtures/astro-mode/src/content.config.ts at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free