# Post Subscriptions

# postAdded

    postAdded: [Post]
1

Subscription to listen to new post insertion to the database. Only posts with computed interest of > 0.5 for the current user is published through this subscription.

# postAdded

    postRemoved: [Post]
1

Subscription to listen to removal of posts from our db. This is a rare event, but it can be used for proper removal of removed content from front-end.

# Graphql schema

extend type Subscription {
    postAdded: [Post]
    postRemoved: [Post]
}
1
2
3
4