import { z } from "zod"; export const ThingsConfig = z.object({ list: z.string().default("Today"), // Things list to pull (Today, Inbox, …) }); export type ThingsConfig = z.infer; export const ThingsPayload = z.object({ list: z.string(), tasks: z.array( z.object({ id: z.string(), title: z.string(), project: z.string(), }), ), }); export type ThingsPayload = z.infer;