Home / Type/ ContentPaths Type — astro Architecture

ContentPaths Type — astro Architecture

Architecture documentation for the ContentPaths type/interface in utils.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  c2cc9fce_8224_1369_fb9d_6b920a0cdf8b["ContentPaths"]
  7a09e708_c090_71c0_8138_7343699b1865["utils.ts"]
  c2cc9fce_8224_1369_fb9d_6b920a0cdf8b -->|defined in| 7a09e708_c090_71c0_8138_7343699b1865
  style c2cc9fce_8224_1369_fb9d_6b920a0cdf8b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/utils.ts lines 699–713

export type ContentPaths = {
	root: URL;
	contentDir: URL;
	assetsDir: URL;
	typesTemplate: URL;
	virtualModTemplate: URL;
	config: {
		exists: boolean;
		url: URL;
	};
	liveConfig: {
		exists: boolean;
		url: URL;
	};
};

Frequently Asked Questions

What is the ContentPaths type?
ContentPaths is a type/interface in the astro codebase, defined in packages/astro/src/content/utils.ts.
Where is ContentPaths defined?
ContentPaths is defined in packages/astro/src/content/utils.ts at line 699.

Analyze Your Own Codebase

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

Try Supermodel Free