all.json.js — astro Source File
Architecture documentation for all.json.js, a javascript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 22bc81df_0515_8a36_578f_5575215bb030["all.json.js"] 48f80d01_e646_3924_78f6_a9d836644746["astro:content"] 22bc81df_0515_8a36_578f_5575215bb030 --> 48f80d01_e646_3924_78f6_a9d836644746 style 22bc81df_0515_8a36_578f_5575215bb030 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { getCollection } from 'astro:content';
export async function GET() {
const translations = await getCollection('i18n');
return Response.json(translations);
}
Domain
Subdomains
Functions
Dependencies
- astro:content
Source
Frequently Asked Questions
What does all.json.js do?
all.json.js is a source file in the astro codebase, written in javascript. It belongs to the IntegrationAdapters domain, SsrAdapters subdomain.
What functions are defined in all.json.js?
all.json.js defines 1 function(s): GET.
What does all.json.js depend on?
all.json.js imports 1 module(s): astro:content.
Where is all.json.js in the architecture?
all.json.js is located at packages/astro/test/fixtures/data-collections-schema/src/pages/translations/all.json.js (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/data-collections-schema/src/pages/translations).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free