Home / Type/ ServerState Type — astro Architecture

ServerState Type — astro Architecture

Architecture documentation for the ServerState type/interface in server-state.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  88d61017_e789_771a_2dfe_ab7244282a4d["ServerState"]
  812671e7_93e2_bcef_6639_81cea313e4a8["server-state.ts"]
  88d61017_e789_771a_2dfe_ab7244282a4d -->|defined in| 812671e7_93e2_bcef_6639_81cea313e4a8
  style 88d61017_e789_771a_2dfe_ab7244282a4d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/vite-plugin-astro-server/server-state.ts lines 8–12

export interface ServerState {
	routes: Map<string, RouteState>;
	state: ErrorState;
	error?: Error;
}

Frequently Asked Questions

What is the ServerState type?
ServerState is a type/interface in the astro codebase, defined in packages/astro/src/vite-plugin-astro-server/server-state.ts.
Where is ServerState defined?
ServerState is defined in packages/astro/src/vite-plugin-astro-server/server-state.ts at line 8.

Analyze Your Own Codebase

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

Try Supermodel Free