Post

Post

Initially, Post represent a Blog Post, which can be viewed in specific pages. However, I want this to be a little bit more dynamic, accomodate various news source. Some example maybe a post fetched from Notion, a tweet, etc.

Current Data State

Here is the old data schema

New Requirements

  • Other than our own blog post, other external source post should only have a single post state. Other state management must be owned by the source itself. Logged in users will have the ability to delete any post
  • Post renderer should render based on post type (which should make this a property at root level)

New schema

Post