Home / Type/ Container Type — astro Architecture

Container Type — astro Architecture

Architecture documentation for the Container type/interface in container.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  97f29d3c_6e39_356b_9603_9b237af8453a["Container"]
  102fe931_c243_3ea6_cd7a_6811d0d43c9e["container.ts"]
  97f29d3c_6e39_356b_9603_9b237af8453a -->|defined in| 102fe931_c243_3ea6_cd7a_6811d0d43c9e
  style 97f29d3c_6e39_356b_9603_9b237af8453a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/core/dev/container.ts lines 19–28

export interface Container {
	fs: typeof nodeFs;
	logger: Logger;
	settings: AstroSettings;
	viteServer: vite.ViteDevServer;
	inlineConfig: AstroInlineConfig;
	restartInFlight: boolean; // gross
	handle: (req: http.IncomingMessage, res: http.ServerResponse) => void;
	close: () => Promise<void>;
}

Frequently Asked Questions

What is the Container type?
Container is a type/interface in the astro codebase, defined in packages/astro/src/core/dev/container.ts.
Where is Container defined?
Container is defined in packages/astro/src/core/dev/container.ts at line 19.

Analyze Your Own Codebase

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

Try Supermodel Free