Allow additional unknown fields from Hashnode export
MongoDB ObjectId for the post
Author identifier
Short description or excerpt of the post
Rendered HTML content of the post (not used in conversion)
Raw markdown content of the post (used for conversion)
OptionalcoverOptional URL to the post's cover image
ISO 8601 date string when the post was created
Hashnode's unique identifier (collision-resistant unique ID)
ISO 8601 date string when the post was published
Post identifier (same as _id)
Whether the post is currently published
URL-friendly slug for the post
Array of tag names associated with the post
Post title
ISO 8601 date string when the post was last updated
Number of views the post has received
Represents a single blog post from a Hashnode export.
This interface defines the structure of post data exported from Hashnode. Not all fields are used during conversion - see PostMetadata for the extracted subset used in the conversion pipeline.
Example