import { z } from 'zod'; import { NewsSchema } from '../../utils/schemas'; import { textTruncate } from '../../utils/textTruncate'; import { sayings } from './helpers/sayings'; import Template from './template'; export default function NewsletterTemplate( stories: z.infer[] ) { return { subject: `What's new from the Hackernews forum?`, template: (