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

Function isSocialTwitterPost

packages/shared/src/graphql/posts.ts:67–69  ·  view source on GitHub ↗
(
  post: Pick<Post, 'type'> | undefined | null,
)

Source from the content-addressed store, hash-verified

65 post?.sharedPost?.type === PostType.VideoYouTube);
66
67export const isSocialTwitterPost = (
68 post: Pick<Post, 'type'> | undefined | null,
69): boolean => post?.type === PostType.SocialTwitter;
70
71export const isSocialTwitterShareLike = (
72 post: Pick<Post, 'type' | 'subType' | 'sharedPost'> | undefined | null,

Callers 15

FocusColumnFunction · 0.90
getPostTypeForCardFunction · 0.90
ShareGrid.tsxFile · 0.90
ShareList.tsxFile · 0.90
ArchivePostItemFunction · 0.90
CommonSharePostContentFunction · 0.90
SharePostContentFunction · 0.90
PostHybridColumnFunction · 0.90
WriteLinkPreviewFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected