bigbuffet-rw/app/soapbox/schemas/tombstone.ts

9 lines
191 B
TypeScript
Raw Normal View History

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