A Cloudflare Worker which works in conjunction with https://github.com/indexxing/bsky-alt-text
1import { DateTime, Str } from "chanfana"; 2import type { Context } from "hono"; 3import { z } from "zod"; 4 5export type AppContext = Context<{ Bindings: Env }>; 6 7export const Task = z.object({ 8 name: Str({ example: "lorem" }), 9 slug: Str(), 10 description: Str({ required: false }), 11 completed: z.boolean().default(false), 12 due_date: DateTime(), 13});