Home / Type/ ActionAPIContext Type — astro Architecture

ActionAPIContext Type — astro Architecture

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

packages/astro/src/actions/runtime/types.ts lines 89–107

export type ActionAPIContext = Pick<
	APIContext,
	| 'request'
	| 'url'
	| 'isPrerendered'
	| 'locals'
	| 'clientAddress'
	| 'cookies'
	| 'currentLocale'
	| 'generator'
	| 'routePattern'
	| 'site'
	| 'params'
	| 'preferredLocale'
	| 'preferredLocaleList'
	| 'originPathname'
	| 'session'
	| 'csp'
>;

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free