Entry
An entry of a #jftg234p: a file of its namespace, read.
export interface Entry<T, C = undefined> { /** the file's name in its namespace (`introducing-tcm`, for `blog.posts.introducing-tcm`) */ name: string; /** its data, as the collection's schema made it: a Markdown file's frontmatter, or a JSON or YAML file's content */ data: T; /** a Markdown file's (or an MDX page's) text under its frontmatter ("" for JSON and YAML) */ body: string; /** an MDX page's component, which renders it (`<post.Content />`); undefined for other files */ Content: C; }