Home / Type/ PreviewServerParams Type — astro Architecture

PreviewServerParams Type — astro Architecture

Architecture documentation for the PreviewServerParams type/interface in preview.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  e33d41d2_79b0_3ed0_34ba_558f73d853c8["PreviewServerParams"]
  35730eb1_7e99_6df8_d200_250755961842["preview.ts"]
  e33d41d2_79b0_3ed0_34ba_558f73d853c8 -->|defined in| 35730eb1_7e99_6df8_d200_250755961842
  style e33d41d2_79b0_3ed0_34ba_558f73d853c8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/types/public/preview.ts lines 11–22

export interface PreviewServerParams {
	outDir: URL;
	client: URL;
	server: URL;
	serverEntrypoint: URL;
	host: string | undefined;
	port: number;
	base: string;
	logger: AstroIntegrationLogger;
	headers?: OutgoingHttpHeaders;
	root: URL;
}

Frequently Asked Questions

What is the PreviewServerParams type?
PreviewServerParams is a type/interface in the astro codebase, defined in packages/astro/src/types/public/preview.ts.
Where is PreviewServerParams defined?
PreviewServerParams is defined in packages/astro/src/types/public/preview.ts at line 11.

Analyze Your Own Codebase

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

Try Supermodel Free