( post: Pick<Post, 'type' | 'sharedPost'> | undefined | null, )
| 92 | ): boolean => post?.type === PostType.Share || isSocialTwitterShareLike(post); |
| 93 | |
| 94 | export const isPostOrSharedPostTwitter = ( |
| 95 | post: Pick<Post, 'type' | 'sharedPost'> | undefined | null, |
| 96 | ): boolean => |
| 97 | isSocialTwitterPost(post) || isSocialTwitterPost(post?.sharedPost as Post); |
| 98 | |
| 99 | export const isPostUpdated = ( |
| 100 | post: Pick<Post, 'createdAt' | 'updatedAt'>, |
no test coverage detected