MCPcopy Create free account
hub / github.com/dailydotdev/apps / getFeedPostFragment

Function getFeedPostFragment

packages/shared/src/graphql/feed.ts:299–315  ·  view source on GitHub ↗
(fields = '')

Source from the content-addressed store, hash-verified

297`;
298
299const getFeedPostFragment = (fields = '') => gql`
300 fragment FeedPostConnection on PostConnection {
301 pageInfo {
302 hasNextPage
303 endCursor
304 }
305 edges {
306 node {
307 ...FeedPost
308 ${fields}
309 ...UserPost @include(if: $loggedIn)
310 }
311 }
312 }
313 ${FEED_POST_FRAGMENT}
314 ${USER_POST_FRAGMENT}
315`;
316
317export const FEED_POST_CONNECTION_FRAGMENT = getFeedPostFragment('contentHtml');
318

Callers 1

feed.tsFile · 0.85

Calls 1

gqlFunction · 0.85

Tested by

no test coverage detected