Home / Class/ astroAsset Class — astro Architecture

astroAsset Class — astro Architecture

Architecture documentation for the astroAsset class in types.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  68f52e0f_ddb4_5229_664a_ee90eb252f4f["astroAsset"]
  a061abff_b26a_1eda_52cf_ff7a2af40052["types.ts"]
  68f52e0f_ddb4_5229_664a_ee90eb252f4f -->|defined in| a061abff_b26a_1eda_52cf_ff7a2af40052

Relationship Graph

Source Code

packages/astro/src/assets/types.ts lines 20–29

declare global {
	var astroAsset: {
		imageService?: ImageService;
		addStaticImage?:
			| ((options: ImageTransform, hashProperties: string[], fsPath: string | undefined) => string)
			| undefined;
		staticImages?: AssetsGlobalStaticImagesList;
		referencedImages?: Set<string>;
	};
}

Domain

Frequently Asked Questions

What is the astroAsset class?
astroAsset is a class in the astro codebase, defined in packages/astro/src/assets/types.ts.
Where is astroAsset defined?
astroAsset is defined in packages/astro/src/assets/types.ts at line 20.

Analyze Your Own Codebase

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

Try Supermodel Free