( post: Pick<Post, 'type' | 'sharedPost'> | undefined | null, )
| 98 | ): boolean => post?.type === PostType.Share || isSocialTwitterShareLike(post); |
| 99 | |
| 100 | export const isPostOrSharedPostTwitter = ( |
| 101 | post: Pick<Post, 'type' | 'sharedPost'> | undefined | null, |
| 102 | ): boolean => |
| 103 | isSocialTwitterPost(post) || isSocialTwitterPost(post?.sharedPost as Post); |
| 104 | |
| 105 | export const isPostUpdated = ( |
| 106 | post: Pick<Post, 'createdAt' | 'updatedAt'>, |
no test coverage detected