1
2
3
4
5
6
7
8
9
10
|
import { z } from "zod";
// A generated daily "newspaper" PDF.
export const Edition = z.object({
id: z.string(),
date: z.string(), // YYYY-MM-DD
pdfPath: z.string(),
generatedAt: z.string().datetime(),
});
export type Edition = z.infer<typeof Edition>;
|