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