(post: Post | null | undefined)
| 24 | * These should use DiscussionForumPosting schema per Google's guidelines |
| 25 | */ |
| 26 | export const isUserGeneratedPost = (post: Post | null | undefined): boolean => |
| 27 | post?.type ? USER_GENERATED_POST_TYPES.includes(post.type) : false; |
| 28 | |
| 29 | export const getSeoDescription = (post: Post): string => { |
| 30 | if (post?.summary) { |
no outgoing calls
no test coverage detected