Home / Function/ createGetEntries() — astro Function Reference

createGetEntries() — astro Function Reference

Architecture documentation for the createGetEntries() function in runtime.ts from the astro codebase.

Entity Profile

Dependency Diagram

graph TD
  83f6d09d_468f_b0c9_f551_a8c6fa0599fa["createGetEntries()"]
  73d13646_8e80_972f_3adc_f28448b64e4d["runtime.ts"]
  83f6d09d_468f_b0c9_f551_a8c6fa0599fa -->|defined in| 73d13646_8e80_972f_3adc_f28448b64e4d
  style 83f6d09d_468f_b0c9_f551_a8c6fa0599fa fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/astro/src/content/runtime.ts lines 252–258

export function createGetEntries(getEntry: ReturnType<typeof createGetEntry>) {
	return async function getEntries(
		entries: { collection: string; id: string }[] | { collection: string; slug: string }[],
	) {
		return Promise.all(entries.map((e) => getEntry(e)));
	};
}

Subdomains

Frequently Asked Questions

What does createGetEntries() do?
createGetEntries() is a function in the astro codebase, defined in packages/astro/src/content/runtime.ts.
Where is createGetEntries() defined?
createGetEntries() is defined in packages/astro/src/content/runtime.ts at line 252.

Analyze Your Own Codebase

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

Try Supermodel Free