Home / Function/ getDataEntryExts() — astro Function Reference

getDataEntryExts() — astro Function Reference

Architecture documentation for the getDataEntryExts() function in utils.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  644b6926_dce5_a525_9e32_507bd7352a73["getDataEntryExts()"]
  7a09e708_c090_71c0_8138_7343699b1865["utils.ts"]
  644b6926_dce5_a525_9e32_507bd7352a73 -->|defined in| 7a09e708_c090_71c0_8138_7343699b1865
  9f7b1f5d_6264_645b_77b9_79aaa945256d["autogenerateCollections()"]
  9f7b1f5d_6264_645b_77b9_79aaa945256d -->|calls| 644b6926_dce5_a525_9e32_507bd7352a73
  style 644b6926_dce5_a525_9e32_507bd7352a73 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/utils.ts lines 251–253

export function getDataEntryExts(settings: Pick<AstroSettings, 'dataEntryTypes'>) {
	return settings.dataEntryTypes.map((t) => t.extensions).flat();
}

Subdomains

Frequently Asked Questions

What does getDataEntryExts() do?
getDataEntryExts() is a function in the astro codebase, defined in packages/astro/src/content/utils.ts.
Where is getDataEntryExts() defined?
getDataEntryExts() is defined in packages/astro/src/content/utils.ts at line 251.
What calls getDataEntryExts()?
getDataEntryExts() is called by 1 function(s): autogenerateCollections.

Analyze Your Own Codebase

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

Try Supermodel Free