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

Function getFeedPostFragment

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

Source from the content-addressed store, hash-verified

319`;
320
321const getFeedPostFragment = (fields = '') => gql`
322 fragment FeedPostConnection on PostConnection {
323 pageInfo {
324 hasNextPage
325 endCursor
326 }
327 edges {
328 node {
329 ${feedPostNodeSelection(fields)}
330 }
331 }
332 }
333 ${FEED_POST_FRAGMENT}
334 ${USER_POST_FRAGMENT}
335`;
336
337export const FEED_POST_CONNECTION_FRAGMENT = getFeedPostFragment('contentHtml');
338

Callers 1

feed.tsFile · 0.85

Calls 2

gqlFunction · 0.85
feedPostNodeSelectionFunction · 0.85

Tested by

no test coverage detected