I would like to know if queryCommunityPosts and queryUserPosts has the Custom Post Ranking option and how to make it work, since I could only use it in queryAllPosts using the useCustomRanking property,
const FeedQueryTypes = {
[PostTargetType.GlobalFeed]: queryAllPosts.bind(this, {
useCustomRanking: isMostPopular,
}),
[PostTargetType.CommunityFeed]: queryCommunityPosts.bind(this, {
communityId: targetId,
feedType,
useCustomRanking: isMostPopular,
}),
[PostTargetType.UserFeed]: queryUserPosts.bind(this, {
userId: targetId,
useCustomRanking: isMostPopular,
}),
[PostTargetType.MyFeed]: queryMyPosts.bind(this, {
useCustomRanking: isMostPopular,
}),
};