Home / Type/ Payload Type — astro Architecture

Payload Type — astro Architecture

Architecture documentation for the Payload type/interface in index.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  fe7960af_2fa4_4fcf_3ca5_c0befcd387a7["Payload"]
  63c98f38_799c_f0f6_b3c0_59e116a89b1d["index.ts"]
  fe7960af_2fa4_4fcf_3ca5_c0befcd387a7 -->|defined in| 63c98f38_799c_f0f6_b3c0_59e116a89b1d
  style fe7960af_2fa4_4fcf_3ca5_c0befcd387a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/vite-plugin-routes/index.ts lines 20–26

type Payload = {
	settings: AstroSettings;
	logger: Logger;
	fsMod?: typeof fsMod;
	routesList: RoutesList;
	command: 'dev' | 'build';
};

Frequently Asked Questions

What is the Payload type?
Payload is a type/interface in the astro codebase, defined in packages/astro/src/vite-plugin-routes/index.ts.
Where is Payload defined?
Payload is defined in packages/astro/src/vite-plugin-routes/index.ts at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free