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