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

Function isSocialTwitterPost

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

Source from the content-addressed store, hash-verified

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