Home / Class/ App Class — astro Architecture

App Class — astro Architecture

Architecture documentation for the App class in extendables.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  2858dc56_680a_e62d_b098_c942ddf47e1a["App"]
  6c2b3985_cfe4_5fcf_d297_55c38e5f5192["extendables.ts"]
  2858dc56_680a_e62d_b098_c942ddf47e1a -->|defined in| 6c2b3985_cfe4_5fcf_d297_55c38e5f5192

Relationship Graph

Source Code

packages/astro/src/types/public/extendables.ts lines 7–25

declare global {
	namespace App {
		/**
		 * Used by middlewares to store information, that can be read by the user via the global `Astro.locals`
		 */
		export interface Locals {}

		/**
		 * Optionally type the data stored in the session
		 */
		export interface SessionData {}
	}

	namespace Astro {
		export interface IntegrationHooks extends BaseIntegrationHooks {}
		export interface ClientDirectives extends AstroClientDirectives {}
		export interface CustomImageProps {}
	}
}

Domain

Frequently Asked Questions

What is the App class?
App is a class in the astro codebase, defined in packages/astro/src/types/public/extendables.ts.
Where is App defined?
App is defined in packages/astro/src/types/public/extendables.ts at line 7.

Analyze Your Own Codebase

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

Try Supermodel Free