9 lines
No EOL
191 B
TypeScript
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 }; |