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