PreviewServer Type — astro Architecture
Architecture documentation for the PreviewServer type/interface in preview.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD 2d818358_1ae7_e03e_c0ad_4b03bbe46393["PreviewServer"] 35730eb1_7e99_6df8_d200_250755961842["preview.ts"] 2d818358_1ae7_e03e_c0ad_4b03bbe46393 -->|defined in| 35730eb1_7e99_6df8_d200_250755961842 style 2d818358_1ae7_e03e_c0ad_4b03bbe46393 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/types/public/preview.ts lines 4–9
export interface PreviewServer {
host?: string;
port: number;
closed(): Promise<void>;
stop(): Promise<void>;
}
Defined In
Source
Frequently Asked Questions
What is the PreviewServer type?
PreviewServer is a type/interface in the astro codebase, defined in packages/astro/src/types/public/preview.ts.
Where is PreviewServer defined?
PreviewServer is defined in packages/astro/src/types/public/preview.ts at line 4.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free