Home / File/ serialize.json.ts — astro Source File

serialize.json.ts — astro Source File

Architecture documentation for serialize.json.ts, a typescript file in the astro codebase. 2 imports, 0 dependents.

Entity Profile

Dependency Diagram

graph LR
  ed4b5e61_ecf0_cfeb_3560_27227b5c1dfd["serialize.json.ts"]
  b3b58469_336b_c178_0583_a01a4fb83bb6["../assets/astro.svg"]
  ed4b5e61_ecf0_cfeb_3560_27227b5c1dfd --> b3b58469_336b_c178_0583_a01a4fb83bb6
  f16d8c76_2866_6150_bd14_0347b59abfe9["astro"]
  ed4b5e61_ecf0_cfeb_3560_27227b5c1dfd --> f16d8c76_2866_6150_bd14_0347b59abfe9
  style ed4b5e61_ecf0_cfeb_3560_27227b5c1dfd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import type { APIRoute } from 'astro';
import image from '../assets/astro.svg';

export const GET: APIRoute = async ({ session, request }) =>
	Response.json({
		image,
	});

Subdomains

Functions

Dependencies

  • ../assets/astro.svg
  • astro

Frequently Asked Questions

What does serialize.json.ts do?
serialize.json.ts is a source file in the astro codebase, written in typescript. It belongs to the IntegrationAdapters domain, SsrAdapters subdomain.
What functions are defined in serialize.json.ts?
serialize.json.ts defines 1 function(s): GET.
What does serialize.json.ts depend on?
serialize.json.ts imports 2 module(s): ../assets/astro.svg, astro.
Where is serialize.json.ts in the architecture?
serialize.json.ts is located at packages/astro/test/fixtures/core-image-svg/src/pages/serialize.json.ts (domain: IntegrationAdapters, subdomain: SsrAdapters, directory: packages/astro/test/fixtures/core-image-svg/src/pages).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free