Ghost/core/server/services/posts
Rishabh 7ab4c44475 Updated serialization for handling tiers visibility
refs https://github.com/TryGhost/Team/issues/1071

Going forward, if the visibility of a page/post is set for specific tiers, we send a `tiers` array in API response that contains list of tiers with access. This change -

- updates post/page mapper to transform existing data where `visibility` is a custom nql string to tiers array
- updates default include for post/pages to include `products`, which allows attaching relevant tiers from the pivot table
- cleans up usage of `visibility_filter` in serialization
2022-02-01 11:13:51 +05:30
..
post-scheduling-service.js Removed i18t dependency from post scheduling service 2021-09-04 07:49:11 +12:00
posts-service.js Updated serialization for handling tiers visibility 2022-02-01 11:13:51 +05:30