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

Function isSharedPostSquadPost

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

Source from the content-addressed store, hash-verified

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

Callers 1

PostCardHeaderFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected