Home / Class/ DataMap Class — astro Architecture

DataMap Class — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  6820a03f_2806_8f7f_41f3_d200ad6cd1c1["DataMap"]
  c2c893bc_65c1_f3e6_50e6_2ebac4985a42["types.ts"]
  6820a03f_2806_8f7f_41f3_d200ad6cd1c1 -->|defined in| c2c893bc_65c1_f3e6_50e6_2ebac4985a42

Relationship Graph

Source Code

packages/markdown/remark/src/types.ts lines 11–20

declare module 'vfile' {
	interface DataMap {
		astro: {
			headings?: MarkdownHeading[];
			localImagePaths?: string[];
			remoteImagePaths?: string[];
			frontmatter?: Record<string, any>;
		};
	}
}

Domain

Frequently Asked Questions

What is the DataMap class?
DataMap is a class in the astro codebase, defined in packages/markdown/remark/src/types.ts.
Where is DataMap defined?
DataMap is defined in packages/markdown/remark/src/types.ts at line 11.

Analyze Your Own Codebase

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

Try Supermodel Free