Home / Type/ SerializedActionResult Type — astro Architecture

SerializedActionResult Type — astro Architecture

Architecture documentation for the SerializedActionResult type/interface in types.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  71373a05_4a98_ff12_51b3_e4b2aa2db3ac["SerializedActionResult"]
  bdc6ff27_167d_e3f3_67b4_3308b4d8fd29["types.ts"]
  71373a05_4a98_ff12_51b3_e4b2aa2db3ac -->|defined in| bdc6ff27_167d_e3f3_67b4_3308b4d8fd29
  style 71373a05_4a98_ff12_51b3_e4b2aa2db3ac fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/actions/runtime/types.ts lines 64–80

export type SerializedActionResult =
	| {
			type: 'data';
			contentType: 'application/json+devalue';
			status: 200;
			body: string;
	  }
	| {
			type: 'error';
			contentType: 'application/json';
			status: number;
			body: string;
	  }
	| {
			type: 'empty';
			status: 204;
	  };

Frequently Asked Questions

What is the SerializedActionResult type?
SerializedActionResult is a type/interface in the astro codebase, defined in packages/astro/src/actions/runtime/types.ts.
Where is SerializedActionResult defined?
SerializedActionResult is defined in packages/astro/src/actions/runtime/types.ts at line 64.

Analyze Your Own Codebase

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

Try Supermodel Free