post.ts — astro Source File
Architecture documentation for post.ts, a typescript file in the astro codebase.
Entity Profile
Relationship Graph
Source Code
const ASTRO_TELEMETRY_ENDPOINT = `https://telemetry.astro.build/api/v1/record`;
export function post(body: Record<string, any>): Promise<any> {
return fetch(ASTRO_TELEMETRY_ENDPOINT, {
method: 'POST',
body: JSON.stringify(body),
headers: { 'content-type': 'application/json' },
});
}
Domain
Subdomains
Functions
Source
Frequently Asked Questions
What does post.ts do?
post.ts is a source file in the astro codebase, written in typescript. It belongs to the CoreAstro domain, CoreMiddleware subdomain.
What functions are defined in post.ts?
post.ts defines 1 function(s): post.
Where is post.ts in the architecture?
post.ts is located at packages/telemetry/src/post.ts (domain: CoreAstro, subdomain: CoreMiddleware, directory: packages/telemetry/src).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free