How to fetch user/community feeds

Hello,
Can you please share js/sdk function to fetch all my posts irrespective of the targetType (User / Community).

Hello, Please take a look at this section: Query Post - Amity Docs , it outlines specific queries that you can use between user and community-related content.

* targetType: 'user' | 'community' | 'content';
 * targetId?: string; // postId or communityId