PostPublished
data class PostPublished(val title: String, val username: String, val content: String) : ContentEvent
Event that is published when a post is published.
Parameters
title
the title of the post
username
the username of the user that published the post
content
the content of the post