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

Function isSharedPostSquadPost

packages/shared/src/graphql/posts.ts:58–60  ·  view source on GitHub ↗
(
  post: Pick<Post, 'sharedPost'>,
)

Source from the content-addressed store, hash-verified

56 internalReadTypes.includes(post?.type);
57
58export const isSharedPostSquadPost = (
59 post: Pick<Post, 'sharedPost'>,
60): boolean => post.sharedPost?.source?.type === SourceType.Squad;
61
62export const isVideoPost = (post: Post | ReadHistoryPost): boolean =>
63 post?.type === PostType.VideoYouTube ||

Callers 1

PostCardHeaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected