bigbuffet-rw/app/soapbox/schemas/tombstone.ts
2023-05-09 15:16:13 -04:00

9 lines
No EOL
191 B
TypeScript

import { z } from 'zod';
const tombstoneSchema = z.object({
reason: z.enum(['deleted']),
});
type Tombstone = z.infer<typeof tombstoneSchema>;
export { tombstoneSchema, type Tombstone };