Home / File/ prerender-types.ts — astro Source File

prerender-types.ts — astro Source File

Architecture documentation for prerender-types.ts, a typescript file in the astro codebase. 1 imports, 0 dependents.

File typescript 1 imports

Entity Profile

Dependency Diagram

graph LR
  cb629f97_1092_921f_6760_fac2bbf6fc2e["prerender-types.ts"]
  019e4cde_54f9_3563_c4ba_cc9fa319ee40["manifest"]
  cb629f97_1092_921f_6760_fac2bbf6fc2e --> 019e4cde_54f9_3563_c4ba_cc9fa319ee40
  style cb629f97_1092_921f_6760_fac2bbf6fc2e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import type { SerializedRouteData } from 'astro/app/manifest';

/**
 * A pathname with its serialized route data, used for prerendering over HTTP.
 */
interface SerializedPathWithRoute {
	pathname: string;
	route: SerializedRouteData;
}

/**
 * Response from the /__astro_static_paths endpoint.
 */
export interface StaticPathsResponse {
	paths: SerializedPathWithRoute[];
}

/**
 * Request body for the /__astro_prerender endpoint.
 */
export interface PrerenderRequest {
	url: string;
	routeData: SerializedRouteData;
}

Dependencies

  • manifest

Frequently Asked Questions

What does prerender-types.ts do?
prerender-types.ts is a source file in the astro codebase, written in typescript.
What does prerender-types.ts depend on?
prerender-types.ts imports 1 module(s): manifest.
Where is prerender-types.ts in the architecture?
prerender-types.ts is located at packages/integrations/cloudflare/src/prerender-types.ts (directory: packages/integrations/cloudflare/src).

Analyze Your Own Codebase

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

Try Supermodel Free