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 0d7153e4_2f81_8cb5_71e1_dddd0bf4b0ae["all.json.js"] 48f80d01_e646_3924_78f6_a9d836644746["astro:content"] 0d7153e4_2f81_8cb5_71e1_dddd0bf4b0ae --> 48f80d01_e646_3924_78f6_a9d836644746 style 0d7153e4_2f81_8cb5_71e1_dddd0bf4b0ae 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/src/pages/translations/all.json.js (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/data-collections/src/pages/translations).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free