collections.json.js — astro Source File
Architecture documentation for collections.json.js, a javascript file in the astro codebase. 2 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR fcaa652d_da5e_ba42_a2ab_7fa3a8b92844["collections.json.js"] 48f80d01_e646_3924_78f6_a9d836644746["astro:content"] fcaa652d_da5e_ba42_a2ab_7fa3a8b92844 --> 48f80d01_e646_3924_78f6_a9d836644746 ca52ff61_c81f_c2ca_81b6_5a678b65fd31["devalue"] fcaa652d_da5e_ba42_a2ab_7fa3a8b92844 --> ca52ff61_c81f_c2ca_81b6_5a678b65fd31 style fcaa652d_da5e_ba42_a2ab_7fa3a8b92844 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import { getCollection } from 'astro:content';
import * as devalue from 'devalue';
export async function GET() {
const withSchemaConfig = await getCollection('with-schema-config');
const withCustomSlugs = await getCollection('with-custom-slugs');
const withUnionSchema = await getCollection('with-union-schema');
const withSymlinkedContent = await getCollection('with-symlinked-content');
const withSymlinkedData = await getCollection('with-symlinked-data');
return new Response(
devalue.stringify({ withSchemaConfig, withCustomSlugs, withUnionSchema, withSymlinkedContent, withSymlinkedData }),
);
}
Domain
Subdomains
Functions
Dependencies
- astro:content
- devalue
Source
Frequently Asked Questions
What does collections.json.js do?
collections.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 collections.json.js?
collections.json.js defines 1 function(s): GET.
What does collections.json.js depend on?
collections.json.js imports 2 module(s): astro:content, devalue.
Where is collections.json.js in the architecture?
collections.json.js is located at packages/astro/test/fixtures/content-collections/src/pages/collections.json.js (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/content-collections/src/pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free