login.form.ts — astro Source File
Architecture documentation for login.form.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 90a0b423_5c73_c40c_cedf_31a04ca6dd05["login.form.ts"] f16d8c76_2866_6150_bd14_0347b59abfe9["astro"] 90a0b423_5c73_c40c_cedf_31a04ca6dd05 --> f16d8c76_2866_6150_bd14_0347b59abfe9 style 90a0b423_5c73_c40c_cedf_31a04ca6dd05 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import type { APIContext } from 'astro';
export function POST({ cookies }: APIContext) {
// add a new cookie
cookies.set('user-id', '1', {
path: '/',
maxAge: 2592000,
});
return new Response(null, {
status: 301,
headers: {
Location: '/',
},
});
}
Domain
Subdomains
Functions
Dependencies
- astro
Source
Frequently Asked Questions
What does login.form.ts do?
login.form.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, RoutingSystem subdomain.
What functions are defined in login.form.ts?
login.form.ts defines 1 function(s): POST.
What does login.form.ts depend on?
login.form.ts imports 1 module(s): astro.
Where is login.form.ts in the architecture?
login.form.ts is located at examples/ssr/src/pages/login.form.ts (domain: CoreAstro, subdomain: RoutingSystem, directory: examples/ssr/src/pages).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free