Home / Type/ ParseDataOptions Type — astro Architecture

ParseDataOptions Type — astro Architecture

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

Entity Profile

Dependency Diagram

graph TD
  4fdbedbe_4d02_6216_34c5_1b1643ebf335["ParseDataOptions"]
  a146b99b_6ede_06f0_3c83_b19531b5f76a["types.ts"]
  4fdbedbe_4d02_6216_34c5_1b1643ebf335 -->|defined in| a146b99b_6ede_06f0_3c83_b19531b5f76a
  style 4fdbedbe_4d02_6216_34c5_1b1643ebf335 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/loaders/types.ts lines 20–27

export interface ParseDataOptions<TData extends Record<string, unknown>> {
	/** The ID of the entry. Unique per collection */
	id: string;
	/** The raw, unvalidated data of the entry */
	data: TData;
	/** An optional file path, where the entry represents a local file. */
	filePath?: string;
}

Frequently Asked Questions

What is the ParseDataOptions type?
ParseDataOptions is a type/interface in the astro codebase, defined in packages/astro/src/content/loaders/types.ts.
Where is ParseDataOptions defined?
ParseDataOptions is defined in packages/astro/src/content/loaders/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