(post: Post | ReadHistoryPost)
| 54 | ): boolean => post.sharedPost?.source?.type === SourceType.Squad; |
| 55 | |
| 56 | export const isVideoPost = (post: Post | ReadHistoryPost): boolean => |
| 57 | post?.type === PostType.VideoYouTube || |
| 58 | (post?.type === PostType.Share && |
| 59 | post?.sharedPost?.type === PostType.VideoYouTube); |
| 60 | |
| 61 | export const isSocialTwitterPost = ( |
| 62 | post: Pick<Post, 'type'> | undefined | null, |
no outgoing calls
no test coverage detected