DataEntry Type — astro Architecture
Architecture documentation for the DataEntry type/interface in data-store.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD a96b070e_c32c_28b2_8822_1744337b0390["DataEntry"] dabf6768_9542_21ce_e4c4_299b1540a491["data-store.ts"] a96b070e_c32c_28b2_8822_1744337b0390 -->|defined in| dabf6768_9542_21ce_e4c4_299b1540a491 style a96b070e_c32c_28b2_8822_1744337b0390 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/astro/src/content/data-store.ts lines 19–37
export interface DataEntry<TData extends Record<string, unknown> = Record<string, unknown>> {
/** The ID of the entry. Unique per collection. */
id: string;
/** The parsed entry data */
data: TData;
/** The file path of the content, if applicable. Relative to the site root. */
filePath?: string;
/** The raw body of the content, if applicable. */
body?: string;
/** An optional content digest, to check if the content has changed. */
digest?: number | string;
/** The rendered content of the entry, if applicable. */
rendered?: RenderedContent;
/**
* If an entry is a deferred, its rendering phase is delegated to a virtual module during the runtime phase when calling `renderEntry`.
*/
deferredRender?: boolean;
assetImports?: Array<string>;
}
Defined In
Source
Frequently Asked Questions
What is the DataEntry type?
DataEntry is a type/interface in the astro codebase, defined in packages/astro/src/content/data-store.ts.
Where is DataEntry defined?
DataEntry is defined in packages/astro/src/content/data-store.ts at line 19.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free